/* ============================================
   AVA - Anastasya Vocal Arts
   Minimalist Design (Olha Uzhykova Style)
   ============================================ */

/* Variables */
:root {
    --color-cream: #FFFEE0;
    --color-pink-light: #F5A6BB;
    --color-burgundy: #9E0232;
    --color-pink: #EE3A6A;
    --color-gold: #FFE66D;
    --color-blue: #78B2FB;
    --color-dark: #1a0a10;
    --color-white: #ffffff;

    --font-display: 'Hanken Grotesk', sans-serif;
    --font-body: 'Hanken Grotesk', sans-serif;
    --font-accent: 'Hanken Grotesk', sans-serif;

    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);

    --section-padding: clamp(80px, 12vh, 150px);
    --container: min(90vw, 1400px);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    background: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Optional: Hide vertical scrollbar visually but allow scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   LOADER
   ============================================ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
}

.loader-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

html {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.loader-video {
    width: 30%;
    max-width: 280px;
    /* Smaller max size */
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    display: block;
    margin: 0 auto;
}

/* Transition Overlay - Circle Expand Effect */
#transition-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: var(--color-burgundy);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
    pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
#nav {
    position: absolute;
    /* Only show on Hero */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s var(--ease-smooth);
}

#nav.scrolled {
    background: transparent;
    backdrop-filter: none;
    padding: 15px 0;
}

.nav-inner {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 40px;
    width: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
}

.nav-logo span {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-burgundy);
}

.nav-menu {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-burgundy);
    transition: width 0.4s var(--ease-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-burgundy);
    padding: 12px 28px;
    border: 1px solid var(--color-burgundy);
    border-radius: 50px;
    transition: all 0.3s var(--ease-smooth);
}

.nav-cta:hover {
    background: var(--color-burgundy);
    color: var(--color-cream);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    width: var(--container);
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 60px;
}

.section-number {
    display: none;
    /* Hide all section numbers */
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-pink);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: var(--color-burgundy);
}

/* ============================================
   HORIZONTAL SCROLL WRAPPER (Hero + About)
   ============================================ */
.horizontal-scroll-wrapper {
    position: relative;
    overflow-x: hidden;
    /* Hide horizontal overflow */
    overflow-y: visible;
    /* Allow vertical content */
}

.horizontal-scroll-track {
    display: flex;
    width: 200vw;
    /* 2 panels × 100vw each */
}

.horizontal-panel {
    flex: 0 0 100vw;
    width: 100vw;
    min-height: 100vh;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    position: relative;
    background: transparent;
    /* Allow gradient to show */
}

/* Ensure content sits on top of background logo */
.hero-content,
.hero-description,
.about-content {
    position: relative;
    z-index: 2 !important;
    /* Force top layer */
}

/* About section */
#about {
    background: transparent;
    /* Allow gradient to show */
}

.hero-content {
    margin-bottom: 60px;
}

.hero-intro {
    font-family: var(--font-accent);
    font-size: 16px;
    color: var(--color-pink);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 130px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    overflow: hidden;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.title-line .word.accent {
    color: var(--color-burgundy);
    font-style: italic;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    color: var(--color-pink);
    opacity: 0;
    transform: translateY(30px);
}

.hero-description {
    max-width: 500px;
    margin-left: auto;
    opacity: 0;
    transform: translateY(30px);
}

.hero-description p {
    font-size: 17px;
    color: rgba(26, 10, 16, 0.7);
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-burgundy);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--color-burgundy);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: var(--color-pink);
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% {
        left: -30px;
    }

    100% {
        left: 100%;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
}

.about-heading em {
    color: var(--color-burgundy);
    font-style: italic;
}

.about-text {
    font-size: 17px;
    color: rgba(26, 10, 16, 0.7);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
}

.stat-item {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(26, 10, 16, 0.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--color-burgundy);
    display: block;
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 14px;
    color: rgba(26, 10, 16, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    display: block;
}

/* ============================================
   PRINCIPLES SECTION
   ============================================ */
.principle-quote {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-burgundy);
    margin-bottom: 80px;
    max-width: 900px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.principle-item {
    position: relative;
}

.principle-number {
    font-family: var(--font-accent);
    font-size: 12px;
    color: var(--color-pink);
    margin-bottom: 20px;
    display: block;
}

.principle-item h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-burgundy);
    margin-bottom: 15px;
}

