/* Theme: Galaxy - Day 7 (Letter G): Inspired by cosmic nebulas, starfields, deep space, aurora borealis, celestial bodies, milky way, interstellar clouds, cosmic dust, planetary rings, space exploration */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18.5px;
    line-height: 1.78;
    color: #0a0e27;
    background: linear-gradient(165deg, #e8eeff 0%, #f5f0ff 25%, #e6f4ff 50%, #f0f5ff 75%, #eef2ff 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(139, 92, 246, 0.07) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(232, 238, 255, 0.87);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.22);
    box-shadow: 0 2px 18px rgba(10, 14, 39, 0.06);
    transition: all 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

#topnav.scrolled {
    background: rgba(232, 238, 255, 0.93);
    box-shadow: 0 4px 28px rgba(10, 14, 39, 0.11);
}

.nav-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 3.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.68rem;
    font-weight: 800;
    color: #0a0e27;
    margin: 0;
    letter-spacing: 1.2px;
    position: relative;
    padding-left: 3.05rem;
    text-transform: uppercase;
}

.logo h1::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.25rem;
    color: #6366f1;
    animation: galaxyRotate 8s linear infinite;
}

@keyframes galaxyRotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
        opacity: 0.75;
    }
    50% {
        transform: translateY(-50%) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
        opacity: 0.75;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.78rem 1.72rem;
    color: #0a0e27;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
    transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 3px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    transition: width 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 65%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #6366f1;
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: #e8eeff;
    font-size: 1.75rem;
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 3px;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.38);
}

.mobile-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.48);
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 138px 0 98px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -28%;
    right: -18%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 68%);
    border-radius: 50%;
    animation: galaxyOrbit 32s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -16%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 68%);
    border-radius: 50%;
    animation: galaxyOrbit 36s ease-in-out infinite reverse;
}

@keyframes galaxyOrbit {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.62;
    }
    33% {
        transform: translate(52px, -42px) scale(1.08);
        opacity: 0.88;
    }
    66% {
        transform: translate(-38px, 45px) scale(0.94);
        opacity: 0.72;
    }
}

.hero-content {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 3.8rem;
    display: grid;
    grid-template-columns: 1.32fr 1fr;
    gap: 6.8rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: galaxyAscend 1.35s cubic-bezier(0.19, 1, 0.22, 1) 0s both;
}

@keyframes galaxyAscend {
    0% {
        opacity: 0;
        transform: translateY(72px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.05rem;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 2.52rem;
    color: #0a0e27;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.hero-text h1 br {
    display: block;
}

.hero-subtitle {
    font-size: 1.58rem;
    color: #4c5382;
    margin-bottom: 3.75rem;
    line-height: 1.68;
    font-weight: 500;
    letter-spacing: 0.35px;
}

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

.btn {
    display: inline-block;
    padding: 1.32rem 3.58rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.38s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 1.12rem;
    letter-spacing: 0.8px;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.72s, height 0.72s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #e8eeff;
    border: none;
    box-shadow: 0 14px 42px rgba(99, 102, 241, 0.38);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 58px rgba(99, 102, 241, 0.48);
}

.btn-secondary {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
    box-shadow: 0 10px 32px rgba(99, 102, 241, 0.22);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #e8eeff;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.38);
}

.hero-image {
    animation: galaxyAscend 1.35s cubic-bezier(0.19, 1, 0.22, 1) 0.28s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(32px);
    padding: 2.78rem;
    box-shadow: 
        0 0 0 1px rgba(99, 102, 241, 0.18),
        0 22px 72px rgba(10, 14, 39, 0.14);
    transition: all 0.48s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    border-radius: 3px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

.profile-card:hover {
    transform: translateY(-15px) scale(1.022);
    box-shadow: 
        0 0 0 1px rgba(99, 102, 241, 0.32),
        0 35px 92px rgba(10, 14, 39, 0.22);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.28rem;
    box-shadow: 0 16px 48px rgba(10, 14, 39, 0.18);
}

.profile-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.48rem;
    margin-bottom: 0.82rem;
    color: #0a0e27;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.profile-details p {
    color: #4c5382;
    margin-bottom: 2.25rem;
    line-height: 1.68;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.18rem 2.88rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #e8eeff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: all 0.38s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 3px;
    box-shadow: 0 12px 38px rgba(99, 102, 241, 0.35);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.45);
}

section {
    padding: 115px 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 3.8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6.25rem;
    position: relative;
}

.section-header::before {
    content: '★ ★ ★';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    color: #6366f1;
    font-size: 1.42rem;
    letter-spacing: 1.52rem;
    opacity: 0.72;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.38rem;
    font-weight: 900;
    line-height: 1.22;
    color: #0a0e27;
    letter-spacing: -0.85px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

#experience {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(12px);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 268px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 45%, #a855f7 100%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 535px 1fr;
    gap: 6.25rem;
    margin-bottom: 5.72rem;
    position: relative;
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 6.05rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.24);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5.52rem;
    letter-spacing: -2.5px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -105px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #6366f1;
    box-shadow: 
        0 0 0 8px rgba(232, 238, 255, 1),
        0 0 0 16px rgba(99, 102, 241, 0.18),
        0 0 32px rgba(99, 102, 241, 0.48);
    animation: galaxyBeacon 3.8s ease-in-out infinite;
}

