/* Theme: Desert - Warm sands, terracotta sunsets, golden dunes, and ancient oasis aesthetics */

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

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

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

body {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #2c1810;
    background: linear-gradient(165deg, #d4a574 0%, #c89666 25%, #b8845a 50%, #a67c52 75%, #8b6f47 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(2px 2px at 20% 30%, rgba(139, 111, 71, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(212, 165, 116, 0.15), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(184, 132, 90, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(166, 124, 82, 0.1), transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 15% 25%, rgba(232, 195, 145, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 75%, rgba(212, 165, 116, 0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(200, 150, 102, 0.15) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: desertShimmer 30s ease-in-out infinite alternate;
}

@keyframes desertShimmer {
    0% {
        opacity: 0.5;
        transform: scale(1) translateX(0);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1) translateX(15px);
    }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(44, 24, 16, 0.88);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 3px solid rgba(232, 195, 145, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#topnav.scrolled {
    background: rgba(44, 24, 16, 0.94);
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(232, 195, 145, 0.5);
}

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

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #e8c391;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, #c8966 0%, #e8c391 100%);
}

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

.nav-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #d4a574;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c89666 0%, #e8c391 100%);
    transition: width 0.35s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 75%;
}

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #c89666 0%, #b8845a 100%);
    border: 2px solid #e8c391;
    color: #2c1810;
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(200, 150, 102, 0.4);
}

.mobile-toggle:hover {
    background: linear-gradient(135deg, #b8845a 0%, #a67c52 100%);
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(200, 150, 102, 0.6);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -18%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(232, 195, 145, 0.25) 0%, transparent 68%);
    border-radius: 50%;
    filter: blur(75px);
    animation: duneWave 22s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -22%;
    left: -12%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(200, 150, 102, 0.2) 0%, transparent 68%);
    border-radius: 50%;
    filter: blur(70px);
    animation: duneWave 26s ease-in-out infinite reverse;
}

@keyframes duneWave {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -55px) scale(1.08);
    }
    66% {
        transform: translate(-30px, 35px) scale(0.93);
    }
}

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