.principle-item p {
    font-size: 15px;
    color: rgba(26, 10, 16, 0.7);
    line-height: 1.7;
}

/* ============================================
   PRINCIPLES SECTION (Standalone with Timeline)
   ============================================ */
.section-principles {
    padding-top: 100px;
    padding-bottom: 100px;
}

.principles-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
}

/* Photo Side - Sticky */
.principles-photo {
    position: sticky;
    top: 20vh;
}

.photo-container {
    position: relative;
}

.photo-placeholder {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Fallback gradient when no image */
.photo-placeholder-gradient {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-burgundy) 100%);
}

.photo-caption {
    display: block;
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-burgundy);
}

/* Timeline Side */
.principles-timeline {
    position: relative;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-pink), var(--color-burgundy));
}

.timeline-item {
    position: relative;
    padding: 40px 0;
    opacity: 0.3;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 50px;
    width: 16px;
    height: 16px;
    background: var(--color-cream);
    border: 3px solid var(--color-pink);
    border-radius: 50%;
    transition: all 0.4s;
}

.timeline-item.active .timeline-dot {
    background: var(--color-burgundy);
    border-color: var(--color-burgundy);
    transform: scale(1.3);
}

.timeline-year {
    font-family: var(--font-accent);
    font-size: 14px;
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--color-burgundy);
    margin-bottom: 15px;
}

.timeline-desc {
    font-size: 16px;
    color: rgba(26, 10, 16, 0.7);
    line-height: 1.7;
    max-width: 500px;
}

/* Responsive */
@media (max-width: 1024px) {
    .principles-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .principles-photo {
        position: relative;
        top: 0;
        max-width: 300px;
    }

    .principles-timeline {
        padding-left: 40px;
    }

    .timeline-line {
        left: 10px;
    }

    .timeline-dot {
        left: -38px;
    }
}

/* ============================================
   PROGRAMS SECTION (Pinned Stack - Minimalist)
   ============================================ */
.section-programs {
    min-height: 100vh;
    padding-bottom: 20vh;
}

.programs-stack-container {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 50px;
}

/* PROGRAMS (SCROLL STACK) SECTION */
.section-programs {
    position: relative;
    padding: 100px 0;
    min-height: 100vh;
    z-index: 1;
    /* Creates stacking context */
}

.programs-stack-container {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    z-index: 2;
    /* Active stack above background wave */
}

.program-card {
    position: sticky;
    top: 15vh;
    background: var(--color-cream);
    /* Solid color to cover ref beneath */
    border-top: 1px solid rgba(26, 10, 16, 0.1);
    border-bottom: 1px solid rgba(26, 10, 16, 0.1);
    padding: 80px 0;
    margin-bottom: 0;
    /* Remove separation */
    transition: background 0.4s ease, color 0.4s ease;
    transform-origin: center top;
    min-height: 70vh;
    /* Make cards tall enough to scroll */
    display: flex;
    align-items: center;
}

.program-card:hover {
    background: var(--color-burgundy);
    color: var(--color-cream);
    border-color: transparent;
}

.card-content {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2.5fr);
    gap: 80px;
    align-items: start;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.program-level {
    font-family: var(--font-accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-pink);
    transition: color 0.4s;
}

.program-card:hover .program-level {
    color: var(--color-gold);
}

.program-number {
    font-family: var(--font-display);
    font-size: 80px;
    /* Large numbering like minimalist style */
    font-weight: 700;
    color: rgba(26, 10, 16, 0.1);
    line-height: 0.8;
    transition: color 0.4s;
}

.program-card:hover .program-number {
    color: rgba(255, 255, 255, 0.2);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(26, 10, 16, 0.7);
    max-width: 600px;
    margin: 0 0 30px 0;
    transition: color 0.4s;
}