@keyframes galaxyBeacon {
    0%, 100% {
        box-shadow: 
            0 0 0 8px rgba(232, 238, 255, 1),
            0 0 0 16px rgba(99, 102, 241, 0.18),
            0 0 32px rgba(99, 102, 241, 0.48);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(232, 238, 255, 1),
            0 0 0 22px rgba(99, 102, 241, 0.28),
            0 0 42px rgba(99, 102, 241, 0.68);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    padding: 3.12rem;
    transition: all 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 15px 48px rgba(10, 14, 39, 0.1);
    position: relative;
    border-radius: 3px;
    border-left: 5px solid rgba(99, 102, 241, 0.24);
}

.timeline-content:hover {
    transform: translateX(14px);
    box-shadow: 0 24px 68px rgba(10, 14, 39, 0.16);
    border-left-color: #6366f1;
    background: rgba(255, 255, 255, 0.92);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.28rem;
    margin-bottom: 0.72rem;
    color: #0a0e27;
    font-weight: 800;
    letter-spacing: -0.4px;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: #6366f1;
    font-size: 1.28rem;
    margin-bottom: 1.68rem;
    font-weight: 600;
}

.timeline-content p {
    color: #4c5382;
    line-height: 1.78;
    margin: 0;
}

.timeline-content a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.timeline-content a:hover {
    border-bottom-color: #8b5cf6;
    color: #6366f1;
}

#ai {
    background: rgba(245, 240, 255, 0.55);
    backdrop-filter: blur(12px);
}

.ai-projects {
    display: grid;
    gap: 4.15rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    padding: 4.05rem;
    transition: all 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 18px 58px rgba(10, 14, 39, 0.12);
    border-radius: 3px;
    border-top: 6px solid #6366f1;
}

.project-card::after {
    content: '★';
    position: absolute;
    top: 42px;
    right: 42px;
    font-size: 5.05rem;
    color: rgba(99, 102, 241, 0.08);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 82px rgba(10, 14, 39, 0.18);
    background: rgba(255, 255, 255, 0.94);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.95rem;
    margin-bottom: 1.52rem;
}

.project-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.05rem;
    color: #0a0e27;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.project-client {
    color: #6366f1;
    font-weight: 700;
    font-size: 1.22rem;
    margin-bottom: 2.52rem;
}

.project-card > p {
    color: #4c5382;
    line-height: 1.78;
    margin-bottom: 3.02rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    padding: 2.28rem;
    color: #0a0e27;
    line-height: 1.78;
    border-radius: 3px;
    border-left: 5px solid #8b5cf6;
}

.project-impact strong {
    color: #6366f1;
    font-weight: 700;
}

#speaking {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(12px);
}

.speaking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.15rem;
}

.year-section {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    padding: 3.52rem;
    transition: all 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 15px 48px rgba(10, 14, 39, 0.1);
    border-radius: 3px;
    position: relative;
    border-top: 5px solid rgba(99, 102, 241, 0.24);
}

.year-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 68px rgba(10, 14, 39, 0.16);
    border-top-color: #6366f1;
    background: rgba(255, 255, 255, 0.92);
}

.year-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.05rem;
    margin-bottom: 3.02rem;
    color: #0a0e27;
    text-align: center;
    padding-bottom: 2.18rem;
    border-bottom: 4px solid rgba(99, 102, 241, 0.14);
    font-weight: 800;
    letter-spacing: -0.7px;
    text-transform: uppercase;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-top-color: #4c5382;
}

