/* Theme: Coral - Day 3 (Letter C): Inspired by vibrant coral reefs, underwater gardens, ocean depths, marine life elegance, aquatic serenity, tropical waters, sea glass beauty, tidal rhythms, nautical grace, Caribbean tranquility */

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

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

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

body {
    font-family: 'Rubik', sans-serif;
    font-size: 17.5px;
    line-height: 1.78;
    color: #1c3f4a;
    background: linear-gradient(158deg, #fcf9f6 0%, #f4ede7 25%, #e8f4f2 55%, #f0f7f5 78%, #fdfbf9 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 18% 28%, rgba(255, 127, 110, 0.085) 0%, transparent 48%),
        radial-gradient(circle at 82% 72%, rgba(102, 204, 194, 0.078) 0%, transparent 52%),
        radial-gradient(circle at 48% 48%, rgba(255, 183, 147, 0.065) 0%, transparent 58%);
    pointer-events: none;
    z-index: 0;
    animation: coralDrift 45s ease-in-out infinite alternate;
}

@keyframes coralDrift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.09) translateY(-18px);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at center, rgba(255, 127, 110, 0.028) 0.8px, transparent 0.8px),
        radial-gradient(circle at center, rgba(102, 204, 194, 0.028) 0.8px, transparent 0.8px);
    background-size: 42px 42px;
    background-position: 0 0, 21px 21px;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(252, 249, 246, 0.89);
    backdrop-filter: blur(22px);
    border-bottom: 2.2px solid rgba(255, 127, 110, 0.18);
    box-shadow: 0 4.5px 28px rgba(28, 63, 74, 0.072);
    transition: all 0.45s ease;
}

#topnav.scrolled {
    background: rgba(252, 249, 246, 0.95);
    box-shadow: 0 7.5px 38px rgba(28, 63, 74, 0.115);
    border-bottom-color: rgba(255, 127, 110, 0.28);
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1c3f4a;
    margin: 0;
    letter-spacing: 0.65px;
    position: relative;
    padding-left: 3.25rem;
}

.logo h1::before {
    content: '🪸';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.15rem;
    animation: coralPulse 7.8s ease-in-out infinite;
}

@keyframes coralPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.15);
        opacity: 0.82;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.82rem 1.88rem;
    color: #1c3f4a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    transition: all 0.35s ease;
    position: relative;
    letter-spacing: 0.68px;
    border-radius: 32px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 3.76rem);
    height: 2.2px;
    background: linear-gradient(90deg, #ff7f6e 0%, #ffb793 100%);
    transition: transform 0.35s ease;
    border-radius: 1.1px;
}

.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: #ff7f6e;
    background: rgba(255, 127, 110, 0.075);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ff7f6e 0%, #ffb793 100%);
    border: none;
    color: #fcf9f6;
    font-size: 1.78rem;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.35s ease;
    border-radius: 50%;
    box-shadow: 0 7.5px 28px rgba(255, 127, 110, 0.35);
}

.mobile-toggle:hover {
    background: linear-gradient(135deg, #e86d5d 0%, #ff7f6e 100%);
    box-shadow: 0 11px 38px rgba(255, 127, 110, 0.48);
    transform: scale(1.08);
}

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

#hero::before {
    content: '🐠';
    position: absolute;
    top: 15%;
    right: 10%;
    font-size: 11.8rem;
    opacity: 0.058;
    animation: fishSwim 25s ease-in-out infinite;
}

#hero::after {
    content: '🐚';
    position: absolute;
    bottom: 18%;
    left: 7%;
    font-size: 13.8rem;
    opacity: 0.048;
    animation: shellDrift 30s ease-in-out infinite;
}

@keyframes fishSwim {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.058;
    }
    50% {
        transform: translate(-45px, 38px) rotate(-8deg);
        opacity: 0.088;
    }
}

@keyframes shellDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.048;
    }
    50% {
        transform: translate(32px, -25px) rotate(15deg);
        opacity: 0.072;
    }
}

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

