/* Theme: Bakery - Day 2, letter B: Inspired by artisan bread, warm ovens, flour dust, golden crusts, rising dough, pastry layers, vanilla essence, rolling pins, recipe cards, rustic tables */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&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: 82px;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 17.6px;
    line-height: 1.78;
    color: #3e2723;
    background: linear-gradient(148deg, #fffbf5 0%, #fdf6e3 24%, #fff8e7 48%, #fef5e7 72%, #fffbf5 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(215, 154, 82, 0.072) 0%, transparent 54%),
        radial-gradient(circle at 74% 84%, rgba(161, 100, 48, 0.064) 0%, transparent 58%),
        radial-gradient(circle at 42% 62%, rgba(230, 188, 128, 0.056) 0%, transparent 52%);
    pointer-events: none;
    z-index: 0;
    animation: warmRise 34s ease-in-out infinite;
}

@keyframes warmRise {
    0%, 100% {
        opacity: 0.82;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.96;
        transform: translateY(-18px) 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(215, 154, 82, 0.018) 1px, transparent 2.8px, transparent 128px),
        repeating-linear-gradient(-42deg, transparent 0px, rgba(161, 100, 48, 0.014) 1px, transparent 2.4px, transparent 136px);
    background-size: 132px 138px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.52;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 245, 0.94);
    backdrop-filter: blur(24px) saturate(176%);
    border-bottom: 3px solid rgba(215, 154, 82, 0.28);
    box-shadow: 0 6px 38px rgba(62, 39, 35, 0.09);
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
}

#topnav.scrolled {
    background: rgba(255, 251, 245, 0.98);
    box-shadow: 0 8px 48px rgba(62, 39, 35, 0.14);
    border-bottom-width: 3.6px;
}

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

.logo h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.04rem;
    font-weight: 700;
    color: #5d4037;
    margin: 0;
    letter-spacing: 0.48px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 68px;
    height: 4px;
    background: linear-gradient(90deg, #d79a52 0%, #a16430 100%);
    border-radius: 12px;
}

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

.nav-menu li a {
    display: block;
    padding: 1.08rem 2.04rem;
    color: #5d4037;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.42s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    position: relative;
    letter-spacing: 0.64px;
    border-radius: 24px;
}

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

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #4e342e;
    background: rgba(215, 154, 82, 0.12);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(142deg, #d79a52 0%, #a16430 100%);
    border: none;
    color: #fffbf5;
    font-size: 1.84rem;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: all 0.42s ease;
    box-shadow: 0 10px 34px rgba(215, 154, 82, 0.42);
    border-radius: 20px;
}

.mobile-toggle:hover {
    transform: translateY(-4px) rotate(4deg);
    box-shadow: 0 16px 44px rgba(215, 154, 82, 0.52);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -22%;
    right: -14%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(215, 154, 82, 0.16) 0%, transparent 72%);
    border-radius: 38% 62% 54% 46%;
    animation: ovenWarmth 52s ease-in-out infinite;
    filter: blur(96px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -26%;
    left: -18%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(161, 100, 48, 0.14) 0%, transparent 72%);
    border-radius: 46% 54% 62% 38%;
    animation: ovenWarmth 62s ease-in-out infinite reverse;
    filter: blur(96px);
}

@keyframes ovenWarmth {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.76;
        border-radius: 38% 62% 54% 46%;
    }
    36% {
        transform: translate(82px, -96px) scale(1.24) rotate(32deg);
        opacity: 0.92;
        border-radius: 62% 38% 46% 54%;
    }
    72% {
        transform: translate(-74px, 86px) scale(0.98) rotate(-24deg);
        opacity: 0.84;
        border-radius: 54% 46% 38% 62%;
    }
}

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

.hero-text {
    animation: flourDust 1.64s cubic-bezier(0.19, 0.68, 0.42, 0.96);
}

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

.hero-text h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 5.36rem;
    font-weight: 700;
    line-height: 1.16;
    margin-bottom: 3.48rem;
    color: #3e2723;
    letter-spacing: -0.48px;
}

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

.hero-subtitle {
    font-size: 1.72rem;
    color: #5d4037;
    margin-bottom: 5.08rem;
    line-height: 1.76;
    font-weight: 500;
    letter-spacing: 0.32px;
}

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

.btn {
    display: inline-block;
    padding: 1.72rem 4.24rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    font-size: 1.08rem;
    letter-spacing: 0.72px;
    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.44), transparent);
    transition: left 0.76s ease;
}

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

.btn-primary {
    background: linear-gradient(142deg, #d79a52 0%, #a16430 100%);
    color: #fffbf5;
    box-shadow: 0 18px 58px rgba(215, 154, 82, 0.48);
    border: 3.2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 72px rgba(215, 154, 82, 0.62);
}

.btn-secondary {
    background: rgba(255, 251, 245, 0.98);
    color: #5d4037;
    border: 3.2px solid #d79a52;
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.11);
}

