/* 
   AXcent Dance - Main Stylesheet
   Theme: Dark Modern (Deep Plum / Fiery Accent)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Teko:wght@300..700&display=swap');

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    /* PALETTE - DARK MODERN (REFINED) */
    --bg-main: #050208;
    /* Deepest Black-Purple */
    --bg-secondary: #0f0816;
    /* Darker Plum */

    --accent-start: #ff3b30;
    /* Fiery Red (User Preferred) */
    --accent-end: #ff6b1a;
    /* Orange (User Preferred) */

    --grad: linear-gradient(to right, #ff3b30, #ff6b1a);

    --text-main: #ffffff;
    /* Pure White */
    --text-muted: #9ca3af;
    /* Neutral Cool Gray */
    --text-dark: #0f0518;
    /* For buttons/light backgrounds */

    --glass-bg: rgba(20, 10, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    /* SPACING & SIZING */
    --container-width: 1200px;
    --header-height: 80px;

    /* ANIMATIONS */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* FONTS */
    --font-display: 'Teko', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* UTILITY CLASSES */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* HERO REFACTOR UTILITIES */
.relative-container {
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 2, 8, 0.8), var(--bg-main));
    z-index: 1;
    pointer-events: none;
}

.hero-content-z {
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(20, 10, 30, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.15);
    transform: translateY(-5px);
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Schedule Hero Modern */
.schedule-hero-modern {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content-left {
    order: 2;
    /* Text below image on mobile */
    text-align: center;
    margin-top: 4rem;
    /* Push text lower to clear scaled image */
}

.hero-content-right {
    order: 1;
    /* Image on top on mobile */
    position: relative;
    height: auto;
    width: 100%;
    max-width: 80%;
    /* Make it smaller on mobile */
    margin: 0 auto;
    /* Center it */
}

.arch-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad);
    opacity: 0.1;
    border-radius: 20px;
}

.arch-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.arch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }

    .hero-content-left {
        order: 1;
        text-align: left;
        margin-top: 0;
    }

    .hero-content-right {
        order: 2;
        height: 500px;
        /* Full height on desktop */
    }

    .hero-buttons-group {
        justify-content: flex-start;
    }
}

/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
    /* Ensure z-index works on children relative to body */
}

/* NOISE OVERLAY - MODERNIZATION - Removed */

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* UTILITIES */
.breadcrumb-nav {
    display: none !important;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    /* Reduced padding for mobile */
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-end);
    text-shadow: none;
}

/* Mobile Typography Fixes */
@media (max-width: 767px) {

    .hero-title-large {
        font-size: 22vw !important;
        line-height: 0.8 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .section-title-modern {
        font-size: 2.5rem !important;
    }

    .hero-desc-border {
        font-size: 1.1rem !important;
    }
}

/* iOS Input Zoom Fix */
input,
select,
textarea {
    font-size: 16px !important;
}

.hidden-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-mobile {
        display: block;
    }

    .hidden-desktop {
        display: none;
    }
}

/* BACKGROUND BLOBS - Removed */

/* NAVIGATION */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 5, 24, 0.6);
    /* Lower opacity for better glass effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

/* Glassmorphism 2.0 - Shine Border */
.main-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.0) 20%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.0) 80%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.main-header.header-hidden {
    /* transform: translateY(-100%); DISABLED AUTO-HIDE */
    transform: none !important;
}

/* MOBILE BOTTOM NAVIGATION */
/* MOBILE BOTTOM NAVIGATION - Removed in favor of Smart Sticky Header */


.main-header.scrolled {
    background: rgba(15, 5, 24, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-header.scrolled::after {
    opacity: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    /* Anchor for absolute button */
}

.mobile-menu-btn {
    display: block !important;
    background: none;
    border: none;
    color: white !important;
    cursor: pointer;
    padding: 0;
    z-index: 10001;

    position: absolute !important;
    left: 1rem;
    /* Move to Left */
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn svg {
    display: block;
    width: 28px !important;
    /* Explicit size */
    height: 28px !important;
    transition: transform 0.3s ease;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-size: 1.8rem;
    transform: none;
    /* Reset transform */
}

.logo-title {
    color: white;
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 0.6em;
    /* Smaller DANCE */
    letter-spacing: 0.1em;
    display: block;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: var(--text-muted);
    padding: 0;
    padding-bottom: 5px;
    /* Align with nav links */
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.dropdown:hover .dropbtn,
.dropbtn:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.dropbtn {
    position: relative;
    /* Ensure pseudo-element positioning */
}

.dropbtn.active {
    color: white;
}

.dropbtn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.dropbtn:hover::after {
    width: 80%;
}

.dropbtn.active::after {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-start), var(--accent-end), transparent);
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.4);
}

.dropdown-content {
    display: block;
    /* Always block for animation, but hidden by opacity/visibility */
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: rgba(15, 5, 24, 0.95);
    min-width: 180px;
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.4);
    z-index: 1;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    top: 120%;
    /* Start slightly lower */
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    top: 100%;
    /* Slide up to position */
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding-left: 20px;
}

/* Dropdown Underline on Text Only */
.dropdown-content a::after {
    display: none !important;
    /* Remove wide underline */
}

.dropdown-content a span {
    position: relative;
    display: inline-block;
    /* Ensure span respects width */
}