.program-card:hover .card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.card-features li {
    padding: 8px 20px;
    border: 1px solid rgba(26, 10, 16, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-accent);
    transition: all 0.4s;
}

.program-card:hover .card-features li {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-cream);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--color-burgundy);
    color: var(--color-burgundy);
    border-radius: 50px;
    font-family: var(--font-accent);
    font-weight: 600;
    transition: all 0.4s;
}

.program-card:hover .card-btn {
    background: var(--color-cream);
    border-color: var(--color-cream);
    color: var(--color-burgundy);
}

/* Featured styles override - blend in with others in minimalist mode but still distinct */
.program-card.featured {
    background: var(--color-cream);
    color: var(--color-dark);
}

.program-card.featured:hover {
    background: var(--color-burgundy);
    color: var(--color-cream);
}

/* Responsive */
@media (max-width: 1024px) {
    .card-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .program-number {
        display: none;
    }

    .program-card {
        padding: 40px 0;
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .program-card {
        top: 10vh;
        border-radius: 0;
        box-shadow: none;
    }
}

/* ============================================
   GALLERY SECTION (Swiper Creative 3D)
   ============================================ */
.section-gallery {
    padding-bottom: 150px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100% !important;
    overflow: hidden;
    /* Adjusted padding top */
    padding-top: 50px;
}

/* Specific fix for Gallery Header to align with other sections */
.section-gallery .section-header {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto 0px auto;
    /* Reduced gap significantly here */
    padding: 0 20px;
    /* Safety padding for mobile */
}

.gallery-swiper-wrapper {
    width: 100%;
    padding: 60px 0 100px;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    /* Essential for 3D effect */
}

/* Arch effect needs more bottom space */
.gallery-swiper {
    width: 100%;
    padding: 50px 0 100px 0;
    /* Extra bottom padding */
    overflow: visible !important;
    transform-style: preserve-3d;
}

.swiper-slide {
    width: 280px;
    /* Mobile width */
    height: 400px;
    /* Mobile height */
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 400px;
        height: 550px;
        border-radius: 40px;
    }
}

/* ============================================
   MARQUEE SECTION
   ============================================ */
.section-marquee {
    min-height: 100vh;
    /* Full screen height */
    padding: 0;
    overflow: hidden;
    width: 100vw;
    background: transparent;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center Vertically */
}

.marquee-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(60px, 12vw, 160px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-burgundy);
    position: relative;
    padding-right: 40px;
    /* Spacing */
    line-height: 1;
    transition: all 0.3s;
}

.marquee-item .separator {
    color: var(--color-gold);
    display: inline-block;
    transform: translateY(-20px);
    font-size: 30px;
}

/* Hover Effect: Fill color */
.marquee-container:hover .marquee-item {
    color: var(--color-burgundy);
    -webkit-text-stroke: 0;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}





.gallery-slide-content {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Ensure content is above background logo */
.hero-content,
.hero-description>*,
/* Select direct children to enable pointer-events */
.about-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    /* Re-enable pointer events */
}

.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Info overlay styling - Always visible */
.gallery-slide-info {
    position: relative;
    z-index: 2;
    color: var(--color-cream);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swiper-slide-active .gallery-slide-info {
    /* Scale up slightly for active slide */
    transform: scale(1.05);
}

.gallery-number {
    font-size: 16px;
    font-family: var(--font-accent);
    color: var(--color-cream);
    opacity: 0.8;
    margin-bottom: 5px;
}

.gallery-slide-info h4 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}



.swiper-slide-active .gallery-slide-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-number {
    font-size: 14px;
    font-family: var(--font-accent);
    color: var(--color-pink);
    margin-bottom: 5px;
}

.gallery-slide-info h4 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.gallery-tag {
    font-size: 14px;
    opacity: 0.7;
}