.hero-text {
    animation: waveEntry 1.38s ease-out;
}

@keyframes waveEntry {
    0% {
        opacity: 0;
        transform: translateY(65px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.85rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 3.05rem;
    color: #1c3f4a;
    letter-spacing: -0.48px;
}

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

.hero-subtitle {
    font-size: 1.58rem;
    color: #3d6872;
    margin-bottom: 4.35rem;
    line-height: 1.68;
    font-weight: 400;
    letter-spacing: 0.28px;
}

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

.btn {
    display: inline-block;
    padding: 1.35rem 3.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.42s ease;
    font-size: 1.02rem;
    letter-spacing: 0.88px;
    font-family: 'Rubik', sans-serif;
    position: relative;
    overflow: hidden;
    border: 2.2px solid transparent;
    border-radius: 42px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.22);
    transition: left 0.68s ease;
    pointer-events: none;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7f6e 0%, #ffb793 100%);
    color: #fcf9f6;
    box-shadow: 0 14px 45px rgba(255, 127, 110, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4.5px);
    box-shadow: 0 20px 58px rgba(255, 127, 110, 0.48);
    background: linear-gradient(135deg, #e86d5d 0%, #ff7f6e 100%);
}

.btn-secondary {
    background: rgba(252, 249, 246, 0.98);
    color: #ff7f6e;
    border: 2.2px solid #ff7f6e;
    box-shadow: 0 11px 35px rgba(255, 127, 110, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff7f6e 0%, #ffb793 100%);
    color: #fcf9f6;
    border-color: transparent;
    transform: translateY(-4.5px);
    box-shadow: 0 17px 48px rgba(255, 127, 110, 0.42);
}

.hero-image {
    animation: waveEntry 1.38s ease-out 0.25s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    padding: 2.95rem;
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.12),
        0 24px 72px rgba(28, 63, 74, 0.16);
    transition: all 0.52s ease;
    position: relative;
    border-radius: 32px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2.2px;
    left: -2.2px;
    right: -2.2px;
    bottom: -2.2px;
    background: linear-gradient(135deg, #ff7f6e 0%, #66ccc2 50%, #ffb793 100%);
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.52s ease;
}

.profile-card::after {
    content: '🌊';
    position: absolute;
    bottom: 46px;
    right: 46px;
    font-size: 6.85rem;
    opacity: 0.045;
}

.profile-card:hover {
    transform: translateY(-16px) scale(1.022);
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.28),
        0 38px 105px rgba(28, 63, 74, 0.24);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 2.65rem;
    box-shadow: 0 18px 55px rgba(28, 63, 74, 0.18);
    border-radius: 22px;
}

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

.profile-details p {
    color: #3d6872;
    margin-bottom: 2.85rem;
    line-height: 1.68;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.35rem 3.45rem;
    background: linear-gradient(135deg, #66ccc2 0%, #4db8ae 100%);
    color: #fcf9f6;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.88px;
    transition: all 0.42s ease;
    border-radius: 42px;
    box-shadow: 0 14px 45px rgba(102, 204, 194, 0.38);
    font-family: 'Rubik', sans-serif;
}

.social-links a:hover {
    background: linear-gradient(135deg, #4db8ae 0%, #3aa49a 100%);
    transform: translateY(-4.5px);
    box-shadow: 0 20px 58px rgba(102, 204, 194, 0.52);
}

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

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 3.85rem;
}

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

.section-header::before {
    content: '◇';
    position: absolute;
    top: -68px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.45rem;
    opacity: 0.35;
    color: #ff7f6e;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.65rem;
    font-weight: 800;
    line-height: 1.14;
    color: #1c3f4a;
    letter-spacing: -0.65px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 3.2px;
    background: linear-gradient(90deg, transparent 0%, #ff7f6e 28%, #66ccc2 50%, #ffb793 72%, transparent 100%);
    border-radius: 1.6px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 315px;
    top: 0;
    bottom: 0;
    width: 3.2px;
    background: linear-gradient(180deg, #ff7f6e 0%, #66ccc2 50%, #ffb793 100%);
    opacity: 0.35;
    border-radius: 1.6px;
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 7.25rem;
    font-weight: 800;
    color: rgba(255, 127, 110, 0.112);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 6.85rem;
    letter-spacing: -2.25px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -128px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ff7f6e 0%, #66ccc2 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 8.5px rgba(252, 249, 246, 1),
        0 0 0 11.5px rgba(255, 127, 110, 0.2),
        0 0 25px rgba(255, 127, 110, 0.38);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 3.85rem;
    transition: all 0.48s ease;
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.092),
        0 20px 68px rgba(28, 63, 74, 0.13);
    position: relative;
    border-radius: 28px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.8px;
    background: linear-gradient(180deg, #ff7f6e 0%, #66ccc2 100%);
    border-radius: 28px 0 0 28px;
    opacity: 0;
    transition: opacity 0.48s ease;
}

.timeline-content:hover {
    transform: translateX(20px);
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.22),
        0 30px 88px rgba(28, 63, 74, 0.2);
    background: rgba(255, 255, 255, 0.92);
}

.timeline-content:hover::before {
    opacity: 1;
}

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

.timeline-content h4 {
    color: #ff7f6e;
    font-size: 1.42rem;
    margin-bottom: 2.25rem;
    font-weight: 600;
    letter-spacing: 0.42px;
}

.timeline-content p {
    color: #3d6872;
    line-height: 1.78;
    margin: 0;
}

.timeline-content a {
    color: #66ccc2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2.2px solid transparent;
    transition: all 0.35s ease;
}

.timeline-content a:hover {
    border-bottom-color: #66ccc2;
    color: #4db8ae;
}

#ai {
    background: rgba(232, 244, 242, 0.48);
    backdrop-filter: blur(16px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 5.25rem;
    transition: all 0.48s ease;
    position: relative;
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.092),
        0 24px 72px rgba(28, 63, 74, 0.14);
    border-radius: 32px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5.5px;
    background: linear-gradient(90deg, #ff7f6e 0%, #66ccc2 50%, #ffb793 100%);
    border-radius: 32px 32px 0 0;
}

.project-card::after {
    content: '🐟';
    position: absolute;
    top: 58px;
    right: 58px;
    font-size: 8.25rem;
    opacity: 0.038;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.22),
        0 36px 98px rgba(28, 63, 74, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.65rem;
    color: #1c3f4a;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.45px;
}

.project-client {
    color: #ff7f6e;
    font-weight: 600;
    font-size: 1.42rem;
    margin-bottom: 3.05rem;
    letter-spacing: 0.42px;
}

.project-card > p {
    color: #3d6872;
    line-height: 1.78;
    margin-bottom: 3.85rem;
}

.project-impact {
    background: rgba(255, 127, 110, 0.065);
    padding: 2.85rem;
    color: #1c3f4a;
    line-height: 1.78;
    border-radius: 22px;
    border-left: 5.5px solid #ff7f6e;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 4.35rem;
    transition: all 0.48s ease;
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.092),
        0 20px 68px rgba(28, 63, 74, 0.13);
    border-radius: 28px;
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.8px;
    background: linear-gradient(90deg, #ff7f6e 0%, #66ccc2 100%);
    border-radius: 28px 28px 0 0;
    opacity: 0.32;
    transition: opacity 0.48s ease;
}

.year-section:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.22),
        0 30px 88px rgba(28, 63, 74, 0.2);
    background: rgba(255, 255, 255, 0.92);
}

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

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 4.65rem;
    margin-bottom: 3.85rem;
    color: #1c3f4a;
    text-align: center;
    padding-bottom: 2.85rem;
    border-bottom: 2.2px solid rgba(255, 127, 110, 0.2);
    font-weight: 700;
    letter-spacing: -0.58px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ff7f6e 0%, #66ccc2 100%);
}

.year-section.books::before {
    background: rgba(252, 249, 246, 0.35);
}

.year-section.books h3 {
    color: #fcf9f6;
    border-bottom-color: rgba(252, 249, 246, 0.28);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.88rem 0;
    color: #3d6872;
    border-bottom: 2.2px solid rgba(28, 63, 74, 0.075);
    line-height: 1.78;
    position: relative;
    padding-left: 3.25rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1.88rem;
    font-size: 1.38rem;
    color: #ff7f6e;
}

.year-section.books .achievements li {
    color: rgba(252, 249, 246, 0.94);
    border-bottom-color: rgba(252, 249, 246, 0.2);
}

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

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

.achievements strong {
    color: #1c3f4a;
    font-weight: 600;
}

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

#personal {
    background: rgba(232, 244, 242, 0.48);
    backdrop-filter: blur(16px);
}

