/* Theme: Carnival - Day 29, random theme: Inspired by vibrant fairgrounds, ferris wheels, cotton candy clouds, vintage circus tents, striped awnings, golden tickets, festive bunting, carousel horses, popcorn stands, neon lights */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Quicksand: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: 'Quicksand', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #2c1810;
    background: #fff8f0;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255, 107, 107, 0.03) 80px, rgba(255, 107, 107, 0.03) 160px),
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255, 195, 0, 0.03) 80px, rgba(255, 195, 0, 0.03) 160px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: carnivalFloat 28s ease-in-out infinite;
}

@keyframes carnivalFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-80px, 60px) rotate(180deg);
        opacity: 0.9;
    }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.97) 0%, rgba(255, 252, 245, 0.97) 100%);
    backdrop-filter: blur(16px);
    border-bottom: 4px solid #ff6b6b;
    box-shadow: 0 6px 28px rgba(44, 24, 16, 0.12);
    transition: all 0.3s ease;
}

#topnav.scrolled {
    background: rgba(255, 248, 240, 0.98);
    box-shadow: 0 8px 36px rgba(44, 24, 16, 0.16);
}

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

.logo h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ff6b6b;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 2px 2px 0px rgba(255, 195, 0, 0.3);
}

.logo h1::after {
    content: '★';
    position: absolute;
    bottom: -6px;
    right: -22px;
    color: #ffc300;
    font-size: 1.1rem;
    animation: starSpin 4s linear infinite;
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.nav-menu li a {
    display: block;
    padding: 0.85rem 1.6rem;
    color: #2c1810;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
    border-radius: 24px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 100%);
    border-radius: 24px;
    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: #ffffff;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 100%);
    border: none;
    color: #ffffff;
    font-size: 1.65rem;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 28px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
}

.mobile-toggle:hover {
    transform: rotate(90deg) scale(1.06);
    box-shadow: 0 8px 26px rgba(255, 107, 107, 0.45);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -12%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15) 0%, transparent 68%);
    border-radius: 50%;
    animation: carnivalPulse 20s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -18%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.12) 0%, transparent 68%);
    border-radius: 50%;
    animation: carnivalPulse 24s ease-in-out infinite reverse;
}

@keyframes carnivalPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(40px, -50px) scale(1.12);
        opacity: 0.9;
    }
}

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

.hero-text {
    animation: carnivalSlideIn 1.1s ease-out;
}

@keyframes carnivalSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-60px) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.hero-text h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2.2rem;
    color: #2c1810;
    letter-spacing: -0.8px;
    text-shadow: 3px 3px 0px rgba(255, 195, 0, 0.2);
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: #5c4033;
    margin-bottom: 3.3rem;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0.2px;
}

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

.btn {
    display: inline-block;
    padding: 1.25rem 3.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    border-radius: 32px;
    font-family: 'Fredoka', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #ffffff;
    border: 3px solid #ff6b6b;
    box-shadow: 0 8px 26px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: scale(1);
}

.btn-primary:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 12px 34px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
    background: #ffffff;
    color: #ffc300;
    border: 3px solid #ffc300;
    box-shadow: 0 6px 20px rgba(255, 195, 0, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffc300 0%, #ffdb58 100%);
    color: #ffffff;
    transform: translateY(-3px) rotate(1deg);
    box-shadow: 0 10px 28px rgba(255, 195, 0, 0.35);
}

.hero-image {
    animation: carnivalSlideIn 1.1s ease-out 0.3s both;
}

.profile-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf5 100%);
    backdrop-filter: blur(18px);
    padding: 2.5rem;
    box-shadow: 
        0 0 0 4px rgba(255, 107, 107, 0.2),
        0 16px 52px rgba(44, 24, 16, 0.16);
    transition: all 0.4s ease;
    position: relative;
    border-radius: 28px;
    border: 4px solid #ffffff;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 50%, #40e0d0 100%);
    border-radius: 28px;
    z-index: -1;
    animation: borderRotate 8s linear infinite;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.profile-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 
        0 0 0 4px rgba(255, 107, 107, 0.3),
        0 24px 68px rgba(44, 24, 16, 0.22);
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.8rem;
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(44, 24, 16, 0.18);
    border: 3px solid #ffffff;
}

.profile-details h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
    color: #2c1810;
    font-weight: 700;
}

.profile-details p {
    color: #5c4033;
    margin-bottom: 2rem;
    line-height: 1.65;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.1rem 2.6rem;
    background: linear-gradient(135deg, #40e0d0 0%, #48cae4 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    border-radius: 28px;
    box-shadow: 0 6px 22px rgba(64, 224, 208, 0.35);
    font-family: 'Fredoka', sans-serif;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.45);
}

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

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

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

.section-header::before {
    content: '★ ★ ★';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffc300;
    font-size: 1.8rem;
    letter-spacing: 12px;
}

.section-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c1810;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 3px 3px 0px rgba(255, 195, 0, 0.2);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 50%, #40e0d0 100%);
    border-radius: 3px;
}

#experience {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.04) 0%, rgba(255, 195, 0, 0.04) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 240px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: repeating-linear-gradient(0deg, #ff6b6b 0px, #ff6b6b 20px, #ffc300 20px, #ffc300 40px, #40e0d0 40px, #40e0d0 60px);
    border-radius: 3px;
}

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

.timeline-year {
    font-family: 'Fredoka', sans-serif;
    font-size: 5.2rem;
    font-weight: 700;
    color: rgba(255, 107, 107, 0.3);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5rem;
    letter-spacing: -2px;
    text-shadow: 2px 2px 0px rgba(255, 195, 0, 0.15);
}

