/* Theme: Eclipse - Day 5 (Letter E): Inspired by solar eclipses, celestial phenomena, cosmic darkness, stellar corona, astronomical wonder, lunar shadows, cosmic alignment, ethereal light rings, celestial mechanics, astronomical beauty */

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

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

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

body {
    font-family: 'Outfit', sans-serif;
    font-size: 18.5px;
    line-height: 1.92;
    color: #1a1424;
    background: linear-gradient(172deg, #fdfcfe 0%, #f8f6fa 18%, #f4f1f7 42%, #efeaf4 68%, #f7f4f9 88%, #fcfafd 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 15%, rgba(88, 66, 124, 0.092) 0%, transparent 52%),
        radial-gradient(ellipse at 75% 85%, rgba(142, 108, 189, 0.078) 0%, transparent 48%),
        radial-gradient(ellipse at 50% 50%, rgba(68, 46, 104, 0.065) 0%, transparent 62%);
    pointer-events: none;
    z-index: 0;
    animation: eclipseShift 58s ease-in-out infinite alternate;
}

@keyframes eclipseShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.78;
        transform: scale(1.15) rotate(8deg);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(88, 66, 124, 0.018) 1.2px, transparent 1.2px);
    background-size: 62px 62px;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 254, 0.85);
    backdrop-filter: blur(32px);
    border-bottom: 3.5px solid rgba(88, 66, 124, 0.15);
    box-shadow: 0 8px 42px rgba(26, 20, 36, 0.088);
    transition: all 0.52s ease;
}

#topnav.scrolled {
    background: rgba(253, 252, 254, 0.96);
    box-shadow: 0 12px 58px rgba(26, 20, 36, 0.135);
    border-bottom-color: rgba(88, 66, 124, 0.28);
}

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

.logo h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.05rem;
    font-weight: 800;
    color: #1a1424;
    margin: 0;
    letter-spacing: 1.85px;
    position: relative;
    padding-left: 4.15rem;
}

.logo h1::before {
    content: '🌑';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.85rem;
    animation: eclipseRotate 12s linear infinite;
}

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

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

.nav-menu li a {
    display: block;
    padding: 1.15rem 2.55rem;
    color: #1a1424;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.42s ease;
    position: relative;
    letter-spacing: 1.55px;
    border-radius: 8px;
    text-transform: uppercase;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(88, 66, 124, 0.08) 0%, rgba(142, 108, 189, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.42s ease;
    border-radius: 8px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #58427c 0%, #8e6cbd 100%);
    transition: width 0.42s ease;
    border-radius: 1.75px;
}

.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: 65%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #58427c;
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
    border: none;
    color: #fdfcfe;
    font-size: 2.15rem;
    width: 68px;
    height: 68px;
    cursor: pointer;
    transition: all 0.42s ease;
    border-radius: 50%;
    box-shadow: 0 12px 45px rgba(88, 66, 124, 0.48);
}

.mobile-toggle:hover {
    background: linear-gradient(135deg, #442e68 0%, #58427c 100%);
    box-shadow: 0 18px 62px rgba(88, 66, 124, 0.65);
    transform: rotate(90deg) scale(1.12);
}

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

#hero::before {
    content: '🌕';
    position: absolute;
    top: 8%;
    right: 5%;
    font-size: 22.5rem;
    opacity: 0.038;
    animation: moonDrift 42s ease-in-out infinite;
}

#hero::after {
    content: '✨';
    position: absolute;
    bottom: 12%;
    left: 3%;
    font-size: 18.5rem;
    opacity: 0.045;
    animation: starTwinkle 35s ease-in-out infinite;
}

@keyframes moonDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.038;
    }
    50% {
        transform: translate(68px, -85px) rotate(25deg);
        opacity: 0.072;
    }
}

@keyframes starTwinkle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.045;
    }
    50% {
        transform: translate(-55px, 48px) scale(1.15);
        opacity: 0.088;
    }
}

.hero-content {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 4.65rem;
    display: grid;
    grid-template-columns: 1.52fr 1fr;
    gap: 9.85rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: cosmicRise 1.75s ease-out;
}