.dropdown-content a span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.dropdown-content a:hover span::after {
    width: 100%;
}

.dropdown-content a.active span::after {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-start), var(--accent-end), transparent);
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.4);
}

/* ... existing code ... */

.nav-links a:not(.btn-header-cta) {
    position: relative;
    padding-bottom: 5px;
    /* Space for underline */
}

.nav-links a:not(.btn-header-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    /* Thinner for modern look */
    background: rgba(255, 255, 255, 0.5);
    /* Grey for hover */
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-links a:not(.btn-header-cta):hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a:not(.btn-header-cta):hover::after {
    width: 80%;
    /* Grey underline on hover */
}

.nav-links a:not(.btn-header-cta).active {
    color: white;
}

.nav-links a:not(.btn-header-cta).active::after {
    width: 120%;
    /* Longer underline */
    height: 2px;
    /* Thinner active state */
    background: linear-gradient(90deg, transparent, var(--accent-start), var(--accent-end), transparent);
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.4);
}

.btn-header-cta {
    position: relative;
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid var(--accent-start);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform var(--transition-fast), background var(--transition-fast);
    /* box-shadow provided by moving point or subtle glow */
    margin-left: 2rem;
    display: none;
    isolation: isolate;
    /* Create stacking context for ::before */
}

/* The Rotating Point Border */
/* Animation moved to hero button */

@keyframes rotate-point {
    to {
        --angle: 360deg;
    }
}

.btn-header-cta:hover {
    background: rgba(255, 59, 48, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.25);
    color: white;
}

@media (min-width: 768px) {
    .btn-header-cta {
        display: inline-block;
    }
}

/* Mobile Menu Button - Left Side */
.mobile-menu-btn {
    display: block !important;
    background: none;
    border: none;
    color: white !important;
    cursor: pointer;
    padding: 0;
    /* Remove padding to avoid hitbox size issues with absolute */
    z-index: 10001;
    /* High z-index */

    /* Position Left */
    position: absolute !important;
    left: 1rem;
    /* 16px from left */
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    /* Explicit size */
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Center Logo on Mobile Screens < 900px */
@media (max-width: 899px) {
    .navbar {
        justify-content: center;
    }

    .logo-title {
        font-size: 2rem;
    }

    /* Enforce Mobile Menu Visibility ONLY here */
    .mobile-menu-btn {
        display: flex !important;
        position: fixed !important;
        /* Keep fixed as it worked for user */
        top: 18px !important;
        /* (80px header - 44px button) / 2 = 18px */
        left: 1rem !important;
        z-index: 10001 !important;

        background: none !important;
        /* Remove blue box */
        border: none !important;
        color: white !important;

        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
}

@media (min-width: 900px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-menu-btn svg {
    display: block;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active svg {
    transform: rotate(90deg);
    /* Simple rotation for now, or X transform below */
}

/* Optional: Transform lines to X if desired, but rotation is clean */
.mobile-menu-btn.active .line-top {
    transform: translateY(6px) rotate(45deg);
    transform-origin: center;
}

.mobile-menu-btn.active .line-middle {
    opacity: 0;
}

.mobile-menu-btn.active .line-bottom {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: center;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    /* Fixed to cover screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20, 10, 35, 1);
    /* Solid background ("Thick") */
    /* Removed transparent/blur effect */
    padding: 6rem 2rem 2rem;
    /* Top padding for header space */
    border-bottom: none;
    box-shadow: none;
    overflow-y: auto;
    /* Allow scrolling if list is long */
    animation: fadeIn 0.3s ease forwards;
    align-items: center;
    /* Center items */
    gap: 1.5rem;
}

.nav-links.active>a {
    font-size: 1.5rem;
    /* Larger font for mobile menu */
    font-weight: 700;
}

/* MOBILE DROPDOWN (Click to Toggle) */
.nav-links.active .dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;

    /* Separator Line Above 'More' */
    margin-top: 1rem;
    padding-top: 1.5rem;
    position: relative;
}

.nav-links.active .dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    /* Stylish width */
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-start), var(--accent-end), transparent);
    opacity: 0.6;
}

.nav-links.active .dropbtn {
    display: block !important;
    /* Show "More" button */
    font-size: 1.5rem;
    /* Match other links */
    font-weight: 700;
    cursor: pointer;
}

/* Dropdown Content - Collapsed by default */
.nav-links.active .dropdown-content {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: auto;

    /* Animation state: Hidden */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: none;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    border: none;
    backdrop-filter: none;
}

/* Dropdown Content - Expanded when Active */
.nav-links.active .dropdown.active .dropdown-content {
    max-height: 800px;
    /* Large enough to fit content */
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;
}

.nav-links.active .dropdown-content a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    padding: 0;
    text-align: center;
    display: block;
    font-weight: 500;
}

/* Handle Dropdown on Mobile */
.nav-links.active .dropdown {
    width: 100%;
    text-align: center;
}

.nav-links.active .dropbtn {
    font-size: 1.5rem;
    font-weight: 700;
    display: none;
    /* Hide 'More' button, just show content */
}

.nav-links.active .dropdown-content {
    display: flex;
    /* Show always */
    flex-direction: column;
    position: static;
    /* Stack inline */
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: auto;
    gap: 1rem;
    animation: none;
    margin-top: 0;
}

