/* Theme: Fjord - Day 6 (Letter F): Inspired by Nordic fjords, icy glaciers, mountain peaks, crystalline waters, northern lights, pine forests, frost patterns, midnight sun, stone formations, Scandinavian minimalism */

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

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

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

body {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    line-height: 1.72;
    color: #1c3d4a;
    background: linear-gradient(155deg, #f5f8fa 0%, #e8f1f5 28%, #dbe9f0 55%, #e5eff4 82%, #f2f7f9 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 8% 12%, rgba(79, 134, 153, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 92% 88%, rgba(38, 89, 115, 0.06) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(79, 134, 153, 0.015) 48%, rgba(79, 134, 153, 0.015) 52%, transparent 52%);
    background-size: 68px 68px;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 248, 250, 0.88);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(79, 134, 153, 0.18);
    box-shadow: 0 1px 12px rgba(28, 61, 74, 0.05);
    transition: all 0.42s cubic-bezier(0.23, 1, 0.32, 1);
}

#topnav.scrolled {
    background: rgba(245, 248, 250, 0.94);
    box-shadow: 0 2px 18px rgba(28, 61, 74, 0.08);
}

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

.logo h1 {
    font-family: 'Fraunces', serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #1c3d4a;
    margin: 0;
    letter-spacing: -0.22px;
    position: relative;
    padding-left: 2.65rem;
}

.logo h1::before {
    content: '▲';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.95rem;
    color: #4f8699;
    animation: fjordPeak 4.2s ease-in-out infinite;
}

@keyframes fjordPeak {
    0%, 100% {
        opacity: 0.68;
        transform: translateY(-50%) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) rotate(180deg);
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.68rem 1.48rem;
    color: #1c3d4a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    letter-spacing: 0.28px;
    border-radius: 4px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(79, 134, 153, 0.08) 0%, rgba(38, 89, 115, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 4px;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    opacity: 1;
}

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #4f8699 0%, #3a6b7d 100%);
    border: none;
    color: #f5f8fa;
    font-size: 1.52rem;
    width: 46px;
    height: 46px;
    cursor: pointer;
    transition: all 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(79, 134, 153, 0.28);
}

.mobile-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(79, 134, 153, 0.38);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -18%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(79, 134, 153, 0.12) 0%, transparent 68%);
    border-radius: 38% 62% 72% 28% / 45% 58% 42% 55%;
    animation: fjordGlacier 35s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -22%;
    left: -15%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(38, 89, 115, 0.1) 0%, transparent 68%);
    border-radius: 62% 38% 28% 72% / 58% 42% 58% 42%;
    animation: fjordGlacier 38s ease-in-out infinite reverse;
}

@keyframes fjordGlacier {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.55;
        border-radius: 38% 62% 72% 28% / 45% 58% 42% 55%;
    }
    25% {
        transform: translate(38px, -28px) rotate(6deg);
        opacity: 0.72;
        border-radius: 52% 48% 38% 62% / 62% 38% 62% 38%;
    }
    50% {
        transform: translate(-25px, 32px) rotate(-4deg);
        opacity: 0.82;
        border-radius: 42% 58% 68% 32% / 48% 52% 48% 52%;
    }
    75% {
        transform: translate(28px, 18px) rotate(5deg);
        opacity: 0.65;
        border-radius: 68% 32% 42% 58% / 38% 62% 38% 62%;
    }
}