@keyframes cosmicRise {
    0% {
        opacity: 0;
        transform: translateY(95px) scale(0.88);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 6.85rem;
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 4.25rem;
    color: #1a1424;
    letter-spacing: -2.85px;
}

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

.hero-subtitle {
    font-size: 1.95rem;
    color: #3d2f56;
    margin-bottom: 5.85rem;
    line-height: 1.72;
    font-weight: 400;
    letter-spacing: 0.42px;
}

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

.btn {
    display: inline-block;
    padding: 1.95rem 5.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.58s ease;
    font-size: 1.08rem;
    letter-spacing: 1.85px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    border: 3.5px solid transparent;
    border-radius: 8px;
    text-transform: uppercase;
}

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

.btn:hover::after {
    width: 520px;
    height: 520px;
}

.btn-primary {
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
    color: #fdfcfe;
    box-shadow: 0 22px 72px rgba(88, 66, 124, 0.52);
}

.btn-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 95px rgba(88, 66, 124, 0.68);
    background: linear-gradient(135deg, #442e68 0%, #58427c 100%);
}

.btn-secondary {
    background: rgba(253, 252, 254, 0.98);
    color: #58427c;
    border: 3.5px solid #58427c;
    box-shadow: 0 18px 58px rgba(88, 66, 124, 0.38);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
    color: #fdfcfe;
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 28px 78px rgba(88, 66, 124, 0.62);
}

.hero-image {
    animation: cosmicRise 1.75s ease-out 0.42s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(38px);
    padding: 4.25rem;
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.18),
        0 38px 125px rgba(26, 20, 36, 0.28);
    transition: all 0.68s ease;
    position: relative;
    border-radius: 8px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -3.5px;
    left: -3.5px;
    right: -3.5px;
    bottom: -3.5px;
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 50%, #442e68 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.68s ease;
    border-radius: 8px;
}

.profile-card::after {
    content: '🌌';
    position: absolute;
    bottom: 62px;
    right: 62px;
    font-size: 9.85rem;
    opacity: 0.032;
}

.profile-card:hover {
    transform: translateY(-28px) scale(1.035);
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.42),
        0 58px 165px rgba(26, 20, 36, 0.38);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 3.85rem;
    box-shadow: 0 32px 92px rgba(26, 20, 36, 0.32);
    border-radius: 4px;
}

.profile-details h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.85rem;
    margin-bottom: 1.42rem;
    color: #1a1424;
    font-weight: 900;
    letter-spacing: -0.85px;
}

.profile-details p {
    color: #3d2f56;
    margin-bottom: 4.05rem;
    line-height: 1.72;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.95rem 4.85rem;
    background: linear-gradient(135deg, #8e6cbd 0%, #a68dd4 100%);
    color: #fdfcfe;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.85px;
    transition: all 0.58s ease;
    border-radius: 8px;
    box-shadow: 0 22px 72px rgba(142, 108, 189, 0.52);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
    transform: translateY(-8px);
    box-shadow: 0 32px 95px rgba(88, 66, 124, 0.68);
}

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

.container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 4.65rem;
}

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

.section-header::before {
    content: '◐';
    position: absolute;
    top: -92px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.85rem;
    opacity: 0.28;
    color: #58427c;
}