.nav-links.active .dropdown-content a {
    color: var(--text-muted);
    /* Distinct style for sub-links */
    font-size: 1.25rem;
    padding: 0;
    justify-content: center;
}

.nav-links.active .dropdown-content a:hover {
    background: none;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@media (min-width: 900px) {
    .time-slot {
        display: flex;
    }

    .nav-links {
        display: flex;
    }


}

/* TESTIMONIALS REDESIGN */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Gradient Border Effect via Pseudo-element */
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover::before {
    opacity: 0.8;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    font-family: serif;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    opacity: 0.5;
    transform: scale(1.1) rotate(-5deg);
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.author-info h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* Dark overlay for readability */
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-badge-line {
    width: 3rem;
    height: 1px;
    background-color: var(--accent-start);
}

.hero-badge-text {
    color: var(--accent-start);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* Hero Typography */
.hero-title-large {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 600;
    line-height: 0.85;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    color: white;
    /* Ensure white text on video */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ax-highlight {
    color: white;
    /* Outline removed as requested */
}

@media (min-width: 768px) {
    .hero-title-large {
        font-size: 10rem;
    }
}

/* Text Reveal Animation */
.reveal-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    /* Ensures alignment isn't messed up */
    line-height: 1;
    /* Tighten line height for mask */
}

.reveal-content {
    display: inline-block;
    transform: translateY(110%);
    animation: revealUp 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 
   Improved Hero Notice Box 
   Replaces inline styles with a structured component
*/
.hero-notice-box {
    background: rgba(255, 255, 255, 0.05);
    /* Slightly clearer than 0.08 for elegance */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    margin: 0.75rem 0 1.5rem 0;
    /* Aligned left on desktop usually, but centered on mobile */
    max-width: 100%;
    width: fit-content;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-medium), border-color var(--transition-medium);
}

.hero-notice-box:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Shine effect on hover */
.hero-notice-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.hero-notice-box:hover::before {
    left: 150%;
    transition: left 0.7s ease;
}

.notice-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.notice-group+.notice-group {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.notice-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--accent-start);
    /* Red badge background */
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
    /* Glow for button effect */
    text-shadow: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    -webkit-background-clip: border-box;
}

.notice-value {
    color: white;
    font-weight: 600;
    font-size: 1.0rem;
    line-height: 1.3;
}

.notice-value a {
    color: white;
    text-decoration: none;
    background-image: linear-gradient(var(--accent-start), var(--accent-start));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.notice-value a:hover {
    background-size: 100% 1px;
    color: var(--accent-start);
}



/* Mobile Responsiveness */
@media (max-width: 767px) {
    .hero-notice-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .notice-group {
        width: 100%;
    }

    .notice-group+.notice-group {
        padding-left: 0;
        border-left: none;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* Stagger the second line */
.reveal-wrapper:nth-child(2) .reveal-content {
    animation-delay: 0.2s;
}

@keyframes revealUp {
    from {
        transform: translateY(110%);
    }

    to {
        transform: translateY(0);
    }
}

/* BREADCRUMBS */
.breadcrumb-nav {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    position: relative;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    /* Centered for hero sections */
}

/* Align left for standard pages if needed, but hero is usually centered */
@media (min-width: 1024px) {
    .course-hero-content .breadcrumb-list {
        justify-content: flex-start;
    }
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--accent-light);
}

.breadcrumb-list .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8em;
}

.breadcrumb-list li[aria-current="page"] {
    color: white;
    font-weight: 700;
}

.text-outline {
    font-size: 2.25rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    /* Thicker stroke */
    opacity: 0.8;
    user-select: none;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .text-outline {
        font-size: 3.75rem;
    }
}

.hero-desc-border {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    /* Lighter text */
    max-width: 60rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-map-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.hero-map-link:hover {
    color: var(--accent-start);
    border-bottom: 1px solid var(--accent-start);
}

.hero-desc-border strong {
    color: white;
    font-weight: 700;
}

/* Hero Buttons */
.hero-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-buttons-group {
        justify-content: flex-start;
    }
}

/* Hero Buttons (Pill Shaped) */
.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn-hero-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Base Primary Button (No Animation by Default) */
.btn-hero-primary {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid var(--accent-start);
    /* Default static border */
    color: white;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.2), inset 0 0 10px rgba(255, 59, 48, 0.1);
    isolation: isolate;
    position: relative;
    /* Ensure it can hold pseudo-elements if added */
}

/* Rotating Border Modifier (Home Only) */
.btn-rotating-border {
    border: none !important;
    /* Hide static border when animating */
}

.btn-rotating-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    padding: 2px;
    background: conic-gradient(from var(--angle), transparent 0%, transparent 80%, #ff9f9f 95%, transparent 100%);
    -webkit-mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-point 3s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.btn-hero-primary:hover {
    background: rgba(255, 59, 48, 0.3);
    border-color: var(--accent-start);
    /* transform: translateY(-4px); Removed to keep static */
    border: 1px solid var(--accent-start);
    /* box-shadow: 0 0 40px rgba(255, 59, 48, 0.5), inset 0 0 20px rgba(255, 59, 48, 0.2); Removed per user request */
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
    color: white;
}



/* Framed Hero Image Style */
.framed-hero-wrapper {
    position: relative;
    position: relative;
    padding: 2rem;
    transform: scale(1.25) translateY(30px);
    /* Bigger & Lower */
    /* Space for frames */
}

.framed-hero-inner {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.framed-hero-inner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Rotated white frame */
.framed-hero-inner::after {
    content: '';
    position: absolute;
    inset: -12px;
    border: 2px solid white;
    /* Changed back to white */
    border-radius: 28px;
    transform: rotate(-3deg);
    z-index: -1;
    pointer-events: none;
}

/* Outer faint frame */
.framed-hero-inner::before {
    content: '';
    position: absolute;
    inset: -18px;
    border: 2px solid var(--accent-start);
    border-radius: 35px;
    transform: rotate(3deg);
    z-index: -2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 6rem;
    height: 6rem;
    background: var(--grad);
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.3;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.skew-divider {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-main);
    transform: skewY(-2deg);
    z-index: 10;
}

/* VALUES SECTION */
.reviews-section {
    padding: 0 0 4rem 0;
    /* Reduced top padding from 4rem to 0 */
    position: relative;
    z-index: 20;
    overflow: hidden;
    background-color: var(--bg-main);
}

/* GALLERY & VALUES SPLIT */
.gallery-values-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1.4fr 0.6fr;
        align-items: start;
    }
}

/* Gallery Column */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    /* Better for horizontal images */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 4px solid white;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Artistic Tilt Effect */
.gallery-item:nth-child(odd) {
    transform: rotate(-3deg);
    margin-top: 1rem;
}

.gallery-item:nth-child(even) {
    transform: rotate(3deg);
    margin-bottom: 1rem;
}

.gallery-item:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-start);
}

