/* Theme: Universe - Day 21 (Letter U): Inspired by cosmic nebulae, starlight, celestial bodies, astronomical phenomena, deep space, galactic dust, constellation patterns, stellar formation, cosmic rays, astronomical wonder */

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

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

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

body {
    font-family: 'Exo 2', sans-serif;
    font-size: 17.6px;
    line-height: 1.88;
    color: #0f1419;
    background: linear-gradient(155deg, #fef9ff 0%, #f8f5fe 18%, #ede8f9 42%, #f5f0fc 68%, #fcf9ff 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 18% 25%, rgba(147, 51, 234, 0.068) 0%, transparent 58%),
        radial-gradient(circle at 82% 78%, rgba(79, 70, 229, 0.062) 0%, transparent 62%);
    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(147, 51, 234, 0.045) 1px, transparent 1px),
        radial-gradient(circle, rgba(79, 70, 229, 0.035) 1px, transparent 1px);
    background-size: 85px 85px, 125px 125px;
    background-position: 0 0, 42px 42px;
    pointer-events: none;
    z-index: 0;
    animation: universeStarfield 180s linear infinite;
}

@keyframes universeStarfield {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(85px, 125px);
    }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 249, 255, 0.88);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.18);
    box-shadow: 0 8px 42px rgba(15, 20, 25, 0.095);
    transition: all 0.52s cubic-bezier(0.19, 1, 0.22, 1);
}

#topnav.scrolled {
    background: rgba(254, 249, 255, 0.94);
    box-shadow: 0 12px 52px rgba(15, 20, 25, 0.152);
    border-bottom-color: rgba(147, 51, 234, 0.32);
}

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

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

.logo h1::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 2.88rem;
    color: #9333ea;
    animation: universeSparkle 9.5s ease-in-out infinite;
}

@keyframes universeSparkle {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg) scale(1);
        opacity: 0.85;
        filter: brightness(1);
    }
    25% {
        transform: translateY(-50%) rotate(90deg) scale(1.18);
        opacity: 1;
        filter: brightness(1.32);
    }
    50% {
        transform: translateY(-50%) rotate(180deg) scale(0.92);
        opacity: 0.78;
        filter: brightness(0.88);
    }
    75% {
        transform: translateY(-50%) rotate(270deg) scale(1.12);
        opacity: 1;
        filter: brightness(1.18);
    }
}

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

.nav-menu li a {
    display: block;
    padding: 1.28rem 2.75rem;
    color: #0f1419;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    letter-spacing: 1.55px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 22px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.11) 0%, rgba(79, 70, 229, 0.11) 100%);
    opacity: 0;
    transition: opacity 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 22px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9333ea 0%, #4f46e5 100%);
    transition: width 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 1px;
}

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

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: calc(100% - 5.5rem);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #9333ea;
    border-color: rgba(147, 51, 234, 0.28);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    border: none;
    color: #fef9ff;
    font-size: 2.05rem;
    width: 68px;
    height: 68px;
    cursor: pointer;
    transition: all 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 50%;
    box-shadow: 0 15px 48px rgba(147, 51, 234, 0.42);
}

.mobile-toggle:hover {
    transform: scale(1.12) rotate(12deg);
    box-shadow: 0 22px 62px rgba(147, 51, 234, 0.58);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -58%;
    right: -38%;
    width: 1250px;
    height: 1250px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.158) 0%, transparent 72%);
    animation: universeOrbit 75s ease-in-out infinite;
    border-radius: 50%;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -55%;
    left: -35%;
    width: 1180px;
    height: 1180px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.138) 0%, transparent 72%);
    animation: universeOrbit 88s ease-in-out infinite reverse;
    border-radius: 50%;
}

@keyframes universeOrbit {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.68;
    }
    33% {
        transform: translate(118px, -98px) rotate(120deg) scale(1.18);
        opacity: 0.95;
    }
    66% {
        transform: translate(-98px, 118px) rotate(240deg) scale(0.92);
        opacity: 0.78;
    }
}

