/* Theme: Honey - Day 8 (Letter H): Inspired by honeycomb hexagons, golden nectar, buzzing bees, amber hues, liquid gold, warm sunshine, natural sweetness, flowing honey, bee colonies, golden harvest */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Poppins: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: 'Poppins', sans-serif;
    font-size: 17.8px;
    line-height: 1.85;
    color: #3e2a0f;
    background: linear-gradient(162deg, #fffef9 0%, #fff9e8 24%, #fef5d9 48%, #fdf0c8 72%, #fef7e3 90%, #fffefa 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 32% 18%, rgba(218, 165, 32, 0.095) 0%, transparent 58%),
        radial-gradient(circle at 68% 82%, rgba(255, 193, 7, 0.082) 0%, transparent 52%),
        radial-gradient(circle at 15% 65%, rgba(242, 180, 41, 0.088) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
    animation: honeyGlow 52s ease-in-out infinite alternate;
}

@keyframes honeyGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.72;
        transform: scale(1.22);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(60deg, transparent, transparent 42px, rgba(218, 165, 32, 0.018) 42px, rgba(218, 165, 32, 0.018) 44px),
        repeating-linear-gradient(-60deg, transparent, transparent 42px, rgba(218, 165, 32, 0.018) 42px, rgba(218, 165, 32, 0.018) 44px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 254, 249, 0.92);
    backdrop-filter: blur(32px);
    border-bottom: 3.2px solid rgba(218, 165, 32, 0.22);
    box-shadow: 0 7px 38px rgba(62, 42, 15, 0.095);
    transition: all 0.48s ease;
}

#topnav.scrolled {
    background: rgba(255, 254, 249, 0.98);
    box-shadow: 0 11px 52px rgba(62, 42, 15, 0.145);
    border-bottom-color: rgba(218, 165, 32, 0.38);
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.15rem;
    font-weight: 800;
    color: #3e2a0f;
    margin: 0;
    letter-spacing: 1.65px;
    position: relative;
    padding-left: 4.35rem;
}

.logo h1::before {
    content: '🍯';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.05rem;
    animation: honeyDrip 8s ease-in-out infinite;
}

@keyframes honeyDrip {
    0%, 100% {
        transform: translateY(-50%) scaleY(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-45%) scaleY(1.12);
        opacity: 0.88;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 1.18rem 2.65rem;
    color: #3e2a0f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.42s ease;
    position: relative;
    letter-spacing: 1.45px;
    border-radius: 28px;
    text-transform: uppercase;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(255, 193, 7, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.42s ease;
    border-radius: 28px;
}

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

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

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #daa520 0%, #ffc107 100%);
    border: none;
    color: #3e2a0f;
    font-size: 2.08rem;
    width: 68px;
    height: 68px;
    cursor: pointer;
    transition: all 0.42s ease;
    border-radius: 50%;
    box-shadow: 0 11px 42px rgba(218, 165, 32, 0.48);
}

.mobile-toggle:hover {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
    box-shadow: 0 16px 58px rgba(218, 165, 32, 0.65);
    transform: rotate(90deg) scale(1.1);
}

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

#hero::before {
    content: '🐝';
    position: absolute;
    top: 11%;
    right: 7%;
    font-size: 18.5rem;
    opacity: 0.042;
    animation: beeFloat 32s ease-in-out infinite;
}

#hero::after {
    content: '🌻';
    position: absolute;
    bottom: 13%;
    left: 5%;
    font-size: 22rem;
    opacity: 0.035;
    animation: flowerSway 42s ease-in-out infinite;
}

@keyframes beeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.042;
    }
    25% {
        transform: translate(88px, -62px) rotate(8deg);
        opacity: 0.078;
    }
    50% {
        transform: translate(45px, 82px) rotate(-12deg);
        opacity: 0.055;
    }
    75% {
        transform: translate(-72px, -48px) rotate(15deg);
        opacity: 0.065;
    }
}

@keyframes flowerSway {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.035;
    }
    50% {
        transform: translate(55px, -65px) rotate(-8deg);
        opacity: 0.068;
    }
}

.hero-content {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4.8rem;
    display: grid;
    grid-template-columns: 1.48fr 1fr;
    gap: 9.2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInHoney 1.68s ease-out;
}

