/* Theme: Antarctica - Day 27, letter A: Inspired by polar ice sheets, glacier formations, arctic exploration, crystalline structures, aurora borealis, frozen landscapes, pristine snow, icy blues, scientific research */

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

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

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

body {
    font-family: 'Lexend', sans-serif;
    font-size: 16.4px;
    line-height: 1.74;
    color: #0a2540;
    background: linear-gradient(172deg, #f0f9ff 0%, #e0f2fe 18%, #dbeafe 36%, #e0f2fe 54%, #f0f9ff 72%, #fefce8 90%, #fef3c7 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 14% 28%, rgba(59, 130, 246, 0.052) 0%, transparent 48%),
        radial-gradient(circle at 86% 72%, rgba(6, 182, 212, 0.046) 0%, transparent 52%),
        radial-gradient(circle at 52% 14%, rgba(191, 219, 254, 0.058) 0%, transparent 46%);
    pointer-events: none;
    z-index: 0;
    animation: glacialShift 42s ease-in-out infinite;
}

@keyframes glacialShift {
    0%, 100% {
        opacity: 0.72;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.88;
        transform: translateY(-24px) scale(1.04);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(62deg, transparent 0px, rgba(59, 130, 246, 0.012) 1px, transparent 2px, transparent 164px),
        repeating-linear-gradient(-28deg, transparent 0px, rgba(6, 182, 212, 0.009) 1px, transparent 1.8px, transparent 148px);
    background-size: 156px 152px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.38;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1.8px solid rgba(59, 130, 246, 0.16);
    box-shadow: 0 2px 18px rgba(10, 37, 64, 0.04);
    transition: all 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#topnav.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 28px rgba(10, 37, 64, 0.08);
    border-bottom-width: 2.2px;
}

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

.logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.64rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
    letter-spacing: -0.32px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 42px;
    height: 2.8px;
    background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 100%);
}

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

.nav-menu li a {
    display: block;
    padding: 0.82rem 1.54rem;
    color: #164e63;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.34s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    letter-spacing: 0.28px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 100%);
    transition: width 0.34s ease;
}

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

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border: none;
    color: #ffffff;
    font-size: 1.48rem;
    width: 52px;
    height: 52px;
    cursor: pointer;
    transition: all 0.34s ease;
    box-shadow: 0 6px 22px rgba(14, 165, 233, 0.28);
}

.mobile-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(14, 165, 233, 0.36);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -18%;
    right: -12%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.11) 0%, transparent 68%);
    border-radius: 42% 58% 46% 54%;
    animation: iceDrift 48s ease-in-out infinite;
    filter: blur(82px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -22%;
    left: -8%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.09) 0%, transparent 68%);
    border-radius: 54% 46% 58% 42%;
    animation: iceDrift 56s ease-in-out infinite reverse;
    filter: blur(82px);
}

@keyframes iceDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.64;
        border-radius: 42% 58% 46% 54%;
    }
    28% {
        transform: translate(52px, -64px) scale(1.14) rotate(12deg);
        opacity: 0.82;
        border-radius: 58% 42% 54% 46%;
    }
    64% {
        transform: translate(-48px, 58px) scale(0.92) rotate(-18deg);
        opacity: 0.72;
        border-radius: 46% 54% 42% 58%;
    }
}

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

.hero-text {
    animation: crystallize 1.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes crystallize {
    0% {
        opacity: 0;
        transform: translateY(42px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.28rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 2.64rem;
    color: #0a2540;
    letter-spacing: -1.08px;
}

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

.hero-subtitle {
    font-size: 1.38rem;
    color: #334155;
    margin-bottom: 3.84rem;
    line-height: 1.68;
    font-weight: 400;
    letter-spacing: 0.18px;
}

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

.btn {
    display: inline-block;
    padding: 1.32rem 3.24rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.96rem;
    letter-spacing: 0.48px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
    transition: left 0.62s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #ffffff;
    box-shadow: 0 12px 38px rgba(14, 165, 233, 0.32);
    border: 2.4px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(14, 165, 233, 0.42);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.96);
    color: #0369a1;
    border: 2.4px solid #0ea5e9;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: #0c4a6e;
    border-color: #06b6d4;
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(6, 182, 212, 0.28);
}

.hero-image {
    animation: crystallize 1.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.24s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px);
    padding: 3.48rem;
    box-shadow: 
        0 24px 72px rgba(10, 37, 64, 0.16),
        inset 0 1.4px 0 rgba(255, 255, 255, 0.92);
    transition: all 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2.4px solid rgba(14, 165, 233, 0.18);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.8px;
    background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);
}

