/* Theme: Aurora (Northern Lights) - Day 27, letter A: Inspired by dancing aurora borealis, ethereal sky phenomena, shimmering light curtains, polar landscapes, celestial colors, glacial blues, mystical greens, cosmic purples, starlit nights, natural light displays */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&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: 85px;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #1e3a4f;
    background: linear-gradient(180deg, #e8f4f8 0%, #f0f8fc 50%, #e0f2f7 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(100, 200, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(150, 100, 255, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(80, 255, 150, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: auroraShift 30s ease-in-out infinite;
}

@keyframes auroraShift {
    0%, 100% {
        opacity: 0.7;
        filter: hue-rotate(0deg);
    }
    33% {
        opacity: 0.9;
        filter: hue-rotate(15deg);
    }
    66% {
        opacity: 0.8;
        filter: hue-rotate(-15deg);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(100, 200, 255, 0.03) 1px, rgba(100, 200, 255, 0.03) 2px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 252, 255, 0.88);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 2px solid rgba(100, 200, 255, 0.25);
    box-shadow: 0 4px 24px rgba(30, 58, 79, 0.06);
    transition: all 0.3s ease;
}

#topnav.scrolled {
    background: rgba(248, 252, 255, 0.94);
    box-shadow: 0 6px 32px rgba(30, 58, 79, 0.1);
}

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

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #1e3a4f;
    margin: 0;
    letter-spacing: 1.5px;
    position: relative;
    text-transform: uppercase;
}

.logo h1::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #64c8ff 0%, #9664ff 100%);
    border-radius: 2px;
}

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

.nav-menu li a {
    display: block;
    padding: 0.85rem 1.6rem;
    color: #1e3a4f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64c8ff 0%, #9664ff 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 60%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2980b9;
    background: rgba(100, 200, 255, 0.08);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #64c8ff 0%, #9664ff 100%);
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    width: 52px;
    height: 52px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(100, 200, 255, 0.3);
}

.mobile-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(100, 200, 255, 0.4);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -18%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.18) 0%, transparent 65%);
    border-radius: 50%;
    animation: auroraWave 25s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(150, 100, 255, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    animation: auroraWave 30s ease-in-out infinite reverse;
}

@keyframes auroraWave {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 5.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: celestialFadeIn 1.1s ease-out;
}

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

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2.2rem;
    color: #1e3a4f;
    letter-spacing: -0.8px;
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: #4a6b7f;
    margin-bottom: 3.2rem;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.3px;
}

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

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #64c8ff 0%, #9664ff 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(100, 200, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(100, 200, 255, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: #2980b9;
    border: 2px solid #64c8ff;
    box-shadow: 0 4px 16px rgba(100, 200, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(100, 200, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(100, 200, 255, 0.25);
}

.hero-image {
    animation: celestialFadeIn 1.1s ease-out 0.25s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2.3rem;
    box-shadow: 
        0 0 0 1px rgba(100, 200, 255, 0.2),
        0 16px 48px rgba(30, 58, 79, 0.12);
    transition: all 0.4s ease;
    position: relative;
    border-radius: 20px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #64c8ff 0%, #50ff96 33%, #9664ff 66%, #64c8ff 100%);
    border-radius: 20px 20px 0 0;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 0 0 1px rgba(100, 200, 255, 0.3),
        0 24px 64px rgba(30, 58, 79, 0.18);
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.7rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(30, 58, 79, 0.15);
}

.profile-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    color: #1e3a4f;
    font-weight: 700;
}

.profile-details p {
    color: #4a6b7f;
    margin-bottom: 1.9rem;
    line-height: 1.65;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1rem 2.4rem;
    background: linear-gradient(135deg, #64c8ff 0%, #9664ff 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(100, 200, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(100, 200, 255, 0.4);
}

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

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

.section-header::before {
    content: '';
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #64c8ff 0%, #9664ff 100%);
    border-radius: 2px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1e3a4f;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #64c8ff 0%, #9664ff 100%);
    border-radius: 2px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 230px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #64c8ff 0%, #50ff96 33%, #9664ff 66%, #64c8ff 100%);
}

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

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(100, 200, 255, 0.35);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 4.8rem;
    letter-spacing: -2px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -89px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #64c8ff 0%, #9664ff 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 6px rgba(248, 252, 255, 1),
        0 0 0 12px rgba(100, 200, 255, 0.15);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    padding: 2.7rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(30, 58, 79, 0.08);
    position: relative;
    border-radius: 16px;
    border-left: 3px solid rgba(100, 200, 255, 0.3);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 38px rgba(30, 58, 79, 0.14);
    border-left-color: #64c8ff;
    background: rgba(255, 255, 255, 0.9);
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #1e3a4f;
    font-weight: 700;
}

