/* Theme: Quilt - Day 17, letter Q: Inspired by patchwork quilts, fabric patterns, stitched borders, cozy textures, traditional craftsmanship, warm color blocks, handmade comfort, geometric tessellation, homespun charm, textile heritage */

@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&family=Lora:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

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

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

body {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #3d2817;
    background: #fdf8f3;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(45deg, transparent 0px, transparent 19px, rgba(205, 133, 63, 0.03) 19px, rgba(205, 133, 63, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent 0px, transparent 19px, rgba(139, 69, 19, 0.03) 19px, rgba(139, 69, 19, 0.03) 20px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(178, 34, 34, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fdf8f3;
    border-bottom: 6px solid transparent;
    border-image: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 30px, #cd853f 30px, #cd853f 60px, #b22222 60px, #b22222 90px, #8b4513 90px, #8b4513 120px) 6;
    box-shadow: 0 6px 24px rgba(61, 40, 23, 0.12);
    transition: all 0.4s ease;
}

#topnav.scrolled {
    box-shadow: 0 8px 32px rgba(61, 40, 23, 0.18);
}

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

.logo h1 {
    font-family: 'Yeseva One', serif;
    font-size: 1.9rem;
    color: #3d2817;
    margin: 0;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 2px 2px 0 rgba(184, 134, 11, 0.15);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 8px, #b22222 8px, #b22222 16px);
}

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

.nav-menu li a {
    display: block;
    padding: 1rem 2rem;
    color: #3d2817;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, #b8860b 0px, #b8860b 4px, #cd853f 4px, #cd853f 8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.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: #fdf8f3;
    border-color: #8b4513;
}

