/* Theme: Iceland - Day 9 (Letter I): Inspired by glacial ice formations, northern lights aurora, volcanic black sand, geothermal springs, crystalline icebergs, midnight sun, frozen waterfalls, Arctic minimalism, crisp mountain air, ethereal ice caves */

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

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

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

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16.5px;
    line-height: 1.9;
    color: #1c3847;
    background: linear-gradient(172deg, #fafcfd 0%, #f0f7fb 18%, #e3f1f8 42%, #d8ebf4 65%, #ebf4f9 85%, #f8fcfe 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(99, 205, 218, 0.055) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(139, 211, 230, 0.048) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: iceDrift 55s ease-in-out infinite alternate;
}

@keyframes iceDrift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.68;
        transform: scale(1.15) translateY(-25px);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(78, 205, 196, 0.012) 25%, rgba(78, 205, 196, 0.012) 26%, transparent 27%, transparent 74%, rgba(78, 205, 196, 0.012) 75%, rgba(78, 205, 196, 0.012) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(78, 205, 196, 0.012) 25%, rgba(78, 205, 196, 0.012) 26%, transparent 27%, transparent 74%, rgba(78, 205, 196, 0.012) 75%, rgba(78, 205, 196, 0.012) 76%, transparent 77%, transparent);
    background-size: 85px 85px;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 252, 253, 0.85);
    backdrop-filter: blur(28px);
    border-bottom: 1.5px solid rgba(78, 205, 196, 0.25);
    box-shadow: 0 5px 32px rgba(28, 56, 71, 0.08);
    transition: all 0.45s ease;
}

#topnav.scrolled {
    background: rgba(250, 252, 253, 0.96);
    box-shadow: 0 8px 45px rgba(28, 56, 71, 0.12);
    border-bottom-color: rgba(78, 205, 196, 0.4);
}

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

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1c3847;
    margin: 0;
    letter-spacing: 4.5px;
    position: relative;
    padding-left: 3.8rem;
    text-transform: uppercase;
}

.logo h1::before {
    content: '❄️';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    animation: crystalRotate 25s linear infinite;
}

@keyframes crystalRotate {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) rotate(180deg) scale(1.12);
        opacity: 0.75;
    }
    100% {
        transform: translateY(-50%) rotate(360deg) scale(1);
        opacity: 1;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 0.95rem 2.1rem;
    color: #1c3847;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.38s ease;
    position: relative;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    border-radius: 0;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.08) 0%, rgba(99, 205, 218, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.38s ease;
    border-radius: 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #4ecdc4 0%, #63cdda 100%);
    transform: scaleX(0);
    transition: transform 0.38s ease;
    transform-origin: left;
}

.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 {
    transform: scaleX(1);
}

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
    border: none;
    color: #fafcfd;
    font-size: 1.95rem;
    width: 62px;
    height: 62px;
    cursor: pointer;
    transition: all 0.38s ease;
    border-radius: 0;
    box-shadow: 0 8px 35px rgba(78, 205, 196, 0.42);
}

.mobile-toggle:hover {
    background: linear-gradient(135deg, #2ea69b 0%, #4ecdc4 100%);
    box-shadow: 0 12px 48px rgba(78, 205, 196, 0.58);
    transform: scale(1.08);
}

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

#hero::before {
    content: '🏔️';
    position: absolute;
    top: 8%;
    right: 5%;
    font-size: 17.5rem;
    opacity: 0.038;
    animation: mountainShift 42s ease-in-out infinite;
}

#hero::after {
    content: '🌊';
    position: absolute;
    bottom: 12%;
    left: 3%;
    font-size: 19.5rem;
    opacity: 0.032;
    animation: waveFlow 48s ease-in-out infinite;
}

@keyframes mountainShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.038;
    }
    50% {
        transform: translate(-55px, 68px) scale(1.08);
        opacity: 0.068;
    }
}

@keyframes waveFlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.032;
    }
    50% {
        transform: translate(62px, -42px) scale(1.12);
        opacity: 0.058;
    }
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4.2rem;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 8.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: glacialReveal 1.55s ease-out;
}

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

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.85rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 3.8rem;
    color: #1c3847;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 1.72rem;
    color: #456678;
    margin-bottom: 5.2rem;
    line-height: 1.72;
    font-weight: 300;
    letter-spacing: 0.35px;
}

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

.btn {
    display: inline-block;
    padding: 1.68rem 4.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.52s ease;
    font-size: 0.98rem;
    letter-spacing: 3.2px;
    font-family: 'Raleway', sans-serif;
    position: relative;
    overflow: hidden;
    border: 1.5px solid transparent;
    text-transform: uppercase;
    border-radius: 0;
}

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

