/* Theme: Astronaut - Day 1 (Letter A): Inspired by space exploration, cosmic wonder, celestial navigation, zero gravity, starlit missions, lunar landscapes, galactic journeys, nebula clouds, interstellar travel, astronomical phenomena */

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

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

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

body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    line-height: 1.72;
    color: #1a2332;
    background: linear-gradient(162deg, #e8f1ff 0%, #dce8f8 28%, #cfe0f5 52%, #dde9f9 76%, #eef4fd 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 28% 22%, rgba(99, 155, 255, 0.11) 0%, transparent 35%),
        radial-gradient(circle at 72% 78%, rgba(135, 178, 255, 0.095) 0%, transparent 38%),
        radial-gradient(circle at 48% 50%, rgba(168, 198, 255, 0.075) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: cosmicDrift 38s ease-in-out infinite alternate;
}

@keyframes cosmicDrift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.88;
        transform: scale(1.06) rotate(1.5deg);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(99, 155, 255, 0.18) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(99, 155, 255, 0.18) 1.5px, transparent 1.5px);
    background-size: 58px 58px;
    background-position: 0 0, 29px 29px;
    opacity: 0.095;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(232, 241, 255, 0.86);
    backdrop-filter: blur(24px);
    border-bottom: 2.5px solid rgba(99, 155, 255, 0.22);
    box-shadow: 0 5px 32px rgba(26, 35, 50, 0.085);
    transition: all 0.42s ease;
}

#topnav.scrolled {
    background: rgba(232, 241, 255, 0.94);
    box-shadow: 0 8px 42px rgba(26, 35, 50, 0.125);
    border-bottom-color: rgba(99, 155, 255, 0.35);
}

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

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.72rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
    letter-spacing: 1.85px;
    position: relative;
    padding-left: 3.45rem;
    text-transform: uppercase;
}

.logo h1::before {
    content: '🚀';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.35rem;
    animation: rocketLaunch 8.5s ease-in-out infinite;
}

@keyframes rocketLaunch {
    0%, 100% {
        transform: translateY(-50%) rotate(-12deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-65%) rotate(-8deg);
        opacity: 0.85;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.88rem 2.05rem;
    color: #1a2332;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
    transition: all 0.38s ease;
    position: relative;
    letter-spacing: 1.15px;
    border-radius: 8px;
    text-transform: uppercase;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 4.1rem);
    height: 2.5px;
    background: linear-gradient(90deg, #639bff 0%, #87b2ff 100%);
    transition: transform 0.38s ease;
    border-radius: 2px;
}

.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: #3d7aff;
    background: rgba(99, 155, 255, 0.085);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #639bff 0%, #5186ff 100%);
    border: none;
    color: #ffffff;
    font-size: 1.88rem;
    width: 58px;
    height: 58px;
    cursor: pointer;
    transition: all 0.38s ease;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(99, 155, 255, 0.38);
}

.mobile-toggle:hover {
    background: linear-gradient(135deg, #5186ff 0%, #3d6fff 100%);
    box-shadow: 0 12px 42px rgba(99, 155, 255, 0.48);
    transform: scale(1.06);
}

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

#hero::before {
    content: '🌟';
    position: absolute;
    top: 16%;
    right: 11%;
    font-size: 12.5rem;
    opacity: 0.072;
    animation: starTwinkle 18s ease-in-out infinite;
}

#hero::after {
    content: '🌙';
    position: absolute;
    bottom: 22%;
    left: 8%;
    font-size: 14.5rem;
    opacity: 0.065;
    animation: moonOrbit 24s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.072;
    }
    50% {
        transform: translate(32px, -42px) rotate(180deg) scale(1.12);
        opacity: 0.105;
    }
}

@keyframes moonOrbit {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.065;
    }
    50% {
        transform: translate(-38px, 28px) rotate(12deg);
        opacity: 0.095;
    }
}

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

.hero-text {
    animation: orbitEntry 1.42s ease-out;
}

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

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.15rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 3.25rem;
    color: #1a2332;
    letter-spacing: -0.65px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 1.68rem;
    color: #3d5578;
    margin-bottom: 4.65rem;
    line-height: 1.62;
    font-weight: 500;
    letter-spacing: 0.38px;
}

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