.timeline-year::after {
    content: '★';
    position: absolute;
    right: -95px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ffc300;
    background: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 
        0 0 0 6px rgba(255, 248, 240, 1),
        0 0 0 12px rgba(255, 195, 0, 0.2);
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

.timeline-content {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf5 100%);
    backdrop-filter: blur(15px);
    padding: 2.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(44, 24, 16, 0.1);
    position: relative;
    border-radius: 22px;
    border-left: 5px solid rgba(255, 107, 107, 0.3);
}

.timeline-content:hover {
    transform: translateX(12px) rotate(0.5deg);
    box-shadow: 0 14px 42px rgba(44, 24, 16, 0.16);
    border-left-color: #ff6b6b;
}

.timeline-content h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    color: #2c1810;
    font-weight: 700;
}

.timeline-content h4 {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    font-weight: 700;
}

.timeline-content p {
    color: #5c4033;
    line-height: 1.75;
    margin: 0;
    font-weight: 500;
}

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

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

#ai {
    background: linear-gradient(180deg, rgba(64, 224, 208, 0.04) 0%, rgba(255, 107, 107, 0.04) 100%);
}

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

.project-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf5 100%);
    backdrop-filter: blur(15px);
    padding: 3.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 12px 38px rgba(44, 24, 16, 0.12);
    border-radius: 28px;
    border: 4px solid transparent;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 50%, #40e0d0 100%);
    border-radius: 28px 28px 0 0;
}

.project-card::after {
    content: '★';
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 3.5rem;
    color: rgba(255, 195, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 18px 54px rgba(44, 24, 16, 0.18);
    border-color: rgba(255, 195, 0, 0.3);
}

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

.project-header h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.6rem;
    color: #2c1810;
    margin: 0;
    font-weight: 700;
}

.project-client {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
}

.project-card > p {
    color: #5c4033;
    line-height: 1.75;
    margin-bottom: 2.6rem;
    font-weight: 500;
}

.project-impact {
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.08) 0%, rgba(255, 107, 107, 0.08) 100%);
    padding: 2rem;
    color: #2c1810;
    line-height: 1.75;
    border-radius: 18px;
    border-left: 5px solid #ffc300;
    font-weight: 500;
}

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

#speaking {
    background: linear-gradient(180deg, rgba(255, 195, 0, 0.04) 0%, rgba(64, 224, 208, 0.04) 100%);
}

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

.year-section {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf5 100%);
    backdrop-filter: blur(15px);
    padding: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 34px rgba(44, 24, 16, 0.1);
    border-radius: 24px;
    position: relative;
    border-top: 5px solid rgba(255, 107, 107, 0.3);
}

.year-section:hover {
    transform: translateY(-6px) rotate(0.5deg);
    box-shadow: 0 16px 48px rgba(44, 24, 16, 0.16);
    border-top-color: #ff6b6b;
}

.year-section h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.4rem;
    margin-bottom: 2.6rem;
    color: #2c1810;
    text-align: center;
    padding-bottom: 1.8rem;
    border-bottom: 3px dashed rgba(255, 195, 0, 0.3);
    font-weight: 700;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-top-color: #ffc300;
}

.year-section.books h3 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.35rem 0;
    color: #5c4033;
    border-bottom: 2px dashed rgba(44, 24, 16, 0.08);
    line-height: 1.75;
    position: relative;
    padding-left: 2.2rem;
    font-weight: 500;
}

.achievements li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 1.35rem;
    color: #ffc300;
    font-size: 1.2rem;
}

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

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.04) 0%, rgba(255, 195, 0, 0.04) 100%);
}

#contact {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.06) 0%, rgba(255, 195, 0, 0.06) 100%);
}

.contact-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf5 100%);
    backdrop-filter: blur(18px);
    padding: 6rem 5.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.14);
    max-width: 1250px;
    margin: 0 auto;
    border-radius: 36px;
    border: 5px solid #ffffff;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 50%, #40e0d0 100%);
    border-radius: 36px;
    z-index: -1;
}

.contact-card h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 2.6rem;
    color: #2c1810;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: 3px 3px 0px rgba(255, 195, 0, 0.2);
}

.contact-card > p {
    font-size: 1.35rem;
    color: #5c4033;
    line-height: 1.75;
    margin-bottom: 4.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.5rem 3.8rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    border-radius: 32px;
    box-shadow: 0 10px 32px rgba(255, 107, 107, 0.4);
    font-family: 'Fredoka', sans-serif;
}

.contact-link:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 42px rgba(255, 107, 107, 0.5);
}

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

#footer {
    background: linear-gradient(135deg, #2c1810 0%, #3d2517 100%);
    padding: 4.5rem 0;
    text-align: center;
    color: rgba(255, 248, 240, 0.75);
    border-top: 5px solid #ff6b6b;
}

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

#footer a:hover {
    color: #40e0d0;
}

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

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

    .hero-image {
        max-width: 550px;
        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.5rem;
        height: 80px;
    }

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 3rem;
        gap: 0;
        box-shadow: 0 18px 48px rgba(44, 24, 16, 0.16);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 4px solid #ff6b6b;
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-bottom: 2px dashed rgba(44, 24, 16, 0.06);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.8rem;
        margin-bottom: 5rem;
        padding-left: 6.5rem;
    }

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

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

    .contact-card {
        padding: 5rem 4rem;
    }
}

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

    .nav-container {
        padding: 0 2rem;
        height: 75px;
    }

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

    #hero {
        padding: 120px 0 90px;
    }

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

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

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

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

    section {
        padding: 85px 0;
    }

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

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

    .profile-card {
        padding: 2rem;
    }

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

    .timeline-content {
        padding: 2.4rem;
    }

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

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

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

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

    .contact-link {
        justify-content: center;
        padding: 1.3rem 2.4rem;
        font-size: 1rem;
    }
}