/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Colors - Deep Premium Palette */
    /* Deep Void Background: Richer, darker black/blue */
    --primary-bg: #02040a;
    --primary-bg-gradient: radial-gradient(circle at 50% 0%, #0f172a 0%, #02040a 100%);

    /* Card Background: Deep and glowing */
    --card-bg: rgba(17, 24, 39, 0.6);
    --card-glow: rgba(255, 179, 71, 0.05);

    /* Accents - Vibrant Gold & Coral */
    --accent-gold: #FFD700;
    /* True Gold */
    --accent-coral: #FF6B3D;
    /* Vibrant Coral */
    --accent-hover: #FFC107;

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #E0E0E0;
    /* Brighter for better readability on dark */
    --text-muted: #9CA3AF;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    --gold-text-gradient: linear-gradient(to right, #FFD700, #FFAE00, #FF6B3D);
    --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Glassmorphism Refined - Premium Feel */
    --glass-bg: rgba(10, 10, 15, 0.65);
    /* Darker, more transparent */
    --glass-border: rgba(255, 215, 0, 0.15);
    /* Subtle gold border */
    --glass-highlight: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --section-padding: 120px 0;
    /* More breathing room */
    --container-width: 1280px;
    /* Slightly wider */
    --border-radius: 24px;
    /* Softer curves */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-gradient {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-gold);
}

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