.btn {
    display: inline-block;
    padding: 1.48rem 3.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.45s ease;
    font-size: 1.05rem;
    letter-spacing: 1.25px;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    overflow: hidden;
    border: 2.5px solid transparent;
    border-radius: 8px;
    text-transform: uppercase;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #639bff 0%, #5186ff 100%);
    color: #ffffff;
    box-shadow: 0 16px 48px rgba(99, 155, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 22px 62px rgba(99, 155, 255, 0.48);
    background: linear-gradient(135deg, #5186ff 0%, #3d6fff 100%);
}

.btn-secondary {
    background: rgba(232, 241, 255, 0.98);
    color: #3d7aff;
    border: 2.5px solid #639bff;
    box-shadow: 0 12px 38px rgba(99, 155, 255, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #639bff 0%, #5186ff 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 52px rgba(99, 155, 255, 0.42);
}

.hero-image {
    animation: orbitEntry 1.42s ease-out 0.28s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px);
    padding: 3.15rem;
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.15),
        0 28px 82px rgba(26, 35, 50, 0.18);
    transition: all 0.55s ease;
    position: relative;
    border-radius: 8px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2.5px;
    left: -2.5px;
    right: -2.5px;
    bottom: -2.5px;
    background: linear-gradient(135deg, #639bff 0%, #87b2ff 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.55s ease;
}

.profile-card::after {
    content: '🛸';
    position: absolute;
    bottom: 48px;
    right: 48px;
    font-size: 7.25rem;
    opacity: 0.052;
}

.profile-card:hover {
    transform: translateY(-18px) scale(1.025);
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.32),
        0 42px 115px rgba(26, 35, 50, 0.28);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 2.85rem;
    box-shadow: 0 22px 68px rgba(26, 35, 50, 0.22);
    border-radius: 6px;
}

.profile-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.85rem;
    margin-bottom: 1.08rem;
    color: #1a2332;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.profile-details p {
    color: #3d5578;
    margin-bottom: 3.15rem;
    line-height: 1.62;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.48rem 3.65rem;
    background: linear-gradient(135deg, #87b2ff 0%, #639bff 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.25px;
    transition: all 0.45s ease;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(135, 178, 255, 0.38);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #639bff 0%, #5186ff 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 22px 62px rgba(99, 155, 255, 0.52);
}

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

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

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

.section-header::before {
    content: '★';
    position: absolute;
    top: -72px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.65rem;
    opacity: 0.38;
    color: #639bff;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.85rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a2332;
    letter-spacing: 0.85px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 115px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #639bff 30%, #5186ff 50%, #639bff 70%, transparent 100%);
    border-radius: 2px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 335px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #639bff 0%, #87b2ff 50%, #639bff 100%);
    opacity: 0.38;
    border-radius: 2px;
}

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

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 7.85rem;
    font-weight: 800;
    color: rgba(99, 155, 255, 0.118);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 7.25rem;
    letter-spacing: -2.45px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -135px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #639bff 0%, #87b2ff 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 9px rgba(232, 241, 255, 1),
        0 0 0 13px rgba(99, 155, 255, 0.22),
        0 0 28px rgba(99, 155, 255, 0.42);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 4.05rem;
    transition: all 0.52s ease;
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.095),
        0 22px 72px rgba(26, 35, 50, 0.14);
    position: relative;
    border-radius: 8px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #639bff 0%, #87b2ff 100%);
    opacity: 0;
    transition: opacity 0.52s ease;
    border-radius: 8px 0 0 8px;
}

.timeline-content:hover {
    transform: translateX(22px);
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.22),
        0 32px 95px rgba(26, 35, 50, 0.22);
    background: rgba(255, 255, 255, 0.95);
}

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

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.85rem;
    margin-bottom: 1.08rem;
    color: #1a2332;
    font-weight: 700;
    letter-spacing: 0.35px;
}

.timeline-content h4 {
    color: #3d7aff;
    font-size: 1.48rem;
    margin-bottom: 2.45rem;
    font-weight: 700;
    letter-spacing: 0.52px;
    text-transform: uppercase;
}

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

.timeline-content a {
    color: #5186ff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2.5px solid transparent;
    transition: all 0.38s ease;
}

.timeline-content a:hover {
    border-bottom-color: #5186ff;
    color: #3d7aff;
}

#ai {
    background: rgba(220, 232, 248, 0.52);
    backdrop-filter: blur(18px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 5.65rem;
    transition: all 0.52s ease;
    position: relative;
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.095),
        0 28px 82px rgba(26, 35, 50, 0.15);
    border-radius: 8px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #639bff 0%, #87b2ff 50%, #639bff 100%);
    border-radius: 8px 8px 0 0;
}

.project-card::after {
    content: '🌌';
    position: absolute;
    top: 62px;
    right: 62px;
    font-size: 8.85rem;
    opacity: 0.042;
}

.project-card:hover {
    transform: translateY(-14px);
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.22),
        0 42px 108px rgba(26, 35, 50, 0.24);
    background: rgba(255, 255, 255, 0.95);
}

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

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

