/* Theme: Desert Mirage - Day of month 4 = D for Desert - Warm sandy beiges, terracotta oranges, sunset golds, oasis blues, ancient dunes, Saharan heat waves */

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

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

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

body {
    font-family: 'Karla', sans-serif;
    font-size: 17.5px;
    line-height: 1.72;
    color: #3d2817;
    background: linear-gradient(155deg, #fef9f3 0%, #faf0e6 18%, #f5e6d3 38%, #f0ddc0 62%, #ebd4ad 85%, #e6cb9a 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(ellipse at 18% 28%, rgba(218, 134, 75, 0.12) 0%, transparent 48%),
        radial-gradient(ellipse at 82% 72%, rgba(205, 133, 63, 0.095) 0%, transparent 52%),
        radial-gradient(ellipse at 45% 55%, rgba(184, 115, 51, 0.075) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: desertShimmer 32s ease-in-out infinite;
}

@keyframes desertShimmer {
    0%, 100% { 
        opacity: 0.52; 
        transform: translateY(0) scale(1); 
    }
    48% { 
        opacity: 0.78; 
        transform: translateY(-18px) scale(1.06); 
    }
    76% { 
        opacity: 0.62; 
        transform: translateY(14px) scale(0.97); 
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(135deg, transparent, transparent 45px, rgba(218, 134, 75, 0.015) 45px, rgba(218, 134, 75, 0.015) 90px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 249, 243, 0.93);
    backdrop-filter: blur(15px) saturate(125%);
    border-bottom: 1.8px solid rgba(218, 134, 75, 0.28);
    box-shadow: 0 3px 20px rgba(61, 40, 23, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(254, 249, 243, 0.97);
    box-shadow: 0 6px 28px rgba(61, 40, 23, 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: 88px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.72rem;
    font-weight: 700;
    color: #8b5a2b;
    margin: 0;
    letter-spacing: -0.28px;
    position: relative;
}

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

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

.nav-menu li a {
    display: block;
    padding: 0.82rem 1.58rem;
    color: #5c3d2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.52px;
    border-radius: 8px;
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(218, 134, 75, 0.095);
    opacity: 0;
    transition: opacity 0.32s ease;
    border-radius: 8px;
}

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

.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: #8b5a2b;
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #da864b 0%, #cd853f 100%);
    border: none;
    color: #ffffff;
    font-size: 1.38rem;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.32s ease;
    box-shadow: 0 5px 18px rgba(218, 134, 75, 0.32);
    border-radius: 12px;
}

.mobile-toggle:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(218, 134, 75, 0.42);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -26%;
    right: -17%;
    width: 655px;
    height: 655px;
    background: radial-gradient(circle, rgba(218, 134, 75, 0.22) 0%, transparent 66%);
    border-radius: 50%;
    animation: duneFloat 38s ease-in-out infinite;
    filter: blur(70px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -13%;
    width: 605px;
    height: 605px;
    background: radial-gradient(circle, rgba(205, 133, 63, 0.19) 0%, transparent 66%);
    border-radius: 50%;
    animation: duneFloat 44s ease-in-out infinite reverse;
    filter: blur(70px);
}

@keyframes duneFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.48;
    }
    42% {
        transform: translate(32px, -38px) scale(1.07);
        opacity: 0.72;
    }
    74% {
        transform: translate(-28px, 32px) scale(0.95);
        opacity: 0.58;
    }
}

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

.hero-text {
    animation: fadeInDesert 1.12s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.45rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 2.52rem;
    color: #3d2817;
    letter-spacing: -0.95px;
}

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

.hero-subtitle {
    font-size: 1.38rem;
    color: #5c3d2e;
    margin-bottom: 3.65rem;
    line-height: 1.68;
    font-weight: 500;
    letter-spacing: 0.25px;
}

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

.btn {
    display: inline-block;
    padding: 1.38rem 3.42rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.02rem;
    letter-spacing: 0.62px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.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.62s ease, height 0.62s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #da864b 0%, #cd853f 100%);
    color: #ffffff;
    box-shadow: 0 9px 30px rgba(218, 134, 75, 0.38);
    border: 1.8px solid rgba(205, 133, 63, 0.22);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.018);
    box-shadow: 0 14px 38px rgba(218, 134, 75, 0.48);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.96);
    color: #da864b;
    border: 1.8px solid #cd853f;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.065);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #b8733f 0%, #a0694d 100%);
    color: #ffffff;
    border-color: #b8733f;
    transform: translateY(-3px) scale(1.018);
    box-shadow: 0 12px 34px rgba(184, 115, 63, 0.42);
}