.hero-content {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 4.85rem;
    display: grid;
    grid-template-columns: 1.58fr 1fr;
    gap: 10.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

@keyframes universeEmerge {
    0% {
        opacity: 0;
        transform: translateY(108px) scale(0.88);
        filter: blur(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 7.25rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 4.15rem;
    color: #0f1419;
    letter-spacing: -2.85px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 2.05rem;
    color: #3e3553;
    margin-bottom: 5.85rem;
    line-height: 1.68;
    font-weight: 500;
    letter-spacing: 0.58px;
}

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

.btn {
    display: inline-block;
    padding: 1.95rem 5.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.58s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 1.18rem;
    letter-spacing: 2.05px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 50px;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    color: #fef9ff;
    box-shadow: 0 22px 72px rgba(147, 51, 234, 0.48);
}

.btn-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 95px rgba(147, 51, 234, 0.62);
    background: linear-gradient(135deg, #7c27c7 0%, #4338ca 100%);
}

.btn-secondary {
    background: rgba(254, 249, 255, 0.98);
    color: #9333ea;
    border: 2px solid #9333ea;
    box-shadow: 0 18px 58px rgba(147, 51, 234, 0.32);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    color: #fef9ff;
    border-color: #9333ea;
    transform: translateY(-8px);
    box-shadow: 0 28px 75px rgba(147, 51, 234, 0.48);
}

.hero-image {
    animation: universeEmerge 1.85s cubic-bezier(0.19, 1, 0.22, 1) 0.45s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(38px);
    padding: 4.15rem;
    box-shadow: 
        0 0 0 1px rgba(147, 51, 234, 0.22),
        0 38px 115px rgba(15, 20, 25, 0.22);
    transition: all 0.68s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    border-radius: 50px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 50%, #9333ea 100%);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.68s cubic-bezier(0.19, 1, 0.22, 1);
}

.profile-card::after {
    content: '✦';
    position: absolute;
    bottom: 68px;
    right: 68px;
    font-size: 9.5rem;
    color: rgba(147, 51, 234, 0.055);
    animation: universeSparkle 12s ease-in-out infinite;
}

.profile-card:hover {
    transform: translateY(-22px) scale(1.035);
    box-shadow: 
        0 0 0 1px rgba(147, 51, 234, 0.45),
        0 58px 158px rgba(15, 20, 25, 0.32);
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-card img {
    width: 100%;
    margin-bottom: 3.55rem;
    box-shadow: 0 32px 95px rgba(15, 20, 25, 0.25);
    border-radius: 38px;
}

.profile-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.85rem;
    margin-bottom: 1.38rem;
    color: #0f1419;
    font-weight: 800;
    letter-spacing: -0.75px;
    text-transform: uppercase;
}

.profile-details p {
    color: #3e3553;
    margin-bottom: 3.65rem;
    line-height: 1.68;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.85rem 4.55rem;
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    color: #fef9ff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2.05px;
    transition: all 0.58s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 38px;
    box-shadow: 0 22px 72px rgba(79, 70, 229, 0.48);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #4338ca 0%, #7c27c7 100%);
    transform: translateY(-7px);
    box-shadow: 0 32px 92px rgba(79, 70, 229, 0.62);
}

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

.container {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 4.85rem;
}

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

.section-header::before {
    content: '✦ ✦ ✦';
    position: absolute;
    top: -88px;
    left: 50%;
    transform: translateX(-50%);
    color: #9333ea;
    font-size: 1.68rem;
    letter-spacing: 4.25rem;
    opacity: 0.68;
    animation: universeSparkle 8s ease-in-out infinite;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 195px;
    height: 5px;
    background: linear-gradient(90deg, #9333ea 0%, #4f46e5 50%, #9333ea 100%);
    border-radius: 3px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 385px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #9333ea 0%, #4f46e5 50%, #9333ea 100%);
    border-radius: 2px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 755px 1fr;
    gap: 9.15rem;
    margin-bottom: 8.85rem;
    position: relative;
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 9.85rem;
    font-weight: 900;
    color: rgba(147, 51, 234, 0.22);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 8.85rem;
    letter-spacing: -4.85px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -163px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #9333ea;
    border-radius: 50%;
    box-shadow: 
        0 0 0 14px rgba(254, 249, 255, 1),
        0 0 0 18px rgba(147, 51, 234, 0.35),
        0 0 28px rgba(147, 51, 234, 0.58);
    animation: universePulse 7.5s ease-in-out infinite;
}

@keyframes universePulse {
    0%, 100% {
        box-shadow: 
            0 0 0 14px rgba(254, 249, 255, 1),
            0 0 0 18px rgba(147, 51, 234, 0.35),
            0 0 28px rgba(147, 51, 234, 0.58);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow: 
            0 0 0 14px rgba(254, 249, 255, 1),
            0 0 0 42px rgba(147, 51, 234, 0.52),
            0 0 58px rgba(147, 51, 234, 0.85);
        transform: translateY(-50%) scale(1.48);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(32px);
    padding: 4.85rem;
    transition: all 0.62s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 32px 98px rgba(15, 20, 25, 0.165);
    position: relative;
    border-radius: 38px;
    border-left: 5px solid rgba(147, 51, 234, 0.35);
}

.timeline-content:hover {
    transform: translateX(25px);
    box-shadow: 0 48px 135px rgba(15, 20, 25, 0.255);
    border-left-color: #9333ea;
    background: rgba(255, 255, 255, 0.98);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.55rem;
    margin-bottom: 1.18rem;
    color: #0f1419;
    font-weight: 800;
    letter-spacing: -0.68px;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: #9333ea;
    font-size: 1.72rem;
    margin-bottom: 2.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.45px;
}

.timeline-content p {
    color: #3e3553;
    line-height: 1.88;
    margin: 0;
}

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

.timeline-content a:hover {
    border-bottom-color: #4f46e5;
    color: #9333ea;
}

#ai {
    background: rgba(248, 245, 254, 0.62);
    backdrop-filter: blur(22px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(32px);
    padding: 6.55rem;
    transition: all 0.62s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 35px 105px rgba(15, 20, 25, 0.18);
    border-radius: 48px;
    border-top: 8px solid #9333ea;
}

.project-card::after {
    content: '✦';
    position: absolute;
    top: 75px;
    right: 75px;
    font-size: 9.85rem;
    color: rgba(147, 51, 234, 0.048);
    animation: universeSparkle 10s ease-in-out infinite;
}

.project-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 52px 145px rgba(15, 20, 25, 0.265);
    background: rgba(255, 255, 255, 0.98);
}

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

.project-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.85rem;
    color: #0f1419;
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.95px;
    text-transform: uppercase;
}

.project-client {
    color: #9333ea;
    font-weight: 700;
    font-size: 1.72rem;
    margin-bottom: 3.95rem;
    text-transform: uppercase;
    letter-spacing: 1.55px;
}

.project-card > p {
    color: #3e3553;
    line-height: 1.88;
    margin-bottom: 4.65rem;
}

.project-impact {
    background: rgba(147, 51, 234, 0.088);
    padding: 3.55rem;
    color: #0f1419;
    line-height: 1.88;
    border-radius: 28px;
    border-left: 8px solid #4f46e5;
}

.project-impact strong {
    color: #4f46e5;
    font-weight: 700;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(32px);
    padding: 5.35rem;
    transition: all 0.62s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 32px 98px rgba(15, 20, 25, 0.165);
    border-radius: 38px;
    position: relative;
    border-top: 5px solid rgba(147, 51, 234, 0.35);
}

.year-section:hover {
    transform: translateY(-18px);
    box-shadow: 0 48px 135px rgba(15, 20, 25, 0.255);
    border-top-color: #9333ea;
    background: rgba(255, 255, 255, 0.98);
}

.year-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 6.15rem;
    margin-bottom: 4.65rem;
    color: #0f1419;
    text-align: center;
    padding-bottom: 3.55rem;
    border-bottom: 5px solid rgba(147, 51, 234, 0.25);
    font-weight: 900;
    letter-spacing: -1.15px;
    text-transform: uppercase;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    border-top-color: #7c27c7;
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.32rem 0;
    color: #3e3553;
    border-bottom: 2px solid rgba(15, 20, 25, 0.088);
    line-height: 1.88;
    position: relative;
    padding-left: 4.15rem;
}

.achievements li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2.32rem;
    color: #9333ea;
    font-size: 1.68rem;
    animation: universeSparkle 6s ease-in-out infinite;
}

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

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

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

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

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

#personal {
    background: rgba(248, 245, 254, 0.62);
    backdrop-filter: blur(22px);
}