.project-client {
    color: #3d7aff;
    font-weight: 700;
    font-size: 1.48rem;
    margin-bottom: 3.25rem;
    letter-spacing: 0.52px;
    text-transform: uppercase;
}

.project-card > p {
    color: #3d5578;
    line-height: 1.72;
    margin-bottom: 4.05rem;
}

.project-impact {
    background: rgba(99, 155, 255, 0.075);
    padding: 3.05rem;
    color: #1a2332;
    line-height: 1.72;
    border-radius: 6px;
    border-left: 6px solid #639bff;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 4.65rem;
    transition: all 0.52s ease;
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.095),
        0 22px 72px rgba(26, 35, 50, 0.14);
    border-radius: 8px;
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #639bff 0%, #87b2ff 100%);
    border-radius: 8px 8px 0 0;
    opacity: 0.32;
    transition: opacity 0.52s ease;
}

.year-section:hover {
    transform: translateY(-14px);
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.22),
        0 32px 95px rgba(26, 35, 50, 0.22);
    background: rgba(255, 255, 255, 0.95);
}

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

.year-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.15rem;
    margin-bottom: 4.05rem;
    color: #1a2332;
    text-align: center;
    padding-bottom: 3.15rem;
    border-bottom: 2.5px solid rgba(99, 155, 255, 0.22);
    font-weight: 700;
    letter-spacing: 0.65px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #639bff 0%, #5186ff 100%);
}

.year-section.books::before {
    background: rgba(232, 241, 255, 0.38);
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.05rem 0;
    color: #3d5578;
    border-bottom: 2.5px solid rgba(26, 35, 50, 0.075);
    line-height: 1.72;
    position: relative;
    padding-left: 3.65rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 2.05rem;
    font-size: 1.58rem;
    color: #639bff;
    font-weight: 700;
}

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

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

#personal {
    background: rgba(220, 232, 248, 0.52);
    backdrop-filter: blur(18px);
}

#contact {
    background: linear-gradient(135deg, rgba(99, 155, 255, 0.048) 0%, rgba(135, 178, 255, 0.042) 100%);
    backdrop-filter: blur(18px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(32px);
    padding: 8.85rem 7.85rem;
    text-align: center;
    box-shadow: 
        0 0 0 2.5px rgba(99, 155, 255, 0.18),
        0 42px 125px rgba(26, 35, 50, 0.22);
    max-width: 1340px;
    margin: 0 auto;
    border-radius: 8px;
}

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 6.65rem;
    margin-bottom: 4.05rem;
    color: #1a2332;
    font-weight: 800;
    letter-spacing: 0.95px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.85rem;
    color: #3d5578;
    line-height: 1.72;
    margin-bottom: 6.85rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.45rem;
    padding: 2.45rem 5.65rem;
    background: linear-gradient(135deg, #639bff 0%, #5186ff 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.25px;
    transition: all 0.45s ease;
    border-radius: 8px;
    box-shadow: 0 28px 82px rgba(99, 155, 255, 0.38);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #5186ff 0%, #3d6fff 100%);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 38px 108px rgba(99, 155, 255, 0.52);
}

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

#footer {
    background: #1a2332;
    padding: 6.85rem 0;
    text-align: center;
    color: rgba(232, 241, 255, 0.72);
    border-top: 2.5px solid rgba(99, 155, 255, 0.28);
}

#footer a {
    color: #87b2ff;
    text-decoration: none;
    transition: color 0.38s ease;
    font-weight: 700;
}

#footer a:hover {
    color: #639bff;
}

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

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

    .hero-image {
        max-width: 665px;
        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.25rem;
        height: 75px;
    }

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

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(232, 241, 255, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 4.65rem;
        gap: 0;
        box-shadow: 0 32px 82px rgba(26, 35, 50, 0.18);
        transform: translateY(-150%);
        transition: transform 0.55s ease;
        border-bottom: 2.5px solid rgba(99, 155, 255, 0.32);
    }

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

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

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

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4.65rem;
        margin-bottom: 7.25rem;
        padding-left: 9.85rem;
    }

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

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

    .contact-card {
        padding: 7.25rem 5.65rem;
    }
}

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

    .nav-container {
        padding: 0 2.85rem;
        height: 68px;
    }

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

    #hero {
        padding: 142px 0 105px;
    }

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

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

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

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

    section {
        padding: 105px 0;
    }

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

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

    .profile-card {
        padding: 2.85rem;
    }

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

    .timeline-content {
        padding: 3.45rem;
    }

    .project-card {
        padding: 4.65rem 3.45rem;
    }

    .contact-card {
        padding: 6.45rem 3.45rem;
    }

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

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

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