.gallery-overlay h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay span {
    font-size: 13px;
    color: var(--color-pink-light);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-item {
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(26, 10, 16, 0.08);
    transition: all 0.4s var(--ease-smooth);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(158, 2, 50, 0.1);
}

.testimonial-item blockquote {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info h5 {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-burgundy);
}

.author-info span {
    font-size: 13px;
    color: rgba(26, 10, 16, 0.6);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    padding: 50px 40px;
    background: var(--color-cream);
    border: 1px solid rgba(26, 10, 16, 0.1);
    position: relative;
    transition: all 0.4s var(--ease-smooth);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(158, 2, 50, 0.1);
}

.price-card.featured {
    background: var(--color-burgundy);
    color: var(--color-cream);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--color-gold);
    color: var(--color-dark);
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.price-card.featured .price-header h3 {
    color: var(--color-cream);
}

.price-header p {
    font-size: 14px;
    color: rgba(26, 10, 16, 0.6);
    margin-bottom: 30px;
}

.price-card.featured .price-header p {
    color: var(--color-pink-light);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 30px;
}

.price-amount .currency {
    font-family: var(--font-accent);
    font-size: 18px;
}

.price-amount .value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-burgundy);
}

.price-card.featured .price-amount .value {
    color: var(--color-cream);
}

.price-amount .period {
    font-size: 14px;
    color: rgba(26, 10, 16, 0.5);
}

.price-card.featured .price-amount .period {
    color: var(--color-pink-light);
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
}

.price-features li {
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(26, 10, 16, 0.08);
}

.price-card.featured .price-features li {
    border-color: rgba(255, 254, 224, 0.2);
}

.price-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--color-burgundy);
    color: var(--color-burgundy);
    transition: all 0.3s var(--ease-smooth);
}

.price-btn:hover,
.price-btn.primary {
    background: var(--color-burgundy);
    color: var(--color-cream);
}

.price-card.featured .price-btn {
    border-color: var(--color-cream);
    color: var(--color-cream);
}

.price-card.featured .price-btn:hover {
    background: var(--color-cream);
    color: var(--color-burgundy);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid rgba(26, 10, 16, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    color: var(--color-dark);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--color-burgundy);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-pink);
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 30px;
    font-size: 16px;
    color: rgba(26, 10, 16, 0.7);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-content {
    max-width: 700px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
}

.contact-title span {
    display: block;
}

.contact-title span:last-child {
    color: var(--color-burgundy);
    font-style: italic;
}

.contact-desc {
    font-size: 18px;
    color: rgba(26, 10, 16, 0.7);
    margin-bottom: 40px;
}

.contact-email {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 500;
    color: var(--color-burgundy);
    position: relative;
    display: inline-block;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-burgundy);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-smooth);
}

.contact-email:hover::after {
    transform: scaleX(1);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.contact-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 10, 16, 0.2);
    border-radius: 50%;
    color: var(--color-dark);
    transition: all 0.3s var(--ease-smooth);
}

.contact-social a:hover {
    background: var(--color-burgundy);
    border-color: var(--color-burgundy);
    color: var(--color-cream);
}

.contact-social svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    padding: 40px 0;
    border-top: 1px solid rgba(26, 10, 16, 0.1);
}

.footer-content {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 30px;
    height: 30px;
}

.footer-brand span {
    font-family: var(--font-accent);
    font-size: 14px;
    color: rgba(26, 10, 16, 0.6);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(26, 10, 16, 0.5);
}

/* Wave Progress Indicator */
.program-wave-container {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    height: 60vh;
    /* Taller background presence */
    min-height: 500px;
    z-index: 0;
    /* Behind content */
    pointer-events: none;
    overflow: hidden;
    transform-origin: bottom;
}


.wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    /* Remove inline gaps */
}

.wave-progress {
    stroke-dasharray: 2000;
    /* Must cover entire path length */
    stroke-dashoffset: 2000;
    /* Initially hidden */
    transition: stroke-dashoffset 0.1s linear;
}


/* Floating Logo */
.floating-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    /* Initial size */
    z-index: 0;
    /* Behind content but possibly above body bg */
    pointer-events: none;
    opacity: 0;
    /* Hidden initially, controlled by JS */
    will-change: transform, width, top, left;
    mix-blend-mode: multiply;
    /* Better blend with background */
}

