/* Theme: Knight - Day 11 (Letter K): Inspired by medieval chivalry, armor plating, castle stone, heraldic crests, jousting tournaments, ceremonial banners, royal courts, fortress architecture, noble traditions, sword craftsmanship */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Barlow: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: 'Barlow', sans-serif;
    font-size: 18.5px;
    line-height: 1.72;
    color: #2a2520;
    background: linear-gradient(155deg, #f8f6f4 0%, #ede8e3 25%, #e8e3dd 55%, #f2efeb 85%, #fafaf8 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 12% 22%, rgba(95, 87, 79, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 88% 78%, rgba(115, 102, 88, 0.03) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(95, 87, 79, 0.008) 2px, rgba(95, 87, 79, 0.008) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(95, 87, 79, 0.008) 2px, rgba(95, 87, 79, 0.008) 4px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 244, 0.94);
    backdrop-filter: blur(24px);
    border-bottom: 3px solid rgba(95, 87, 79, 0.28);
    box-shadow: 0 4px 22px rgba(42, 37, 32, 0.12);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

#topnav.scrolled {
    background: rgba(248, 246, 244, 0.98);
    box-shadow: 0 6px 32px rgba(42, 37, 32, 0.18);
}

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

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.95rem;
    font-weight: 800;
    color: #2a2520;
    margin: 0;
    letter-spacing: 1.2px;
    position: relative;
    padding-left: 3.65rem;
    text-transform: uppercase;
}

.logo h1::before {
    content: '⚔';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.55rem;
    color: #5f574f;
    animation: knightGuard 6s ease-in-out infinite;
}

@keyframes knightGuard {
    0%, 100% {
        transform: translateY(-50%) rotate(-15deg);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-50%) rotate(15deg);
        opacity: 1;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.95rem 2.05rem;
    color: #2a2520;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    letter-spacing: 0.85px;
    border-radius: 2px;
    text-transform: uppercase;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(95, 87, 79, 0.08) 0%, rgba(115, 102, 88, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #5f574f 0%, #736658 100%);
    transition: width 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #5f574f 0%, #736658 100%);
    border: none;
    color: #f8f6f4;
    font-size: 1.88rem;
    width: 58px;
    height: 58px;
    cursor: pointer;
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    box-shadow: 0 8px 26px rgba(95, 87, 79, 0.38);
}

.mobile-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(95, 87, 79, 0.52);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -38%;
    right: -28%;
    width: 920px;
    height: 920px;
    background: radial-gradient(circle, rgba(95, 87, 79, 0.12) 0%, transparent 68%);
    animation: knightRise 52s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -25%;
    width: 880px;
    height: 880px;
    background: radial-gradient(circle, rgba(115, 102, 88, 0.10) 0%, transparent 68%);
    animation: knightRise 58s ease-in-out infinite reverse;
}

@keyframes knightRise {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.62;
    }
    33% {
        transform: translate(68px, -58px) rotate(18deg);
        opacity: 0.88;
    }
    66% {
        transform: translate(-52px, 62px) rotate(-15deg);
        opacity: 0.72;
    }
}

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

.hero-text {
    animation: knightEnter 1.55s cubic-bezier(0.23, 1, 0.32, 1) 0s both;
}

