/* Theme: Cloud Nine - Soft clouds, sky blues, ethereal atmosphere, gentle pastels, floating serenity, heavenly lightness */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Quicksand: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: 'Quicksand', sans-serif;
    font-size: 17.5px;
    line-height: 1.72;
    color: #3d5a80;
    background: linear-gradient(155deg, #e3f2fd 0%, #bbdefb 28%, #d4e7f7 58%, #c8e0f4 85%, #b3d9f2 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 18% 22%, rgba(144, 202, 249, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 82% 68%, rgba(100, 181, 246, 0.11) 0%, transparent 45%),
        radial-gradient(circle at 45% 55%, rgba(227, 242, 253, 0.14) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
    animation: cloudDrift 28s ease-in-out infinite;
}

@keyframes cloudDrift {
    0%, 100% { opacity: 0.45; transform: translateX(0) translateY(0); }
    50% { opacity: 0.72; transform: translateX(18px) translateY(-12px); }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(144, 202, 249, 0.015) 8px, rgba(144, 202, 249, 0.015) 16px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px) saturate(120%);
    border-bottom: 2px solid rgba(144, 202, 249, 0.28);
    box-shadow: 0 3px 18px rgba(61, 90, 128, 0.075);
    transition: all 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#topnav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 28px rgba(61, 90, 128, 0.12);
    border-bottom-width: 2.5px;
}

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

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.72rem;
    font-weight: 700;
    color: #4a90e2;
    margin: 0;
    letter-spacing: 0.35px;
    position: relative;
    text-shadow: 0 2px 8px rgba(74, 144, 226, 0.18);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 42%;
    height: 3px;
    background: linear-gradient(90deg, #64b5f6 0%, #90caf9 100%);
    border-radius: 3px;
}

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

.nav-menu li a {
    display: block;
    padding: 0.72rem 1.45rem;
    color: #5a7a9d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    letter-spacing: 0.38px;
    border-radius: 22px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #64b5f6;
    transition: width 0.35s ease;
    border-radius: 2px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(144, 202, 249, 0.12);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 22px;
}

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

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    opacity: 1;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #4a90e2;
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #64b5f6 0%, #4a90e2 100%);
    border: none;
    color: #ffffff;
    font-size: 1.45rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 5px 18px rgba(74, 144, 226, 0.32);
    border-radius: 22px;
}

.mobile-toggle:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.42);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -18%;
    right: -12%;
    width: 585px;
    height: 585px;
    background: radial-gradient(circle, rgba(144, 202, 249, 0.22) 0%, transparent 62%);
    border-radius: 50%;
    animation: floatCloud 34s ease-in-out infinite;
    filter: blur(62px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -22%;
    left: -10%;
    width: 538px;
    height: 538px;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.19) 0%, transparent 62%);
    border-radius: 50%;
    animation: floatCloud 40s ease-in-out infinite reverse;
    filter: blur(62px);
}

@keyframes floatCloud {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.52;
    }
    38% {
        transform: translate(32px, -38px) scale(1.06);
        opacity: 0.78;
    }
    72% {
        transform: translate(-28px, 32px) scale(0.96);
        opacity: 0.62;
    }
}

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