.btn-secondary:hover {
    background: rgba(215, 154, 82, 0.18);
    color: #4e342e;
    border-color: #a16430;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 22px 62px rgba(215, 154, 82, 0.38);
}

.hero-image {
    animation: flourDust 1.64s cubic-bezier(0.19, 0.68, 0.42, 0.96) 0.36s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(38px);
    padding: 4.68rem;
    box-shadow: 
        0 36px 108px rgba(62, 39, 35, 0.26),
        inset 0 2px 0 rgba(255, 255, 255, 0.96);
    transition: all 0.58s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    position: relative;
    border: 3.2px solid rgba(215, 154, 82, 0.32);
    border-radius: 36px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #d79a52 0%, #a16430 42%, #e6bc80 64%, #a16430 100%);
    border-radius: 36px 36px 0 0;
}

.profile-card:hover {
    transform: translateY(-20px) scale(1.04);
    box-shadow: 
        0 52px 142px rgba(62, 39, 35, 0.36),
        inset 0 2px 0 rgba(255, 255, 255, 1);
}

.profile-card img {
    width: 100%;
    margin-bottom: 3.64rem;
    box-shadow: 0 28px 84px rgba(62, 39, 35, 0.28);
    border: 3.2px solid rgba(161, 100, 48, 0.32);
    border-radius: 28px;
}

.profile-details h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.24rem;
    margin-bottom: 1.12rem;
    color: #3e2723;
    font-weight: 700;
    letter-spacing: 0.24px;
}

.profile-details p {
    color: #5d4037;
    margin-bottom: 3.64rem;
    line-height: 1.76;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.64rem 4.08rem;
    background: linear-gradient(142deg, #d79a52 0%, #a16430 100%);
    color: #fffbf5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.72px;
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    box-shadow: 0 18px 58px rgba(215, 154, 82, 0.48);
    border-radius: 32px;
}

.social-links a:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 72px rgba(215, 154, 82, 0.62);
}

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

.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 4.2rem;
}

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

.section-header::before {
    content: '◈';
    position: absolute;
    top: -98px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    font-size: 4.48rem;
    color: #d79a52;
    opacity: 0.68;
    animation: breadRise 24s ease-in-out infinite;
}

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

.section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 5.12rem;
    font-weight: 700;
    line-height: 1.22;
    color: #3e2723;
    letter-spacing: 0.32px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 138px;
    height: 5.2px;
    background: linear-gradient(90deg, transparent 0%, #d79a52 32%, #a16430 50%, #e6bc80 68%, transparent 100%);
    border-radius: 12px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 228px;
    top: 0;
    bottom: 0;
    width: 5.2px;
    background: linear-gradient(180deg, #d79a52 0%, #a16430 50%, #e6bc80 100%);
    opacity: 0.72;
    border-radius: 12px;
}

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

.timeline-year {
    font-family: 'Libre Baskerville', serif;
    font-size: 5.08rem;
    font-weight: 700;
    color: #5d4037;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5.08rem;
    letter-spacing: 0.48px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -96px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 26px;
    height: 26px;
    background: linear-gradient(142deg, #d79a52 0%, #a16430 100%);
    border: 8px solid rgba(255, 251, 245, 0.99);
    box-shadow: 
        0 0 0 18px rgba(215, 154, 82, 0.26),
        0 14px 48px rgba(215, 154, 82, 0.56);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(38px);
    padding: 5.48rem;
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    box-shadow: 0 32px 92px rgba(62, 39, 35, 0.22);
    border: 3.2px solid rgba(215, 154, 82, 0.28);
    border-radius: 28px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7.2px;
    background: linear-gradient(180deg, #d79a52 0%, #a16430 100%);
    border-radius: 28px 0 0 28px;
}

.timeline-content:hover {
    transform: translateX(28px);
    box-shadow: 0 44px 118px rgba(62, 39, 35, 0.32);
}

.timeline-content h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.24rem;
    margin-bottom: 1.12rem;
    color: #3e2723;
    font-weight: 700;
    letter-spacing: 0.24px;
}

.timeline-content h4 {
    color: #5d4037;
    font-size: 1.76rem;
    margin-bottom: 2.68rem;
    font-weight: 700;
    letter-spacing: 0.36px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(253, 246, 227, 0.74) 0%, rgba(255, 251, 245, 0.74) 100%);
    backdrop-filter: blur(42px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(38px);
    padding: 6.88rem;
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    position: relative;
    box-shadow: 0 36px 98px rgba(62, 39, 35, 0.24);
    border: 3.2px solid rgba(215, 154, 82, 0.32);
    border-radius: 32px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #d79a52 0%, #a16430 32%, #e6bc80 52%, #a16430 72%, #d79a52 100%);
    border-radius: 32px 32px 0 0;
}

.project-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 52px 128px rgba(62, 39, 35, 0.36);
}

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

.project-header h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 4.24rem;
    color: #3e2723;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.32px;
}

.project-client {
    color: #5d4037;
    font-weight: 700;
    font-size: 1.76rem;
    margin-bottom: 4.12rem;
    letter-spacing: 0.36px;
}