body {
    font-family: var(--font-body);
    background: var(--primary-bg);
    background-image: var(--primary-bg-gradient);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================
   2. TYPOGRAPHY & UTILITIES
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.03em;
    /* Tighter, more modern */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Standardized Section Spacing */
.vf-section {
    padding-top: 180px;
    /* Increased for airy feel */
    padding-bottom: 180px;
}

.vf-section p {
    margin-bottom: 24px;
    line-height: 1.9;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .vf-section {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

/* Normalized Heading Spacing */
.vf-section h2,
.vf-section .section-title {
    margin-top: 0;
    margin-bottom: 80px;
    /* Huge gap for impact */
}

@media (max-width: 768px) {

    .vf-section h2,
    .vf-section .section-title {
        margin-bottom: 50px;
    }
}

.vf-section .container,
.vf-section .row {
    margin-top: 0;
    padding-top: 0;
}

/* Gold Text Effect - Enhanced */
.gold-text {
    color: var(--accent-gold);
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
    /* Glow */
}

.gold-link {
    color: var(--accent-gold);
    text-decoration: underline;
    text-decoration-color: rgba(255, 215, 0, 0.3);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Glass Utility - Refined */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
}

.glass:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    /* Built-in hover lift */
}

/* =========================================
   ANIMATIONS & SCROLL REVEAL
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

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

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

/* =========================================
   VISUAL SEPARATORS
   ========================================= */
.section-separator {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.separator-top {
    top: -1px;
    /* Fix gap/line */
    left: 0;
    transform: translateY(-99%);
}

.separator-bottom {
    bottom: -1px;
    left: 0;
    transform: translateY(99%);
}

.separator-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    /* Taller wave */
}

.separator-wave .shape-fill {
    fill: var(--primary-bg);
}

.bg-darker .separator-wave .shape-fill {
    fill: #010205;
    /* Even darker for variety */
}


/* =========================================
   3. BUTTONS
   ========================================= */

/* =========================================
   SECTION GRADIENT DIVIDERS
   Smooth visual transitions between sections
   ========================================= */
.section-gradient-divider {
    height: 80px;
    width: 100%;
    pointer-events: none;
    position: relative;
    z-index: 2;
}

.section-gradient-divider.dark-to-light {
    background: linear-gradient(180deg, #0B132B 0%, #F8FAFC 100%);
}

.section-gradient-divider.light-to-dark {
    background: linear-gradient(180deg, #F8FAFC 0%, #0B132B 100%);
}

[data-theme="light"] .section-gradient-divider.dark-to-light {
    background: linear-gradient(180deg, #EEF4FF 0%, #F8FAFC 100%);
}

[data-theme="dark"] .section-gradient-divider.dark-to-light {
    background: linear-gradient(180deg, #0B132B 0%, #0f1f45 100%);
}

/* Subtle pseudo-divider for sections that transition in theme */
.vf-section+.vf-section::before {
    content: '';
    display: block;
    height: 2px;
    width: 80px;
    margin: 0 auto -2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.35;
}

.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: #000;
    /* Black text for gold button contrast */
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.38);
    background-position: right center;
    color: #000;
}

/* Light mode: slightly richer gold glow for contrast on white */
[data-theme="light"] .btn-primary {
    box-shadow: 0 8px 20px rgba(200, 146, 10, 0.28);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 12px 32px rgba(200, 146, 10, 0.42);
}

/* Dark mode: premium subtle glow */
[data-theme="dark"] .btn-primary {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.35);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.45);
}

.highlight-btn {
    font-size: 1.1rem;
    padding: 18px 45px;
}

.highlight-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    /* Taller initial state */
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, rgba(2, 4, 10, 0.9) 0%, rgba(2, 4, 10, 0) 100%);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(2, 4, 10, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-badge {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.site-logo {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--accent-gold);
}

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-link:not(.btn-primary):hover,
.nav-link.active {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--text-white);
    transition: var(--transition);
    border-radius: 3px;
}

/* =========================================
   5. HOME HERO SECTION - FIXED
   ========================================= */
.hero {
    min-height: 100vh;
    /* Changed from height: 100vh to min-height */
    /* Ensure content is never cut off */
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Better control */
    align-items: center;
    justify-content: center;
    padding-top: 200px;
    /* Massive top padding to clear header */
    padding-bottom: 150px;
    background-color: var(--primary-bg);
    background-image: url('../images/Untitled-design-29.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.video-container,
#hero-particles,
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-overlay {
    background: radial-gradient(circle at center, rgba(2, 4, 10, 0.4) 0%, rgba(2, 4, 10, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    /* Wider */
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    /* Larger */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* =========================================
   6. PAGE HERO (Base & Blog)
   ========================================= */
.page-hero {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(30, 40, 70, 0.8) 0%, var(--primary-bg) 100%);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

/* Blog Specific Hero (Inherits from page-hero implicitly or override) */
.blog-hero {
    padding-top: 160px;
    padding-bottom: 80px;
}

/* =========================================
   7. SECTIONS COMPONENTS
   ========================================= */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 70px;
    position: relative;
    display: inline-block;
}

/* Stats */
.stats-section {
    padding-top: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    background: rgba(22, 33, 62, 0.8);
}

.stat-number {
    font-size: 3.5rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.stat-item p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.program-card {
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hover-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hover-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(247, 147, 30, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.hover-card:hover::after {
    opacity: 1;
}

.icon-box {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(247, 147, 30, 0.3));
}

.program-card h3 {
    margin-bottom: 18px;
    font-size: 1.6rem;
}

.program-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Flip Card Styles */
.program-flip-container {
    perspective: 1000px;
    height: 420px;
    /* Fixed height for consistent flipping */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Hover flip only on desktop if not tapped */
@media (hover: hover) {
    .program-flip-container:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* Class toggle for mobile/click */
.program-flip-container.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Ensure glass styles apply correctly to absolute divs */
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.flip-card-front {
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
    padding: 30px;
    background: radial-gradient(circle at center, #1b2744 0%, #050816 100%);
    /* Slightly opaque for legibility */
    border: 1px solid var(--accent-gold);
    /* Gold border for back */
    align-items: flex-start;
    /* Left align list */
}

/* List Styles on Back */
.flip-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.flip-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-white);
    font-size: 0.95rem;
    line-height: 1.4;
}

.flip-list li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.mobile-only {
    display: none;
}

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

    .program-flip-container {
        height: 450px;
        /* Slightly taller on mobile for touch targets */
    }

    /* Disable hover flip on touch devices to prevent sticky hover issues */
    .program-flip-container:hover .flip-card-inner {
        transform: none;
    }

    .program-flip-container.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--text-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.price-container {
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: block;
}

.offer-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
}

.discount-label {
    display: block;
    color: #4CAF50;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 5px;
}

.features-list {
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-light);
}

.features-list i {
    color: var(--accent-gold);
    margin-right: 10px;
}

.full-width {
    width: 100%;
}

/* Carousel (Testimonials) */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    padding: 20px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
}

.student-card {
    min-width: 280px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 40px;
}

.student-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    margin-bottom: 15px;
    object-fit: cover;
}

.stars-mini {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.student-name {
    font-weight: 700;
    color: var(--text-white);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--text-white);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.carousel-indicator {
    border: none;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.current-slide {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Contact Form */
.booking-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.4);
}

.contact-container {
    max-width: 600px;
}

.contact-form-wrapper {
    padding: 40px;
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-white);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--accent-gold);
}

.accordion-header .icon i {
    transition: transform 0.3s ease;
}

.accordion-header.active .icon i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.1);
}

.accordion-content p {
    padding: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   8. BLOG STYLES
   ========================================= */
.blog-grid,
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.blog-card,
.blog-list-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.blog-card:hover,
.blog-list-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* =========================================
   9. QUIZ MODAL STYLES
   ========================================= */
.quiz-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    /* Black w/ opacity */
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.quiz-modal-content {
    background: var(--card-bg);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--accent-gold);
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 30px rgba(247, 147, 30, 0.2);
    animation: slideUp 0.4s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-quiz {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    top: 20px;
    right: 30px;
}

.close-quiz:hover,
.close-quiz:focus {
    color: var(--accent-gold);
    text-decoration: none;
    cursor: pointer;
}

.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.quiz-header {
    margin-bottom: 30px;
}

.question-count {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.question-text {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--text-white);
    line-height: 1.4;
}

.answer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.btn-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-option:hover:not([disabled]) {
    border-color: var(--accent-gold);
    background: rgba(247, 147, 30, 0.1);
    transform: translateX(5px);
}

.btn-option.correct {
    background: rgba(76, 175, 80, 0.2) !important;
    border-color: #4CAF50 !important;
    color: #fff !important;
}

.btn-option.wrong {
    background: rgba(244, 67, 54, 0.2) !important;
    border-color: #F44336 !important;
    color: #fff !important;
}

.quiz-footer {
    margin-top: 30px;
    text-align: right;
    min-height: 50px;
    /* Preserve space for next button */
}

.final-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 10px 0;
}

.result-message {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .quiz-modal-content {
        padding: 20px;
        width: 95%;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .final-score {
        font-size: 2rem;
    }
}


.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(247, 147, 30, 0.05);
}

.blog-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-white);
    font-weight: 700;
}

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