/* Removed legacy gallery item background images */

/* Gallery Hero - No Background Image */
.gallery-hero {
    background: var(--bg-main);
    padding: 6rem 0 2rem 0;
    position: relative;
    /* Ensure no inherited backgrounds show */
}


/* Right Column: Values */
.values-col {
    width: 100%;
}

.section-title-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    display: block;
}

.values-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
}

.value-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.value-number {
    position: absolute;
    top: -1.5rem;
    left: 1rem;
    font-size: 6rem;
    font-weight: 900;
    color: white;
    opacity: 0.1;
    line-height: 1;
    z-index: 0;
    transition: opacity 0.5s ease, color 0.5s ease;
    user-select: none;
}

.value-item:hover .value-number,
.value-item.active .value-number {
    opacity: 0.2;
    color: var(--accent-start);
}

.value-item:nth-child(odd) .value-number,
.value-item:nth-child(even) .value-number {
    left: 1rem;
    right: auto;
}

@media (min-width: 768px) {
    .value-number {
        font-size: 8rem;
    }
}

.value-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 768px) {
    .value-content {
        flex-direction: column;
    }

    .value-item:nth-child(even) .value-content {
        flex-direction: column;
    }
}

.value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0;
    transition: color 0.3s ease;
}



.value-item:hover .value-title,
.value-item.active .value-title {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@media (min-width: 768px) {
    .value-title {
        font-size: 2rem;
    }
}

/* Modern Section Title - Global */
/* Modern Section Title - Global */
.section-title-m.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    text-decoration: none;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-size: 1.8rem;
}

.footer-logo .logo-title {
    color: white;
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.05em;
}

.footer-logo .logo-subtitle {
    font-size: 0.6em;
    letter-spacing: 0.1em;
    display: block;
}

.section-title-modern {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    text-align: center;
    line-height: 1.2;
    font-style: italic;
    margin-left: auto;
    margin-right: auto;
}

.section-title-modern::after {
    content: none;
}

@media (min-width: 768px) {
    .section-title-modern {
        font-size: 5rem;
        margin-bottom: 4rem;
    }
}

.value-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.value-item.active .value-toggle {
    transform: rotate(45deg);
    color: var(--accent-start);
}

.value-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.3s ease;
}

.value-item.active .value-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

.value-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 40rem;
}

/* CLASSES GALLERY */
.classes-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.classes-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.class-card-large {
    position: relative;
    height: 20rem;
    border-radius: 1rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.class-card-large:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.class-card-large.traditional {
    background-color: #2a1a4a;
    /* Placeholder color */
}

.class-card-large.sensual {
    background-color: #4a1a2a;
    /* Placeholder color */
}

.class-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 5, 24, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.class-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-start);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.class-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: white;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.class-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s ease;
}

.class-card-large:hover .class-desc {
    opacity: 1;
    transform: translateY(0);
}

/* SCHEDULE SECTION */
.schedule-section {
    padding: 8rem 0 2rem 0;
    /* Reduced bottom padding from 8rem (implied) to 2rem */
    background-color: var(--bg-main);
}

.schedule-header {
    text-align: center;
    margin-bottom: 4rem;
}

.schedule-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .schedule-title {
        font-size: 3.75rem;
    }
}

.schedule-meta {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 700;
}

.schedule-grid-header {
    display: none;
    grid-template-columns: 100px 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .schedule-grid-header {
        display: grid;
    }
}