.hero-text {
    animation: fadeInFloat 1.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes fadeInFloat {
    0% {
        opacity: 0;
        transform: translateY(42px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.72rem;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 2.35rem;
    color: #2d4a68;
    letter-spacing: -0.72px;
    text-shadow: 0 3px 12px rgba(61, 90, 128, 0.12);
}

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

.hero-subtitle {
    font-size: 1.42rem;
    color: #5a7a9d;
    margin-bottom: 3.55rem;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.25px;
}

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

.btn {
    display: inline-block;
    padding: 1.38rem 3.35rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    font-size: 1.02rem;
    letter-spacing: 0.58px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    font-family: 'Poppins', sans-serif;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #64b5f6 0%, #4a90e2 100%);
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(74, 144, 226, 0.38);
    border: 2px solid rgba(144, 202, 249, 0.22);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 14px 38px rgba(74, 144, 226, 0.48);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: #4a90e2;
    border: 2px solid #64b5f6;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.065);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #90caf9 0%, #64b5f6 100%);
    color: #ffffff;
    border-color: #90caf9;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 32px rgba(144, 202, 249, 0.42);
}

.hero-image {
    animation: fadeInFloat 1.22s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px);
    padding: 3.05rem;
    box-shadow: 
        0 15px 55px rgba(74, 144, 226, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: all 0.52s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    border: 2px solid rgba(144, 202, 249, 0.28);
    border-radius: 32px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #64b5f6 0%, #90caf9 50%, #64b5f6 100%);
    border-radius: 32px 32px 0 0;
}

.profile-card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 
        0 28px 75px rgba(74, 144, 226, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.35rem;
    box-shadow: 0 12px 42px rgba(61, 90, 128, 0.18);
    border: 2.5px solid rgba(144, 202, 249, 0.28);
    border-radius: 24px;
}

.profile-details h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 0.68rem;
    color: #2d4a68;
    font-weight: 700;
    letter-spacing: 0.28px;
}

.profile-details p {
    color: #5a7a9d;
    margin-bottom: 2.35rem;
    line-height: 1.65;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.18rem 3.05rem;
    background: linear-gradient(135deg, #64b5f6 0%, #4a90e2 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.58px;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 8px 28px rgba(74, 144, 226, 0.38);
    border-radius: 22px;
    font-family: 'Poppins', sans-serif;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 14px 38px rgba(74, 144, 226, 0.48);
}

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

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 3.2rem;
}

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

.section-header::before {
    content: '☁';
    position: absolute;
    top: -62px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.35rem;
    color: #90caf9;
    opacity: 0.48;
    animation: cloudBob 8s ease-in-out infinite;
}

@keyframes cloudBob {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.48; }
    50% { transform: translateX(-50%) translateY(-10px) scale(1.15); opacity: 0.75; }
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.35rem;
    font-weight: 700;
    line-height: 1.12;
    color: #2d4a68;
    letter-spacing: -0.65px;
    position: relative;
    display: inline-block;
    text-shadow: 0 3px 12px rgba(61, 90, 128, 0.12);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 3.5px;
    background: linear-gradient(90deg, transparent 0%, #64b5f6 25%, #90caf9 50%, #64b5f6 75%, transparent 100%);
    border-radius: 3px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 138px;
    top: 0;
    bottom: 0;
    width: 3.2px;
    background: linear-gradient(180deg, #64b5f6 0%, #90caf9 50%, #64b5f6 100%);
    border-radius: 3px;
    opacity: 0.52;
}

.timeline-item {
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 4.85rem;
    margin-bottom: 5.15rem;
    position: relative;
}

.timeline-year {
    font-family: 'Poppins', sans-serif;
    font-size: 3.45rem;
    font-weight: 700;
    color: #4a90e2;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 3.05rem;
    letter-spacing: 0.38px;
    text-shadow: 0 3px 12px rgba(74, 144, 226, 0.18);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: #90caf9;
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 7.5px rgba(144, 202, 249, 0.18),
        0 5px 16px rgba(74, 144, 226, 0.42);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    padding: 3.25rem;
    border-left: 4px solid #64b5f6;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 10px 38px rgba(74, 144, 226, 0.16);
    border-radius: 24px;
    border: 2px solid rgba(144, 202, 249, 0.22);
    border-left: 4px solid #64b5f6;
}

.timeline-content:hover {
    transform: translateX(14px);
    box-shadow: 0 18px 55px rgba(74, 144, 226, 0.26);
    border-left-width: 6.5px;
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 0.68rem;
    color: #2d4a68;
    font-weight: 700;
    letter-spacing: 0.28px;
}

.timeline-content h4 {
    color: #4a90e2;
    font-size: 1.22rem;
    margin-bottom: 1.62rem;
    font-weight: 600;
    letter-spacing: 0.25px;
}

.timeline-content p {
    color: #5a7a9d;
    line-height: 1.72;
    margin: 0;
}

.timeline-content a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.35s ease;
}

.timeline-content a:hover {
    border-bottom-color: #64b5f6;
}

#ai {
    background: linear-gradient(180deg, rgba(227, 242, 253, 0.48) 0%, rgba(187, 222, 251, 0.48) 100%);
    backdrop-filter: blur(35px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    padding: 3.95rem;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    box-shadow: 0 12px 48px rgba(74, 144, 226, 0.18);
    border: 2px solid rgba(144, 202, 249, 0.28);
    border-radius: 28px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #64b5f6 0%, #90caf9 50%, #64b5f6 100%);
    border-radius: 28px 28px 0 0;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 72px rgba(74, 144, 226, 0.28);
}

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

.project-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.72rem;
    color: #2d4a68;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.32px;
}

.project-client {
    color: #64b5f6;
    font-weight: 600;
    font-size: 1.18rem;
    margin-bottom: 2.25rem;
    letter-spacing: 0.25px;
}

.project-card > p {
    color: #5a7a9d;
    line-height: 1.72;
    margin-bottom: 2.65rem;
}

.project-impact {
    background: linear-gradient(132deg, rgba(144, 202, 249, 0.12) 0%, rgba(100, 181, 246, 0.1) 100%);
    padding: 2.25rem;
    border-left: 4px solid #90caf9;
    color: #2d4a68;
    line-height: 1.72;
    border-radius: 18px;
}

.project-impact strong {
    color: #4a90e2;
    font-weight: 600;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    padding: 3.55rem;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 12px 45px rgba(74, 144, 226, 0.17);
    border: 2px solid rgba(144, 202, 249, 0.28);
    border-radius: 28px;
}

.year-section:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 65px rgba(74, 144, 226, 0.26);
}

