/* Theme: Rainforest - Day 18, letter R: Inspired by lush tropical canopies, vibrant flora, misty mornings, exotic wildlife, layered vegetation, natural growth patterns, organic textures, humid atmosphere, verdant biodiversity, cascade waterfalls */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&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: 100px;
}

body {
    font-family: 'Karla', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #1a3a2e;
    background: #f4f7f5;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 30%, rgba(76, 175, 80, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 70%, rgba(139, 195, 74, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(102, 187, 106, 0.03) 0%, transparent 50%);
    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 0px, transparent 80px, rgba(76, 175, 80, 0.02) 80px, rgba(76, 175, 80, 0.02) 81px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 247, 245, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #4caf50;
    box-shadow: 0 4px 24px rgba(26, 58, 46, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    box-shadow: 0 8px 32px rgba(26, 58, 46, 0.14);
    border-bottom-width: 4px;
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    font-style: italic;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 3px;
}

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

.nav-menu li a {
    display: block;
    padding: 1rem 2rem;
    color: #1a3a2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: #8bc34a;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.mobile-toggle:hover {
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.4);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: rainforestFloat 25s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -8%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: rainforestFloat 30s ease-in-out infinite reverse;
}

@keyframes rainforestFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.25;
    }
}

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

.hero-text {
    animation: leafGrow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes leafGrow {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 3rem;
    color: #1a3a2e;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: #4a6d5f;
    margin-bottom: 4.5rem;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.2px;
}

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

.btn {
    display: inline-block;
    padding: 1.6rem 4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    border-radius: 50px;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #2e7d32;
    border: 2px solid #4caf50;
    box-shadow: 0 6px 20px rgba(26, 58, 46, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #8bc34a 0%, #9ccc65 100%);
    color: #ffffff;
    border-color: #8bc34a;
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(139, 195, 74, 0.3);
}

.hero-image {
    animation: leafGrow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.profile-card {
    background: #ffffff;
    padding: 3rem;
    box-shadow: 0 16px 48px rgba(26, 58, 46, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 30px;
    border: 3px solid #e8f5e9;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

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

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(26, 58, 46, 0.18);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(26, 58, 46, 0.1);
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a3a2e;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.profile-details p {
    color: #4a6d5f;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(76, 175, 80, 0.4);
}

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

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

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

.section-header::before {
    content: '🌿';
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    opacity: 0.15;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a3a2e;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    font-style: italic;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 4px;
}

#experience {
    background: linear-gradient(180deg, rgba(232, 245, 233, 0.4) 0%, rgba(200, 230, 201, 0.3) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 260px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4caf50 0%, #8bc34a 50%, #aed581 100%);
    border-radius: 4px;
    opacity: 0.4;
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    color: #4caf50;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 6rem;
    letter-spacing: -2px;
    font-style: italic;
    opacity: 0.9;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -98px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px rgba(244, 247, 245, 0.95),
        0 0 0 12px rgba(76, 175, 80, 0.3);
}

.timeline-content {
    background: #ffffff;
    padding: 4rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(26, 58, 46, 0.08);
    position: relative;
    border-radius: 25px;
    border-left: 5px solid #4caf50;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, #8bc34a 0%, #aed581 100%);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px 0 0 5px;
}

.timeline-content:hover::before {
    height: 100%;
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: 0 20px 56px rgba(26, 58, 46, 0.14);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1a3a2e;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.timeline-content h4 {
    color: #4caf50;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(200, 230, 201, 0.3) 0%, rgba(232, 245, 233, 0.4) 100%);
}

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

.project-card {
    background: #ffffff;
    padding: 5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 16px 48px rgba(26, 58, 46, 0.1);
    border-radius: 30px;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 50%, #8bc34a 100%);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all 0.5s ease;
}

.project-card:hover::after {
    transform: translate(30%, -30%) scale(1.5);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(26, 58, 46, 0.15);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a3a2e;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-style: italic;
}

.project-client {
    color: #4caf50;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    letter-spacing: 0.3px;
}

.project-card > p {
    color: #4a6d5f;
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.6) 0%, rgba(200, 230, 201, 0.4) 100%);
    padding: 2.5rem;
    color: #1a3a2e;
    line-height: 1.8;
    border-radius: 20px;
    border-left: 4px solid #4caf50;
    position: relative;
}

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

#speaking {
    background: linear-gradient(180deg, rgba(232, 245, 233, 0.4) 0%, rgba(200, 230, 201, 0.3) 100%);
}

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

.year-section {
    background: #ffffff;
    padding: 4rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(26, 58, 46, 0.08);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #4caf50 0%, #8bc34a 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.year-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(26, 58, 46, 0.14);
}

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 3.5rem;
    color: #1a3a2e;
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 3px solid #e8f5e9;
    font-weight: 700;
    letter-spacing: -1px;
    font-style: italic;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    box-shadow: 0 16px 48px rgba(76, 175, 80, 0.3);
}

.year-section.books::before {
    background: linear-gradient(180deg, #8bc34a 0%, #aed581 100%);
}

.year-section.books h3 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.8rem 0;
    color: #4a6d5f;
    border-bottom: 2px solid rgba(26, 58, 46, 0.06);
    line-height: 1.8;
    position: relative;
    padding-left: 3rem;
}

.achievements li::before {
    content: '🌱';
    position: absolute;
    left: 0;
    top: 1.8rem;
    font-size: 1.3rem;
}

.year-section.books .achievements li {
    color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(200, 230, 201, 0.3) 0%, rgba(232, 245, 233, 0.4) 100%);
}

#contact {
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.5) 0%, rgba(200, 230, 201, 0.4) 100%);
}

.contact-card {
    background: #ffffff;
    padding: 8rem 7rem;
    text-align: center;
    box-shadow: 0 24px 72px rgba(26, 58, 46, 0.12);
    max-width: 1450px;
    margin: 0 auto;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 33%, #8bc34a 66%, #aed581 100%);
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    margin-bottom: 3.5rem;
    color: #1a3a2e;
    font-weight: 700;
    letter-spacing: -1px;
    font-style: italic;
}

.contact-card > p {
    font-size: 1.5rem;
    color: #4a6d5f;
    line-height: 1.8;
    margin-bottom: 6rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 5.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.3);
}

.contact-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.contact-link:hover::after {
    transform: translateX(100%);
}

.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.4);
}

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

#footer {
    background: #1a3a2e;
    padding: 5.5rem 0;
    text-align: center;
    color: rgba(244, 247, 245, 0.8);
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 50%, #8bc34a 100%);
}

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

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

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

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

    .hero-image {
        max-width: 600px;
        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: rgba(244, 247, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem;
        gap: 0;
        box-shadow: 0 20px 48px rgba(26, 58, 46, 0.15);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 3px solid #4caf50;
    }

    .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 solid rgba(26, 58, 46, 0.08);
        border-radius: 0;
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

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

    .contact-card {
        padding: 7rem 5.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: 100px 0;
    }

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

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

    .profile-card {
        padding: 2.5rem;
    }

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

    .timeline-content {
        padding: 3rem;
    }

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

    .contact-card {
        padding: 6rem 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;
    }
}