.section-header h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 6.25rem;
    font-weight: 900;
    line-height: 1.05;
    color: #1a1424;
    letter-spacing: -1.85px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 165px;
    height: 5.5px;
    background: linear-gradient(90deg, transparent 0%, #58427c 22%, #8e6cbd 50%, #58427c 78%, transparent 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 415px;
    top: 0;
    bottom: 0;
    width: 5.5px;
    background: linear-gradient(180deg, #58427c 0%, #8e6cbd 50%, #442e68 100%);
    opacity: 0.28;
}

.timeline-item {
    display: grid;
    grid-template-columns: 825px 1fr;
    gap: 9.85rem;
    margin-bottom: 9.25rem;
    position: relative;
}

.timeline-year {
    font-family: 'Bodoni Moda', serif;
    font-size: 10.25rem;
    font-weight: 900;
    color: rgba(88, 66, 124, 0.095);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 9.25rem;
    letter-spacing: -4.85px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -172px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
    clip-path: circle(50%);
    box-shadow: 
        0 0 0 12.5px rgba(253, 252, 254, 1),
        0 0 0 17.5px rgba(88, 66, 124, 0.18);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 5.25rem;
    transition: all 0.62s ease;
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.08),
        0 35px 108px rgba(26, 20, 36, 0.18);
    position: relative;
    border-radius: 8px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7.5px;
    background: linear-gradient(180deg, #58427c 0%, #8e6cbd 100%);
    opacity: 0;
    transition: opacity 0.62s ease;
    border-radius: 8px 0 0 8px;
}

.timeline-content:hover {
    transform: translateX(35px);
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.28),
        0 48px 145px rgba(26, 20, 36, 0.28);
    background: rgba(255, 255, 255, 0.98);
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.85rem;
    margin-bottom: 1.35rem;
    color: #1a1424;
    font-weight: 900;
    letter-spacing: -0.68px;
}

.timeline-content h4 {
    color: #58427c;
    font-size: 1.85rem;
    margin-bottom: 3.25rem;
    font-weight: 700;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}

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

.timeline-content a {
    color: #8e6cbd;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 3.5px solid transparent;
    transition: all 0.42s ease;
}

.timeline-content a:hover {
    border-bottom-color: #8e6cbd;
    color: #58427c;
}

#ai {
    background: rgba(244, 241, 247, 0.68);
    backdrop-filter: blur(28px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 7.85rem;
    transition: all 0.62s ease;
    position: relative;
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.08),
        0 38px 118px rgba(26, 20, 36, 0.22);
    border-radius: 8px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 9.5px;
    background: linear-gradient(90deg, #58427c 0%, #8e6cbd 50%, #442e68 100%);
    border-radius: 8px 8px 0 0;
}

.project-card::after {
    content: '🌠';
    position: absolute;
    top: 82px;
    right: 82px;
    font-size: 11.85rem;
    opacity: 0.028;
}

.project-card:hover {
    transform: translateY(-22px);
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.28),
        0 58px 165px rgba(26, 20, 36, 0.32);
    background: rgba(255, 255, 255, 0.98);
}

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

.project-header h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 5.25rem;
    color: #1a1424;
    margin: 0;
    font-weight: 900;
    letter-spacing: -1.25px;
}

.project-client {
    color: #58427c;
    font-weight: 700;
    font-size: 1.85rem;
    margin-bottom: 4.25rem;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}

.project-card > p {
    color: #3d2f56;
    line-height: 1.92;
    margin-bottom: 5.25rem;
}

.project-impact {
    background: rgba(88, 66, 124, 0.058);
    padding: 4.05rem;
    color: #1a1424;
    line-height: 1.92;
    border-radius: 4px;
    border-left: 9.5px solid #58427c;
}

.project-impact strong {
    color: #442e68;
    font-weight: 700;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 6.25rem;
    transition: all 0.62s ease;
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.08),
        0 35px 108px rgba(26, 20, 36, 0.18);
    border-radius: 8px;
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6.5px;
    background: linear-gradient(90deg, #58427c 0%, #8e6cbd 100%);
    opacity: 0.28;
    transition: opacity 0.62s ease;
    border-radius: 8px 8px 0 0;
}

.year-section:hover {
    transform: translateY(-22px);
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.28),
        0 48px 145px rgba(26, 20, 36, 0.28);
    background: rgba(255, 255, 255, 0.98);
}

.year-section:hover::before {
    opacity: 1;
}

.year-section h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 6.25rem;
    margin-bottom: 5.25rem;
    color: #1a1424;
    text-align: center;
    padding-bottom: 4.05rem;
    border-bottom: 3.5px solid rgba(88, 66, 124, 0.18);
    font-weight: 900;
    letter-spacing: -1.55px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
}