.year-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.95rem;
    margin-bottom: 2.65rem;
    color: #4a90e2;
    text-align: center;
    padding-bottom: 1.82rem;
    border-bottom: 2.5px solid rgba(144, 202, 249, 0.28);
    font-weight: 700;
    letter-spacing: 0.32px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(132deg, #64b5f6 0%, #4a90e2 100%);
    border: none;
    box-shadow: 0 18px 58px rgba(74, 144, 226, 0.42);
}

.year-section.books h3 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.28);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.32rem 0;
    color: #5a7a9d;
    border-bottom: 2px solid rgba(144, 202, 249, 0.15);
    line-height: 1.72;
    position: relative;
    padding-left: 2.75rem;
}

.achievements li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: #90caf9;
    font-size: 1.82rem;
}

.year-section.books .achievements li {
    color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

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

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

.achievements strong {
    color: #2d4a68;
    font-weight: 600;
}

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

#personal {
    background: linear-gradient(180deg, rgba(187, 222, 251, 0.48) 0%, rgba(227, 242, 253, 0.65) 100%);
    backdrop-filter: blur(35px);
}

#contact {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(35px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(28px);
    padding: 6.65rem 5.85rem;
    text-align: center;
    box-shadow: 0 22px 75px rgba(74, 144, 226, 0.26);
    max-width: 1100px;
    margin: 0 auto;
    border: 2px solid rgba(144, 202, 249, 0.32);
    position: relative;
    border-radius: 38px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #64b5f6 20%, #90caf9 50%, #64b5f6 80%, transparent 100%);
    border-radius: 38px 38px 0 0;
}

.contact-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.95rem;
    margin-bottom: 2.65rem;
    color: #2d4a68;
    font-weight: 700;
    letter-spacing: -0.75px;
    text-shadow: 0 3px 12px rgba(61, 90, 128, 0.12);
}

.contact-card > p {
    font-size: 1.38rem;
    color: #5a7a9d;
    line-height: 1.72;
    margin-bottom: 4.45rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.62rem;
    padding: 1.78rem 4.45rem;
    background: linear-gradient(135deg, #64b5f6 0%, #4a90e2 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.58px;
    transition: all 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 12px 38px rgba(74, 144, 226, 0.38);
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    font-family: 'Poppins', sans-serif;
}

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

.contact-link:hover::before {
    width: 380px;
    height: 380px;
}

.contact-link:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 52px rgba(74, 144, 226, 0.52);
}

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

#footer {
    background: linear-gradient(132deg, #2d4a68 0%, #3d5a80 100%);
    backdrop-filter: blur(22px);
    padding: 4.45rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    border-top: 2.5px solid rgba(144, 202, 249, 0.28);
}

#footer a {
    color: #90caf9;
    text-decoration: none;
    transition: color 0.35s ease;
    font-weight: 600;
}

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

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

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

    .hero-image {
        max-width: 575px;
        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.65rem;
        height: 72px;
    }

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 3.95rem;
        gap: 0;
        box-shadow: 0 22px 68px rgba(74, 144, 226, 0.28);
        transform: translateY(-150%);
        transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
        border-bottom: 2.5px solid rgba(144, 202, 249, 0.28);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.42rem;
        border-bottom: 2px solid rgba(144, 202, 249, 0.12);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.65rem;
        margin-bottom: 5.05rem;
        padding-left: 5.85rem;
    }

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

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

    .contact-card {
        padding: 5.85rem 4.45rem;
    }
}

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

    .nav-container {
        padding: 0 2.15rem;
        height: 68px;
    }

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

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

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

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

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

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

    section {
        padding: 92px 0;
    }

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

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

    .profile-card {
        padding: 2.65rem;
    }

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

    .timeline-content {
        padding: 2.75rem;
    }

    .project-card {
        padding: 3.35rem 2.65rem;
    }

    .contact-card {
        padding: 5.05rem 2.65rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.42rem 2.75rem;
        font-size: 0.98rem;
    }
}