/* Global Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Deepest layer */
    background:
        radial-gradient(circle at 10% 20%, #FFFEE0 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, #F5A6BB 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, #9E0232 0%, transparent 40%),
        radial-gradient(circle at 20% 90%, #EE3A6A 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #FFE66D 0%, transparent 60%),
        radial-gradient(circle at 90% 50%, #78B2FB 0%, transparent 40%);
    background-color: #FFFEE0;
    /* Base color */
    filter: blur(80px);
    /* Smooth blend restored */
    opacity: 0.6;
    /* Subtle effect */
    will-change: auto;
}

/* Positioning Markers (Invisible Anchors) */
.logo-marker {
    position: absolute;
    width: 2px;
    height: 2px;
    background: red;
    /* Debug (hidden later) */
    visibility: hidden;
    pointer-events: none;
}

.hero-marker {
    top: -120px;
    /* Above description */
    right: 0;
}

.about-marker {
    bottom: -80px;
    /* Below about text */
    left: 0;
}

.portfolio-marker {
    top: 15vh;
    right: 5vw;
    /* Far right */
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-stats {
        flex-direction: row;
    }

    .stat-item {
        border-bottom: none;
        border-right: 1px solid rgba(26, 10, 16, 0.1);
        padding-right: 40px;
    }

    .stat-item:last-child {
        border-right: none;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .testimonials-list,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 80px);
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(26, 10, 16, 0.1);
        padding-right: 0;
    }

    .program-title {
        font-size: 28px;
    }

    .contact-title {
        font-size: clamp(36px, 10vw, 60px);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ============================================
   PROGRAMS SECTION OVERRIDE (Pinned Reveal Mode)
   ============================================ */
/* Cards appear one by one, previous disappears */
.section-programs {
    padding-bottom: 0;
    min-height: 100vh;
}

.programs-stack-container {
    position: relative;
    padding-top: 50px;
    max-width: var(--container);
    min-height: 50vh;
    /* Space for cards */
}

.program-card {
    /* Will be positioned absolute by JS */
    min-height: auto !important;
    padding: 60px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(26, 10, 16, 0.1) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;

    display: flex;
    align-items: center;
    width: 100%;
}

/* Background for cards */
.program-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-cream);
    z-index: -1;
    transition: background 0.5s ease, transform 0.5s ease;
}

/* Active state (scroll focus) - no hover needed */
.program-card.active::before {
    background: var(--color-burgundy);
}

.program-card.active {
    color: var(--color-cream);
}

/* Adjust Content Layout for List Look */
.card-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    width: 100%;
}

/* Hide or shrink elements that are too big */
.card-header {
    flex-basis: 180px;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}

.program-level {
    font-size: 14px;
    margin: 0 !important;
    order: 1;
    /* Swap order if needed, but level first is fine */
}

.program-number {
    font-size: 24px !important;
    /* Make number small again */
    opacity: 0.3;
    font-weight: 500 !important;
    order: 2;
}

/* Content Area */
.card-body {
    flex: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    flex-direction: row !important;
    /* Horizontal layout */
}

/* Title & Desc Group */
.card-title {
    font-size: 28px !important;
    /* Smaller title to fit 2 lines */
    margin: 0 !important;
    max-width: 280px !important;
    min-width: 200px;
    flex-shrink: 0;
    /* Allow wrapping to 2 lines */
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
    word-break: break-word;
}

.card-desc {
    font-size: 18px !important;
    margin: 0 !important;
    max-width: 500px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: inherit !important;
    opacity: 0.7;
}

.program-card:hover .card-desc {
    opacity: 0.9;
    color: inherit !important;
}

/* Hide specific features to clean up lists */
.card-features {
    display: none !important;
}

/* Button as Arrow/Icon */
.card-btn {
    border: 1px solid var(--color-burgundy) !important;
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin: 0 !important;
    flex-shrink: 0;
    background: transparent !important;
}

.card-btn span {
    display: none;
    /* Hide text "Learn More" */
}

/* ============================================
   PROMO SECTION (Replaces Pricing)
   ============================================ */
.section-promo {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.promo-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.promo-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(158, 2, 50, 0.05);
    transition: transform 0.4s var(--ease-out);
    width: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 80px rgba(158, 2, 50, 0.15);
}