.hero-text {
    animation: riseFromSand 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.hero-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.6rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 2.2rem;
    color: #2c1810;
    letter-spacing: 1px;
    text-shadow: 3px 3px 8px rgba(232, 195, 145, 0.4);
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: #4a3322;
    margin-bottom: 3.2rem;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

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

.btn {
    display: inline-block;
    padding: 1.3rem 3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    letter-spacing: 1.5px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(44, 24, 16, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
    background: linear-gradient(135deg, #c89666 0%, #b8845a 100%);
    color: #2c1810;
    border: 2px solid transparent;
    box-shadow: 0 12px 35px rgba(200, 150, 102, 0.45);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(200, 150, 102, 0.6);
    background: linear-gradient(135deg, #b8845a 0%, #a67c52 100%);
}

.btn-secondary {
    background: transparent;
    color: #c89666;
    border: 2px solid #c89666;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
    background: rgba(200, 150, 102, 0.18);
    border-color: #e8c391;
    color: #e8c391;
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(200, 150, 102, 0.4);
}

.hero-image {
    animation: riseFromSand 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.25s both;
}

.profile-card {
    background: rgba(44, 24, 16, 0.75);
    backdrop-filter: blur(20px) saturate(120%);
    padding: 2.8rem;
    box-shadow: 
        0 28px 75px rgba(0, 0, 0, 0.5),
        inset 0 0 65px rgba(232, 195, 145, 0.08);
    border: 3px solid rgba(232, 195, 145, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(145deg, rgba(232, 195, 145, 0.5) 0%, rgba(200, 150, 102, 0.35) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

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

.profile-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 38px 95px rgba(0, 0, 0, 0.6),
        inset 0 0 85px rgba(232, 195, 145, 0.12);
    border-color: rgba(232, 195, 145, 0.5);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(232, 195, 145, 0.25);
    transition: all 0.4s ease;
}

.profile-card:hover img {
    border-color: rgba(232, 195, 145, 0.45);
    transform: scale(1.02);
}

.profile-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
    color: #e8c391;
    font-weight: 800;
    letter-spacing: 1px;
}

.profile-details p {
    color: #d4a574;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: linear-gradient(135deg, #c89666 0%, #b8845a 100%);
    color: #2c1810;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(200, 150, 102, 0.4);
    text-transform: uppercase;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: linear-gradient(135deg, #b8845a 0%, #a67c52 100%);
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(200, 150, 102, 0.55);
    border-color: #e8c391;
}

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

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

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

.section-header::before {
    content: '';
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #c89666 20%, #e8c391 50%, #c89666 80%, transparent 100%);
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 4.3rem;
    font-weight: 900;
    line-height: 1.15;
    color: #2c1810;
    letter-spacing: 1px;
    text-shadow: 3px 3px 8px rgba(232, 195, 145, 0.4);
}

#experience {
    background: rgba(44, 24, 16, 0.5);
    backdrop-filter: blur(22px);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 115px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e8c391 0%, #c89666 50%, #b8845a 100%);
    box-shadow: 0 0 16px rgba(232, 195, 145, 0.5);
}

.timeline-item {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 4.2rem;
    margin-bottom: 4.6rem;
    position: relative;
}

.timeline-year {
    font-family: 'Cinzel', serif;
    font-size: 3.1rem;
    font-weight: 900;
    color: #e8c391;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2.2rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -58px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #e8c391 0%, #c89666 100%);
    border: 5px solid rgba(44, 24, 16, 0.9);
    box-shadow: 
        0 0 0 7px rgba(232, 195, 145, 0.25),
        0 8px 24px rgba(232, 195, 145, 0.5);
}

.timeline-content {
    background: rgba(44, 24, 16, 0.7);
    backdrop-filter: blur(16px);
    padding: 2.8rem;
    border: 2px solid rgba(232, 195, 145, 0.25);
    border-left: 6px solid #c89666;
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.timeline-content:hover {
    transform: translateX(15px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
    border-left-width: 8px;
    border-left-color: #e8c391;
    background: rgba(44, 24, 16, 0.85);
    border-color: rgba(232, 195, 145, 0.4);
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.05rem;
    margin-bottom: 0.65rem;
    color: #e8c391;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    color: #d4a574;
    font-size: 1.2rem;
    margin-bottom: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Cinzel', serif;
}

.timeline-content p {
    color: #c8b299;
    line-height: 1.8;
    margin: 0;
}

.timeline-content a {
    color: #e8c391;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content a:hover {
    border-bottom-color: #e8c391;
    color: #ffffff;
}

#ai {
    background: linear-gradient(180deg, rgba(44, 24, 16, 0.45) 0%, rgba(44, 24, 16, 0.65) 100%);
    backdrop-filter: blur(22px);
}

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

.project-card {
    background: rgba(44, 24, 16, 0.7);
    backdrop-filter: blur(16px);
    padding: 3.4rem;
    border: 2px solid rgba(232, 195, 145, 0.25);
    border-top: 7px solid transparent;
    border-image: linear-gradient(90deg, #c89666 0%, #e8c391 50%, #c89666 100%) 1;
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 15px 48px rgba(0, 0, 0, 0.4);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 195, 145, 0.08) 0%, rgba(200, 150, 102, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 68px rgba(0, 0, 0, 0.55);
    background: rgba(44, 24, 16, 0.85);
    border-color: rgba(232, 195, 145, 0.4);
}

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

.project-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #e8c391;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.project-client {
    color: #d4a574;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    font-family: 'Cinzel', serif;
}

.project-card > p {
    color: #c8b299;
    line-height: 1.8;
    margin-bottom: 2.4rem;
}

.project-impact {
    background: rgba(232, 195, 145, 0.12);
    padding: 2rem;
    border-left: 5px solid #c89666;
    color: #d4a574;
    line-height: 1.8;
    box-shadow: inset 0 0 30px rgba(232, 195, 145, 0.08);
}

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

#speaking {
    background: rgba(44, 24, 16, 0.55);
    backdrop-filter: blur(22px);
}

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

.year-section {
    background: rgba(44, 24, 16, 0.75);
    backdrop-filter: blur(16px);
    padding: 3rem;
    border: 2px solid rgba(232, 195, 145, 0.25);
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.year-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(232, 195, 145, 0.45);
    background: rgba(44, 24, 16, 0.88);
}

.year-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.7rem;
    margin-bottom: 2.2rem;
    color: #e8c391;
    text-align: center;
    padding-bottom: 1.4rem;
    border-bottom: 3px solid rgba(232, 195, 145, 0.3);
    font-weight: 800;
    letter-spacing: 1px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(200, 150, 102, 0.4) 0%, rgba(184, 132, 90, 0.4) 100%);
    border: 3px solid rgba(232, 195, 145, 0.45);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.15rem 0;
    color: #c8b299;
    border-bottom: 2px solid rgba(232, 195, 145, 0.12);
    line-height: 1.8;
    position: relative;
    padding-left: 2.8rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #e8c391;
    font-size: 1.4rem;
    line-height: 1.5;
}

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

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

#personal {
    background: linear-gradient(180deg, rgba(44, 24, 16, 0.5) 0%, rgba(44, 24, 16, 0.7) 100%);
    backdrop-filter: blur(22px);
}

#contact {
    background: rgba(44, 24, 16, 0.6);
    backdrop-filter: blur(22px);
}

.contact-card {
    background: rgba(44, 24, 16, 0.8);
    backdrop-filter: blur(20px);
    padding: 6rem 5rem;
    text-align: center;
    box-shadow: 0 35px 92px rgba(0, 0, 0, 0.55);
    max-width: 1050px;
    margin: 0 auto;
    border: 3px solid rgba(232, 195, 145, 0.35);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #c89666 20%, #e8c391 50%, #c89666 80%, transparent 100%);
}

.contact-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 4.1rem;
    margin-bottom: 2.2rem;
    color: #e8c391;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.contact-card > p {
    font-size: 1.35rem;
    color: #c8b299;
    line-height: 1.8;
    margin-bottom: 3.8rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1.45rem 3.5rem;
    background: linear-gradient(135deg, #c89666 0%, #b8845a 100%);
    color: #2c1810;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 14px 40px rgba(200, 150, 102, 0.45);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(44, 24, 16, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.contact-link:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 54px rgba(200, 150, 102, 0.65);
    background: linear-gradient(135deg, #b8845a 0%, #a67c52 100%);
    border-color: #e8c391;
}

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

#footer {
    background: rgba(44, 24, 16, 0.96);
    backdrop-filter: blur(16px);
    padding: 3.8rem 0;
    text-align: center;
    color: #8b7766;
    border-top: 3px solid rgba(232, 195, 145, 0.3);
    box-shadow: 0 -8px 34px rgba(0, 0, 0, 0.45);
}

#footer a {
    color: #e8c391;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(44, 24, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2.8rem;
        gap: 0;
        box-shadow: 0 22px 58px rgba(0, 0, 0, 0.65);
        transform: translateY(-150%);
        transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-bottom: 3px solid rgba(232, 195, 145, 0.35);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.3rem;
        border-bottom: 2px solid rgba(232, 195, 145, 0.1);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4.2rem;
        padding-left: 4.5rem;
    }

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

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

    .contact-card {
        padding: 4.5rem 3.2rem;
    }
}

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

    .nav-container {
        padding: 0 1.8rem;
        height: 76px;
    }

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

    #hero {
        padding: 115px 0 85px;
    }

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

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

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

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

    section {
        padding: 85px 0;
    }

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

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

    .profile-card {
        padding: 2.2rem;
    }

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

    .timeline-content {
        padding: 2.2rem;
    }

    .project-card {
        padding: 2.8rem 2.2rem;
    }

    .contact-card {
        padding: 3.8rem 2.2rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.3rem 2.2rem;
        font-size: 0.95rem;
    }
}