/* Theme: Aurora - Day 1 (Letter A): Inspired by northern lights, glacial ice formations, arctic skies, crystalline structures, polar landscapes, midnight sun, frozen waterfalls, ice caves, shimmering phenomena, ethereal light displays */

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

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

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16.8px;
    line-height: 1.72;
    color: #1a2f3f;
    background: linear-gradient(180deg, #e8f4f8 0%, #f0f8fc 50%, #fef9f5 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 18% 22%, rgba(79, 195, 247, 0.11) 0%, transparent 58%),
        radial-gradient(ellipse at 82% 78%, rgba(186, 104, 200, 0.09) 0%, transparent 62%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, rgba(79, 195, 247, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(79, 195, 247, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(186, 104, 200, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(186, 104, 200, 0.02) 25%, transparent 25%);
    background-size: 90px 90px;
    background-position: 0 0, 0 45px, 45px -45px, -45px 0px;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 252, 254, 0.93);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(79, 195, 247, 0.18);
    box-shadow: 0 3px 22px rgba(26, 47, 63, 0.07);
    transition: all 0.35s ease;
}

#topnav.scrolled {
    background: rgba(248, 252, 254, 0.96);
    box-shadow: 0 5px 30px rgba(26, 47, 63, 0.11);
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.72rem;
    font-weight: 700;
    color: #1a2f3f;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7 0%, #ba68c8 100%);
    border-radius: 2px;
}

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

.nav-menu li a {
    display: block;
    padding: 0.78rem 1.52rem;
    color: #1a2f3f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.32s ease;
    position: relative;
    letter-spacing: 0.25px;
    border-radius: 9px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4fc3f7 0%, #ba68c8 100%);
    transition: width 0.32s ease;
    border-radius: 1px;
}

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #4fc3f7;
    background: rgba(79, 195, 247, 0.07);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #4fc3f7 0%, #ba68c8 100%);
    border: none;
    color: #ffffff;
    font-size: 1.58rem;
    width: 51px;
    height: 51px;
    cursor: pointer;
    transition: all 0.32s ease;
    border-radius: 11px;
    box-shadow: 0 5px 18px rgba(79, 195, 247, 0.32);
}

.mobile-toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 7px 24px rgba(79, 195, 247, 0.42);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -24%;
    left: -16%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.17) 0%, transparent 68%);
    border-radius: 50%;
    animation: auroraFloat 25s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -22%;
    right: -14%;
    width: 590px;
    height: 590px;
    background: radial-gradient(circle, rgba(186, 104, 200, 0.15) 0%, transparent 68%);
    border-radius: 50%;
    animation: auroraFloat 29s ease-in-out infinite reverse;
}

@keyframes auroraFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: translate(35px, -42px) scale(1.09);
        opacity: 0.82;
    }
}

.hero-content {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.9rem;
    display: grid;
    grid-template-columns: 1.22fr 1fr;
    gap: 5.4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: auroraSlideIn 1.08s ease-out;
}

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

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 2.18rem;
    color: #1a2f3f;
    letter-spacing: -0.7px;
}

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

.hero-subtitle {
    font-size: 1.32rem;
    color: #4a6278;
    margin-bottom: 3.15rem;
    line-height: 1.68;
    font-weight: 400;
    letter-spacing: 0.2px;
}

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