#contact {
    background: linear-gradient(135deg, rgba(255, 127, 110, 0.045) 0%, rgba(102, 204, 194, 0.042) 100%);
    backdrop-filter: blur(16px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    padding: 8.25rem 7.25rem;
    text-align: center;
    box-shadow: 
        0 0 0 2.2px rgba(255, 127, 110, 0.15),
        0 38px 115px rgba(28, 63, 74, 0.2);
    max-width: 1320px;
    margin: 0 auto;
    border-radius: 38px;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 6.15rem;
    margin-bottom: 3.85rem;
    color: #1c3f4a;
    font-weight: 800;
    letter-spacing: -0.85px;
}

.contact-card > p {
    font-size: 1.75rem;
    color: #3d6872;
    line-height: 1.78;
    margin-bottom: 6.45rem;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    padding: 2.25rem 5.25rem;
    background: linear-gradient(135deg, #ff7f6e 0%, #66ccc2 100%);
    color: #fcf9f6;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.88px;
    transition: all 0.42s ease;
    border-radius: 48px;
    box-shadow: 0 24px 72px rgba(255, 127, 110, 0.38);
    font-family: 'Rubik', sans-serif;
}

.contact-link:hover {
    background: linear-gradient(135deg, #e86d5d 0%, #4db8ae 100%);
    transform: translateY(-7px);
    box-shadow: 0 34px 98px rgba(255, 127, 110, 0.52);
}

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

#footer {
    background: #1c3f4a;
    padding: 6.45rem 0;
    text-align: center;
    color: rgba(252, 249, 246, 0.7);
    border-top: 2.2px solid rgba(255, 127, 110, 0.25);
}

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

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

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

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

    .hero-image {
        max-width: 625px;
        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 3.05rem;
        height: 72px;
    }

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(252, 249, 246, 0.98);
        backdrop-filter: blur(22px);
        flex-direction: column;
        padding: 4.35rem;
        gap: 0;
        box-shadow: 0 28px 72px rgba(28, 63, 74, 0.16);
        transform: translateY(-150%);
        transition: transform 0.52s ease;
        border-bottom: 2.2px solid rgba(255, 127, 110, 0.3);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.48rem;
        border-bottom: 2.2px solid rgba(28, 63, 74, 0.075);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4.35rem;
        margin-bottom: 6.85rem;
        padding-left: 9.25rem;
    }

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

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

    .contact-card {
        padding: 6.85rem 5.25rem;
    }
}

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

    .nav-container {
        padding: 0 2.65rem;
        height: 65px;
    }

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

    #hero {
        padding: 135px 0 102px;
    }

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

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

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

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

    section {
        padding: 102px 0;
    }

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

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

    .profile-card {
        padding: 2.65rem;
    }

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

    .timeline-content {
        padding: 3.25rem;
    }

    .project-card {
        padding: 4.35rem 3.25rem;
    }

    .contact-card {
        padding: 6.05rem 3.25rem;
    }

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

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

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