.hero-content {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: 1.42fr 1fr;
    gap: 7.2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

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

.hero-text h1 {
    font-family: 'Fraunces', serif;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 2.68rem;
    color: #1c3d4a;
    letter-spacing: -1.2px;
}

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

.hero-subtitle {
    font-size: 1.52rem;
    color: #3d6272;
    margin-bottom: 3.88rem;
    line-height: 1.62;
    font-weight: 400;
    letter-spacing: -0.12px;
}

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

.btn {
    display: inline-block;
    padding: 1.38rem 3.65rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 1.12rem;
    letter-spacing: 0.32px;
    border-radius: 2px;
    font-family: 'Karla', sans-serif;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #4f8699 0%, #265973 100%);
    color: #f5f8fa;
    border: none;
    box-shadow: 0 12px 38px rgba(79, 134, 153, 0.32);
}

.btn-primary:hover {
    transform: translateY(-4.5px);
    box-shadow: 0 18px 52px rgba(79, 134, 153, 0.42);
}

.btn-secondary {
    background: transparent;
    color: #265973;
    border: 2px solid #4f8699;
    box-shadow: 0 8px 28px rgba(79, 134, 153, 0.18);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #265973 0%, #1c3d4a 100%);
    color: #f5f8fa;
    border-color: transparent;
    transform: translateY(-4.5px);
    box-shadow: 0 14px 42px rgba(38, 89, 115, 0.32);
}

.hero-image {
    animation: fjordRise 1.25s cubic-bezier(0.23, 1, 0.32, 1) 0.28s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(28px);
    padding: 2.88rem;
    box-shadow: 
        0 0 0 1px rgba(79, 134, 153, 0.12),
        0 22px 68px rgba(28, 61, 74, 0.12);
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-radius: 2px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #4f8699 0%, #265973 50%, #1c3d4a 100%);
}

.profile-card:hover {
    transform: translateY(-14px) scale(1.018);
    box-shadow: 
        0 0 0 1px rgba(79, 134, 153, 0.22),
        0 32px 88px rgba(28, 61, 74, 0.18);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.18rem;
    box-shadow: 0 14px 42px rgba(28, 61, 74, 0.16);
}

.profile-details h3 {
    font-family: 'Fraunces', serif;
    font-size: 2.58rem;
    margin-bottom: 0.82rem;
    color: #1c3d4a;
    font-weight: 800;
    letter-spacing: -0.48px;
}

.profile-details p {
    color: #3d6272;
    margin-bottom: 2.32rem;
    line-height: 1.62;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.22rem 2.98rem;
    background: linear-gradient(135deg, #265973 0%, #1c3d4a 100%);
    color: #f5f8fa;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.32px;
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    box-shadow: 0 10px 32px rgba(38, 89, 115, 0.28);
    font-family: 'Karla', sans-serif;
}

.social-links a:hover {
    background: linear-gradient(135deg, #1c3d4a 0%, #0f1f26 100%);
    transform: translateY(-3.5px);
    box-shadow: 0 14px 42px rgba(38, 89, 115, 0.38);
}

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

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

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

.section-header::before {
    content: '▲ ▲ ▲';
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    color: #4f8699;
    font-size: 1.18rem;
    letter-spacing: 1.82rem;
    opacity: 0.58;
}

.section-header h2 {
    font-family: 'Fraunces', serif;
    font-size: 4.55rem;
    font-weight: 900;
    line-height: 1.18;
    color: #1c3d4a;
    letter-spacing: -0.82px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 112px;
    height: 3px;
    background: linear-gradient(90deg, #4f8699 0%, #265973 50%, #1c3d4a 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 258px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4f8699 0%, #265973 45%, #1c3d4a 100%);
}

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

.timeline-year {
    font-family: 'Fraunces', serif;
    font-size: 6.2rem;
    font-weight: 900;
    color: rgba(79, 134, 153, 0.22);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5.68rem;
    letter-spacing: -2.2px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -102px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #4f8699;
    box-shadow: 
        0 0 0 8px rgba(245, 248, 250, 1),
        0 0 0 12px rgba(79, 134, 153, 0.16),
        0 0 0 20px rgba(79, 134, 153, 0.08);
    animation: fjordBeacon 4s ease-in-out infinite;
}

@keyframes fjordBeacon {
    0%, 100% {
        box-shadow: 
            0 0 0 8px rgba(245, 248, 250, 1),
            0 0 0 12px rgba(79, 134, 153, 0.16),
            0 0 0 20px rgba(79, 134, 153, 0.08);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(245, 248, 250, 1),
            0 0 0 16px rgba(79, 134, 153, 0.24),
            0 0 0 28px rgba(79, 134, 153, 0.12);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    padding: 3.22rem;
    transition: all 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 14px 42px rgba(28, 61, 74, 0.08);
    position: relative;
    border-radius: 2px;
    border-left: 4px solid rgba(79, 134, 153, 0.22);
}

.timeline-content:hover {
    transform: translateX(14px);
    box-shadow: 0 22px 62px rgba(28, 61, 74, 0.14);
    border-left-color: #4f8699;
    background: rgba(255, 255, 255, 0.92);
}

.timeline-content h3 {
    font-family: 'Fraunces', serif;
    font-size: 2.38rem;
    margin-bottom: 0.72rem;
    color: #1c3d4a;
    font-weight: 800;
    letter-spacing: -0.38px;
}

.timeline-content h4 {
    color: #4f8699;
    font-size: 1.28rem;
    margin-bottom: 1.68rem;
    font-weight: 600;
}

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

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

.timeline-content a:hover {
    border-bottom-color: #265973;
    color: #1c3d4a;
}

#ai {
    background: rgba(248, 251, 252, 0.45);
    backdrop-filter: blur(8px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    padding: 4.15rem;
    transition: all 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 16px 52px rgba(28, 61, 74, 0.1);
    border-radius: 2px;
    border-top: 5px solid #4f8699;
}

.project-card::after {
    content: '▲';
    position: absolute;
    top: 38px;
    right: 38px;
    font-size: 5.2rem;
    color: rgba(79, 134, 153, 0.06);
}

.project-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 26px 72px rgba(28, 61, 74, 0.16);
    background: rgba(255, 255, 255, 0.94);
}

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

.project-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 3.15rem;
    color: #1c3d4a;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.52px;
}

.project-client {
    color: #4f8699;
    font-weight: 700;
    font-size: 1.22rem;
    margin-bottom: 2.58rem;
}

.project-card > p {
    color: #3d6272;
    line-height: 1.72;
    margin-bottom: 3.12rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(79, 134, 153, 0.06) 0%, rgba(38, 89, 115, 0.06) 100%);
    padding: 2.38rem;
    color: #1c3d4a;
    line-height: 1.72;
    border-radius: 2px;
    border-left: 4px solid #265973;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    padding: 3.68rem;
    transition: all 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 14px 42px rgba(28, 61, 74, 0.08);
    border-radius: 2px;
    position: relative;
    border-top: 4px solid rgba(79, 134, 153, 0.22);
}

.year-section:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 62px rgba(28, 61, 74, 0.14);
    border-top-color: #4f8699;
    background: rgba(255, 255, 255, 0.92);
}

.year-section h3 {
    font-family: 'Fraunces', serif;
    font-size: 4.18rem;
    margin-bottom: 3.12rem;
    color: #1c3d4a;
    text-align: center;
    padding-bottom: 2.28rem;
    border-bottom: 3px solid rgba(79, 134, 153, 0.12);
    font-weight: 800;
    letter-spacing: -0.68px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #4f8699 0%, #265973 50%, #1c3d4a 100%);
    border-top-color: #3d6272;
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.68rem 0;
    color: #3d6272;
    border-bottom: 2px solid rgba(28, 61, 74, 0.05);
    line-height: 1.72;
    position: relative;
    padding-left: 2.82rem;
}

.achievements li::before {
    content: '▲';
    position: absolute;
    left: 0;
    top: 1.68rem;
    color: #4f8699;
    font-size: 1.02rem;
}

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

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

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

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

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

#personal {
    background: rgba(248, 251, 252, 0.45);
    backdrop-filter: blur(8px);
}

