/* Theme: Watercolor - Soft pastel washes, artistic brushstrokes, gentle color bleeds, creative studio aesthetic */

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

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

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

body {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(160deg, #fef5e7 0%, #fdecea 20%, #f5ecf8 40%, #e8f4f8 60%, #f0f8f0 80%, #fff9e6 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(173, 216, 230, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(221, 160, 221, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: watercolorFlow 25s ease-in-out infinite;
}

@keyframes watercolorFlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 120px, rgba(255, 182, 193, 0.02) 120px, rgba(255, 182, 193, 0.02) 240px),
        repeating-linear-gradient(-45deg, transparent, transparent 140px, rgba(173, 216, 230, 0.02) 140px, rgba(173, 216, 230, 0.02) 280px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(130%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ffb6c1 0%, #add8e6 33%, #dda0dd 66%, #ffb6c1 100%);
    border-image-slice: 1;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.1);
}

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

.logo h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    letter-spacing: -0.3px;
    position: relative;
    font-style: italic;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #ffb6c1 0%, #add8e6 100%);
    opacity: 0.6;
}

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

.nav-menu li a {
    display: block;
    padding: 0.85rem 1.6rem;
    color: #5d6d7e;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.94rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
    border-radius: 25px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffb6c1 0%, #dda0dd 100%);
    transition: width 0.35s ease;
    opacity: 0.7;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.08) 0%, rgba(173, 216, 230, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 25px;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 70%;
}

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

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    border: none;
    color: white;
    font-size: 1.55rem;
    width: 52px;
    height: 52px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 5px 18px rgba(255, 182, 193, 0.35);
    border-radius: 26px;
}

.mobile-toggle:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(255, 182, 193, 0.45);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -22%;
    right: -14%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.25) 0%, transparent 70%);
    border-radius: 45% 55% 52% 48%;
    animation: brushStroke 28s ease-in-out infinite;
    filter: blur(65px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -12%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(173, 216, 230, 0.22) 0%, transparent 70%);
    border-radius: 55% 45% 48% 52%;
    animation: brushStroke 34s ease-in-out infinite reverse;
    filter: blur(65px);
}

@keyframes brushStroke {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.65;
    }
    40% {
        transform: translate(45px, -55px) rotate(8deg) scale(1.08);
        opacity: 0.9;
    }
    70% {
        transform: translate(-25px, 35px) rotate(-6deg) scale(0.96);
        opacity: 0.75;
    }
}

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

.hero-text {
    animation: fadeInPaint 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-text h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 2.2rem;
    color: #2c3e50;
    letter-spacing: -1.2px;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: #5d6d7e;
    margin-bottom: 3.2rem;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.2px;
}

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

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

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

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

.btn-primary {
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(255, 182, 193, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 38px rgba(255, 182, 193, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: #d97199;
    border: 2px solid #ffb6c1;
    box-shadow: 0 7px 22px rgba(44, 62, 80, 0.08);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 182, 193, 0.35);
}

.hero-image {
    animation: fadeInPaint 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 2.6rem;
    box-shadow: 
        0 22px 65px rgba(44, 62, 80, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 182, 193, 0.25);
    border-radius: 22px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffb6c1 0%, #add8e6 33%, #dda0dd 66%, #ffb6c1 100%);
    border-radius: 22px 22px 0 0;
}

.profile-card:hover {
    transform: translateY(-13px) scale(1.015);
    box-shadow: 
        0 30px 85px rgba(44, 62, 80, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.2rem;
    box-shadow: 0 14px 42px rgba(44, 62, 80, 0.15);
    border: 2px solid rgba(255, 182, 193, 0.3);
    border-radius: 16px;
}

.profile-details h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.profile-details p {
    color: #5d6d7e;
    margin-bottom: 2.2rem;
    line-height: 1.7;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    padding: 1.05rem 2.7rem;
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 9px 28px rgba(255, 182, 193, 0.35);
    border-radius: 35px;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 38px rgba(255, 182, 193, 0.45);
}

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

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

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

.section-header::before {
    content: '✧';
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    color: #dda0dd;
    opacity: 0.45;
}

.section-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
    letter-spacing: -0.8px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ffb6c1 30%, #dda0dd 70%, transparent 100%);
    opacity: 0.6;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ffb6c1 0%, #add8e6 33%, #dda0dd 66%, #ffb6c1 100%);
    opacity: 0.5;
}

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

.timeline-year {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #d97199;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2.5rem;
    letter-spacing: -0.5px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    background: #ffb6c1;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 
        0 0 0 7px rgba(255, 182, 193, 0.2),
        0 3px 12px rgba(255, 182, 193, 0.4);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    padding: 2.8rem;
    border-left: 4px solid #ffb6c1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(44, 62, 80, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 182, 193, 0.2);
    border-left: 4px solid #ffb6c1;
}

.timeline-content:hover {
    transform: translateX(14px);
    box-shadow: 0 16px 55px rgba(44, 62, 80, 0.14);
    border-left-width: 6px;
}

.timeline-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.timeline-content h4 {
    color: #d97199;
    font-size: 1.15rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(253, 236, 234, 0.5) 0%, rgba(245, 236, 248, 0.5) 100%);
    backdrop-filter: blur(32px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    padding: 3.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 14px 48px rgba(44, 62, 80, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.22);
    border-radius: 18px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffb6c1 0%, #add8e6 33%, #dda0dd 66%, #ffb6c1 100%);
    border-radius: 18px 18px 0 0;
    opacity: 0.7;
}

.project-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 24px 68px rgba(44, 62, 80, 0.16);
}

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