.profile-card:hover {
    transform: translateY(-14px) scale(1.01);
    box-shadow: 
        0 36px 96px rgba(10, 37, 64, 0.24),
        inset 0 1.4px 0 rgba(255, 255, 255, 1);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.84rem;
    box-shadow: 0 18px 52px rgba(10, 37, 64, 0.18);
    border: 2.4px solid rgba(6, 182, 212, 0.22);
}

.profile-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.48rem;
    margin-bottom: 0.88rem;
    color: #0a2540;
    font-weight: 700;
    letter-spacing: -0.38px;
}

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

.social-links a {
    display: inline-block;
    padding: 1.28rem 3.12rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.48px;
    transition: all 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 12px 38px rgba(14, 165, 233, 0.32);
}

.social-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(14, 165, 233, 0.42);
}

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

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

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

.section-header::before {
    content: '❄';
    position: absolute;
    top: -72px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    font-size: 3.24rem;
    color: #0ea5e9;
    opacity: 0.58;
    animation: snowflakeRotate 18s linear infinite;
}

@keyframes snowflakeRotate {
    0%, 100% { 
        transform: translateX(-50%) scale(1) rotate(0deg); 
        opacity: 0.58; 
    }
    50% { 
        transform: translateX(-50%) scale(1.24) rotate(180deg); 
        opacity: 0.82; 
    }
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.12rem;
    font-weight: 800;
    line-height: 1.14;
    color: #0a2540;
    letter-spacing: -0.92px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 3.6px;
    background: linear-gradient(90deg, transparent 0%, #0ea5e9 24%, #06b6d4 50%, #22d3ee 76%, transparent 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 192px;
    top: 0;
    bottom: 0;
    width: 3.6px;
    background: linear-gradient(180deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);
    opacity: 0.64;
}

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

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 4.08rem;
    font-weight: 800;
    color: #0369a1;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 3.88rem;
    letter-spacing: -0.58px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -78px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border: 5.8px solid rgba(240, 249, 255, 0.98);
    box-shadow: 
        0 0 0 12px rgba(14, 165, 233, 0.18),
        0 8px 32px rgba(14, 165, 233, 0.42);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(28px);
    padding: 4.24rem;
    transition: all 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 18px 58px rgba(10, 37, 64, 0.14);
    border: 2.4px solid rgba(14, 165, 233, 0.18);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4.8px;
    background: linear-gradient(180deg, #0ea5e9 0%, #06b6d4 100%);
}

.timeline-content:hover {
    transform: translateX(18px);
    box-shadow: 0 26px 72px rgba(10, 37, 64, 0.22);
}

.timeline-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.48rem;
    margin-bottom: 0.88rem;
    color: #0a2540;
    font-weight: 700;
    letter-spacing: -0.38px;
}

.timeline-content h4 {
    color: #0369a1;
    font-size: 1.42rem;
    margin-bottom: 2.12rem;
    font-weight: 600;
    letter-spacing: 0.22px;
}

.timeline-content p {
    color: #334155;
    line-height: 1.74;
    margin: 0;
}

.timeline-content a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2.4px solid transparent;
    transition: all 0.34s ease;
}

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

#ai {
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.64) 0%, rgba(224, 242, 254, 0.64) 100%);
    backdrop-filter: blur(32px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(28px);
    padding: 5.28rem;
    transition: all 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 22px 68px rgba(10, 37, 64, 0.16);
    border: 2.4px solid rgba(14, 165, 233, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.8px;
    background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 24%, #22d3ee 48%, #06b6d4 72%, #0ea5e9 96%);
}

.project-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 32px 88px rgba(10, 37, 64, 0.24);
}

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

.project-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.28rem;
    color: #0a2540;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.54px;
}

.project-client {
    color: #0369a1;
    font-weight: 600;
    font-size: 1.42rem;
    margin-bottom: 3.24rem;
    letter-spacing: 0.22px;
}