#contact {
    background: linear-gradient(165deg, rgba(79, 134, 153, 0.05) 0%, rgba(38, 89, 115, 0.05) 100%);
    backdrop-filter: blur(8px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    padding: 6.88rem 6.25rem;
    text-align: center;
    box-shadow: 0 28px 82px rgba(28, 61, 74, 0.12);
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 2px;
    border: 3px solid rgba(79, 134, 153, 0.16);
}

.contact-card h2 {
    font-family: 'Fraunces', serif;
    font-size: 5.2rem;
    margin-bottom: 3.12rem;
    color: #1c3d4a;
    font-weight: 900;
    letter-spacing: -0.88px;
}

.contact-card > p {
    font-size: 1.48rem;
    color: #3d6272;
    line-height: 1.72;
    margin-bottom: 5.18rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.72rem;
    padding: 1.72rem 4.15rem;
    background: linear-gradient(135deg, #4f8699 0%, #265973 100%);
    color: #f5f8fa;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.32px;
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    box-shadow: 0 14px 42px rgba(79, 134, 153, 0.32);
    font-family: 'Karla', sans-serif;
}

.contact-link:hover {
    background: linear-gradient(135deg, #265973 0%, #1c3d4a 100%);
    transform: translateY(-4.5px);
    box-shadow: 0 20px 58px rgba(79, 134, 153, 0.42);
}

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

#footer {
    background: linear-gradient(135deg, #1c3d4a 0%, #0f1f26 50%, #0a1419 100%);
    padding: 5.18rem 0;
    text-align: center;
    color: rgba(245, 248, 250, 0.62);
    border-top: 3px solid #4f8699;
}

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

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

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

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

    .hero-image {
        max-width: 585px;
        margin: 0 auto;
    }

    .speaking-grid {
        grid-template-columns: 1fr;
    }

    .year-section.books {
        grid-column: span 1;
    }
}

@media screen and (max-width: 900px) {
    .nav-container {
        padding: 0 2.58rem;
        height: 64px;
    }

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

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(245, 248, 250, 0.96);
        backdrop-filter: blur(22px);
        flex-direction: column;
        padding: 3.58rem;
        gap: 0;
        box-shadow: 0 22px 58px rgba(28, 61, 74, 0.12);
        transform: translateY(-150%);
        transition: transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);
        border-bottom: 1px solid rgba(79, 134, 153, 0.18);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.38rem;
        border-bottom: 1px solid rgba(28, 61, 74, 0.05);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 3.48rem;
        margin-bottom: 5.88rem;
        padding-left: 7.38rem;
    }

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

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

    .contact-card {
        padding: 5.58rem 4.38rem;
    }
}

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

    .nav-container {
        padding: 0 2.28rem;
        height: 60px;
    }

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

    #hero {
        padding: 118px 0 88px;
    }

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

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

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

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

    section {
        padding: 92px 0;
    }

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

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

    .profile-card {
        padding: 2.28rem;
    }

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

    .timeline-content {
        padding: 2.68rem;
    }

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

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

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

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

    .contact-link {
        justify-content: center;
        padding: 1.42rem 2.68rem;
        font-size: 1.05rem;
    }
}