.btn:hover::after {
    width: 450px;
    height: 450px;
}

.btn-primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
    color: #fafcfd;
    box-shadow: 0 18px 58px rgba(78, 205, 196, 0.42);
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 78px rgba(78, 205, 196, 0.58);
    background: linear-gradient(135deg, #2ea69b 0%, #4ecdc4 100%);
}

.btn-secondary {
    background: rgba(250, 252, 253, 0.98);
    color: #4ecdc4;
    border: 1.5px solid #4ecdc4;
    box-shadow: 0 15px 45px rgba(78, 205, 196, 0.28);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
    color: #fafcfd;
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 22px 65px rgba(78, 205, 196, 0.52);
}

.hero-image {
    animation: glacialReveal 1.55s ease-out 0.35s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(32px);
    padding: 3.8rem;
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.18),
        0 32px 105px rgba(28, 56, 71, 0.22);
    transition: all 0.62s ease;
    position: relative;
    border-radius: 0;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 50%, #8bd3e6 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.62s ease;
    border-radius: 0;
}

.profile-card::after {
    content: '💎';
    position: absolute;
    bottom: 52px;
    right: 52px;
    font-size: 8.5rem;
    opacity: 0.025;
}

.profile-card:hover {
    transform: translateY(-22px) scale(1.028);
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.42),
        0 48px 138px rgba(28, 56, 71, 0.32);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 3.2rem;
    box-shadow: 0 25px 78px rgba(28, 56, 71, 0.25);
    border-radius: 0;
}

.profile-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: #1c3847;
    font-weight: 900;
    letter-spacing: -0.58px;
}

.profile-details p {
    color: #456678;
    margin-bottom: 3.5rem;
    line-height: 1.72;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    padding: 1.68rem 4.2rem;
    background: linear-gradient(135deg, #63cdda 0%, #8bd3e6 100%);
    color: #fafcfd;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3.2px;
    transition: all 0.52s ease;
    border-radius: 0;
    box-shadow: 0 18px 58px rgba(99, 205, 218, 0.42);
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
    transform: translateY(-6px);
    box-shadow: 0 25px 78px rgba(78, 205, 196, 0.58);
}

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

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4.2rem;
}

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

.section-header::before {
    content: '◆';
    position: absolute;
    top: -78px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.2rem;
    opacity: 0.22;
    color: #4ecdc4;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1.08;
    color: #1c3847;
    letter-spacing: -1.2px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 135px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #4ecdc4 18%, #63cdda 50%, #4ecdc4 82%, transparent 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 365px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4ecdc4 0%, #63cdda 50%, #8bd3e6 100%);
    opacity: 0.22;
}

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

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5rem;
    font-weight: 900;
    color: rgba(78, 205, 196, 0.085);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 8.2rem;
    letter-spacing: -3.8px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -148px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 
        0 0 0 10px rgba(250, 252, 253, 1),
        0 0 0 14.5px rgba(78, 205, 196, 0.18);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px);
    padding: 4.5rem;
    transition: all 0.55s ease;
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.08),
        0 28px 88px rgba(28, 56, 71, 0.15);
    position: relative;
    border-radius: 0;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: linear-gradient(180deg, #4ecdc4 0%, #63cdda 100%);
    opacity: 0;
    transition: opacity 0.55s ease;
    border-radius: 0;
}

.timeline-content:hover {
    transform: translateX(28px);
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.22),
        0 38px 118px rgba(28, 56, 71, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

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

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 1.15rem;
    color: #1c3847;
    font-weight: 900;
    letter-spacing: -0.48px;
}

.timeline-content h4 {
    color: #4ecdc4;
    font-size: 1.58rem;
    margin-bottom: 2.8rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #456678;
    line-height: 1.9;
    margin: 0;
}

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

.timeline-content a:hover {
    border-bottom-color: #63cdda;
    color: #4ecdc4;
}

#ai {
    background: rgba(227, 241, 248, 0.58);
    backdrop-filter: blur(22px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px);
    padding: 6.8rem;
    transition: all 0.55s ease;
    position: relative;
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.08),
        0 32px 98px rgba(28, 56, 71, 0.18);
    border-radius: 0;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #4ecdc4 0%, #63cdda 50%, #8bd3e6 100%);
    border-radius: 0;
}

.project-card::after {
    content: '🧊';
    position: absolute;
    top: 68px;
    right: 68px;
    font-size: 9.8rem;
    opacity: 0.022;
}

.project-card:hover {
    transform: translateY(-18px);
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.22),
        0 48px 138px rgba(28, 56, 71, 0.28);
    background: rgba(255, 255, 255, 0.92);
}

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

.project-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    color: #1c3847;
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.95px;
}