@keyframes knightEnter {
    0% {
        opacity: 0;
        transform: translateX(-95px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 6.15rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 3.25rem;
    color: #2a2520;
    letter-spacing: -1.05px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 1.78rem;
    color: #4a423b;
    margin-bottom: 4.55rem;
    line-height: 1.68;
    font-weight: 500;
    letter-spacing: 0.32px;
}

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

.btn {
    display: inline-block;
    padding: 1.65rem 4.35rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 1.22rem;
    letter-spacing: 1.05px;
    border-radius: 2px;
    font-family: 'Barlow', sans-serif;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.88s, height 0.88s;
}

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

.btn-primary {
    background: linear-gradient(135deg, #5f574f 0%, #736658 100%);
    color: #f8f6f4;
    border: none;
    box-shadow: 0 18px 56px rgba(95, 87, 79, 0.42);
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 72px rgba(95, 87, 79, 0.55);
}

.btn-secondary {
    background: transparent;
    color: #5f574f;
    border: 3px solid #5f574f;
    box-shadow: 0 14px 42px rgba(95, 87, 79, 0.28);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #736658 0%, #5f574f 100%);
    color: #f8f6f4;
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 22px 58px rgba(115, 102, 88, 0.45);
}

.hero-image {
    animation: knightEnter 1.55s cubic-bezier(0.23, 1, 0.32, 1) 0.38s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(32px);
    padding: 3.35rem;
    box-shadow: 
        0 0 0 3px rgba(95, 87, 79, 0.22),
        0 32px 92px rgba(42, 37, 32, 0.18);
    transition: all 0.58s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-radius: 2px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, #5f574f 0%, #736658 40%, #5f574f 60%, #4a423b 100%);
    border-radius: 2px 2px 0 0;
}

.profile-card::after {
    content: '⚔';
    position: absolute;
    bottom: 35px;
    right: 35px;
    font-size: 5.85rem;
    color: rgba(95, 87, 79, 0.06);
}

.profile-card:hover {
    transform: translateY(-18px) scale(1.028);
    box-shadow: 
        0 0 0 3px rgba(95, 87, 79, 0.38),
        0 48px 118px rgba(42, 37, 32, 0.28);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.75rem;
    box-shadow: 0 22px 62px rgba(42, 37, 32, 0.22);
    border-radius: 2px;
}

.profile-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 3.15rem;
    margin-bottom: 1.08rem;
    color: #2a2520;
    font-weight: 800;
    letter-spacing: -0.45px;
    text-transform: uppercase;
}

.profile-details p {
    color: #4a423b;
    margin-bottom: 2.88rem;
    line-height: 1.68;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.48rem 3.65rem;
    background: linear-gradient(135deg, #736658 0%, #5f574f 100%);
    color: #f8f6f4;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.05px;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    box-shadow: 0 16px 48px rgba(115, 102, 88, 0.38);
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #5f574f 0%, #4a423b 100%);
    transform: translateY(-5px);
    box-shadow: 0 22px 62px rgba(115, 102, 88, 0.52);
}

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

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

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

.section-header::before {
    content: '⚔ ⚔ ⚔';
    position: absolute;
    top: -68px;
    left: 50%;
    transform: translateX(-50%);
    color: #5f574f;
    font-size: 1.68rem;
    letter-spacing: 2.55rem;
    opacity: 0.58;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 5.55rem;
    font-weight: 800;
    line-height: 1.18;
    color: #2a2520;
    letter-spacing: -0.88px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: 4px;
    background: linear-gradient(90deg, #5f574f 0%, #736658 50%, #5f574f 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 315px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #5f574f 0%, #736658 50%, #5f574f 100%);
}

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

.timeline-year {
    font-family: 'Cinzel', serif;
    font-size: 7.55rem;
    font-weight: 800;
    color: rgba(95, 87, 79, 0.28);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 6.55rem;
    letter-spacing: -3.25px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -125px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #5f574f;
    border-radius: 0;
    box-shadow: 
        0 0 0 10px rgba(248, 246, 244, 1),
        0 0 0 22px rgba(95, 87, 79, 0.22);
    animation: knightPulse 4.8s ease-in-out infinite;
}

@keyframes knightPulse {
    0%, 100% {
        box-shadow: 
            0 0 0 10px rgba(248, 246, 244, 1),
            0 0 0 22px rgba(95, 87, 79, 0.22);
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    50% {
        box-shadow: 
            0 0 0 10px rgba(248, 246, 244, 1),
            0 0 0 32px rgba(95, 87, 79, 0.38);
        transform: translateY(-50%) scale(1.18) rotate(45deg);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(22px);
    padding: 3.85rem;
    transition: all 0.52s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 18px 58px rgba(42, 37, 32, 0.12);
    position: relative;
    border-radius: 2px;
    border-left: 6px solid rgba(95, 87, 79, 0.32);
}

.timeline-content:hover {
    transform: translateX(18px);
    box-shadow: 0 28px 82px rgba(42, 37, 32, 0.20);
    border-left-color: #5f574f;
    background: rgba(255, 255, 255, 0.96);
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.95rem;
    margin-bottom: 0.95rem;
    color: #2a2520;
    font-weight: 700;
    letter-spacing: -0.42px;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: #5f574f;
    font-size: 1.48rem;
    margin-bottom: 2.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.55px;
}

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

.timeline-content a {
    color: #5f574f;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-content a:hover {
    border-bottom-color: #5f574f;
    color: #4a423b;
}

#ai {
    background: rgba(237, 232, 227, 0.48);
    backdrop-filter: blur(14px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 4.95rem;
    transition: all 0.52s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 24px 72px rgba(42, 37, 32, 0.14);
    border-radius: 2px;
    border-top: 8px solid #5f574f;
}

.project-card::after {
    content: '⚔';
    position: absolute;
    top: 52px;
    right: 52px;
    font-size: 6.85rem;
    color: rgba(95, 87, 79, 0.05);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 38px 102px rgba(42, 37, 32, 0.22);
    background: rgba(255, 255, 255, 0.98);
}

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

.project-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 3.85rem;
    color: #2a2520;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.58px;
    text-transform: uppercase;
}

.project-client {
    color: #5f574f;
    font-weight: 700;
    font-size: 1.42rem;
    margin-bottom: 3.05rem;
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

.project-card > p {
    color: #4a423b;
    line-height: 1.72;
    margin-bottom: 3.68rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(95, 87, 79, 0.08) 0%, rgba(115, 102, 88, 0.08) 100%);
    padding: 2.85rem;
    color: #2a2520;
    line-height: 1.72;
    border-radius: 2px;
    border-left: 6px solid #736658;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(22px);
    padding: 4.25rem;
    transition: all 0.52s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 18px 58px rgba(42, 37, 32, 0.12);
    border-radius: 2px;
    position: relative;
    border-top: 6px solid rgba(95, 87, 79, 0.32);
}

.year-section:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 82px rgba(42, 37, 32, 0.20);
    border-top-color: #5f574f;
    background: rgba(255, 255, 255, 0.96);
}

.year-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 5.05rem;
    margin-bottom: 3.68rem;
    color: #2a2520;
    text-align: center;
    padding-bottom: 2.75rem;
    border-bottom: 4px solid rgba(95, 87, 79, 0.18);
    font-weight: 700;
    letter-spacing: -0.75px;
    text-transform: uppercase;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #5f574f 0%, #736658 50%, #5f574f 100%);
    border-top-color: #4a423b;
}

.year-section.books h3 {
    color: #f8f6f4;
    border-bottom-color: rgba(248, 246, 244, 0.28);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.95rem 0;
    color: #4a423b;
    border-bottom: 3px solid rgba(42, 37, 32, 0.08);
    line-height: 1.72;
    position: relative;
    padding-left: 3.25rem;
}

.achievements li::before {
    content: '▪';
    position: absolute;
    left: 0;
    top: 1.95rem;
    color: #5f574f;
    font-size: 1.38rem;
}

.year-section.books .achievements li {
    color: rgba(248, 246, 244, 0.95);
    border-bottom-color: rgba(248, 246, 244, 0.22);
}

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

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

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

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

#personal {
    background: rgba(237, 232, 227, 0.48);
    backdrop-filter: blur(14px);
}

#contact {
    background: linear-gradient(165deg, rgba(95, 87, 79, 0.08) 0%, rgba(115, 102, 88, 0.08) 100%);
    backdrop-filter: blur(14px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(35px);
    padding: 8.05rem 7.25rem;
    text-align: center;
    box-shadow: 0 38px 108px rgba(42, 37, 32, 0.18);
    max-width: 1420px;
    margin: 0 auto;
    border-radius: 2px;
    border: 4px solid rgba(95, 87, 79, 0.25);
}

.contact-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 6.15rem;
    margin-bottom: 3.68rem;
    color: #2a2520;
    font-weight: 800;
    letter-spacing: -0.95px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.72rem;
    color: #4a423b;
    line-height: 1.72;
    margin-bottom: 6.15rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.05rem;
    padding: 2.05rem 4.95rem;
    background: linear-gradient(135deg, #5f574f 0%, #736658 100%);
    color: #f8f6f4;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.05px;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    box-shadow: 0 18px 58px rgba(95, 87, 79, 0.42);
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #736658 0%, #5f574f 100%);
    transform: translateY(-6px);
    box-shadow: 0 26px 78px rgba(95, 87, 79, 0.58);
}

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

#footer {
    background: linear-gradient(135deg, #2a2520 0%, #1e1a16 50%, #14110d 100%);
    padding: 6.15rem 0;
    text-align: center;
    color: rgba(248, 246, 244, 0.72);
    border-top: 4px solid #5f574f;
}

#footer a {
    color: #5f574f;
    text-decoration: none;
    transition: color 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 700;
}

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

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

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

    .hero-image {
        max-width: 625px;
        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.05rem;
        height: 78px;
    }

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

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(248, 246, 244, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 4.15rem;
        gap: 0;
        box-shadow: 0 28px 72px rgba(42, 37, 32, 0.18);
        transform: translateY(-150%);
        transition: transform 0.58s cubic-bezier(0.23, 1, 0.32, 1);
        border-bottom: 3px solid rgba(95, 87, 79, 0.28);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.65rem;
        border-bottom: 1px solid rgba(42, 37, 32, 0.08);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4.05rem;
        margin-bottom: 6.85rem;
        padding-left: 8.45rem;
    }

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

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

    .contact-card {
        padding: 6.45rem 5.05rem;
    }
}

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

    .nav-container {
        padding: 0 2.65rem;
        height: 72px;
    }

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

    #hero {
        padding: 138px 0 98px;
    }

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

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

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

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

    section {
        padding: 102px 0;
    }

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

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

    .profile-card {
        padding: 2.65rem;
    }

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

    .timeline-content {
        padding: 3.15rem;
    }

    .project-card {
        padding: 4.05rem 3.15rem;
    }

    .contact-card {
        padding: 5.95rem 3.15rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.68rem 3.15rem;
        font-size: 1.12rem;
    }
}