.hero-image {
    animation: fadeInDesert 1.12s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    padding: 3.05rem;
    box-shadow: 
        0 16px 58px rgba(218, 134, 75, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1.8px solid rgba(205, 133, 63, 0.28);
    border-radius: 18px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: linear-gradient(90deg, #da864b 0%, #cd853f 50%, #b8733f 100%);
    border-radius: 18px 18px 0 0;
}

.profile-card:hover {
    transform: translateY(-13px) scale(1.015);
    box-shadow: 
        0 28px 78px rgba(218, 134, 75, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.32rem;
    box-shadow: 0 13px 46px rgba(61, 40, 23, 0.18);
    border: 2.5px solid rgba(205, 133, 63, 0.28);
    border-radius: 14px;
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    margin-bottom: 0.68rem;
    color: #3d2817;
    font-weight: 700;
    letter-spacing: -0.28px;
}

.profile-details p {
    color: #5c3d2e;
    margin-bottom: 2.32rem;
    line-height: 1.68;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.22rem 3.02rem;
    background: linear-gradient(135deg, #da864b 0%, #cd853f 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.62px;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 9px 30px rgba(218, 134, 75, 0.38);
    border-radius: 10px;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.018);
    box-shadow: 0 14px 38px rgba(218, 134, 75, 0.48);
}

section {
    padding: 112px 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.75rem;
    position: relative;
}

.section-header::before {
    content: '◈';
    position: absolute;
    top: -68px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.38rem;
    color: #da864b;
    opacity: 0.48;
    animation: desertPulse 7.5s ease-in-out infinite;
}

@keyframes desertPulse {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.48; }
    50% { transform: translateX(-50%) translateY(-10px) scale(1.14); opacity: 0.78; }
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.14;
    color: #3d2817;
    letter-spacing: -0.88px;
    position: relative;
    display: inline-block;
}

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

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 148px;
    top: 0;
    bottom: 0;
    width: 3.5px;
    background: linear-gradient(180deg, #da864b 0%, #cd853f 50%, #b8733f 100%);
    border-radius: 3px;
    opacity: 0.52;
}

.timeline-item {
    display: grid;
    grid-template-columns: 292px 1fr;
    gap: 5.05rem;
    margin-bottom: 5.25rem;
    position: relative;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 3.52rem;
    font-weight: 800;
    color: #da864b;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 3.12rem;
    letter-spacing: -0.42px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -64px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: #cd853f;
    border: 4.2px solid rgba(255, 255, 255, 0.97);
    box-shadow: 
        0 0 0 7.5px rgba(205, 133, 63, 0.18),
        0 5px 18px rgba(218, 134, 75, 0.38);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    padding: 3.32rem;
    border-left: 4.5px solid #da864b;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 11px 40px rgba(218, 134, 75, 0.16);
    border-radius: 12px;
    border: 1.8px solid rgba(205, 133, 63, 0.24);
    border-left: 4.5px solid #da864b;
}

.timeline-content:hover {
    transform: translateX(16px);
    box-shadow: 0 19px 55px rgba(218, 134, 75, 0.26);
    border-left-width: 6.5px;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    margin-bottom: 0.68rem;
    color: #3d2817;
    font-weight: 700;
    letter-spacing: -0.28px;
}

.timeline-content h4 {
    color: #da864b;
    font-size: 1.22rem;
    margin-bottom: 1.68rem;
    font-weight: 700;
    letter-spacing: 0.25px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(245, 230, 211, 0.48) 0%, rgba(240, 221, 192, 0.48) 100%);
    backdrop-filter: blur(36px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    padding: 4.05rem;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 13px 50px rgba(218, 134, 75, 0.18);
    border: 1.8px solid rgba(205, 133, 63, 0.28);
    border-radius: 16px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: linear-gradient(90deg, #da864b 0%, #cd853f 50%, #b8733f 100%);
    border-radius: 16px 16px 0 0;
}

.project-card:hover {
    transform: translateY(-13px);
    box-shadow: 0 26px 76px rgba(218, 134, 75, 0.28);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.72rem;
    color: #3d2817;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.38px;
}

.project-client {
    color: #da864b;
    font-weight: 700;
    font-size: 1.18rem;
    margin-bottom: 2.32rem;
    letter-spacing: 0.25px;
}

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

.project-impact {
    background: linear-gradient(130deg, rgba(218, 134, 75, 0.11) 0%, rgba(205, 133, 63, 0.09) 100%);
    padding: 2.22rem;
    border-left: 4.5px solid #cd853f;
    color: #3d2817;
    line-height: 1.72;
    border-radius: 10px;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    padding: 3.62rem;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 13px 46px rgba(218, 134, 75, 0.17);
    border: 1.8px solid rgba(205, 133, 63, 0.28);
    border-radius: 16px;
}

.year-section:hover {
    transform: translateY(-13px);
    box-shadow: 0 24px 66px rgba(218, 134, 75, 0.26);
}

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.95rem;
    margin-bottom: 2.68rem;
    color: #da864b;
    text-align: center;
    padding-bottom: 1.88rem;
    border-bottom: 2.8px solid rgba(205, 133, 63, 0.28);
    font-weight: 800;
    letter-spacing: -0.38px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #da864b 0%, #cd853f 100%);
    border: none;
    box-shadow: 0 20px 62px rgba(218, 134, 75, 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.35rem 0;
    color: #5c3d2e;
    border-bottom: 2.2px solid rgba(205, 133, 63, 0.16);
    line-height: 1.72;
    position: relative;
    padding-left: 2.78rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #cd853f;
    font-size: 1.88rem;
}

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

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(240, 221, 192, 0.48) 0%, rgba(245, 230, 211, 0.62) 100%);
    backdrop-filter: blur(36px);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(26px);
    padding: 6.85rem 6.02rem;
    text-align: center;
    box-shadow: 0 25px 78px rgba(218, 134, 75, 0.26);
    max-width: 1140px;
    margin: 0 auto;
    border: 1.8px solid rgba(205, 133, 63, 0.32);
    position: relative;
    border-radius: 22px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: linear-gradient(90deg, transparent 0%, #da864b 20%, #cd853f 50%, #b8733f 80%, transparent 100%);
    border-radius: 22px 22px 0 0;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.95rem;
    margin-bottom: 2.68rem;
    color: #3d2817;
    font-weight: 800;
    letter-spacing: -1.05px;
}

.contact-card > p {
    font-size: 1.42rem;
    color: #5c3d2e;
    line-height: 1.72;
    margin-bottom: 4.55rem;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.68rem;
    padding: 1.82rem 4.55rem;
    background: linear-gradient(135deg, #da864b 0%, #cd853f 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.62px;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 13px 40px rgba(218, 134, 75, 0.38);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.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.62s ease, height 0.62s ease;
}

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

.contact-link:hover {
    transform: translateY(-4px) scale(1.018);
    box-shadow: 0 20px 54px rgba(218, 134, 75, 0.52);
}

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

#footer {
    background: linear-gradient(135deg, #3d2817 0%, #5c3d2e 100%);
    backdrop-filter: blur(18px);
    padding: 4.55rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.76);
    border-top: 2.8px solid rgba(205, 133, 63, 0.28);
}

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

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

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

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

    .hero-image {
        max-width: 595px;
        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.75rem;
        height: 80px;
    }

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(254, 249, 243, 0.98);
        backdrop-filter: blur(26px);
        flex-direction: column;
        padding: 4.05rem;
        gap: 0;
        box-shadow: 0 24px 70px rgba(218, 134, 75, 0.28);
        transform: translateY(-150%);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 2.8px solid rgba(205, 133, 63, 0.28);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.48rem;
        border-bottom: 2.2px solid rgba(205, 133, 63, 0.14);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.68rem;
        margin-bottom: 5.15rem;
        padding-left: 6.02rem;
    }

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

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

    .contact-card {
        padding: 6.02rem 4.55rem;
    }
}

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

    .nav-container {
        padding: 0 2.22rem;
        height: 74px;
    }

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

    #hero {
        padding: 136px 0 94px;
    }

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

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

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

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

    section {
        padding: 96px 0;
    }

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

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

    .profile-card {
        padding: 2.68rem;
    }

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

    .timeline-content {
        padding: 2.78rem;
    }

    .project-card {
        padding: 3.48rem 2.68rem;
    }

    .contact-card {
        padding: 5.15rem 2.68rem;
    }

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

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

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