.blog-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
    font-weight: 600;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-btn:hover i {
    transform: translateX(5px);
}

.blog-btn:hover {
    color: var(--text-white);
}

/* Full Article (Blog Page) */
.blog-full-grid {
    display: grid;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-full-post {
    padding: 40px;
}

.blog-post-title {
    font-size: 2.2rem;
    margin: 15px 0;
    color: var(--text-white);
}

.blog-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-light);
}

.blog-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

/* =========================================
   9. NEW HOME SECTIONS (Mission, Instructor, Quiz)
   ========================================= */

/* Mission Section */
.mission-text {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Instructor Section */
.instructor-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.instructor-img-col {
    flex: 1 1 350px;
    position: relative;
}

.instructor-text-col {
    flex: 1 1 400px;
}

.instructor-image {
    width: 100%;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: block;
}

.instructor-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-desc p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Skills Quiz Section */
.quiz-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--text-light);
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.quiz-image-block {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--glass-border);
}

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

.quiz-image-block:hover img {
    transform: scale(1.05);
}

.quiz-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    text-align: center;
}

.quiz-label h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.whatsapp {
    background-color: #25D366;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1DA1F2;
}

.linkedin {
    background-color: #0077b5;
}

.back-to-top {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.back-to-top:hover {
    color: var(--accent-gold);
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    background: #0f152e;
    padding: 70px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-3px);
}

.contact-links li,
.footer-nav li {
    margin-bottom: 12px;
}

.contact-links a,
.footer-nav a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-links a:hover,
.footer-nav a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* =========================================
   10. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(22, 33, 62, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-radius: 0 0 20px 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        left: 0;
    }

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

    .nav-link {
        display: block;
        padding: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2.2rem;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
        text-align: center;
    }

    .stat-item {
        width: 45%;
    }

    .site-logo {
        height: 38px;
    }

    .logo-badge {
        padding: 4px 12px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
    }

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

/* Master Quiz Card Hover Effect */
.master-quiz-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.master-quiz-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
}

/* Modal Promo Container */
.promo-container {
    animation: fadeIn 1s ease;
}

/* Ensure Result Screen handles scrolling if content is tall */
.quiz-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Hide scrollbar for standard look */
.quiz-modal-content::-webkit-scrollbar {
    width: 8px;
}

.quiz-modal-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* Quiz Result Screen Specifics */
#quiz-result-screen .section-title {
    margin-bottom: 10px !important;
    /* Reduce gap below title */
}

#quiz-result-screen .final-score {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

#quiz-result-screen .result-message {
    margin-bottom: 25px;
    font-size: 1.1rem;
    padding: 0 10px;
}

/* =========================================
   PRIVACY POLICY & ANIMATIONS
   ========================================= */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Ensures it's hidden before animation starts */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Privacy Page Specifics */
.privacy-card {
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(247, 147, 30, 0.1);
}

.icon-box-privacy {
    text-align: center;
    margin-bottom: 20px;
}

.privacy-section {
    margin-bottom: 60px;
}

.privacy-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.privacy-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-white);
}

.privacy-list {
    list-style: none;
    padding-left: 0;
}

.privacy-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}


