/* Theme: Laboratory - Day 12 (Letter L): Inspired by scientific research, chemistry labs, precision instruments, glass beakers, molecular structures, clean workbenches, data analysis, experimental discovery, white coats, systematic methodology */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

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

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

body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17.8px;
    line-height: 1.78;
    color: #1a2332;
    background: linear-gradient(165deg, #f8fafb 0%, #ffffff 22%, #f4f7f9 48%, #eef3f7 72%, #f9fbfc 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 22% 18%, rgba(59, 130, 246, 0.05) 0%, transparent 48%),
        radial-gradient(circle at 78% 82%, rgba(16, 185, 129, 0.04) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(59, 130, 246, 0.012) 38px, rgba(59, 130, 246, 0.012) 39px),
        repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(59, 130, 246, 0.012) 38px, rgba(59, 130, 246, 0.012) 39px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 2px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 2px 16px rgba(26, 35, 50, 0.06);
    transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#topnav.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 24px rgba(26, 35, 50, 0.10);
}

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

.logo h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.62rem;
    font-weight: 600;
    color: #1a2332;
    margin: 0;
    letter-spacing: -0.35px;
    position: relative;
    padding-left: 3.45rem;
}

.logo h1::before {
    content: '⚗';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.28rem;
    color: #3b82f6;
    animation: labBubble 4.8s ease-in-out infinite;
}

@keyframes labBubble {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.88;
    }
    50% {
        transform: translateY(-50%) scale(1.12);
        opacity: 1;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.88rem 1.95rem;
    color: #1a2332;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    letter-spacing: 0.28px;
    border-radius: 6px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.08);
    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 6px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: #3b82f6;
    transition: width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    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: 62%;
}

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

.mobile-toggle {
    display: none;
    background: #3b82f6;
    border: none;
    color: #ffffff;
    font-size: 1.68rem;
    width: 54px;
    height: 54px;
    cursor: pointer;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
    box-shadow: 0 6px 22px rgba(59, 130, 246, 0.32);
}

.mobile-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.42);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -25%;
    width: 780px;
    height: 780px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 68%);
    animation: labFloat 38s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -32%;
    left: -22%;
    width: 740px;
    height: 740px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 68%);
    animation: labFloat 44s ease-in-out infinite reverse;
}

@keyframes labFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.62;
    }
    33% {
        transform: translate(58px, -52px) scale(1.08);
        opacity: 0.88;
    }
    66% {
        transform: translate(-48px, 58px) scale(0.96);
        opacity: 0.72;
    }
}

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

.hero-text {
    animation: labReveal 1.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0s both;
}

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

.hero-text h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 5.15rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 2.85rem;
    color: #1a2332;
    letter-spacing: -1.05px;
}

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

.hero-subtitle {
    font-size: 1.58rem;
    color: #475569;
    margin-bottom: 4.05rem;
    line-height: 1.68;
    font-weight: 400;
    letter-spacing: 0.12px;
}

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

.btn {
    display: inline-block;
    padding: 1.42rem 3.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.08rem;
    letter-spacing: 0.38px;
    border-radius: 8px;
    font-family: 'IBM Plex Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    box-shadow: 0 14px 42px rgba(59, 130, 246, 0.32);
}

.btn-primary:hover {
    transform: translateY(-4.5px);
    box-shadow: 0 19px 56px rgba(59, 130, 246, 0.42);
    background: #2563eb;
}

.btn-secondary {
    background: #ffffff;
    color: #3b82f6;
    border: 2.5px solid #3b82f6;
    box-shadow: 0 10px 32px rgba(59, 130, 246, 0.18);
}

.btn-secondary:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-4.5px);
    box-shadow: 0 16px 46px rgba(59, 130, 246, 0.32);
}

.hero-image {
    animation: labReveal 1.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.32s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 2.95rem;
    box-shadow: 
        0 0 0 2.5px rgba(59, 130, 246, 0.12),
        0 24px 72px rgba(26, 35, 50, 0.14);
    transition: all 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border-radius: 16px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
    border-radius: 16px 16px 0 0;
}