.year-section.books h3 {
    color: #e8eeff;
    border-bottom-color: rgba(232, 238, 255, 0.22);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.62rem 0;
    color: #4c5382;
    border-bottom: 2px solid rgba(10, 14, 39, 0.06);
    line-height: 1.78;
    position: relative;
    padding-left: 2.68rem;
}

.achievements li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 1.62rem;
    color: #8b5cf6;
    font-size: 1.12rem;
}

.year-section.books .achievements li {
    color: rgba(232, 238, 255, 0.94);
    border-bottom-color: rgba(232, 238, 255, 0.14);
}

.year-section.books .achievements li::before {
    color: #e8eeff;
}

.achievements li:last-child {
    border-bottom: none;
}

.achievements strong {
    color: #0a0e27;
    font-weight: 700;
}

.year-section.books .achievements strong {
    color: #e8eeff;
}

#personal {
    background: rgba(245, 240, 255, 0.55);
    backdrop-filter: blur(12px);
}

#contact {
    background: linear-gradient(165deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    backdrop-filter: blur(12px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 6.52rem 5.88rem;
    text-align: center;
    box-shadow: 0 28px 88px rgba(10, 14, 39, 0.14);
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 3px;
    border: 4px solid rgba(99, 102, 241, 0.22);
}

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.05rem;
    margin-bottom: 3.02rem;
    color: #0a0e27;
    font-weight: 900;
    letter-spacing: -0.9px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.48rem;
    color: #4c5382;
    line-height: 1.78;
    margin-bottom: 5.05rem;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3.02rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.68rem;
    padding: 1.68rem 4.05rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #e8eeff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: all 0.38s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 3px;
    box-shadow: 0 15px 48px rgba(99, 102, 241, 0.38);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    transform: translateY(-5px);
    box-shadow: 0 22px 62px rgba(99, 102, 241, 0.48);
}

.contact-link .icon {
    font-size: 2.12rem;
}

#footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1e2254 50%, #2d3282 100%);
    padding: 5.05rem 0;
    text-align: center;
    color: rgba(232, 238, 255, 0.68);
    border-top: 4px solid #6366f1;
}

#footer a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    font-weight: 700;
}

#footer a:hover {
    color: #a855f7;
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 5.15rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 565px;
        margin: 0 auto;
    }

    .speaking-grid {
        grid-template-columns: 1fr;
    }

    .year-section.books {
        grid-column: span 1;
    }
}

@media screen and (max-width: 900px) {
    .nav-container {
        padding: 0 2.52rem;
        height: 70px;
    }

    html {
        scroll-padding-top: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(232, 238, 255, 0.97);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 3.42rem;
        gap: 0;
        box-shadow: 0 22px 58px rgba(10, 14, 39, 0.14);
        transform: translateY(-150%);
        transition: transform 0.48s cubic-bezier(0.19, 1, 0.22, 1);
        border-bottom: 1px solid rgba(99, 102, 241, 0.22);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.32rem;
        border-bottom: 1px solid rgba(10, 14, 39, 0.06);
    }

    .nav-menu li a::before {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 3.92rem;
    }

    .section-header h2 {
        font-size: 3.42rem;
    }

    .timeline::before {
        left: 42px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 3.32rem;
        margin-bottom: 5.72rem;
        padding-left: 7.12rem;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
    }

    .timeline-year::after {
        left: -105px;
        right: auto;
    }

    .contact-card {
        padding: 5.32rem 4.15rem;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 2.18rem;
    }

    .nav-container {
        padding: 0 2.18rem;
        height: 65px;
    }

    html {
        scroll-padding-top: 65px;
    }

    #hero {
        padding: 118px 0 88px;
    }

    .hero-text h1 {
        font-size: 3.05rem;
    }

    .hero-subtitle {
        font-size: 1.28rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 88px 0;
    }

    .section-header {
        margin-bottom: 5.15rem;
    }

    .section-header h2 {
        font-size: 2.85rem;
    }

    .profile-card {
        padding: 2.18rem;
    }

    .timeline-item {
        padding-left: 5.32rem;
    }

    .timeline-content {
        padding: 2.62rem;
    }

    .project-card {
        padding: 3.32rem 2.62rem;
    }

    .contact-card {
        padding: 4.88rem 2.62rem;
    }

    .contact-card h2 {
        font-size: 3.72rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-link {
        justify-content: center;
        padding: 1.38rem 2.62rem;
        font-size: 1.05rem;
    }
}