/* =========================================
   VIDEO LIBRARY STYLES
   ========================================= */

.hero-icon-wrapper {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(247, 147, 30, 0.7);
    }

    70% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(247, 147, 30, 0);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(247, 147, 30, 0);
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--accent-gold);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-content {
    padding: 20px;
    text-align: left;
}

.video-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-white);
}

.video-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Shorts Section */
.shorts-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.shorts-container::-webkit-scrollbar {
    height: 8px;
}

.shorts-container::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

.short-card {
    flex: 0 0 315px;
    /* Fixed width for Shorts */
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.short-card:hover {
    border-color: var(--accent-gold);
}

.short-card h4 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .short-card {
        flex: 0 0 250px;
        /* Smaller shorts on mobile */
    }

    .short-card iframe {
        height: 450px;
        /* Adjust height for mobile */
    }
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    border-radius: 50px;
    flex-wrap: wrap;
    border: 1px solid var(--glass-border);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}

/* Video Badges & Metadata */
.badge-watched {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.category-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

/* Pulse Button Animation */
.pulse-btn {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(247, 147, 30, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(247, 147, 30, 0);
    }
}

/* =========================================
   NEW: LAUNCHPAD 30 RECOGNITION
   ========================================= */

/* Hero Badge */
.launchpad-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 179, 71, 0.2);
    margin-top: 30px;
    max-width: 100%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.launchpad-badge:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
}

.badge-icon {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(255, 179, 71, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.launchpad-badge p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
    line-height: 1.4;
}

.launchpad-badge strong {
    color: var(--text-white);
    font-weight: 600;
}

@media (max-width: 768px) {
    .launchpad-badge {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 25px;
        padding: 10px 15px;
    }

    .launchpad-badge p {
        font-size: 0.85rem;
    }
}

/* Recognition Section */
.recognition-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 10px;
}

.recognition-card {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(22, 33, 62, 0.5) 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 179, 71, 0.05);
    /* very subtle */
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.recognition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 179, 71, 0.2);
}

.recognition-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    background: rgba(255, 179, 71, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.recognition-content {
    flex: 1;
}

.recognition-content h3 {
    color: #F9FAFB;
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.recognition-org {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    opacity: 0.9;
}

.recognition-desc {
    color: #9CA3AF;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.recognition-status {
    margin-bottom: 20px;
}

.status-badge {
    background: linear-gradient(to right, rgba(255, 179, 71, 0.1), rgba(255, 107, 61, 0.1));
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 179, 71, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.cert-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    opacity: 0.8;
}

.small-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
}

/* Response Layout for Recognition Card */
@media (min-width: 768px) {
    .recognition-card {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 30px;
        padding: 50px;
    }

    .recognition-icon {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .recognition-content h3 {
        font-size: 1.8rem;
    }
}

/* =========================================
   NEW: PAYMENT FORM STYLES
   ========================================= */
#enroll-section {
    position: relative;
    overflow: hidden;
}

.payment-option {
    cursor: pointer;
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

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

.payment-option.selected {
    border-color: var(--accent-gold) !important;
    background: rgba(255, 179, 71, 0.15) !important;
    box-shadow: 0 5px 20px rgba(255, 179, 71, 0.15);
}

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

.payment-option i {
    transition: transform 0.3s ease;
}

.payment-option.selected i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .payment-methods {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   8. GLOBAL VIDEO SECTION
   ========================================= */

.video-outer-wrapper {
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto 50px auto;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 179, 71, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.video-outer-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.video-inner-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #000;
    line-height: 0;
}

/* Country Grid */
.country-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Reduced gap for tighter horizontal grouping */
    margin-top: 40px;
}

.country-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    /* Prevent wrapping text inside the tag */
}

.country-tag:hover {
    background: rgba(255, 179, 71, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.flag-img {
    width: 24px;
    height: auto;
    margin-right: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .country-grid {
        gap: 10px;
    }

    .country-tag {
        font-size: 0.85rem;
        padding: 6px 15px;
    }
}

/* =========================================
   8. WHY CHOOSE US & TESTIMONIAL VIDEO
   ========================================= */

/* Why Choose Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

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

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

.feature-card-box {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    /* Dark theme adaptation */
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-box.glass {
    background: var(--glass-bg);
}

.feature-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.feature-card-box .card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card-box h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card-box .card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes list to bottom if needed */
}

.what-you-get-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

.what-you-get-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.what-you-get-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Video Section */
.video-presentation-wrapper {
    transition: transform 0.3s ease;
}

.video-presentation-wrapper:hover {
    transform: scale(1.01);
}

.video-responsive-container {
    background: #000;
}