.year-section.books::before {
    background: rgba(253, 252, 254, 0.32);
}

.year-section.books h3 {
    color: #fdfcfe;
    border-bottom-color: rgba(253, 252, 254, 0.25);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.55rem 0;
    color: #3d2f56;
    border-bottom: 3.5px solid rgba(26, 20, 36, 0.055);
    line-height: 1.92;
    position: relative;
    padding-left: 4.65rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 2.55rem;
    font-size: 1.95rem;
    color: #58427c;
}

.year-section.books .achievements li {
    color: rgba(253, 252, 254, 0.96);
    border-bottom-color: rgba(253, 252, 254, 0.18);
}

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

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

.achievements strong {
    color: #1a1424;
    font-weight: 700;
}

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

#personal {
    background: rgba(244, 241, 247, 0.68);
    backdrop-filter: blur(28px);
}

#contact {
    background: linear-gradient(135deg, rgba(88, 66, 124, 0.032) 0%, rgba(142, 108, 189, 0.038) 100%);
    backdrop-filter: blur(28px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(48px);
    padding: 11.85rem 10.25rem;
    text-align: center;
    box-shadow: 
        0 0 0 3.5px rgba(88, 66, 124, 0.18),
        0 58px 175px rgba(26, 20, 36, 0.28);
    max-width: 1480px;
    margin: 0 auto;
    border-radius: 8px;
}

.contact-card h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 8.85rem;
    margin-bottom: 5.25rem;
    color: #1a1424;
    font-weight: 900;
    letter-spacing: -2.25px;
}

.contact-card > p {
    font-size: 2.15rem;
    color: #3d2f56;
    line-height: 1.92;
    margin-bottom: 9.05rem;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 3.25rem;
    padding: 3.25rem 7.85rem;
    background: linear-gradient(135deg, #58427c 0%, #8e6cbd 100%);
    color: #fdfcfe;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.85px;
    transition: all 0.58s ease;
    border-radius: 8px;
    box-shadow: 0 38px 118px rgba(88, 66, 124, 0.52);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #442e68 0%, #58427c 100%);
    transform: translateY(-12px);
    box-shadow: 0 52px 155px rgba(88, 66, 124, 0.68);
}

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

#footer {
    background: #1a1424;
    padding: 8.85rem 0;
    text-align: center;
    color: rgba(253, 252, 254, 0.72);
    border-top: 3.5px solid rgba(88, 66, 124, 0.28);
}

#footer a {
    color: #a68dd4;
    text-decoration: none;
    transition: color 0.42s ease;
    font-weight: 700;
}

#footer a:hover {
    color: #8e6cbd;
}

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

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

    .hero-image {
        max-width: 825px;
        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 4.05rem;
        height: 82px;
    }

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

    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(253, 252, 254, 0.98);
        backdrop-filter: blur(32px);
        flex-direction: column;
        padding: 6.25rem;
        gap: 0;
        box-shadow: 0 42px 118px rgba(26, 20, 36, 0.22);
        transform: translateY(-150%);
        transition: transform 0.68s ease;
        border-bottom: 3.5px solid rgba(88, 66, 124, 0.35);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.95rem;
        border-bottom: 3.5px solid rgba(26, 20, 36, 0.055);
        border-radius: 0;
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 6.25rem;
        margin-bottom: 9.25rem;
        padding-left: 13.85rem;
    }

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

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

    .contact-card {
        padding: 9.85rem 7.85rem;
    }
}

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

    .nav-container {
        padding: 0 3.65rem;
        height: 75px;
    }

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

    #hero {
        padding: 162px 0 125px;
    }

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

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

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

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

    section {
        padding: 125px 0;
    }

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

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

    .profile-card {
        padding: 3.65rem;
    }

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

    .timeline-content {
        padding: 4.25rem;
    }

    .project-card {
        padding: 6.25rem 4.25rem;
    }

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

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

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

    .contact-link {
        justify-content: center;
        padding: 2.15rem 4.25rem;
        font-size: 1rem;
    }
}