.profile-card::after {
    content: '⚗';
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 4.85rem;
    color: rgba(59, 130, 246, 0.05);
}

.profile-card:hover {
    transform: translateY(-14px) scale(1.022);
    box-shadow: 
        0 0 0 2.5px rgba(59, 130, 246, 0.22),
        0 36px 96px rgba(26, 35, 50, 0.22);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.42rem;
    box-shadow: 0 16px 48px rgba(26, 35, 50, 0.16);
    border-radius: 12px;
}

.profile-details h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 2.68rem;
    margin-bottom: 0.88rem;
    color: #1a2332;
    font-weight: 700;
    letter-spacing: -0.42px;
}

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

.social-links a {
    display: inline-block;
    padding: 1.28rem 3.18rem;
    background: #10b981;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.38px;
    transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
    box-shadow: 0 12px 38px rgba(16, 185, 129, 0.32);
    font-family: 'IBM Plex Sans', sans-serif;
}

.social-links a:hover {
    background: #059669;
    transform: translateY(-3.5px);
    box-shadow: 0 16px 48px rgba(16, 185, 129, 0.42);
}

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

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

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

.section-header::before {
    content: '◆ ◆ ◆';
    position: absolute;
    top: -62px;
    left: 50%;
    transform: translateX(-50%);
    color: #3b82f6;
    font-size: 0.98rem;
    letter-spacing: 1.85rem;
    opacity: 0.58;
}

.section-header h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 4.65rem;
    font-weight: 700;
    line-height: 1.18;
    color: #1a2332;
    letter-spacing: -0.85px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 118px;
    height: 3.5px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
    border-radius: 3px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 278px;
    top: 0;
    bottom: 0;
    width: 3.5px;
    background: linear-gradient(180deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
    border-radius: 3px;
}

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

.timeline-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 6.45rem;
    font-weight: 600;
    color: rgba(59, 130, 246, 0.18);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 5.75rem;
    letter-spacing: -2.45px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -108px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 2px;
    box-shadow: 
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 18px rgba(59, 130, 246, 0.14);
    animation: labPulse 3.8s ease-in-out infinite;
}

@keyframes labPulse {
    0%, 100% {
        box-shadow: 
            0 0 0 8px rgba(255, 255, 255, 1),
            0 0 0 18px rgba(59, 130, 246, 0.14);
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(255, 255, 255, 1),
            0 0 0 26px rgba(59, 130, 246, 0.26);
        transform: translateY(-50%) scale(1.16) rotate(45deg);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    padding: 3.35rem;
    transition: all 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 16px 52px rgba(26, 35, 50, 0.10);
    position: relative;
    border-radius: 12px;
    border-left: 4px solid rgba(59, 130, 246, 0.22);
}

.timeline-content:hover {
    transform: translateX(14px);
    box-shadow: 0 24px 68px rgba(26, 35, 50, 0.16);
    border-left-color: #3b82f6;
    background: rgba(255, 255, 255, 0.96);
}

.timeline-content h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 2.48rem;
    margin-bottom: 0.78rem;
    color: #1a2332;
    font-weight: 700;
    letter-spacing: -0.38px;
}

.timeline-content h4 {
    color: #3b82f6;
    font-size: 1.32rem;
    margin-bottom: 1.88rem;
    font-weight: 600;
}

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

.timeline-content a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2.5px solid transparent;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-content a:hover {
    border-bottom-color: #10b981;
    color: #059669;
}

#ai {
    background: rgba(244, 247, 249, 0.58);
    backdrop-filter: blur(12px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    padding: 4.28rem;
    transition: all 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 18px 58px rgba(26, 35, 50, 0.11);
    border-radius: 16px;
    border-top: 5px solid #3b82f6;
}

.project-card::after {
    content: '⚗';
    position: absolute;
    top: 46px;
    right: 46px;
    font-size: 5.65rem;
    color: rgba(59, 130, 246, 0.04);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 84px rgba(26, 35, 50, 0.18);
    background: rgba(255, 255, 255, 0.96);
}

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