.promo-badge {
    display: inline-block;
    background: var(--color-burgundy);
    color: var(--color-gold);
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.promo-heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-burgundy);
    margin-bottom: 20px;
    line-height: 1.1;
}

.promo-desc {
    font-size: 16px;
    color: var(--color-dark);
    opacity: 0.7;
    margin-bottom: 40px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.promo-price-wrapper {
    margin-bottom: 50px;
}

.price-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--color-burgundy);
    gap: 8px;
    margin-bottom: 5px;
}

.price-row .amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.price-row .period {
    padding-bottom: 8px;
    opacity: 0.6;
    font-weight: 500;
}

.price-note {
    font-size: 14px;
    color: var(--color-dark);
    opacity: 0.5;
    text-decoration: line-through;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--color-burgundy);
    color: var(--color-gold);
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(158, 2, 50, 0.2);
}

.btn-register:hover {
    transform: scale(1.05);
    background: var(--color-pink);
    color: #fff;
    box-shadow: 0 15px 40px rgba(238, 58, 106, 0.3);
}

/* ============================================
   STICKY REGISTER CARD
   ============================================ */
.fixed-register-card {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--color-white);
    padding: 20px 10px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: -4px 4px 15px rgba(158, 2, 50, 0.1);
    z-index: 9999;
    /* High priority */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1px solid rgba(158, 2, 50, 0.1);
    border-right: none;
}

.fixed-register-card:hover {
    padding-right: 15px;
    /* Slight slide out */
    background: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.register-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-burgundy);
    transform: rotate(180deg);
    /* Fix orientation */
    transition: color 0.3s;
}

.fixed-register-card:hover .register-text {
    color: var(--color-gold);
}

.register-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-burgundy);
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s;
}

.fixed-register-card:hover .register-icon {
    background: var(--color-white);
    color: var(--color-burgundy);
    transform: rotate(-45deg);
}

.register-icon svg {
    width: 16px;
    height: 16px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.card-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.program-card:hover .card-btn {
    background: var(--color-cream) !important;
    border-color: var(--color-cream) !important;
    color: var(--color-burgundy) !important;
}

.program-card:hover .card-btn svg {
    transform: rotate(-45deg);
}

.program-card.featured {
    background: transparent !important;
    color: inherit !important;
}

.program-card.featured:hover {
    background: transparent !important;
    /* Managed by pseudo element */
    color: var(--color-white) !important;
}

/* Responsive Override */
@media (max-width: 1024px) {

    .card-content,
    .card-body {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .card-header {
        flex-basis: auto;
        width: 100%;
        margin-bottom: 20px !important;
    }

    .program-item {
        padding: 40px 0 !important;
        top: 15vh !important;
    }

    .card-title {
        width: 100%;
        white-space: normal;
        margin-bottom: 10px !important;
    }

    .card-desc {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 20px !important;
    }

    .card-btn {
        align-self: flex-start;
    }
}

/* ============================================
   UNIVERSAL MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 10, 16, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--color-cream);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(158, 2, 50, 0.2);
    color: var(--color-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: transparent;
}

.modal-close:hover {
    background: var(--color-burgundy);
    color: var(--color-cream);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

/* Modal Content Styles - Curriculum & Gallery */
.modal-header-c {
    border-bottom: 2px solid var(--color-burgundy);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.modal-subtitle {
    font-family: var(--font-accent);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-pink);
    display: block;
    margin-bottom: 5px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-burgundy);
    line-height: 1.2;
}

.modal-desc-c p {
    font-size: 16px;
    color: rgba(26, 10, 16, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-list-c h4 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-burgundy);
    margin-bottom: 15px;
}

.modal-list-c ul {
    list-style: none;
    padding-left: 0;
}

.modal-list-c li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--color-dark);
}

.modal-list-c li::before {
    content: '•';
    color: var(--color-pink);
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Gallery Modal Specific */
.modal-gallery-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-gallery-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.modal-gallery-info h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-burgundy);
    margin-bottom: 10px;
}

.tag-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--color-pink);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.gallery-view-btn {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.gallery-view-btn:hover {
    background: white;
    color: var(--color-burgundy);
}