#contact {
    background: rgba(147, 51, 234, 0.072);
    backdrop-filter: blur(22px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(45px);
    padding: 10.15rem 9.25rem;
    text-align: center;
    box-shadow: 0 55px 165px rgba(15, 20, 25, 0.215);
    max-width: 1520px;
    margin: 0 auto;
    border-radius: 58px;
    border: 1px solid rgba(147, 51, 234, 0.28);
}

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 7.65rem;
    margin-bottom: 4.65rem;
    color: #0f1419;
    font-weight: 900;
    letter-spacing: -1.58px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.98rem;
    color: #3e3553;
    line-height: 1.88;
    margin-bottom: 7.85rem;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.85rem;
    padding: 2.85rem 6.55rem;
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    color: #fef9ff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2.05px;
    transition: all 0.58s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 50px;
    box-shadow: 0 32px 98px rgba(147, 51, 234, 0.48);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #7c27c7 0%, #4338ca 100%);
    transform: translateY(-8px);
    box-shadow: 0 45px 125px rgba(147, 51, 234, 0.62);
}

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

#footer {
    background: #0f1419;
    padding: 7.85rem 0;
    text-align: center;
    color: rgba(254, 249, 255, 0.72);
    border-top: 1px solid rgba(147, 51, 234, 0.45);
}

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

#footer a:hover {
    color: #4f46e5;
}

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

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

    .hero-image {
        max-width: 755px;
        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 3.65rem;
        height: 88px;
    }

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

    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(254, 249, 255, 0.98);
        backdrop-filter: blur(32px);
        flex-direction: column;
        padding: 5.35rem;
        gap: 0;
        box-shadow: 0 42px 105px rgba(15, 20, 25, 0.215);
        transform: translateY(-150%);
        transition: transform 0.68s cubic-bezier(0.19, 1, 0.22, 1);
        border-bottom: 1px solid rgba(147, 51, 234, 0.32);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.98rem;
        border-bottom: 1px solid rgba(15, 20, 25, 0.088);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5.35rem;
        margin-bottom: 8.85rem;
        padding-left: 11.15rem;
    }

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

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

    .contact-card {
        padding: 8.25rem 6.55rem;
    }
}

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

    .nav-container {
        padding: 0 3.25rem;
        height: 82px;
    }

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

    #hero {
        padding: 168px 0 138px;
    }

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

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

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

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

    section {
        padding: 138px 0;
    }

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

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

    .profile-card {
        padding: 3.25rem;
    }

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

    .timeline-content {
        padding: 3.95rem;
    }

    .project-card {
        padding: 5.35rem 3.95rem;
    }

    .contact-card {
        padding: 7.35rem 3.95rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.98rem 3.95rem;
        font-size: 1.12rem;
    }
}