.col-header {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.col-header.time {
    text-align: right;
    color: var(--text-muted);
}

.col-header.day {
    color: var(--accent-start);
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .schedule-row {
        grid-template-columns: 100px 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
}

.time-slot {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--text-main);
    /* White for contrast */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    line-height: 1;
    text-align: right;
    padding-top: 0.5rem;
}

/* Hover Effect for Row */
.schedule-row:hover .time-slot {
    color: var(--accent-start);
}

/* TRIAL CLASS FORM */
.trial-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .form-wrapper {
        padding: 4rem;
    }
}

.reg-form-container {
    max-width: 1050px !important;
}

.form-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.trial-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-start);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(224, 93, 68, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.75rem;
}

.form-group select {
    width: 100%;
    appearance: none;
    cursor: pointer;
}

/* Visual Schedule Selector */
.class-selection-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .class-selection-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.day-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.day-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--accent-start);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Timetable Selection Grid */
.timetable-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .timetable-selection-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }
}

.timetable-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timetable-day-header {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-start);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.class-option {
    cursor: pointer;
    position: relative;
    display: block;
}

.class-option input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.class-option-card {
    background: rgba(20, 10, 30, 0.6);
    /* Darker background */
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.2s ease;
    min-height: 7rem;
    /* Ensure consistent height for alignment */
}

.class-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.class-instructor-small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.class-option:hover .class-option-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.class-option input:checked~.class-option-card {
    background: rgba(255, 59, 48, 0.1);
    border-color: var(--accent-start);
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.2);
}

.class-option-card .time {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    min-width: 60px;
}

.class-option-card .name {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    text-align: right;
    flex: 1;
    line-height: 1.3;
}

.class-option input:checked~.class-option-card .name {
    color: white;
}

/* Per-Class Role Selection */
.class-option-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    height: 100%;
    /* Fill available height */
}

.class-option-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.class-role-select {
    display: flex;
    justify-content: space-between;
    /* Distribute evenly */
    gap: 1rem;
    padding: 0 0.5rem;
    margin-top: auto;
    /* Push to bottom if wrapper expands */
}

.class-role-select label {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center text */
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    flex: 1;
    /* Equal width */
    padding: 0.25rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.class-role-select label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.class-role-select input[type="radio"] {
    accent-color: var(--accent-start);
    width: 14px;
    height: 14px;
}

/* Checkboxes */
.form-checkboxes {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 1.25rem;
    width: 1.25rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 0.25rem;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-container:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.08);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent-start);
    border-color: var(--accent-start);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.checkbox-text a {
    color: var(--accent-start);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit Button */
/* Submit Button */
.btn-submit {
    margin-top: 1rem;
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid var(--accent-start);
    color: white;
    padding: 1.25rem;
    border-radius: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.2);
}

.btn-submit:hover {
    background: rgba(255, 59, 48, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.25);
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* REGISTRATION HEADER */
.registration-header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reg-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}



/* PRICING CARDS */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-option.full-width {
        grid-column: span 2;
    }
}



.pricing-option {
    cursor: pointer;
    position: relative;
    display: block;
}

.pricing-option input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.class-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    padding-right: 3.5rem;
    /* Space for the arrow */
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.class-card::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-start);
    transition: transform 0.2s ease;
}

.class-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-start);
    transform: scale(1.02);
}

.class-card:hover::after {
    transform: translateY(-50%) translateX(5px);
}

.pricing-card {
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: var(--accent-start);
    background: rgba(255, 59, 48, 0.05);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--grad);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 0.75rem;
    text-transform: uppercase;
}

.pricing-option:hover .pricing-card {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-option input:checked~.pricing-card {
    background: rgba(255, 59, 48, 0.1);
    border-color: var(--accent-start);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.2);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.pricing-title {
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
}

.pricing-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card.flexible .pricing-title {
    color: #fbbf24;
    /* Amber for flexible */
}

@media (min-width: 768px) {
    .time-slot {
        display: flex;
    }
}

.class-card::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-start);
    opacity: 0.4;
    transition: all 0.3s ease;
    font-family: system-ui, -apple-system, sans-serif;
    /* Ensure arrow renders nicely */
}

.class-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-start);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.class-card:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
    text-shadow: 0 0 10px var(--accent-start);
}