.project-header h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.4rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.project-client {
    color: #d97199;
    font-weight: 600;
    font-size: 1.12rem;
    margin-bottom: 2.1rem;
    letter-spacing: 0.3px;
}

.project-card > p {
    color: #5d6d7e;
    line-height: 1.8;
    margin-bottom: 2.4rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(173, 216, 230, 0.08) 100%);
    padding: 1.9rem;
    border-left: 4px solid #ffb6c1;
    color: #2c3e50;
    line-height: 1.8;
    border-radius: 12px;
}

.project-impact strong {
    color: #d97199;
    font-weight: 600;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 42px rgba(44, 62, 80, 0.09);
    border: 1px solid rgba(255, 182, 193, 0.22);
    border-radius: 18px;
}

.year-section:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 62px rgba(44, 62, 80, 0.15);
}

.year-section h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.6rem;
    margin-bottom: 2.3rem;
    color: #d97199;
    text-align: center;
    padding-bottom: 1.6rem;
    border-bottom: 2px solid rgba(255, 182, 193, 0.28);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    border: none;
    box-shadow: 0 18px 58px rgba(255, 182, 193, 0.35);
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.2rem 0;
    color: #5d6d7e;
    border-bottom: 1px solid rgba(255, 182, 193, 0.15);
    line-height: 1.8;
    position: relative;
    padding-left: 2.5rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #ffb6c1;
    font-size: 1.15rem;
    opacity: 0.7;
}

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

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

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

.achievements strong {
    color: #2c3e50;
    font-weight: 600;
}

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

#personal {
    background: linear-gradient(180deg, rgba(245, 236, 248, 0.45) 0%, rgba(255, 249, 230, 0.6) 100%);
    backdrop-filter: blur(32px);
}

#contact {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(32px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(22px);
    padding: 5.8rem 4.8rem;
    text-align: center;
    box-shadow: 0 28px 78px rgba(44, 62, 80, 0.12);
    max-width: 1020px;
    margin: 0 auto;
    border: 1px solid rgba(255, 182, 193, 0.25);
    position: relative;
    border-radius: 26px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #ffb6c1 15%, #add8e6 35%, #dda0dd 65%, #ffb6c1 85%, transparent 100%);
    border-radius: 26px 26px 0 0;
    opacity: 0.7;
}

.contact-card h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.2rem;
    margin-bottom: 2.3rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.contact-card > p {
    font-size: 1.3rem;
    color: #5d6d7e;
    line-height: 1.8;
    margin-bottom: 3.8rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 38px rgba(255, 182, 193, 0.35);
    position: relative;
    overflow: hidden;
    border-radius: 35px;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.65s ease, height 0.65s ease;
}

.contact-link:hover::before {
    width: 320px;
    height: 320px;
}

.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 52px rgba(255, 182, 193, 0.45);
}

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

#footer {
    background: linear-gradient(135deg, #2c3e50 0%, #5d6d7e 100%);
    backdrop-filter: blur(18px);
    padding: 3.8rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    border-top: 3px solid rgba(255, 182, 193, 0.3);
}

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

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

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

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

    .hero-image {
        max-width: 560px;
        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: 85px;
    }

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

    .nav-menu {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(22px);
        flex-direction: column;
        padding: 3.3rem;
        gap: 0;
        box-shadow: 0 22px 58px rgba(44, 62, 80, 0.12);
        transform: translateY(-150%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 3px solid rgba(255, 182, 193, 0.3);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.3rem;
        border-bottom: 1px solid rgba(255, 182, 193, 0.12);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        margin-bottom: 4.6rem;
        padding-left: 5.2rem;
    }

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

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

    .contact-card {
        padding: 4.8rem 3.6rem;
    }
}

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

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

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

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

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

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

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

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

    section {
        padding: 88px 0;
    }

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

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

    .profile-card {
        padding: 2.3rem;
    }

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

    .timeline-content {
        padding: 2.5rem;
    }

    .project-card {
        padding: 2.8rem 2.3rem;
    }

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

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

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

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