@keyframes slideInHoney {
    0% {
        opacity: 0;
        transform: translateY(88px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6.65rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 4.35rem;
    color: #3e2a0f;
    letter-spacing: -2.45px;
}

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

.hero-subtitle {
    font-size: 1.98rem;
    color: #6d4c24;
    margin-bottom: 5.65rem;
    line-height: 1.72;
    font-weight: 400;
    letter-spacing: 0.48px;
}

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

.btn {
    display: inline-block;
    padding: 1.95rem 5.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.58s ease;
    font-size: 1.08rem;
    letter-spacing: 1.95px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    border: 3.2px solid transparent;
    border-radius: 42px;
    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.88s ease, height 0.88s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #daa520 0%, #ffc107 100%);
    color: #3e2a0f;
    box-shadow: 0 22px 72px rgba(218, 165, 32, 0.52);
}

.btn-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 98px rgba(218, 165, 32, 0.68);
    background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
}

.btn-secondary {
    background: rgba(255, 254, 249, 0.98);
    color: #daa520;
    border: 3.2px solid #daa520;
    box-shadow: 0 18px 58px rgba(218, 165, 32, 0.38);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #daa520 0%, #ffc107 100%);
    color: #3e2a0f;
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 28px 82px rgba(218, 165, 32, 0.62);
}

.hero-image {
    animation: slideInHoney 1.68s ease-out 0.42s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(38px);
    padding: 4.35rem;
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.22),
        0 38px 128px rgba(62, 42, 15, 0.28);
    transition: all 0.68s ease;
    position: relative;
    border-radius: 42px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -3.2px;
    left: -3.2px;
    right: -3.2px;
    bottom: -3.2px;
    background: linear-gradient(135deg, #daa520 0%, #ffc107 50%, #f2b429 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.68s ease;
    border-radius: 42px;
}

.profile-card::after {
    content: '🍯';
    position: absolute;
    bottom: 68px;
    right: 68px;
    font-size: 9.8rem;
    opacity: 0.032;
    filter: grayscale(0.3);
}

.profile-card:hover {
    transform: translateY(-28px) scale(1.032);
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.48),
        0 58px 168px rgba(62, 42, 15, 0.38);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 3.95rem;
    box-shadow: 0 32px 98px rgba(62, 42, 15, 0.32);
    border-radius: 22px;
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.95rem;
    margin-bottom: 1.48rem;
    color: #3e2a0f;
    font-weight: 900;
    letter-spacing: -0.82px;
}

.profile-details p {
    color: #6d4c24;
    margin-bottom: 4.15rem;
    line-height: 1.72;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.95rem 4.95rem;
    background: linear-gradient(135deg, #f2b429 0%, #ffd54f 100%);
    color: #3e2a0f;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.95px;
    transition: all 0.58s ease;
    border-radius: 42px;
    box-shadow: 0 22px 72px rgba(242, 180, 41, 0.52);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #daa520 0%, #f2b429 100%);
    transform: translateY(-8px);
    box-shadow: 0 32px 98px rgba(218, 165, 32, 0.68);
}

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

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4.8rem;
}

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

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 6.15rem;
    font-weight: 900;
    line-height: 1.08;
    color: #3e2a0f;
    letter-spacing: -1.95px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 172px;
    height: 5.8px;
    background: linear-gradient(90deg, transparent 0%, #daa520 25%, #ffc107 50%, #f2b429 75%, transparent 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 428px;
    top: 0;
    bottom: 0;
    width: 5.8px;
    background: linear-gradient(180deg, #daa520 0%, #ffc107 50%, #f2b429 100%);
    opacity: 0.28;
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 10.5rem;
    font-weight: 900;
    color: rgba(218, 165, 32, 0.098);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 9.5rem;
    letter-spacing: -4.95px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -178px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 32px;
    background: linear-gradient(135deg, #daa520 0%, #ffc107 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 
        0 0 0 13px rgba(255, 254, 249, 1),
        0 0 0 18.2px rgba(218, 165, 32, 0.22);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 5.35rem;
    transition: all 0.62s ease;
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.12),
        0 35px 112px rgba(62, 42, 15, 0.18);
    position: relative;
    border-radius: 28px;
}

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

.timeline-content:hover {
    transform: translateX(35px);
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.32),
        0 48px 148px rgba(62, 42, 15, 0.28);
    background: rgba(255, 255, 255, 0.98);
}

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

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.95rem;
    margin-bottom: 1.38rem;
    color: #3e2a0f;
    font-weight: 900;
    letter-spacing: -0.72px;
}

.timeline-content h4 {
    color: #b8860b;
    font-size: 1.95rem;
    margin-bottom: 3.35rem;
    font-weight: 700;
    letter-spacing: 0.72px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #6d4c24;
    line-height: 1.85;
    margin: 0;
}

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

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

#ai {
    background: rgba(254, 245, 217, 0.68);
    backdrop-filter: blur(28px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 8.15rem;
    transition: all 0.62s ease;
    position: relative;
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.12),
        0 38px 122px rgba(62, 42, 15, 0.22);
    border-radius: 28px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 9.8px;
    background: linear-gradient(90deg, #daa520 0%, #ffc107 50%, #f2b429 100%);
    border-radius: 28px 28px 0 0;
}

.project-card::after {
    content: '🐝';
    position: absolute;
    top: 88px;
    right: 88px;
    font-size: 12.5rem;
    opacity: 0.028;
}

