/* Theme: Yellow - Sunshine yellow, golden hour warmth, honeycomb patterns, lemon zest, buttercup meadows, optimistic brightness */

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

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

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

body {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.85;
    color: #2d2416;
    background: linear-gradient(165deg, #fffbf0 0%, #fff9e8 25%, #fef5dc 50%, #fdf0d0 75%, #fcecc4 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(circle at 25% 35%, rgba(255, 215, 0, 0.15) 0%, transparent 48%),
        radial-gradient(circle at 75% 70%, rgba(255, 193, 7, 0.12) 0%, transparent 52%),
        radial-gradient(circle at 50% 50%, rgba(252, 196, 25, 0.1) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: sunshineFlow 22s ease-in-out infinite;
}

@keyframes sunshineFlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.75; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(60deg, transparent, transparent 95px, rgba(255, 215, 0, 0.025) 95px, rgba(255, 215, 0, 0.025) 190px),
        repeating-linear-gradient(-60deg, transparent, transparent 110px, rgba(252, 196, 25, 0.02) 110px, rgba(252, 196, 25, 0.02) 220px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 3px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 5px 25px rgba(252, 196, 25, 0.15);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 35px rgba(252, 196, 25, 0.25);
    border-bottom-color: rgba(255, 193, 7, 0.5);
}

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

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    color: #f5a623;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 75%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700 0%, #f5a623 100%);
    border-radius: 3px;
    opacity: 0.7;
}

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

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

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(245, 166, 35, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 28px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700 0%, #f5a623 100%);
    transition: width 0.35s ease;
    border-radius: 2px;
}

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

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 65%;
}

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    border: none;
    color: #2d2416;
    font-size: 1.65rem;
    width: 54px;
    height: 54px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 6px 22px rgba(245, 166, 35, 0.35);
    border-radius: 27px;
}

.mobile-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 9px 30px rgba(245, 166, 35, 0.45);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -18%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.28) 0%, transparent 68%);
    border-radius: 48% 52% 51% 49%;
    animation: goldenGlow 32s ease-in-out infinite;
    filter: blur(60px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -28%;
    left: -15%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, transparent 68%);
    border-radius: 52% 48% 49% 51%;
    animation: goldenGlow 38s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes goldenGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    35% {
        transform: translate(50px, -60px) rotate(9deg) scale(1.1);
        opacity: 0.85;
    }
    65% {
        transform: translate(-35px, 40px) rotate(-7deg) scale(0.94);
        opacity: 0.7;
    }
}

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

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

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

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.3rem;
    color: #2d2416;
    letter-spacing: -0.8px;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: #5a4a30;
    margin-bottom: 3.5rem;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.3px;
}

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

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

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

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

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #2d2416;
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #f5a623;
    border: 2px solid #ffd700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #2d2416;
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(245, 166, 35, 0.4);
}

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

.profile-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    padding: 2.7rem;
    box-shadow: 
        0 25px 70px rgba(245, 166, 35, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 24px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffd700 0%, #f5a623 33%, #ffc107 66%, #ffd700 100%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.5);
}

.profile-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 
        0 35px 90px rgba(245, 166, 35, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.3rem;
    box-shadow: 0 16px 48px rgba(45, 36, 22, 0.15);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 18px;
}

.profile-details h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: #2d2416;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.profile-details p {
    color: #5a4a30;
    margin-bottom: 2.3rem;
    line-height: 1.75;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.15rem 2.9rem;
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #2d2416;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 32px rgba(245, 166, 35, 0.35);
    border-radius: 32px;
}

.social-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 42px rgba(245, 166, 35, 0.5);
}

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

.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 3.3rem;
}

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

.section-header::before {
    content: '☀';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: #ffd700;
    opacity: 0.5;
    animation: sunRotate 20s linear infinite;
}

@keyframes sunRotate {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #2d2416;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #ffd700 30%, #f5a623 70%, transparent 100%);
    border-radius: 2px;
    opacity: 0.7;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 125px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ffd700 0%, #f5a623 33%, #ffc107 66%, #ffd700 100%);
    border-radius: 2px;
    opacity: 0.6;
}

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

