/* Theme: Forest - Day 6, letter F: Inspired by woodland canopies, moss-covered stones, fern fronds, bark textures, dappled sunlight, pine needles, earthy soil, organic growth, natural harmony, verdant foliage */

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

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

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

body {
    font-family: 'Nunito', sans-serif;
    font-size: 17.6px;
    line-height: 1.88;
    color: #1c2e1a;
    background: linear-gradient(156deg, #faf8f5 0%, #f5f3ed 16%, #ede9dd 32%, #e8e4d6 48%, #f0eee4 64%, #f8f6f0 80%, #fdfcfa 96%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 26% 16%, rgba(76, 110, 72, 0.052) 0%, transparent 58%),
        radial-gradient(circle at 74% 84%, rgba(92, 124, 89, 0.046) 0%, transparent 54%),
        radial-gradient(circle at 44% 56%, rgba(108, 142, 104, 0.048) 0%, transparent 52%);
    pointer-events: none;
    z-index: 0;
    animation: leafRustle 34s ease-in-out infinite;
}

@keyframes leafRustle {
    0%, 100% {
        opacity: 0.76;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        opacity: 0.92;
        transform: translateY(-18px) rotate(-1deg) scale(1.08);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(48deg, transparent 0px, rgba(76, 110, 72, 0.016) 1px, transparent 2.6px, transparent 136px),
        repeating-linear-gradient(-42deg, transparent 0px, rgba(92, 124, 89, 0.014) 1px, transparent 2.4px, transparent 144px);
    background-size: 138px 146px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.46;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.94);
    backdrop-filter: blur(32px) saturate(168%);
    border-bottom: 2.4px solid rgba(76, 110, 72, 0.22);
    box-shadow: 0 6px 36px rgba(28, 46, 26, 0.09);
    transition: all 0.48s cubic-bezier(0.22, 0.68, 0.36, 0.96);
}

#topnav.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 10px 48px rgba(28, 46, 26, 0.14);
    border-bottom-width: 3.2px;
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.88rem;
    font-weight: 700;
    color: #2d4a2a;
    margin: 0;
    letter-spacing: 0.64px;
    position: relative;
    font-style: italic;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 58px;
    height: 2.8px;
    background: linear-gradient(90deg, #4c6e48 0%, #5c7c59 100%);
    border-radius: 4px;
}

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

.nav-menu li a {
    display: block;
    padding: 0.92rem 1.76rem;
    color: #2d4a2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    transition: all 0.42s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    position: relative;
    letter-spacing: 0.48px;
    border-radius: 22px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.4px;
    background: linear-gradient(90deg, #4c6e48 0%, #5c7c59 100%);
    transition: width 0.42s ease;
    border-radius: 4px;
}

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #3a5c37;
    background: rgba(76, 110, 72, 0.08);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(142deg, #4c6e48 0%, #5c7c59 100%);
    border: none;
    color: #faf8f5;
    font-size: 1.84rem;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: all 0.42s ease;
    box-shadow: 0 12px 42px rgba(76, 110, 72, 0.42);
    border-radius: 18px;
}

.mobile-toggle:hover {
    transform: translateY(-4px) rotate(2deg);
    box-shadow: 0 18px 54px rgba(76, 110, 72, 0.54);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -16%;
    right: -14%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(76, 110, 72, 0.14) 0%, transparent 72%);
    border-radius: 46% 54% 52% 48%;
    animation: forestSway 52s ease-in-out infinite;
    filter: blur(96px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -18%;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(92, 124, 89, 0.12) 0%, transparent 72%);
    border-radius: 52% 48% 46% 54%;
    animation: forestSway 62s ease-in-out infinite reverse;
    filter: blur(96px);
}

@keyframes forestSway {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.76;
        border-radius: 46% 54% 52% 48%;
    }
    36% {
        transform: translate(78px, -92px) scale(1.22) rotate(24deg);
        opacity: 0.88;
        border-radius: 54% 46% 48% 52%;
    }
    72% {
        transform: translate(-68px, 84px) scale(0.94) rotate(-18deg);
        opacity: 0.82;
        border-radius: 48% 52% 54% 46%;
    }
}

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