.timeline-content h4 {
    color: #2980b9;
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
}

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

.timeline-content a {
    color: #2980b9;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content a:hover {
    border-bottom-color: #2980b9;
}

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

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

.project-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 32px rgba(30, 58, 79, 0.1);
    border-radius: 18px;
    border-top: 3px solid transparent;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #64c8ff 0%, #50ff96 50%, #9664ff 100%);
    border-radius: 18px 18px 0 0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(30, 58, 79, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

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

.project-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1e3a4f;
    margin: 0;
    font-weight: 700;
}

.project-client {
    color: #2980b9;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 2.1rem;
}

.project-card > p {
    color: #4a6b7f;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.project-impact {
    background: rgba(100, 200, 255, 0.08);
    padding: 1.9rem;
    color: #1e3a4f;
    line-height: 1.75;
    border-radius: 12px;
    border-left: 3px solid #64c8ff;
}

.project-impact strong {
    color: #2980b9;
    font-weight: 700;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(30, 58, 79, 0.08);
    border-radius: 16px;
    position: relative;
    border-top: 3px solid rgba(100, 200, 255, 0.3);
}

.year-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 38px rgba(30, 58, 79, 0.14);
    border-top-color: #64c8ff;
    background: rgba(255, 255, 255, 0.85);
}

.year-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    color: #1e3a4f;
    text-align: center;
    padding-bottom: 1.8rem;
    border-bottom: 2px solid rgba(100, 200, 255, 0.2);
    font-weight: 700;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #2980b9 0%, #6a4fb9 100%);
    border-top-color: #64c8ff;
}

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

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.3rem 0;
    color: #4a6b7f;
    border-bottom: 1px solid rgba(30, 58, 79, 0.08);
    line-height: 1.75;
    position: relative;
    padding-left: 2rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1.3rem;
    color: #64c8ff;
    font-weight: 400;
}

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

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

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

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

.contact-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 5.5rem 5rem;
    text-align: center;
    box-shadow: 0 16px 48px rgba(30, 58, 79, 0.12);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    border: 2px solid rgba(100, 200, 255, 0.25);
}

.contact-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2rem;
    margin-bottom: 2.5rem;
    color: #1e3a4f;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-card > p {
    font-size: 1.3rem;
    color: #4a6b7f;
    line-height: 1.75;
    margin-bottom: 4rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1.4rem 3.5rem;
    background: linear-gradient(135deg, #64c8ff 0%, #9664ff 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(100, 200, 255, 0.35);
    font-family: 'Montserrat', sans-serif;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(100, 200, 255, 0.45);
}

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

#footer {
    background: linear-gradient(135deg, #1e3a4f 0%, #2c5470 100%);
    padding: 4rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
}

#footer a {
    color: #64c8ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

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

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

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

    .hero-image {
        max-width: 520px;
        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 2rem;
        height: 80px;
    }

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(248, 252, 255, 0.96);
        backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 3rem;
        gap: 0;
        box-shadow: 0 16px 40px rgba(30, 58, 79, 0.12);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 2px solid rgba(100, 200, 255, 0.25);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.1rem;
        border-bottom: 1px solid rgba(30, 58, 79, 0.06);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.8rem;
        margin-bottom: 5rem;
        padding-left: 6rem;
    }

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

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

    .contact-card {
        padding: 4.5rem 3.5rem;
    }
}

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

    .nav-container {
        padding: 0 2rem;
        height: 75px;
    }

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

    #hero {
        padding: 115px 0 85px;
    }

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

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

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

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

    section {
        padding: 80px 0;
    }

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

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

    .profile-card {
        padding: 1.8rem;
    }

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

    .timeline-content {
        padding: 2.2rem;
    }

    .project-card {
        padding: 2.8rem 2.2rem;
    }

    .contact-card {
        padding: 4rem 2.2rem;
    }

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

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

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