.timeline-year {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #f5a623;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2.7rem;
    letter-spacing: -0.5px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -62px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #ffd700;
    border: 5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 8px rgba(255, 215, 0, 0.2),
        0 4px 14px rgba(255, 215, 0, 0.45);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    padding: 2.9rem;
    border-left: 5px solid #ffd700;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 38px rgba(245, 166, 35, 0.15);
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-left: 5px solid #ffd700;
}

.timeline-content:hover {
    transform: translateX(15px);
    box-shadow: 0 18px 55px rgba(245, 166, 35, 0.25);
    border-left-width: 7px;
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.1rem;
    margin-bottom: 0.65rem;
    color: #2d2416;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.timeline-content h4 {
    color: #f5a623;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

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

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

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

#ai {
    background: linear-gradient(180deg, rgba(255, 249, 232, 0.5) 0%, rgba(254, 245, 220, 0.5) 100%);
    backdrop-filter: blur(35px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 16px 52px rgba(245, 166, 35, 0.18);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ffd700 0%, #f5a623 33%, #ffc107 66%, #ffd700 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 72px rgba(245, 166, 35, 0.28);
}

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

.project-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2d2416;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.project-client {
    color: #f5a623;
    font-weight: 700;
    font-size: 1.18rem;
    margin-bottom: 2.2rem;
    letter-spacing: 0.3px;
}

.project-card > p {
    color: #5a4a30;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(245, 166, 35, 0.1) 100%);
    padding: 2rem;
    border-left: 5px solid #ffd700;
    color: #2d2416;
    line-height: 1.85;
    border-radius: 14px;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.2rem;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 46px rgba(245, 166, 35, 0.16);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
}

.year-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 66px rgba(245, 166, 35, 0.26);
}

.year-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: #f5a623;
    text-align: center;
    padding-bottom: 1.8rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    border: none;
    box-shadow: 0 20px 62px rgba(245, 166, 35, 0.4);
}

.year-section.books h3 {
    color: #2d2416;
    border-bottom-color: rgba(45, 36, 22, 0.3);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.25rem 0;
    color: #5a4a30;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    line-height: 1.85;
    position: relative;
    padding-left: 2.6rem;
}

.achievements li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 1.2rem;
}

.year-section.books .achievements li {
    color: rgba(45, 36, 22, 0.95);
    border-bottom-color: rgba(45, 36, 22, 0.25);
}

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(254, 245, 220, 0.5) 0%, rgba(255, 251, 240, 0.65) 100%);
    backdrop-filter: blur(35px);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(25px);
    padding: 6.2rem 5.2rem;
    text-align: center;
    box-shadow: 0 32px 82px rgba(245, 166, 35, 0.22);
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    border-radius: 28px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, #ffd700 18%, #f5a623 50%, #ffd700 82%, transparent 100%);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.5);
}

.contact-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    color: #2d2416;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-card > p {
    font-size: 1.35rem;
    color: #5a4a30;
    line-height: 1.85;
    margin-bottom: 4.2rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 3.7rem;
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #2d2416;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 42px rgba(245, 166, 35, 0.35);
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}

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

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

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(245, 166, 35, 0.5);
}

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

#footer {
    background: linear-gradient(135deg, #2d2416 0%, #5a4a30 100%);
    backdrop-filter: blur(20px);
    padding: 4rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    border-top: 3px solid rgba(255, 215, 0, 0.3);
}

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

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

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 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 2.5rem;
        height: 88px;
    }

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

    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 3.5rem;
        gap: 0;
        box-shadow: 0 24px 62px rgba(245, 166, 35, 0.25);
        transform: translateY(-150%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 3px solid rgba(255, 215, 0, 0.3);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.4rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 4.8rem;
        padding-left: 5.5rem;
    }

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

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

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

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

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

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

    #hero {
        padding: 125px 0 92px;
    }

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

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

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

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

    section {
        padding: 92px 0;
    }

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

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

    .profile-card {
        padding: 2.4rem;
    }

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

    .timeline-content {
        padding: 2.6rem;
    }

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

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

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

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

    .contact-link {
        justify-content: center;
        padding: 1.4rem 2.8rem;
        font-size: 0.98rem;
    }
}