.level-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.tag-beginner {
    background: rgba(30, 126, 52, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.tag-sensual {
    background: rgba(217, 48, 37, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.tag-styling {
    background: rgba(132, 48, 217, 0.2);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.2);
}

.badge-full {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(252, 165, 165, 0.3);
}

.class-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
}

.class-instructor {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* MOBILE SCHEDULE */
.mobile-schedule-day {
    margin-bottom: 2rem;
}

.mobile-day-title {
    color: var(--accent-start);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.mobile-time {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: white;
    /* Clean white instead of red */
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.mobile-instructor {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-instructor::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--accent-start);
    opacity: 0.5;
}

/* FOOTER CTA */
.footer-cta {
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--bg-main), #000000);
    text-align: center;
}

.cta-bg-text {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    opacity: 0.05;
    letter-spacing: -0.05em;
    user-select: none;
    margin-bottom: -1.5rem;
}

@media (min-width: 768px) {
    .cta-bg-text {
        font-size: 6rem;
        /* 8xl approx */
        margin-bottom: -2.5rem;
    }
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.footer-tags {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* MAIN FOOTER */
.main-footer {
    background-color: #050208;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CONTACT PAGE */
.contact-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 59, 48, 0.1);
    color: var(--accent-start);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-title-modern {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-main);
}

.contact-value a:hover {
    color: var(--accent-start);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-start);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* BUTTONS */
.skew-button {
    transform: skewX(-10deg);
    transition: all var(--transition-medium);
    display: inline-block;
    padding: 1rem 2.5rem;
    text-align: center;
    cursor: pointer;
}

.skew-button>div {
    transform: skewX(10deg);
    font-weight: 900;
}

.skew-button:hover {
    transform: skewX(-10deg) translateY(-2px);
}

.btn-primary {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid var(--accent-start);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 59, 48, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: transparent !important;
    border-color: var(--accent-start);
    color: white;
}

/* Compact Class Selection (Trial Form) */
.compact-class-list {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex: 1;
}

.compact-option {
    cursor: pointer;
    position: relative;
    display: block;
    height: 100%;
}

.compact-option input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.compact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    height: 100%;
}

.compact-option input:checked+.compact-card {
    background: rgba(108, 92, 231, 0.15);
    border-color: var(--accent-start);
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
}

.compact-time {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent-light);
    font-size: 0.9rem;
    min-width: 60px;
}

.compact-name {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
}

.compact-day {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-left: auto;
    letter-spacing: 0.05em;
}


@media (max-width: 768px) {
    .timetable-spacer {
        display: none !important;
    }
}

/* REVIEWS SECTION */
.reviews-section {
    padding: 8rem 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-slider-wrapper {
    position: relative;
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
    color: var(--accent-start);
    animation: bounceRight 1.5s infinite;
    background: rgba(15, 5, 24, 0.8);
    border-radius: 50%;
    padding: 0.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.scroll-indicator.left {
    right: auto;
    left: 0.5rem;
    animation: none;
    /* No bounce for left arrow usually, or maybe reverse it? */
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

.reviews-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    /* Force 2 rows */
    grid-auto-flow: column;
    /* Flow sideways */
    grid-auto-columns: 85%;
    /* Mobile card width */
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-auto-columns: 450px;
        /* Wider desktop cards */
        gap: 1.5rem;
    }

    .scroll-indicator {
        display: flex;
        /* Show arrow on desktop too */
        cursor: pointer;
        pointer-events: auto;
        /* Re-enable clicks */
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .scroll-indicator:hover {
        transform: translateY(-50%) scale(1.1);
        background: var(--accent-start);
        color: white;
    }
}

/* Removed the conflicting min-width: 1024px block that caused grid layout issues */

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* min-width: 100%; Removed to fix Safari grid sizing */
    width: 100%;
    min-width: 0;
    scroll-snap-align: center;
    transition: all 0.3s ease;
    /* Prevent overlap */
    overflow-y: auto;
    max-height: 100%;
}

@media (min-width: 768px) {
    .review-card {
        scroll-snap-align: start;
    }
}

.review-card:hover {
    /* Override glass-card:hover transform/shadow */
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-start);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.google-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.review-card:hover .google-badge {
    background: white;
    color: #4285F4;
}

.review-stars {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    opacity: 0.9;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #020103;
    padding: 4rem 0 2rem;
    border-top: 1px solid transparent;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-start), var(--accent-end), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent-start);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}



/* Page Title for Secondary Pages */
.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
}

/* --- COURSE DETAIL PAGES --- */
.course-hero {
    padding: 160px 20px 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(5, 2, 8, 0.8), var(--bg-main)), url('assets/images/schedule_hero_placeholder.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.course-level-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.course-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.course-meta-item {
    text-align: center;
}

.course-meta-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.course-meta-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.course-content-section {
    padding: 4rem 0;
}

.course-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .course-content-grid {
        grid-template-columns: 1fr;
    }
}

.course-info-block {
    margin-bottom: 3rem;
}

.course-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.course-info-list {
    list-style: none;
    padding: 0;
}

.course-info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.course-info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-start);
    font-weight: bold;
}