.project-card > p {
    color: #5d4037;
    line-height: 1.78;
    margin-bottom: 4.92rem;
}

.project-impact {
    background: linear-gradient(142deg, rgba(215, 154, 82, 0.14) 0%, rgba(161, 100, 48, 0.11) 100%);
    padding: 3.84rem;
    color: #3e2723;
    line-height: 1.78;
    border-radius: 24px;
    border-left: 7.2px solid #d79a52;
}

.project-impact strong {
    color: #5d4037;
    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.48rem;
}

.year-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(38px);
    padding: 5.48rem;
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    box-shadow: 0 36px 98px rgba(62, 39, 35, 0.22);
    border: 3.2px solid rgba(215, 154, 82, 0.32);
    border-radius: 28px;
}

.year-section:hover {
    transform: translateY(-20px);
    box-shadow: 0 48px 124px rgba(62, 39, 35, 0.32);
}

.year-section h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 4.72rem;
    margin-bottom: 4.92rem;
    color: #5d4037;
    text-align: center;
    padding-bottom: 3.84rem;
    border-bottom: 3.2px solid rgba(215, 154, 82, 0.34);
    font-weight: 700;
    letter-spacing: 0.32px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(142deg, #d79a52 0%, #a16430 100%);
    border: none;
    box-shadow: 0 48px 124px rgba(215, 154, 82, 0.68);
}

.year-section.books h3 {
    color: #fffbf5;
    border-bottom-color: rgba(255, 251, 245, 0.44);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.48rem 0;
    color: #5d4037;
    border-bottom: 3.2px solid rgba(215, 154, 82, 0.26);
    line-height: 1.78;
    position: relative;
    padding-left: 5.08rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 2.48rem;
    color: #d79a52;
    font-size: 2.68rem;
    font-weight: 400;
}

.year-section.books .achievements li {
    color: rgba(255, 251, 245, 0.98);
    border-bottom-color: rgba(255, 251, 245, 0.38);
}

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.74) 0%, rgba(253, 246, 227, 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.28rem 10.68rem;
    text-align: center;
    box-shadow: 0 56px 152px rgba(62, 39, 35, 0.34);
    max-width: 1400px;
    margin: 0 auto;
    border: 3.6px solid rgba(215, 154, 82, 0.42);
    position: relative;
    border-radius: 42px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 11.2px;
    background: linear-gradient(90deg, transparent 0%, #d79a52 22%, #a16430 38%, #e6bc80 50%, #a16430 62%, #d79a52 78%, transparent 100%);
    border-radius: 42px 42px 0 0;
}

.contact-card h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 6.92rem;
    margin-bottom: 5.08rem;
    color: #3e2723;
    font-weight: 700;
    letter-spacing: 0.48px;
}

.contact-card > p {
    font-size: 1.76rem;
    color: #5d4037;
    line-height: 1.78;
    margin-bottom: 7.92rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.68rem;
    padding: 3.24rem 7.08rem;
    background: linear-gradient(142deg, #d79a52 0%, #a16430 100%);
    color: #fffbf5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.72px;
    transition: all 0.48s cubic-bezier(0.19, 0.68, 0.42, 0.96);
    box-shadow: 0 36px 98px rgba(215, 154, 82, 0.64);
    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.44), transparent);
    transition: left 0.76s ease;
}

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

.contact-link:hover {
    transform: translateY(-12px);
    box-shadow: 0 52px 138px rgba(215, 154, 82, 0.82);
}

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

#footer {
    background: linear-gradient(142deg, #3e2723 0%, #5d4037 100%);
    backdrop-filter: blur(38px);
    padding: 7.92rem 0;
    text-align: center;
    color: rgba(255, 251, 245, 0.92);
    border-top: 3.6px solid rgba(215, 154, 82, 0.48);
}

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

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

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 8.72rem;
        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: 78px;
    }

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

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(255, 251, 245, 0.99);
        backdrop-filter: blur(46px);
        flex-direction: column;
        padding: 7.92rem;
        gap: 0;
        box-shadow: 0 44px 118px rgba(62, 39, 35, 0.48);
        transform: translateY(-150%);
        transition: transform 0.52s cubic-bezier(0.19, 0.68, 0.42, 0.96);
        border-bottom: 3.6px solid rgba(215, 154, 82, 0.44);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 2.24rem;
        border-bottom: 3.2px solid rgba(215, 154, 82, 0.26);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

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

    .contact-card {
        padding: 10.68rem 7.92rem;
    }
}

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

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

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

    #hero {
        padding: 156px 0 124px;
    }

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

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

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

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

    section {
        padding: 112px 0;
    }

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

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

    .profile-card {
        padding: 4.68rem;
    }

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

    .timeline-content {
        padding: 4.68rem;
    }

    .project-card {
        padding: 5.88rem 4.68rem;
    }

    .contact-card {
        padding: 8.72rem 4.68rem;
    }

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

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

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