.btn {
    display: inline-block;
    padding: 1.18rem 3.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.32s ease;
    font-size: 1.01rem;
    letter-spacing: 0.35px;
    border-radius: 11px;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 9px 26px rgba(79, 195, 247, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);
    transform: translateY(-2.5px);
    box-shadow: 0 13px 34px rgba(79, 195, 247, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: #ba68c8;
    border: 2px solid #ba68c8;
    box-shadow: 0 7px 22px rgba(186, 104, 200, 0.24);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ba68c8 0%, #ab47bc 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2.5px);
    box-shadow: 0 11px 30px rgba(186, 104, 200, 0.36);
}

.hero-image {
    animation: auroraSlideIn 1.08s ease-out 0.22s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(17px);
    padding: 2.38rem;
    box-shadow: 
        0 0 0 1px rgba(79, 195, 247, 0.16),
        0 15px 48px rgba(26, 47, 63, 0.13);
    transition: all 0.38s ease;
    position: relative;
    border-radius: 19px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4fc3f7 0%, #ba68c8 100%);
    border-radius: 19px 19px 0 0;
}

.profile-card:hover {
    transform: translateY(-7.5px);
    box-shadow: 
        0 0 0 1px rgba(79, 195, 247, 0.28),
        0 22px 62px rgba(26, 47, 63, 0.19);
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.78rem;
    border-radius: 13px;
    box-shadow: 0 8.5px 27px rgba(26, 47, 63, 0.16);
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.12rem;
    margin-bottom: 0.68rem;
    color: #1a2f3f;
    font-weight: 700;
}

.profile-details p {
    color: #4a6278;
    margin-bottom: 1.88rem;
    line-height: 1.64;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.04rem 2.48rem;
    background: linear-gradient(135deg, #ba68c8 0%, #ab47bc 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.35px;
    transition: all 0.32s ease;
    border-radius: 11px;
    box-shadow: 0 7.5px 23px rgba(186, 104, 200, 0.33);
    font-family: 'Poppins', sans-serif;
}

.social-links a:hover {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
    transform: translateY(-2.5px);
    box-shadow: 0 10.5px 31px rgba(186, 104, 200, 0.43);
}

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

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.9rem;
}

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

.section-header::before {
    content: '';
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7 0%, #ba68c8 100%);
    border-radius: 2px;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -13.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 3px;
    background: linear-gradient(90deg, #ba68c8 0%, #4fc3f7 100%);
    border-radius: 2px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 228px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4fc3f7 0%, #ba68c8 100%);
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 4.95rem;
    font-weight: 800;
    color: rgba(79, 195, 247, 0.32);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 4.72rem;
    letter-spacing: -1.6px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -86px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #4fc3f7;
    border-radius: 50%;
    box-shadow: 
        0 0 0 5.5px rgba(248, 252, 254, 1),
        0 0 0 11px rgba(79, 195, 247, 0.18);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(15px);
    padding: 2.68rem;
    transition: all 0.32s ease;
    box-shadow: 0 8.5px 29px rgba(26, 47, 63, 0.09);
    position: relative;
    border-radius: 15px;
    border-left: 4px solid rgba(79, 195, 247, 0.26);
}

.timeline-content:hover {
    transform: translateX(10.5px);
    box-shadow: 0 13.5px 42px rgba(26, 47, 63, 0.15);
    border-left-color: #4fc3f7;
    background: rgba(255, 255, 255, 0.88);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.98rem;
    margin-bottom: 0.65rem;
    color: #1a2f3f;
    font-weight: 700;
}

.timeline-content h4 {
    color: #4fc3f7;
    font-size: 1.17rem;
    margin-bottom: 1.38rem;
    font-weight: 600;
}

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

.timeline-content a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.32s ease;
}

.timeline-content a:hover {
    border-bottom-color: #4fc3f7;
}

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

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

.project-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(15px);
    padding: 3.38rem;
    transition: all 0.32s ease;
    position: relative;
    box-shadow: 0 11px 36px rgba(26, 47, 63, 0.11);
    border-radius: 19px;
    border-top: 5px solid #4fc3f7;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 29px;
    right: 29px;
    width: 48px;
    height: 48px;
    background: rgba(186, 104, 200, 0.09);
    border-radius: 50%;
}

.project-card:hover {
    transform: translateY(-5.5px);
    box-shadow: 0 17px 52px rgba(26, 47, 63, 0.17);
    background: rgba(255, 255, 255, 0.92);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.48rem;
    color: #1a2f3f;
    margin: 0;
    font-weight: 700;
}

.project-client {
    color: #4fc3f7;
    font-weight: 600;
    font-size: 1.12rem;
    margin-bottom: 2.08rem;
}