.mobile-toggle {
    display: none;
    background: repeating-linear-gradient(45deg, #b8860b 0px, #b8860b 10px, #b22222 10px, #b22222 20px);
    border: 3px solid #3d2817;
    color: #fdf8f3;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 4px 4px 0 rgba(61, 40, 23, 0.2);
}

.mobile-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(61, 40, 23, 0.25);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: 8%;
    right: 5%;
    width: 420px;
    height: 420px;
    background: repeating-linear-gradient(0deg, #b8860b 0px, #b8860b 20px, #cd853f 20px, #cd853f 40px, #b22222 40px, #b22222 60px);
    opacity: 0.08;
    transform: rotate(15deg);
    animation: quiltFloat 35s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 12%;
    left: 6%;
    width: 350px;
    height: 350px;
    background: repeating-linear-gradient(90deg, #8b4513 0px, #8b4513 25px, #cd853f 25px, #cd853f 50px);
    opacity: 0.06;
    transform: rotate(-20deg);
    animation: quiltFloat 40s ease-in-out infinite reverse;
}

@keyframes quiltFloat {
    0%, 100% {
        transform: rotate(15deg) translate(0, 0);
    }
    50% {
        transform: rotate(20deg) translate(20px, -20px);
    }
}

.hero-content {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 7rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: patchIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.hero-text h1 {
    font-family: 'Yeseva One', serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 3rem;
    color: #3d2817;
    letter-spacing: 1px;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: #6b4423;
    margin-bottom: 4rem;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    letter-spacing: 0.8px;
    position: relative;
    font-family: 'Poppins', sans-serif;
    border: 3px solid #3d2817;
}

.btn-primary {
    background: repeating-linear-gradient(45deg, #b8860b 0px, #b8860b 10px, #cd853f 10px, #cd853f 20px);
    color: #fdf8f3;
    box-shadow: 6px 6px 0 rgba(61, 40, 23, 0.2);
}

.btn-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 rgba(61, 40, 23, 0.25);
}

.btn-secondary {
    background: #fdf8f3;
    color: #3d2817;
    box-shadow: 6px 6px 0 rgba(184, 134, 11, 0.3);
}

.btn-secondary:hover {
    background: repeating-linear-gradient(45deg, #b22222 0px, #b22222 10px, #8b4513 10px, #8b4513 20px);
    color: #fdf8f3;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 rgba(184, 134, 11, 0.35);
}

.hero-image {
    animation: patchIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.profile-card {
    background: #ffffff;
    padding: 2.5rem;
    box-shadow: 8px 8px 0 rgba(184, 134, 11, 0.2), 16px 16px 0 rgba(178, 34, 34, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 4px solid #3d2817;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    height: 20px;
    background: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 15px, #b22222 15px, #b22222 30px, #cd853f 30px, #cd853f 45px);
}

.profile-card::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -4px;
    right: -4px;
    height: 20px;
    background: repeating-linear-gradient(90deg, #8b4513 0px, #8b4513 15px, #cd853f 15px, #cd853f 30px, #b8860b 30px, #b8860b 45px);
}

.profile-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(184, 134, 11, 0.25), 24px 24px 0 rgba(178, 34, 34, 0.15);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2rem;
    border: 3px solid #3d2817;
    box-shadow: 4px 4px 0 rgba(61, 40, 23, 0.15);
}

.profile-details h3 {
    font-family: 'Yeseva One', serif;
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: #3d2817;
    letter-spacing: 1px;
}

.profile-details p {
    color: #6b4423;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: repeating-linear-gradient(45deg, #b22222 0px, #b22222 8px, #8b4513 8px, #8b4513 16px);
    color: #fdf8f3;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    border: 3px solid #3d2817;
    font-family: 'Poppins', sans-serif;
    box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.2);
}

.social-links a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 rgba(61, 40, 23, 0.25);
}

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

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 4rem;
}

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

.section-header::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 10px, #b22222 10px, #b22222 20px);
}

.section-header h2 {
    font-family: 'Yeseva One', serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: #3d2817;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: repeating-linear-gradient(90deg, #cd853f 0px, #cd853f 12px, #8b4513 12px, #8b4513 24px);
}

#experience {
    background: linear-gradient(180deg, rgba(184, 134, 11, 0.06) 0%, rgba(205, 133, 63, 0.08) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 240px;
    top: 0;
    bottom: 0;
    width: 8px;
    background: repeating-linear-gradient(0deg, #b8860b 0px, #b8860b 20px, #b22222 20px, #b22222 40px, #cd853f 40px, #cd853f 60px);
}

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

.timeline-year {
    font-family: 'Yeseva One', serif;
    font-size: 4.5rem;
    font-weight: 400;
    color: #b8860b;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5rem;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(178, 34, 34, 0.15);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -84px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: repeating-linear-gradient(45deg, #b22222 0px, #b22222 6px, #b8860b 6px, #b8860b 12px);
    border: 4px solid #fdf8f3;
    box-shadow: 0 0 0 3px #3d2817;
}

.timeline-content {
    background: #ffffff;
    padding: 3.5rem;
    transition: all 0.4s ease;
    border: 4px solid #3d2817;
    box-shadow: 7px 7px 0 rgba(184, 134, 11, 0.2);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 15px, #cd853f 15px, #cd853f 30px);
}

.timeline-content:hover {
    transform: translate(-4px, -4px);
    box-shadow: 11px 11px 0 rgba(184, 134, 11, 0.25);
}

.timeline-content h3 {
    font-family: 'Yeseva One', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3d2817;
    letter-spacing: 1px;
}

.timeline-content h4 {
    color: #b22222;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(178, 34, 34, 0.06) 0%, rgba(139, 69, 19, 0.08) 100%);
}

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

.project-card {
    background: #ffffff;
    padding: 4rem;
    transition: all 0.4s ease;
    position: relative;
    border: 4px solid #3d2817;
    box-shadow: 9px 9px 0 rgba(178, 34, 34, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background: repeating-linear-gradient(90deg, #b22222 0px, #b22222 20px, #8b4513 20px, #8b4513 40px, #b8860b 40px, #b8860b 60px);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 16px;
    background: repeating-linear-gradient(90deg, #cd853f 0px, #cd853f 20px, #b8860b 20px, #b8860b 40px, #b22222 40px, #b22222 60px);
}

.project-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 13px 13px 0 rgba(178, 34, 34, 0.25);
}

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

.project-header h3 {
    font-family: 'Yeseva One', serif;
    font-size: 3rem;
    color: #3d2817;
    margin: 0;
    letter-spacing: 1px;
}

.project-client {
    color: #b22222;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.project-card > p {
    color: #6b4423;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.project-impact {
    background: repeating-linear-gradient(45deg, rgba(184, 134, 11, 0.08) 0px, rgba(184, 134, 11, 0.08) 15px, rgba(205, 133, 63, 0.08) 15px, rgba(205, 133, 63, 0.08) 30px);
    padding: 2.5rem;
    color: #3d2817;
    line-height: 1.8;
    border: 3px solid #b8860b;
    border-left-width: 8px;
}

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

#speaking {
    background: linear-gradient(180deg, rgba(205, 133, 63, 0.06) 0%, rgba(184, 134, 11, 0.08) 100%);
}

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

.year-section {
    background: #ffffff;
    padding: 3.5rem;
    transition: all 0.4s ease;
    border: 4px solid #3d2817;
    box-shadow: 7px 7px 0 rgba(184, 134, 11, 0.2);
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 12px, #b22222 12px, #b22222 24px);
}

.year-section:hover {
    transform: translate(-4px, -4px);
    box-shadow: 11px 11px 0 rgba(184, 134, 11, 0.25);
}

.year-section h3 {
    font-family: 'Yeseva One', serif;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #3d2817;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 4px solid transparent;
    border-image: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 15px, #cd853f 15px, #cd853f 30px) 4;
    letter-spacing: 2px;
}

.year-section.books {
    grid-column: span 2;
    background: repeating-linear-gradient(45deg, #b8860b 0px, #b8860b 20px, #b22222 20px, #b22222 40px);
    box-shadow: 9px 9px 0 rgba(61, 40, 23, 0.3);
}

.year-section.books::before {
    background: repeating-linear-gradient(90deg, #3d2817 0px, #3d2817 12px, #fdf8f3 12px, #fdf8f3 24px);
}

.year-section.books h3 {
    color: #fdf8f3;
    border-image: repeating-linear-gradient(90deg, #fdf8f3 0px, #fdf8f3 15px, rgba(253, 248, 243, 0.5) 15px, rgba(253, 248, 243, 0.5) 30px) 4;
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.6rem 0;
    color: #6b4423;
    border-bottom: 2px dashed rgba(61, 40, 23, 0.2);
    line-height: 1.8;
    position: relative;
    padding-left: 3rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1.6rem;
    color: #b8860b;
    font-size: 1.3rem;
}

.year-section.books .achievements li {
    color: rgba(253, 248, 243, 0.95);
    border-bottom-color: rgba(253, 248, 243, 0.3);
}

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.06) 0%, rgba(178, 34, 34, 0.08) 100%);
}

#contact {
    background: linear-gradient(180deg, rgba(184, 134, 11, 0.08) 0%, rgba(205, 133, 63, 0.12) 100%);
}

.contact-card {
    background: #ffffff;
    padding: 7rem 6rem;
    text-align: center;
    box-shadow: 12px 12px 0 rgba(184, 134, 11, 0.2), 24px 24px 0 rgba(178, 34, 34, 0.1);
    max-width: 1300px;
    margin: 0 auto;
    border: 5px solid #3d2817;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 20px, #b22222 20px, #b22222 40px, #cd853f 40px, #cd853f 60px, #8b4513 60px, #8b4513 80px);
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: repeating-linear-gradient(90deg, #8b4513 0px, #8b4513 20px, #cd853f 20px, #cd853f 40px, #b22222 40px, #b22222 60px, #b8860b 60px, #b8860b 80px);
}

.contact-card h2 {
    font-family: 'Yeseva One', serif;
    font-size: 5rem;
    margin-bottom: 3rem;
    color: #3d2817;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(184, 134, 11, 0.15);
}

.contact-card > p {
    font-size: 1.4rem;
    color: #6b4423;
    line-height: 1.8;
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: 1.8rem 4rem;
    background: repeating-linear-gradient(45deg, #b22222 0px, #b22222 10px, #b8860b 10px, #b8860b 20px);
    color: #fdf8f3;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    border: 4px solid #3d2817;
    position: relative;
    font-family: 'Poppins', sans-serif;
    box-shadow: 7px 7px 0 rgba(61, 40, 23, 0.25);
}

.contact-link:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 rgba(61, 40, 23, 0.3);
}

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

#footer {
    background: #3d2817;
    padding: 4.5rem 0;
    text-align: center;
    color: rgba(253, 248, 243, 0.8);
    border-top: 8px solid transparent;
    border-image: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 25px, #b22222 25px, #b22222 50px, #cd853f 50px, #cd853f 75px) 8;
    font-family: 'Poppins', sans-serif;
}

#footer a {
    color: #cd853f;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

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

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

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

    .hero-image {
        max-width: 580px;
        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 3rem;
        height: 90px;
    }

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

    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: #fdf8f3;
        flex-direction: column;
        padding: 4.5rem;
        gap: 0;
        box-shadow: 0 12px 32px rgba(61, 40, 23, 0.2);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 6px solid transparent;
        border-image: repeating-linear-gradient(90deg, #b8860b 0px, #b8860b 30px, #b22222 30px, #b22222 60px) 6;
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.5rem;
        border-bottom: 2px dashed rgba(61, 40, 23, 0.2);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-bottom: 6rem;
        padding-left: 8rem;
    }

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

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

    .contact-card {
        padding: 6rem 4.5rem;
    }
}

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

    .nav-container {
        padding: 0 2.5rem;
        height: 85px;
    }

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

    #hero {
        padding: 140px 0 110px;
    }

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

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

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

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

    section {
        padding: 90px 0;
    }

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

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

    .profile-card {
        padding: 2rem;
    }

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

    .timeline-content {
        padding: 2.5rem;
    }

    .project-card {
        padding: 3rem 2.5rem;
    }

    .contact-card {
        padding: 5.5rem 3rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.5rem 3rem;
        font-size: 0.95rem;
    }
}