.project-header h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 3.18rem;
    color: #1a2332;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.52px;
}

.project-client {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 2.65rem;
}

.project-card > p {
    color: #475569;
    line-height: 1.78;
    margin-bottom: 3.22rem;
}

.project-impact {
    background: rgba(59, 130, 246, 0.06);
    padding: 2.45rem;
    color: #1a2332;
    line-height: 1.78;
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    padding: 3.75rem;
    transition: all 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 16px 52px rgba(26, 35, 50, 0.10);
    border-radius: 12px;
    position: relative;
    border-top: 4px solid rgba(59, 130, 246, 0.22);
}

.year-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 68px rgba(26, 35, 50, 0.16);
    border-top-color: #3b82f6;
    background: rgba(255, 255, 255, 0.96);
}

.year-section h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 4.25rem;
    margin-bottom: 3.22rem;
    color: #1a2332;
    text-align: center;
    padding-bottom: 2.42rem;
    border-bottom: 3.5px solid rgba(59, 130, 246, 0.12);
    font-weight: 600;
    letter-spacing: -0.68px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-top-color: #2563eb;
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.68rem 0;
    color: #475569;
    border-bottom: 2.5px solid rgba(26, 35, 50, 0.05);
    line-height: 1.78;
    position: relative;
    padding-left: 2.85rem;
}

.achievements li::before {
    content: '▪';
    position: absolute;
    left: 0;
    top: 1.68rem;
    color: #3b82f6;
    font-size: 1.28rem;
}

.year-section.books .achievements li {
    color: rgba(255, 255, 255, 0.96);
    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: #1a2332;
    font-weight: 600;
}

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

#personal {
    background: rgba(244, 247, 249, 0.58);
    backdrop-filter: blur(12px);
}

#contact {
    background: rgba(59, 130, 246, 0.04);
    backdrop-filter: blur(12px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(28px);
    padding: 6.85rem 6.25rem;
    text-align: center;
    box-shadow: 0 32px 96px rgba(26, 35, 50, 0.13);
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 20px;
    border: 3px solid rgba(59, 130, 246, 0.15);
}

.contact-card h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 5.15rem;
    margin-bottom: 3.22rem;
    color: #1a2332;
    font-weight: 700;
    letter-spacing: -0.88px;
}

.contact-card > p {
    font-size: 1.48rem;
    color: #475569;
    line-height: 1.78;
    margin-bottom: 5.15rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.75rem 4.28rem;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.38px;
    transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 10px;
    box-shadow: 0 16px 52px rgba(59, 130, 246, 0.32);
    font-family: 'IBM Plex Sans', sans-serif;
}

.contact-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
    transform: translateY(-4.5px);
    box-shadow: 0 22px 66px rgba(59, 130, 246, 0.42);
}

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

#footer {
    background: #1a2332;
    padding: 5.15rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.68);
    border-top: 4px solid #3b82f6;
}

#footer a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
}

#footer a:hover {
    color: #10b981;
}

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

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

    .hero-image {
        max-width: 585px;
        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.68rem;
        height: 76px;
    }

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

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 3.58rem;
        gap: 0;
        box-shadow: 0 22px 62px rgba(26, 35, 50, 0.14);
        transform: translateY(-150%);
        transition: transform 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-bottom: 2px solid rgba(59, 130, 246, 0.15);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.38rem;
        border-bottom: 1px solid rgba(26, 35, 50, 0.05);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 3.48rem;
        margin-bottom: 6.05rem;
        padding-left: 7.48rem;
    }

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

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

    .contact-card {
        padding: 5.55rem 4.42rem;
    }
}

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

    .nav-container {
        padding: 0 2.35rem;
        height: 70px;
    }

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

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

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

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

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

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

    section {
        padding: 95px 0;
    }

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

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

    .profile-card {
        padding: 2.35rem;
    }

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

    .timeline-content {
        padding: 2.75rem;
    }

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

    .contact-card {
        padding: 5.05rem 2.75rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.42rem 2.75rem;
        font-size: 1.02rem;
    }
}