.project-card > p {
    color: #4a6278;
    line-height: 1.72;
    margin-bottom: 2.52rem;
}

.project-impact {
    background: rgba(79, 195, 247, 0.08);
    padding: 1.88rem;
    color: #1a2f3f;
    line-height: 1.72;
    border-radius: 13px;
    border-left: 4px solid #4fc3f7;
}

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

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

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

.year-section {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(15px);
    padding: 2.95rem;
    transition: all 0.32s ease;
    box-shadow: 0 8.5px 29px rgba(26, 47, 63, 0.09);
    border-radius: 15px;
    position: relative;
    border-top: 4px solid rgba(79, 195, 247, 0.26);
}

.year-section:hover {
    transform: translateY(-5.5px);
    box-shadow: 0 13.5px 42px rgba(26, 47, 63, 0.15);
    border-top-color: #4fc3f7;
    background: rgba(255, 255, 255, 0.88);
}

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.25rem;
    margin-bottom: 2.52rem;
    color: #1a2f3f;
    text-align: center;
    padding-bottom: 1.78rem;
    border-bottom: 3px solid rgba(79, 195, 247, 0.16);
    font-weight: 700;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border-top-color: #ba68c8;
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.32rem 0;
    color: #4a6278;
    border-bottom: 2px solid rgba(26, 47, 63, 0.06);
    line-height: 1.72;
    position: relative;
    padding-left: 2.18rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1.32rem;
    color: #ba68c8;
    font-size: 1.08rem;
}

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

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

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

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

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

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

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

.contact-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(19px);
    padding: 5.62rem 5.12rem;
    text-align: center;
    box-shadow: 0 18.5px 54px rgba(26, 47, 63, 0.13);
    max-width: 1195px;
    margin: 0 auto;
    border-radius: 23px;
    border: 2px solid rgba(79, 195, 247, 0.18);
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.25rem;
    margin-bottom: 2.52rem;
    color: #1a2f3f;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.contact-card > p {
    font-size: 1.3rem;
    color: #4a6278;
    line-height: 1.72;
    margin-bottom: 4.28rem;
    max-width: 992px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.38rem;
    padding: 1.38rem 3.42rem;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.35px;
    transition: all 0.32s ease;
    border-radius: 12px;
    box-shadow: 0 10.5px 30px rgba(79, 195, 247, 0.36);
    font-family: 'Poppins', sans-serif;
}

.contact-link:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);
    transform: translateY(-3.5px);
    box-shadow: 0 14.5px 40px rgba(79, 195, 247, 0.46);
}

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

#footer {
    background: linear-gradient(135deg, #1a2f3f 0%, #2c4a5f 100%);
    padding: 4.08rem 0;
    text-align: center;
    color: rgba(248, 252, 254, 0.74);
    border-top: 3px solid #4fc3f7;
}

#footer a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.32s ease;
    font-weight: 600;
}

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(248, 252, 254, 0.97);
        backdrop-filter: blur(22px);
        flex-direction: column;
        padding: 2.88rem;
        gap: 0;
        box-shadow: 0 16px 44px rgba(26, 47, 63, 0.13);
        transform: translateY(-150%);
        transition: transform 0.38s ease;
        border-bottom: 1px solid rgba(79, 195, 247, 0.18);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.08rem;
        border-bottom: 1px solid rgba(26, 47, 63, 0.06);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.75rem;
        margin-bottom: 4.92rem;
        padding-left: 5.95rem;
    }

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

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

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

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

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

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

    #hero {
        padding: 118px 0 88px;
    }

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

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

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

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

    section {
        padding: 80px 0;
    }

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

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

    .profile-card {
        padding: 1.88rem;
    }

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

    .timeline-content {
        padding: 2.18rem;
    }

    .project-card {
        padding: 2.82rem 2.18rem;
    }

    .contact-card {
        padding: 4.08rem 2.18rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.18rem 2.18rem;
        font-size: 0.95rem;
    }
}