.project-card > p {
    color: #334155;
    line-height: 1.74;
    margin-bottom: 3.88rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.09) 0%, rgba(6, 182, 212, 0.07) 100%);
    padding: 2.88rem;
    color: #0a2540;
    line-height: 1.74;
    border-left: 4.8px solid #0ea5e9;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(28px);
    padding: 4.24rem;
    transition: all 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 22px 68px rgba(10, 37, 64, 0.14);
    border: 2.4px solid rgba(14, 165, 233, 0.2);
}

.year-section:hover {
    transform: translateY(-14px);
    box-shadow: 0 30px 82px rgba(10, 37, 64, 0.22);
}

.year-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.68rem;
    margin-bottom: 3.88rem;
    color: #0369a1;
    text-align: center;
    padding-bottom: 2.88rem;
    border-bottom: 2.4px solid rgba(14, 165, 233, 0.24);
    font-weight: 700;
    letter-spacing: -0.54px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border: none;
    box-shadow: 0 30px 82px rgba(14, 165, 233, 0.52);
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.88rem 0;
    color: #334155;
    border-bottom: 2.4px solid rgba(14, 165, 233, 0.18);
    line-height: 1.74;
    position: relative;
    padding-left: 3.88rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 1.88rem;
    color: #0ea5e9;
    font-size: 1.88rem;
    font-weight: 600;
}

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

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

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

.achievements strong {
    color: #0a2540;
    font-weight: 600;
}

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

#personal {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.64) 0%, rgba(240, 249, 255, 0.72) 100%);
    backdrop-filter: blur(32px);
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(36px);
    padding: 8.88rem 8.24rem;
    text-align: center;
    box-shadow: 0 42px 118px rgba(10, 37, 64, 0.22);
    max-width: 1300px;
    margin: 0 auto;
    border: 2.8px solid rgba(14, 165, 233, 0.28);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8.4px;
    background: linear-gradient(90deg, transparent 0%, #0ea5e9 16%, #06b6d4 32%, #22d3ee 48%, #06b6d4 64%, #0ea5e9 80%, transparent 96%);
}

.contact-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 5.48rem;
    margin-bottom: 3.88rem;
    color: #0a2540;
    font-weight: 800;
    letter-spacing: -1.24px;
}

.contact-card > p {
    font-size: 1.42rem;
    color: #334155;
    line-height: 1.74;
    margin-bottom: 6.24rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.12rem;
    padding: 2.48rem 5.48rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.48px;
    transition: all 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 22px 68px rgba(14, 165, 233, 0.48);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
    transition: left 0.62s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 92px rgba(14, 165, 233, 0.62);
}

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

#footer {
    background: linear-gradient(135deg, #0a2540 0%, #164e63 100%);
    backdrop-filter: blur(28px);
    padding: 6.24rem 0;
    text-align: center;
    color: rgba(240, 249, 255, 0.88);
    border-top: 2.8px solid rgba(14, 165, 233, 0.36);
}

#footer a {
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.34s ease;
    font-weight: 600;
}

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

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

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

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(32px);
        flex-direction: column;
        padding: 6.24rem;
        gap: 0;
        box-shadow: 0 32px 82px rgba(10, 37, 64, 0.32);
        transform: translateY(-150%);
        transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-bottom: 2.8px solid rgba(14, 165, 233, 0.32);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.68rem;
        border-bottom: 2.4px solid rgba(14, 165, 233, 0.18);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 3.88rem;
        margin-bottom: 6.88rem;
        padding-left: 8.88rem;
    }

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

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

    .contact-card {
        padding: 8.24rem 6.24rem;
    }
}

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

    .nav-container {
        padding: 0 2.48rem;
        height: 64px;
    }

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

    #hero {
        padding: 128px 0 96px;
    }

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

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

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

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

    section {
        padding: 88px 0;
    }

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

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

    .profile-card {
        padding: 3.48rem;
    }

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

    .timeline-content {
        padding: 3.48rem;
    }

    .project-card {
        padding: 4.48rem 3.48rem;
    }

    .contact-card {
        padding: 6.88rem 3.48rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.68rem 3.48rem;
        font-size: 0.88rem;
    }
}