.project-card:hover {
    transform: translateY(-25px);
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.32),
        0 62px 172px rgba(62, 42, 15, 0.32);
    background: rgba(255, 255, 255, 0.98);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 5.35rem;
    color: #3e2a0f;
    margin: 0;
    font-weight: 900;
    letter-spacing: -1.35px;
}

.project-client {
    color: #b8860b;
    font-weight: 700;
    font-size: 1.95rem;
    margin-bottom: 4.35rem;
    letter-spacing: 0.72px;
    text-transform: uppercase;
}

.project-card > p {
    color: #6d4c24;
    line-height: 1.85;
    margin-bottom: 5.35rem;
}

.project-impact {
    background: rgba(218, 165, 32, 0.065);
    padding: 4.15rem;
    color: #3e2a0f;
    line-height: 1.85;
    border-radius: 18px;
    border-left: 9.8px solid #daa520;
}

.project-impact strong {
    color: #8b6914;
    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: 8.15rem;
}

.year-section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 6.35rem;
    transition: all 0.62s ease;
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.12),
        0 35px 112px rgba(62, 42, 15, 0.18);
    border-radius: 28px;
    position: relative;
}

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

.year-section:hover {
    transform: translateY(-25px);
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.32),
        0 48px 148px rgba(62, 42, 15, 0.28);
    background: rgba(255, 255, 255, 0.98);
}

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

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 6.35rem;
    margin-bottom: 5.35rem;
    color: #3e2a0f;
    text-align: center;
    padding-bottom: 4.15rem;
    border-bottom: 3.2px solid rgba(218, 165, 32, 0.22);
    font-weight: 900;
    letter-spacing: -1.65px;
}

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

.year-section.books::before {
    background: rgba(255, 254, 249, 0.35);
}

.year-section.books h3 {
    color: #3e2a0f;
    border-bottom-color: rgba(62, 42, 15, 0.28);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.65rem 0;
    color: #6d4c24;
    border-bottom: 3.2px solid rgba(62, 42, 15, 0.062);
    line-height: 1.85;
    position: relative;
    padding-left: 4.8rem;
}

.achievements li::before {
    content: '⬡';
    position: absolute;
    left: 0;
    top: 2.65rem;
    font-size: 2.05rem;
    color: #daa520;
}

.year-section.books .achievements li {
    color: rgba(62, 42, 15, 0.95);
    border-bottom-color: rgba(62, 42, 15, 0.18);
}

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

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

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

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

#personal {
    background: rgba(254, 245, 217, 0.68);
    backdrop-filter: blur(28px);
}

#contact {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.042) 0%, rgba(255, 193, 7, 0.038) 100%);
    backdrop-filter: blur(28px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(48px);
    padding: 12.15rem 10.5rem;
    text-align: center;
    box-shadow: 
        0 0 0 3.2px rgba(218, 165, 32, 0.22),
        0 62px 182px rgba(62, 42, 15, 0.28);
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 42px;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 9.15rem;
    margin-bottom: 5.35rem;
    color: #3e2a0f;
    font-weight: 900;
    letter-spacing: -2.45px;
}

.contact-card > p {
    font-size: 2.25rem;
    color: #6d4c24;
    line-height: 1.85;
    margin-bottom: 9.35rem;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 3.35rem;
    padding: 3.35rem 8.15rem;
    background: linear-gradient(135deg, #daa520 0%, #ffc107 100%);
    color: #3e2a0f;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.95px;
    transition: all 0.58s ease;
    border-radius: 42px;
    box-shadow: 0 38px 122px rgba(218, 165, 32, 0.52);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
    transform: translateY(-12px);
    box-shadow: 0 52px 162px rgba(218, 165, 32, 0.68);
}

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

#footer {
    background: #3e2a0f;
    padding: 9.15rem 0;
    text-align: center;
    color: rgba(255, 254, 249, 0.72);
    border-top: 3.2px solid rgba(218, 165, 32, 0.32);
}

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

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(255, 254, 249, 0.98);
        backdrop-filter: blur(32px);
        flex-direction: column;
        padding: 6.35rem;
        gap: 0;
        box-shadow: 0 42px 122px rgba(62, 42, 15, 0.22);
        transform: translateY(-150%);
        transition: transform 0.68s ease;
        border-bottom: 3.2px solid rgba(218, 165, 32, 0.38);
    }

    .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.2px solid rgba(62, 42, 15, 0.062);
        border-radius: 0;
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 6.35rem;
        margin-bottom: 9.15rem;
        padding-left: 14.15rem;
    }

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

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

    .contact-card {
        padding: 10.15rem 8.15rem;
    }
}

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

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

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

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

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

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

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

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

    section {
        padding: 128px 0;
    }

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

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

    .profile-card {
        padding: 3.75rem;
    }

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

    .timeline-content {
        padding: 4.35rem;
    }

    .project-card {
        padding: 6.35rem 4.35rem;
    }

    .contact-card {
        padding: 8.55rem 4.35rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 2.25rem 4.35rem;
        font-size: 1.02rem;
    }
}