.hero-text {
    animation: branchGrow 1.64s cubic-bezier(0.22, 0.68, 0.36, 0.96);
}

@keyframes branchGrow {
    0% {
        opacity: 0;
        transform: translateY(68px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.28rem;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 3.44rem;
    color: #1c2e1a;
    letter-spacing: -0.48px;
}

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

.hero-subtitle {
    font-size: 1.76rem;
    color: #2d4a2a;
    margin-bottom: 4.96rem;
    line-height: 1.76;
    font-weight: 400;
    letter-spacing: 0.32px;
}

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

.btn {
    display: inline-block;
    padding: 1.64rem 4.24rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    font-size: 1.04rem;
    letter-spacing: 0.64px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transition: left 0.72s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(142deg, #4c6e48 0%, #5c7c59 100%);
    color: #faf8f5;
    box-shadow: 0 18px 62px rgba(76, 110, 72, 0.48);
    border: 2.8px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 26px 74px rgba(76, 110, 72, 0.62);
}

.btn-secondary {
    background: rgba(250, 248, 245, 0.98);
    color: #2d4a2a;
    border: 2.8px solid #4c6e48;
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover {
    background: rgba(76, 110, 72, 0.14);
    color: #3a5c37;
    border-color: #5c7c59;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 22px 64px rgba(76, 110, 72, 0.38);
}

.hero-image {
    animation: branchGrow 1.64s cubic-bezier(0.22, 0.68, 0.36, 0.96) 0.34s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(38px);
    padding: 4.64rem;
    box-shadow: 
        0 32px 96px rgba(28, 46, 26, 0.22),
        inset 0 2.8px 0 rgba(255, 255, 255, 0.96);
    transition: all 0.58s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    position: relative;
    border: 2.8px solid rgba(76, 110, 72, 0.28);
    border-radius: 28px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7.6px;
    background: linear-gradient(90deg, #4c6e48 0%, #5c7c59 36%, #6c8e69 64%, #5c7c59 100%);
    border-radius: 28px 28px 0 0;
}

.profile-card:hover {
    transform: translateY(-18px) scale(1.04);
    box-shadow: 
        0 44px 128px rgba(28, 46, 26, 0.32),
        inset 0 2.8px 0 rgba(255, 255, 255, 1);
}

.profile-card img {
    width: 100%;
    margin-bottom: 3.48rem;
    box-shadow: 0 24px 76px rgba(28, 46, 26, 0.24);
    border: 2.8px solid rgba(92, 124, 89, 0.28);
    border-radius: 22px;
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.24rem;
    margin-bottom: 1.08rem;
    color: #1c2e1a;
    font-weight: 700;
    letter-spacing: 0.28px;
    font-style: italic;
}

.profile-details p {
    color: #2d4a2a;
    margin-bottom: 3.48rem;
    line-height: 1.76;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.56rem 4.04rem;
    background: linear-gradient(142deg, #4c6e48 0%, #5c7c59 100%);
    color: #faf8f5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.64px;
    transition: all 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    box-shadow: 0 18px 62px rgba(76, 110, 72, 0.48);
    border-radius: 32px;
}

.social-links a:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 26px 74px rgba(76, 110, 72, 0.62);
}

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

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

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

.section-header::before {
    content: '❋';
    position: absolute;
    top: -96px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    font-size: 4.48rem;
    color: #4c6e48;
    opacity: 0.64;
    animation: seedSpin 24s ease-in-out infinite;
}

@keyframes seedSpin {
    0%, 100% { 
        transform: translateX(-50%) scale(1) rotate(0deg); 
        opacity: 0.64; 
    }
    50% { 
        transform: translateX(-50%) scale(1.42) rotate(180deg); 
        opacity: 0.88; 
    }
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 5.08rem;
    font-weight: 800;
    line-height: 1.22;
    color: #1c2e1a;
    letter-spacing: 0.36px;
    position: relative;
    display: inline-block;
    font-style: italic;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 142px;
    height: 4.8px;
    background: linear-gradient(90deg, transparent 0%, #4c6e48 26%, #5c7c59 50%, #6c8e69 74%, transparent 100%);
    border-radius: 4px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 224px;
    top: 0;
    bottom: 0;
    width: 4.8px;
    background: linear-gradient(180deg, #4c6e48 0%, #5c7c59 50%, #6c8e69 100%);
    opacity: 0.72;
    border-radius: 4px;
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 5.04rem;
    font-weight: 800;
    color: #2d4a2a;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5.08rem;
    letter-spacing: 0.48px;
    font-style: italic;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -92px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(142deg, #4c6e48 0%, #5c7c59 100%);
    border-radius: 50%;
    border: 7.6px solid rgba(250, 248, 245, 0.99);
    box-shadow: 
        0 0 0 18px rgba(76, 110, 72, 0.26),
        0 14px 52px rgba(76, 110, 72, 0.56);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(38px);
    padding: 5.44rem;
    transition: all 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    box-shadow: 0 28px 84px rgba(28, 46, 26, 0.18);
    border: 2.8px solid rgba(76, 110, 72, 0.24);
    border-radius: 24px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6.8px;
    background: linear-gradient(180deg, #4c6e48 0%, #5c7c59 100%);
    border-radius: 24px 0 0 24px;
}

.timeline-content:hover {
    transform: translateX(28px);
    box-shadow: 0 38px 108px rgba(28, 46, 26, 0.28);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.24rem;
    margin-bottom: 1.08rem;
    color: #1c2e1a;
    font-weight: 700;
    letter-spacing: 0.28px;
    font-style: italic;
}

.timeline-content h4 {
    color: #2d4a2a;
    font-size: 1.76rem;
    margin-bottom: 2.64rem;
    font-weight: 600;
    letter-spacing: 0.36px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(245, 243, 237, 0.72) 0%, rgba(250, 248, 245, 0.72) 100%);
    backdrop-filter: blur(42px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(38px);
    padding: 6.84rem;
    transition: all 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    position: relative;
    box-shadow: 0 32px 88px rgba(28, 46, 26, 0.2);
    border: 2.8px solid rgba(76, 110, 72, 0.28);
    border-radius: 28px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7.6px;
    background: linear-gradient(90deg, #4c6e48 0%, #5c7c59 26%, #6c8e69 46%, #5c7c59 66%, #4c6e48 100%);
    border-radius: 28px 28px 0 0;
}

.project-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 44px 116px rgba(28, 46, 26, 0.32);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 4.28rem;
    color: #1c2e1a;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.36px;
    font-style: italic;
}

.project-client {
    color: #2d4a2a;
    font-weight: 600;
    font-size: 1.76rem;
    margin-bottom: 4.12rem;
    letter-spacing: 0.36px;
}

.project-card > p {
    color: #2d4a2a;
    line-height: 1.88;
    margin-bottom: 4.88rem;
}

.project-impact {
    background: linear-gradient(142deg, rgba(76, 110, 72, 0.12) 0%, rgba(92, 124, 89, 0.09) 100%);
    padding: 3.88rem;
    color: #1c2e1a;
    line-height: 1.88;
    border-radius: 20px;
    border-left: 6.8px solid #4c6e48;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(38px);
    padding: 5.44rem;
    transition: all 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    box-shadow: 0 32px 88px rgba(28, 46, 26, 0.18);
    border: 2.8px solid rgba(76, 110, 72, 0.28);
    border-radius: 24px;
}

.year-section:hover {
    transform: translateY(-18px);
    box-shadow: 0 42px 112px rgba(28, 46, 26, 0.28);
}

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 4.72rem;
    margin-bottom: 4.88rem;
    color: #2d4a2a;
    text-align: center;
    padding-bottom: 3.88rem;
    border-bottom: 2.8px solid rgba(76, 110, 72, 0.3);
    font-weight: 800;
    letter-spacing: 0.36px;
    font-style: italic;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(142deg, #4c6e48 0%, #5c7c59 100%);
    border: none;
    box-shadow: 0 42px 112px rgba(76, 110, 72, 0.64);
}

.year-section.books h3 {
    color: #faf8f5;
    border-bottom-color: rgba(250, 248, 245, 0.38);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.44rem 0;
    color: #2d4a2a;
    border-bottom: 2.8px solid rgba(76, 110, 72, 0.22);
    line-height: 1.88;
    position: relative;
    padding-left: 5.08rem;
}

.achievements li::before {
    content: '❦';
    position: absolute;
    left: 0;
    top: 2.44rem;
    color: #4c6e48;
    font-size: 2.64rem;
    font-weight: 400;
}

.year-section.books .achievements li {
    color: rgba(250, 248, 245, 0.98);
    border-bottom-color: rgba(250, 248, 245, 0.34);
}

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.72) 0%, rgba(245, 243, 237, 0.82) 100%);
    backdrop-filter: blur(42px);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(46px);
    padding: 11.04rem 10.48rem;
    text-align: center;
    box-shadow: 0 52px 142px rgba(28, 46, 26, 0.3);
    max-width: 1480px;
    margin: 0 auto;
    border: 3.2px solid rgba(76, 110, 72, 0.36);
    position: relative;
    border-radius: 36px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10.4px;
    background: linear-gradient(90deg, transparent 0%, #4c6e48 16%, #5c7c59 32%, #6c8e69 50%, #5c7c59 68%, #4c6e48 84%, transparent 100%);
    border-radius: 36px 36px 0 0;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 6.88rem;
    margin-bottom: 5.08rem;
    color: #1c2e1a;
    font-weight: 800;
    letter-spacing: 0.48px;
    font-style: italic;
}

.contact-card > p {
    font-size: 1.76rem;
    color: #2d4a2a;
    line-height: 1.88;
    margin-bottom: 7.84rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.64rem;
    padding: 3.24rem 7.04rem;
    background: linear-gradient(142deg, #4c6e48 0%, #5c7c59 100%);
    color: #faf8f5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.64px;
    transition: all 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
    box-shadow: 0 32px 88px rgba(76, 110, 72, 0.58);
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transition: left 0.72s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    transform: translateY(-12px);
    box-shadow: 0 44px 124px rgba(76, 110, 72, 0.74);
}

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

#footer {
    background: linear-gradient(142deg, #1c2e1a 0%, #2d4a2a 100%);
    backdrop-filter: blur(38px);
    padding: 7.84rem 0;
    text-align: center;
    color: rgba(250, 248, 245, 0.9);
    border-top: 3.2px solid rgba(76, 110, 72, 0.44);
}

#footer a {
    color: #6c8e69;
    text-decoration: none;
    transition: color 0.42s ease;
    font-weight: 600;
}

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.99);
        backdrop-filter: blur(46px);
        flex-direction: column;
        padding: 7.84rem;
        gap: 0;
        box-shadow: 0 38px 108px rgba(28, 46, 26, 0.44);
        transform: translateY(-150%);
        transition: transform 0.52s cubic-bezier(0.22, 0.68, 0.36, 0.96);
        border-bottom: 3.2px solid rgba(76, 110, 72, 0.38);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 2.2rem;
        border-bottom: 2.8px solid rgba(76, 110, 72, 0.22);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5.08rem;
        margin-bottom: 8.64rem;
        padding-left: 11.04rem;
    }

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

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

    .contact-card {
        padding: 10.48rem 7.84rem;
    }
}

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

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

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

    #hero {
        padding: 144px 0 112px;
    }

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

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

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

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

    section {
        padding: 108px 0;
    }

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

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

    .profile-card {
        padding: 4.64rem;
    }

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

    .timeline-content {
        padding: 4.64rem;
    }

    .project-card {
        padding: 5.84rem 4.64rem;
    }

    .contact-card {
        padding: 8.64rem 4.64rem;
    }

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

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

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