/* --- HOMEPAGE GUIDES SECTION --- */
.guides-section {
    padding: 1.5rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.25rem;
    /* Reduced padding */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-5px);
    /* Reduced movement */
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-start);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guide-badge {
    background: rgba(255, 59, 48, 0.1);
    color: var(--accent-start);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.guide-icon {
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
}

.guide-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.guide-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.guide-link {
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.guide-link span {
    transition: transform 0.2s ease;
}

.guide-card:hover .guide-link span {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-excerpt {
        display: none;
    }

    .guide-card {
        padding: 1rem;
        flex-direction: row;
        /* Horizontal layout on mobile */
        align-items: center;
        gap: 1rem;
    }

    .guide-icon {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .guide-title {
        margin-bottom: 0;
        font-size: 1.1rem;
        flex-grow: 1;
    }

    .guide-badge {
        display: none;
        /* Hide badge on mobile to save space */
    }

    .guide-link {
        font-size: 0.9rem;
    }

    .guides-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 1rem;
    }
}


.guide-card:hover .guide-link {
    gap: 1rem;
    color: var(--accent-start);
}

/* --- GUIDE DETAIL PAGES --- */
.guide-article {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.guide-article h2 {
    font-size: 2rem;
    color: white;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.guide-article p {
    margin-bottom: 1.5rem;
}

.guide-highlight-box {
    background: rgba(255, 59, 48, 0.1);
    border-left: 4px solid var(--accent-start);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

/* --- ROOM RENTAL PAGE --- */
.rental-hero {
    min-height: 60vh;
    padding-bottom: 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.rental-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.rental-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.rental-contact-section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
    margin-top: -5rem;
}

.rental-glass-panel {
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.rental-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .rental-grid {
        grid-template-columns: 1.2fr 0.8fr !important;
    }
}

.rental-form-col {
    padding: 3rem;
}

.rental-info-col {
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Modern Input Styles */
.form-group.floating-label {
    position: relative;
}

.form-input-modern,
.form-textarea-modern {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea-modern {
    resize: vertical;
}

.form-input-modern:focus,
.form-textarea-modern:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-start);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
}

/* Floating Label Logic */
.form-group.floating-label label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 0.25rem;
}

.form-input-modern:focus~label,
.form-input-modern:not(:placeholder-shown)~label,
.form-textarea-modern:focus~label,
.form-textarea-modern:not(:placeholder-shown)~label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--accent-start);
    background: #0f0816;
    /* Match card bg to hide line */
    font-weight: 700;
}

/* Rental Card Options */
.rental-card-option {
    cursor: pointer;
    position: relative;
}

.rental-card-option input {
    position: absolute;
    opacity: 0;
}

.rental-card-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.rental-card-option input:checked+.rental-card-content {
    background: rgba(255, 59, 48, 0.1);
    border-color: var(--accent-start);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.15);
}

.rental-card-content .icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.rental-card-content .title {
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.rental-card-content .desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* VIEW TRANSITIONS API */
@keyframes fade-in {
    from {
        opacity: 0;
    }
}

@keyframes fade-out {
    to {
        opacity: 0;
    }
}

@keyframes slide-from-right {
    from {
        transform: translateX(30px);
    }
}

@keyframes slide-to-left {
    to {
        transform: translateX(-30px);
    }
}

::view-transition-old(root) {
    animation: 90ms cubic-bezier(0.4, 0, 1, 1) both fade-out,
        300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}

::view-transition-new(root) {
    animation: 210ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in,
        300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right;
}

/* Morphing Elements - Assign unique names to key elements */
/* Note: For true morphing between different pages, elements need the same view-transition-name */

/* Example: Hero Title Morph */
.hero-title-large,
.page-title {
    view-transition-name: page-title;
}

/* Example: Hero Image Morph */
.hero-video,
.course-hero {
    view-transition-name: hero-visual;
}

/* MODERN BLOG STYLES */

/* Featured Section */
.blog-featured {
    max-width: 900px;
    margin: -3rem auto 3rem;
    /* Negative margin to pull up into hero slightly */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(20, 10, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.featured-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(255, 59, 48, 0.15);
    transform: translateY(-5px);
}

.featured-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    background: var(--grad);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: white;
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr 1fr;
        min-height: 200px;
        /* Reduced min-height */
    }

    .featured-image-wrapper {
        height: 100%;
        min-height: 200px;
        /* Reduced min-height */
    }

    .featured-content {
        padding: 1.5rem;
        /* Reduced padding */
    }
}

/* Filter Bar */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.filter-btn.active {
    background: var(--accent-start);
    border-color: var(--accent-start);
    color: white;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.3);
}

/* SCHEDULE GRID SYSTEM */
.schedule-grid-header {
    display: none;
    /* Mobile first */
}

