/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e6e6e6;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 25%, #21262d 50%, #30363d 75%, #484f58 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #58a6ff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0px;
    height: 0px;
    background: transparent;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #58a6ff 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #58a6ff;
    border: 2px solid #58a6ff;
}

.btn-secondary:hover {
    background: #58a6ff;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(88, 166, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #58a6ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #58a6ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #58a6ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e6e6e6;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(88,166,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(88, 166, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #58a6ff;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-animation {
    background: #2b2b2b;
    padding: 2rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 450px;
    min-height: 400px;
    position: relative;
    border: 1px solid #3c3c3c;
}

.code-content {
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
    color: #a9b7c6;
    position: relative;
    text-align: left;
}

.typing-cursor {
    background-color: #ffffff;
    color: #1e1e1e;
    font-size: 14px;
    animation: blink 1s infinite;
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 1px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.keyword {
    color: #cc7832; /* Orange - JetBrains Rider keywords */
    font-weight: bold;
}

.class {
    color: #a9b7c6; /* Light gray - Class names */
    font-weight: normal;
}

.type {
    color: #cc7832; /* Orange - Built-in types */
    font-weight: bold;
}

.name {
    color: #a9b7c6; /* Light gray - Default text */
    font-weight: normal;
}

.method {
    color: #ffc66d; /* Yellow - Method names */
    font-weight: normal;
}

.property {
    color: #9876aa; /* Purple - Properties and fields */
    font-weight: normal;
}

.string {
    color: #6a8759; /* Green - String literals */
    font-weight: normal;
}

.comment {
    color: #808080; /* Gray - Comments */
    font-style: italic;
    font-weight: normal;
}

.generic {
    color: #a9b7c6; /* Light gray - Generic type parameters */
    font-weight: normal;
}

.operator {
    color: #a9b7c6; /* Light gray - Operators and punctuation */
    font-weight: normal;
}

.access-modifier {
    color: #cc7832; /* Orange - Access modifiers */
    font-weight: bold;
}

.local-variable {
    color: #9876aa; /* Purple - Local variables */
    font-weight: normal;
}

/* Visual Studio 2022 IntelliSense Colors */
.vs-keyword {
    color: #569cd6; /* Blue - Keywords like public, class, return */
    font-weight: normal;
}

.vs-type {
    color: #569cd6; /* Blue - Built-in types like string, int, Task */
    font-weight: normal;
}

.vs-class {
    color: #4ec9b0; /* Cyan/Teal - Class names and user types */
    font-weight: normal;
}

.vs-method {
    color: #dcdcaa; /* Light Yellow - Method names */
    font-weight: normal;
}

.vs-property {
    color: #9cdcfe; /* Light Blue - Properties and variables */
    font-weight: normal;
}

.vs-string {
    color: #ce9178; /* Orange/Brown - String literals */
    font-weight: normal;
}

.vs-comment {
    color: #6a9955; /* Green - Comments */
    font-style: italic;
    font-weight: normal;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat i {
    font-size: 2rem;
    color: #58a6ff;
    margin-bottom: 1rem;
}

.stat h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.tech-stack-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: linear-gradient(135deg, #58a6ff 0%, #7c3aed 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.tech-item:hover {
    transform: scale(1.05);
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: linear-gradient(135deg, #161b22 0%, #21262d 50%, #30363d 100%);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(30, 30, 50, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: #58a6ff;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e6e6e6;
}

.skill-progress {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #58a6ff 0%, #7c3aed 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuits" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0 25 L50 25 M25 0 L25 50 M10 10 L40 10 M10 40 L40 40 M10 10 L10 40 M40 10 L40 40" stroke="rgba(88,166,255,0.15)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23circuits)"/></svg>');
    animation: circuit 20s ease-in-out infinite;
}

@keyframes circuit {
    0%, 100% { transform: translateX(0) scale(1); opacity: 0.8; }
    50% { transform: translateX(20px) scale(1.05); opacity: 1; }
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0px;
    height: 0px;
    background: transparent;
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
    margin: 0 2rem;
    border: 1px solid rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.timeline-date:hover {
    background: rgba(88, 166, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.timeline-content {
    background: rgba(30, 30, 50, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(88, 166, 255, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    flex: 1;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(88, 166, 255, 0.3) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(88, 166, 255, 0.3);
}

.timeline-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #58a6ff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content ul {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tech-tags span:hover {
    background: rgba(88, 166, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20 Q10 10 20 20 T40 20" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(30, 30, 50, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(88, 166, 255, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: #ffffff;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: #58a6ff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #7c3aed;
}

.project-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.project-tech span:hover {
    background: rgba(88, 166, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #161b22 0%, #21262d 50%, #30363d 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bubbles" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="3" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23bubbles)"/></svg>');
    animation: bubble 20s ease-in-out infinite;
}

@keyframes bubble {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info p {
    color: #b0b0b0;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-items {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    justify-content: center;
}

.contact-item i {
    color: #58a6ff;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: stretch;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 1.5rem;
    background: rgba(30, 30, 50, 0.7);
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(88, 166, 255, 0.25);
    min-width: 140px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link.info-link {
    background: rgba(30, 30, 50, 0.7);
    border-color: rgba(88, 166, 255, 0.25);
    cursor: default;
}

.social-link.info-link:hover {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(88, 166, 255, 0.4), 0 0 20px rgba(88, 166, 255, 0.3);
    border-color: rgba(88, 166, 255, 0.6);
}

.social-link.clickable-link {
    background: rgba(30, 30, 50, 0.7);
    border-color: rgba(88, 166, 255, 0.25);
    cursor: pointer;
}

.social-link.clickable-link:hover {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(88, 166, 255, 0.4), 0 0 20px rgba(88, 166, 255, 0.3);
    border-color: rgba(88, 166, 255, 0.6);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.social-link.clickable-link:hover::before {
    left: 100%;
}

.social-link i {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #58a6ff;
}

.social-link.info-link i {
    color: #58a6ff;
}

.social-link.clickable-link:hover i {
    transform: scale(1.15);
    color: #58a6ff;
}

.social-link.info-link:hover i {
    transform: scale(1.15);
    color: #58a6ff;
}

.social-link .link-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #58a6ff;
    margin-bottom: 0.5rem;
}

.social-link .link-detail {
    font-size: 0.85rem;
    font-weight: 400;
    text-align: center;
    color: #b0b0b0;
    line-height: 1.3;
}

/* What I Love Doing Section */
.what-i-love {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.what-i-love::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,0 30,8.66 30,26.16 15,34.82 0,26.16 0,8.66" fill="none" stroke="rgba(88,166,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    animation: slide 20s linear infinite;
}

.what-i-love-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.what-i-love-text {
    margin-bottom: 4rem;
}

.what-i-love-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e6e6e6;
    max-width: 800px;
    margin: 0 auto;
}

.what-i-love-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background: rgba(30, 30, 50, 0.8);
    backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(88, 166, 255, 0.3);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(88, 166, 255, 0.3);
    border-color: rgba(88, 166, 255, 0.6);
}

.feature i {
    font-size: 2.5rem;
    color: #58a6ff;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1);
    color: #7c3aed;
}

.feature h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Details Section */
.contact-details {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.detail-item:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: rgba(88, 166, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.2);
}

.detail-item i {
    font-size: 1.5rem;
    color: #58a6ff;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-content h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.contact-form {
    background: rgba(88, 166, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 166, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(88, 166, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 30, 50, 0.6);
    border: 2px solid rgba(88, 166, 255, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #58a6ff;
    background: rgba(30, 30, 50, 0.8);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #b0b0b0;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(88, 166, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(13, 17, 23, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid rgba(88, 166, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .code-animation {
        justify-content: flex-start;
        align-items: flex-start;
        margin-left: 0;
        margin-right: auto;
        align-self: flex-start;
        text-align: left;
    }
    
    .hero-image {
        justify-content: flex-start;
        align-items: flex-start;
        align-self: flex-start;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-date {
        position: absolute;
        left: -40px;
        margin: 0;
        transform: rotate(-90deg);
        transform-origin: center;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-stack-visual {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Contact Section Mobile Responsiveness */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .social-link {
        min-width: 200px;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .code-animation {
        min-width: auto;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        align-items: flex-start;
        align-self: flex-start;
        text-align: left;
    }
    
    .hero-image {
        justify-content: flex-start;
        align-items: flex-start;
        align-self: flex-start;
    }
    
    /* Contact Section Small Mobile Responsiveness */
    .contact {
        padding: 40px 0;
    }
    
    .contact-content {
        padding: 0 15px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        min-width: 180px;
        padding: 1.2rem 0.8rem;
    }
    
    .social-link .link-title {
        font-size: 0.9rem;
    }
    
    .social-link .link-detail {
        font-size: 0.8rem;
    }
}

/* Animation and Smooth Transitions */
.skill-progress .progress-bar {
    animation: fillProgress 2s ease-in-out;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
}

.timeline-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation for Code Block */
.code-line {
    opacity: 0;
    animation: typewriter 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.5s; }
.code-line:nth-child(2) { animation-delay: 1s; }
.code-line:nth-child(3) { animation-delay: 1.5s; }

@keyframes typewriter {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