.project-client {
    color: #4ecdc4;
    font-weight: 700;
    font-size: 1.58rem;
    margin-bottom: 3.8rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.project-card > p {
    color: #456678;
    line-height: 1.9;
    margin-bottom: 4.5rem;
}

.project-impact {
    background: rgba(78, 205, 196, 0.048);
    padding: 3.5rem;
    color: #1c3847;
    line-height: 1.9;
    border-radius: 0;
    border-left: 8px solid #4ecdc4;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px);
    padding: 5.5rem;
    transition: all 0.55s ease;
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.08),
        0 28px 88px rgba(28, 56, 71, 0.15);
    border-radius: 0;
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4ecdc4 0%, #63cdda 100%);
    opacity: 0.22;
    transition: opacity 0.55s ease;
    border-radius: 0;
}

.year-section:hover {
    transform: translateY(-18px);
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.22),
        0 38px 118px rgba(28, 56, 71, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

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

.year-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.2rem;
    margin-bottom: 4.5rem;
    color: #1c3847;
    text-align: center;
    padding-bottom: 3.5rem;
    border-bottom: 1.5px solid rgba(78, 205, 196, 0.18);
    font-weight: 900;
    letter-spacing: -1.05px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
}

.year-section.books::before {
    background: rgba(250, 252, 253, 0.28);
}

.year-section.books h3 {
    color: #fafcfd;
    border-bottom-color: rgba(250, 252, 253, 0.25);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.2rem 0;
    color: #456678;
    border-bottom: 1.5px solid rgba(28, 56, 71, 0.048);
    line-height: 1.9;
    position: relative;
    padding-left: 4.2rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 2.2rem;
    font-size: 1.68rem;
    color: #4ecdc4;
}

.year-section.books .achievements li {
    color: rgba(250, 252, 253, 0.92);
    border-bottom-color: rgba(250, 252, 253, 0.15);
}

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

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

.achievements strong {
    color: #1c3847;
    font-weight: 700;
}

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

#personal {
    background: rgba(227, 241, 248, 0.58);
    backdrop-filter: blur(22px);
}

#contact {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.025) 0%, rgba(99, 205, 218, 0.032) 100%);
    backdrop-filter: blur(22px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(38px);
    padding: 10.2rem 9.2rem;
    text-align: center;
    box-shadow: 
        0 0 0 1.5px rgba(78, 205, 196, 0.18),
        0 48px 148px rgba(28, 56, 71, 0.22);
    max-width: 1550px;
    margin: 0 auto;
    border-radius: 0;
}

.contact-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 7.5rem;
    margin-bottom: 4.5rem;
    color: #1c3847;
    font-weight: 900;
    letter-spacing: -1.68px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.85rem;
    color: #456678;
    line-height: 1.9;
    margin-bottom: 8.2rem;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    padding: 2.8rem 6.8rem;
    background: linear-gradient(135deg, #4ecdc4 0%, #63cdda 100%);
    color: #fafcfd;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3.2px;
    transition: all 0.52s ease;
    border-radius: 0;
    box-shadow: 0 32px 98px rgba(78, 205, 196, 0.42);
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #2ea69b 0%, #4ecdc4 100%);
    transform: translateY(-10px);
    box-shadow: 0 45px 128px rgba(78, 205, 196, 0.58);
}

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

#footer {
    background: #1c3847;
    padding: 8.2rem 0;
    text-align: center;
    color: rgba(250, 252, 253, 0.68);
    border-top: 1.5px solid rgba(78, 205, 196, 0.22);
}

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

#footer a:hover {
    color: #63cdda;
}

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

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

    .hero-image {
        max-width: 725px;
        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.5rem;
        height: 88px;
    }

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

    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(250, 252, 253, 0.98);
        backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 5.5rem;
        gap: 0;
        box-shadow: 0 38px 98px rgba(28, 56, 71, 0.18);
        transform: translateY(-150%);
        transition: transform 0.62s ease;
        border-bottom: 1.5px solid rgba(78, 205, 196, 0.35);
    }

    .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: 1.5px solid rgba(28, 56, 71, 0.048);
        border-radius: 0;
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

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

    .contact-card {
        padding: 8.8rem 6.8rem;
    }
}

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

    .nav-container {
        padding: 0 3.2rem;
        height: 82px;
    }

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

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

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

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

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

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

    section {
        padding: 110px 0;
    }

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

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

    .profile-card {
        padding: 3.2rem;
    }

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

    .timeline-content {
        padding: 3.8rem;
    }

    .project-card {
        padding: 5.5rem 3.8rem;
    }

    .contact-card {
        padding: 7.2rem 3.8rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.85rem 3.8rem;
        font-size: 0.92rem;
    }
}