.time-slot {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-start);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 59, 48, 0.05);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.schedule-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 900px) {
    .schedule-grid-header {
        display: grid;
        grid-template-columns: 100px 1fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .col-header {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-align: center;
    }

    .col-header.time {
        text-align: right;
        padding-right: 1.5rem;
    }

    .schedule-row {
        grid-template-columns: 100px 1fr 1fr 1fr;
        gap: 2rem;
        align-items: stretch;
        /* Equal height cards */
        margin-bottom: 1rem;
        /* Reduced bottom margin */
    }

    .time-slot {
        background: none;
        justify-content: flex-end;
        align-items: flex-start;
        padding-top: 1.5rem;
        padding-right: 1.5rem;
        font-size: 1.25rem;
        color: var(--text-muted);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
        border-radius: 0;
    }
}

/* CLASS CARD MODERNIZATION */
.class-card {
    background: rgba(20, 10, 30, 0.4);
    /* Darker, deeper base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    /* Slightly smaller radius */
    padding: 1rem;
    /* Reduced padding */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    /* Reduced min-height */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hover Effect: Lift & Glow */
.class-card:hover {
    transform: translateY(-3px) scale(1.01);
    /* Subtler lift */
    border-color: rgba(255, 59, 48, 0.3);
    box-shadow: 0 8px 20px rgba(255, 59, 48, 0.15);
    background: rgba(30, 15, 40, 0.6);
}

/* Internal Elements */
.class-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /* Smaller font */
    color: white;
    margin: 0.25rem 0;
    line-height: 1.2;
}

.class-instructor {
    font-size: 0.8rem;
    /* Smaller font */
    color: var(--text-muted);
    font-style: italic;
}

/* Level Tags */
.level-tag {
    display: inline-block;
    padding: 2px 10px;
    /* Smaller padding */
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    width: fit-content;
}

.tag-beginner {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.tag-sensual {
    background: rgba(255, 59, 48, 0.15);
    color: #ff8a80;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.tag-styling {
    background: rgba(156, 39, 176, 0.15);
    color: #ce93d8;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

/* Modern Grid Cards */
.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-card {
    background: rgba(20, 10, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-image-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-card:hover .card-image {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.card-link {
    color: var(--accent-start);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 0.8rem;
}

/* PAGE TRANSITION OVERLAY - Removed */
#page-transition {
    display: none !important;
}

/* Founders Title unique style */
.founders-outline {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .founders-outline {
        font-size: 2.5rem;
    }
}

/* ------------------------------------------------------------------
   PREMIUM ORGANIZERS SECTION (About Us)
   ------------------------------------------------------------------ */
.organizers-section {
    position: relative;
    overflow: hidden;
    background: #0f0518;
    /* Deep dark base */
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.organizers-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.15), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.organizers-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.organizers-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-start);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.organizers-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.organizers-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.organizer-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.organizer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.organizer-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-start);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.organizer-card-content {
    position: relative;
    z-index: 1;
}

.organizer-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.organizer-event-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.organizer-event-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.highlight-text {
    color: #ffdd59;
    font-weight: 600;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .organizers-title {
        font-size: 2.2rem;
    }

    .organizer-card {
        padding: 2rem;
    }
}

/* ------------------------------------------------------------------
   PREMIUM CTA SECTION (Homepage)
   ------------------------------------------------------------------ */
.cta-premium-wrapper {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30, 10, 50, 0.4), transparent 70%);
    margin-bottom: 1rem;
}

.cta-premium-title {
    font-size: 4rem;
    line-height: 1;
    /* Tighter line height for impact */
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.cta-filled {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-end);
    filter: drop-shadow(0 0 20px rgba(108, 92, 231, 0.4));
}

.cta-premium-wrapper:hover .cta-outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cta-premium-btn {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: var(--grad);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-premium-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.5);
    background: white;
    color: var(--accent-start);
    -webkit-text-fill-color: var(--accent-start);
    /* Ensure gradient text override works if needed */
}

@media (max-width: 768px) {
    .cta-premium-title {
        font-size: 3rem;
    }

    .cta-outline {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    }
}

/* ------------------------------------------------------------------
   SECTION SPACER (Reviews -> Form)
   ------------------------------------------------------------------ */
/* User requested no visible line, just space */
.reviews-section {
    padding-bottom: 8rem !important;
    /* Increased spacing */
}

/* --- LEGAL PAGES (Imprint, Privacy, Terms) --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
    color: var(--text-light);
}

.legal-content.padded-top {
    padding-top: 8rem;
    /* For pages without hero section */
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.legal-content p,
.legal-content ul,
.legal-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.legal-content ul {
    padding-left: 1.5rem;
}

/* PRICING TABLE TOGGLE (MOBILE) */
/* Inline Price Logic */
.mobile-price-regular,
.mobile-price-student {
    display: none;
    font-weight: 700;
    color: white;
}

.pricing-table-toggle {
    display: none;
    /* Hidden on Desktop */
    justify-content: center;
    margin-bottom: 2rem;
}

/* Container for the segmented switch */
.pricing-switch-container {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    position: relative;
    width: fit-content;
    margin: 0 auto;
    /* Center in parent */
}

.pricing-switch-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    /* Ensure equal width */
    text-align: center;
}

.pricing-switch-btn:hover {
    color: white;
}

.pricing-switch-btn.active {
    background: var(--accent-start);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .pricing-table-toggle {
        display: flex;
    }

    /* Force Wrapper Constraints */
    .pricing-table-wrapper {
        width: 100%;
        overflow: hidden;
        /* Prevent ANY scroll */
        padding: 0 0.5rem;
        /* Small side padding for breathing room */
    }

    /* Force Table to Fit Screen */
    .pricing-table {
        table-layout: fixed;
        width: 100%;
        min-width: 0;
        border-collapse: collapse;
        /* Ensure no extra spacing */
    }

    .pricing-table th,
    .pricing-table td {
        white-space: normal;
        word-wrap: break-word;
        /* Force wrap */
        padding: 0.75rem 0.25rem;
        /* Tighter padding */
        font-size: 0.9rem;
        /* Slightly larger text */
        vertical-align: middle;
    }

    /* Single Column Layout on Mobile */
    .pricing-table th:nth-child(1),
    .pricing-table td:nth-child(1) {
        width: 100%;
        text-align: left;
    }

    /* Hide Original Price Columns entirely on mobile */
    .pricing-table th:nth-child(2),
    .pricing-table td:nth-child(2),
    .pricing-table th:nth-child(3),
    .pricing-table td:nth-child(3) {
        display: none !important;
    }

    /* Inline Price Visibility Logic */
    /* Default (Regular): Show Regular inline, Hide Student inline */
    .mobile-price-regular {
        display: inline;
        color: var(--accent-start);
        /* Highlighting the price */
    }

    /* When Student Active: Hide Regular inline, Show Student inline */
    .pricing-table.show-student .mobile-price-regular {
        display: none;
    }

    .pricing-table.show-student .mobile-price-student {
        display: inline;
        color: var(--accent-start);
    }
}