/* =========================================
   1. GLOBAL VARIABLES (Theme: Black & Gold Premium)
   ========================================= */
:root {
    /* Primary Background: Deep Dark Black (Video ke sath match karega) */
    --primary-color: #050505; 
    
    /* Secondary Background: Thoda greyish elements ke liye */
    --secondary-color: #1a1a1a;

    /* Accent Color: Logo wala Orange/Gold */
    --accent-color: #e67e22; 
    
    /* Text Colors */
    --text-dark: #ffffff; /* Dark background pe white text */
    --text-light: #cccccc; /* Thoda halka white body text ke liye */
    
    /* Button Text Color */
    --btn-text: #000000; /* Gold button pe black text padhne mein aasan hota hai */

    /* Font Family */
    --font-main: 'Poppins', sans-serif;
}

/* =========================================
   Payment — Helper & Attention Cues
   ========================================= */
/* Subtle helper above WhatsApp button */
.whatsapp-helper {
    color: #bbb;
    font-size: 0.9rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 10px 12px;
    border-radius: 10px;
    margin-top: 14px;
    margin-bottom: 12px;
}

.whatsapp-helper::before {
    content: "ℹ️";
    margin-right: 6px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Event-triggered border blink for WhatsApp CTA */
.whatsapp-attention {
    animation: whatsappBlink 0.6s ease-in-out 2;
}

@keyframes whatsappBlink {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
    20% { box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.85), 0 0 10px rgba(230, 126, 34, 0.25); }
    50% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

/* NEW: Desktop 2-column payment layout (balanced, compact) */
@media (min-width: 1024px) {
    .payment-methods-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: stretch;
        justify-items: center;
        margin: 25px auto;
        max-width: 680px;
        padding: 0 20px;
    }

    .payment-card {
        width: 100%;
        max-width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .upi-card {
        align-items: center;
    }

    .qr-card {
        align-items: center;
    }

    /* NEW: Section headings above each card */
    .payment-card-heading {
        color: #ccc;
        font-size: 0.9rem;
        font-weight: 500;
        margin: 0 0 12px 0;
        line-height: 1.3;
    }

    /* NEW: Equal visual frames for UPI and QR cards */
    .payment-option-frame {
        width: 280px;
        min-height: 270px;
        padding: 24px 20px;
        border-radius: 12px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    /* UPI display box - inner orange-bordered container, square tile design */
    .upi-display-box {
        background: transparent;
        border: 2px solid var(--accent-color);
        border-radius: 8px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
        width: 220px;
        aspect-ratio: 1 / 1;
    }

    /* NEW: Reduce QR image size by ~12% for visual balance (160px → 140px) */
    #qrContainer img {
        width: 140px !important;
        height: 140px !important;
    }

    #qrContainerDesktop img {
        width: 140px !important;
        height: 140px !important;
    }

    /* DESKTOP: Show static QR container, hide mobile QR container and button */
    .qr-desktop-only {
        display: flex !important;
    }

    .qr-mobile-only {
        display: none !important;
    }

    /* Desktop: Hide "Show QR Code" button, display QR code by default */
    #showQrBtn {
        display: none !important;
    }

    #qrContainer {
        display: inline-block !important;
    }

    /* Hide "or scan" text on desktop (layout makes it obvious) */
    .qr-alt-text-mobile {
        display: none !important;
    }

    /* Hide mobile QR link on desktop */
    .mobile-qr-link {
        display: none !important;
    }

    #qrContainer {
        margin: 0 !important;
    }

    #qrHelperText {
        margin: 0 !important;
    }

    /* Hide mobile UPI helper on desktop */
    .mobile-upi-helper {
        display: none !important;
    }
}

/* Payment: hide QR code on small screens (mobile) */
@media (max-width: 768px) {
    /* Desktop layout reverts to vertical on mobile */
    .payment-methods-grid {
        display: block !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .payment-card {
        max-width: 100% !important;
        margin-bottom: 15px;
        text-align: left;
    }

    /* Hide section headings on mobile (use original text) */
    .payment-card-heading {
        display: none !important;
    }

    /* MOBILE: Show mobile QR container, hide desktop QR container */
    .qr-mobile-only {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .qr-desktop-only {
        display: none !important;
    }

    /* Mobile UPI helper text - visible on mobile only */
    .mobile-upi-helper {
        display: block !important;
        font-size: 0.85rem !important;
        color: #888 !important;
        text-align: center !important;
        margin: 0 0 8px 0 !important;
        line-height: 1.3 !important;
    }

    /* MOBILE: UPI block styled as primary CTA button - match Show QR Code styling */
    .upi-card .payment-option-frame {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;          /* Remove outer padding, let inner control spacing */
        min-height: auto !important;
        gap: 0 !important;              /* No gap for tight layout */
        display: flex !important;
        flex-direction: row !important; /* Horizontal layout directly */
        align-items: stretch !important;    /* Stretch inner content */
        justify-content: flex-start !important;
        background-color: transparent !important;       /* Match button background */
        border: 2px solid var(--accent-color) !important; /* Match button border */
        border-radius: 8px !important;  /* Button-like rounded corners */
    }

    /* UPI display container - override inline flex-direction: column to row */
    .upi-card .payment-option-frame > div:first-child {
        flex: 1 !important;
        text-align: left !important;
        display: flex !important;       /* Ensure flex */
        flex-direction: row !important; /* CRITICAL: Override inline column */
        align-items: center !important; /* Vertical center */
        justify-content: space-between !important; /* Space items */
        padding: 12px 16px !important;  /* Compact padding */
        gap: 8px !important;            /* Minimal gap */
        background: transparent !important; /* Match outer */
        border: none !important;        /* Remove inner border */
        width: 100% !important;
    }

    /* Copy button on RIGHT side */
    #copyUpiBtn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin-left: auto !important;   /* Push to right */
    }

    /* UPI number and label - left side, no centering */
    .upi-card .payment-option-frame > div:first-child > div:first-child {
        display: flex !important;
        flex-direction: column !important; /* Label above number */
        text-align: left !important;
        gap: 2px !important;           /* Minimal gap between label and number */
        margin: 0 !important;          /* Remove default margins */
    }
        
    }

    /* Mobile QR preference link - HIDDEN on mobile (button already provides same function) */
    .mobile-qr-link {
        display: none !important;
    }

    /* Hide ALL duplicate 'or scan' texts on mobile */
    .qr-alt-text-mobile {
        display: none !important;
    }

    /* Keep the QR element in the DOM but hide it visually on narrow viewports */
    #qrContainer {
        display: none !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    
    /* Hide "Scan using any UPI app (desktop users)" text on mobile by default */
    #qrHelperText {
        display: none !important;
    }

    /* Show helper text only when QR is visible */
    #qrHelperText.visible-mobile {
        display: block !important;
        margin-top: 8px !important;
    }

    /* Show "Show QR code" button on mobile with matching WhatsApp button styling */
    #showQrBtn {
        display: block !important;
        padding: 22px 16px !important;      /* Significantly increased padding for noticeably taller button */
        font-size: 0.95rem !important;      /* Match WhatsApp button font-size exactly */
        margin-top: 0 !important;           /* Removed top margin for tighter flow */
        margin-bottom: 48px !important;     /* Increased spacing after button for clear separation */
        border-radius: 8px !important;      /* Match WhatsApp button border-radius */
        min-height: auto !important;        /* Auto height based on padding and content */
        width: 100% !important;             /* Full width */
        height: auto !important;            /* Auto height based on content */
        line-height: 1 !important;          /* Match text stack line-height for visual parity */
    }

    /* When QR is toggled visible on mobile, center it properly */
    #qrContainer.visible-mobile {
        display: flex !important;       /* Center content */
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;      /* Center horizontally */
        width: 100% !important;
    }

    #qrHelperText.visible-mobile {
        display: block !important;
    }

    /* Extra breathing space before WhatsApp helper on mobile */
    .whatsapp-helper {
        margin-top: 28px !important;
    }


/* Show QR Code Button States */
#showQrBtn {
    background-color: transparent !important;
    color: var(--accent-color) !important;
    border: 2px solid var(--accent-color) !important;
    transition: 0.3s ease-in-out !important;
}

#showQrBtn.qr-active {
    background-color: var(--accent-color) !important;
    color: #000000 !important;
    border: 2px solid var(--accent-color) !important;
}

/* =========================================
   2. BASIC RESET
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    /* BLUE BOX FIX: Ye naya code add karein */
    -webkit-tap-highlight-color: transparent; /* Blue box hatayega */
    outline: none; /* Focus outline hatayega */
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color); /* Poori site black ho gayi */
    color: var(--text-dark); /* Text white ho gaya */
    line-height: 1.6;
}

/* Scroll lock class: prevents background scrolling when modal is open */
/* Scroll lock class: prevents background scrolling when modal is open
   NOTE: position is managed via inline styles in JS to preserve page scroll position. */
body.scroll-locked {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   1. NAVBAR STYLING (Trust-First & Responsive)
   ========================================= */
.navbar {
    background-color: rgba(5, 5, 5, 0.95); /* Slight transparency */
    backdrop-filter: blur(10px); /* Glass effect */
    padding: 5px 0;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

/* --- Brand & Trust Signal --- */
.brand-wrapper {
    display: flex;
    flex-direction: column; /* Stack logo and text */
    justify-content: center;
    text-decoration: none;
}

.brand-logo {
    height: 55px; /* Slightly adjusted to fit text below/beside */
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-tagline {
    font-size: 0.65rem;
    color: #888; /* Muted Grey */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 500;
}

/* --- Navigation Links (Desktop) --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a.nav-item:hover {
    color: var(--accent-color);
}

/* Active Indicator (Underline hover effect) */
.nav-links a.nav-item::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a.nav-item:hover::after {
    width: 100%;
}

/* --- CTA Button in Navbar --- */
.btn-nav-cta {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: 0.3s;
    font-size: 0.9rem;
}

.btn-nav-cta:hover {
    background-color: var(--accent-color);
    color: #000;
}

/* --- Hamburger Icon (Hidden on Desktop) --- */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
}

/* --- Mobile Actions Container (Hidden on Desktop) --- */
.nav-mobile-actions {
    display: none;
}

/* =========================================
   MOBILE NAVBAR (Hamburger & Slide Menu) - FIXED
   ========================================= */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling on small screens so hidden off-canvas
       elements (like the mobile nav) cannot be revealed by side-scrolling. */
    html, body {
        overflow-x: hidden;
    }

    .hamburger {
        display: block; /* Show icon */
        transition: transform 0.2s ease;
    }

    /* Smooth icon morphing: bars → cross */
    .hamburger i {
        transition: transform 0.2s ease, opacity 0.2s ease;
        display: inline-block;
    }

    /* Mobile Actions: Show button + hamburger side-by-side */
    .nav-mobile-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Mobile Callback Button */
    .btn-mobile-callback {
        background-color: transparent;
        color: var(--accent-color);
        border: 1px solid var(--accent-color);
        padding: 4px 10px;
        font-size: 0.85rem;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 600;
        font-family: var(--font-main);
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease;
        pointer-events: auto;
    }

    .btn-mobile-callback:hover {
        background-color: rgba(230, 126, 34, 0.1);
        color: var(--accent-color);
    }

    .btn-mobile-callback:active {
        transform: scale(0.95);
    }

    /* Hide callback button when menu is open — smooth fade & slide */
    body.menu-open .btn-mobile-callback {
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
    }

.nav-links {
        position: fixed;
        top: 90px; 
        right: -100%; 
        width: 100%;
        height: calc(100vh - 90px); 
        
        /* --- NEW GLASS BLUR EFFECT --- */
        background-color: rgba(10, 10, 10, 0.85); /* Thoda transparent black */
        backdrop-filter: blur(12px); /* Ye peeche ka background dhundhla karega */
        -webkit-backdrop-filter: blur(12px); /* iPhone ke liye zaroori hai */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        /* ----------------------------- */
        
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 10px; 
        transition: 0.4s ease-in-out;

        overflow-y: auto; 
        padding-bottom: 20px; 
    }

    /* Active Class adds Slide Effect */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 6px 0; /* reduced vertical gap so more items fit */
        width: 100%;
        text-align: center;
    }

    .nav-links a.nav-item {
        font-size: 1rem; /* slightly smaller to conserve vertical space */
        display: block;
        padding: 8px 10px; /* less vertical padding */
    }

    /* Mobile CTA Button */
    .btn-nav-cta {
        width: 80%;
        padding: 12px;
        margin-top: 10px;
        background-color: var(--accent-color); 
        color: #000;
    }
    
    /* Body Lock (Prevent scroll when menu open) */
    body.menu-open {
        overflow: hidden;
    }
}

/* =========================================
   2. HERO SECTION STYLING (Final Updated for Zoom)
   ========================================= */
.hero-section {
    padding-top: 100px; 
    padding-bottom: 80px;
    background-color: var(--primary-color);
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* --- Left Side: Text Content --- */
.hero-text {
    flex: 1;
}

/* Headline Style */
.hero-title {
    font-size: 3rem; 
    line-height: 1.2;
    color: var(--accent-color); 
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-title span {
    display: block; 
}

/* Description Style */
.hero-desc {
    font-size: 1.15rem;
    color: #cccccc; 
    margin-bottom: 35px;
    max-width: 95%;
    line-height: 1.7;
}

/* --- Buttons Styling --- */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--btn-text);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #d35400;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--btn-text);
}

/* --- Right Side: Video Container --- */
.hero-image {
    flex: 1;
}

.video-box {
    border-radius: 20px;
    overflow: hidden;
    border: none; 
    line-height: 0;
}

/* =========================================
   Teacher Modal — Dull Placeholder Styling
   ========================================= */
#teacherModal select.dark-input {
    color: #ffffff; /* Normal selected value color */
}

/* When placeholder option is selected (value is invalid/missing), show dull color */
#teacherModal select.dark-input:required:invalid {
    color: #999999;
}

/* Dropdown list: ensure disabled placeholder shows dull inside the menu */
#teacherModal option[disabled],
#teacherModal option[disabled][selected] {
    color: #999999;
}

.video-box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    
    /* --- DESKTOP ZOOM (Updated) --- */
    /* 1.6 ka matlab 60% zoom (Pehle 1.35 tha) */
    transform: scale(1.6); 
    transform-origin: center;

    filter: contrast(1.2) brightness(0.8);
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
   
    .hero-section {
        padding-top: 80px; 
    }

    .hero-flex {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 20px; 
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.8rem; 
        margin-bottom: 15px;
    }
    
    .hero-desc {
        font-size: 1rem; 
        margin-bottom: 25px;
    }

    .video-box {
        margin-bottom: 10px;
    }

    /* --- MOBILE ZOOM SAFETY --- */
    /* Mobile par video wapas normal zoom (1.35) par set rahegi */
    .video-box video {
        transform: scale(1.35);
    }
}

/* =========================================
   Transition Screen Styling (Scoped)
   Kept minimal and reversible — only affects #teacherTransition
   ========================================= */
.transition-box {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.transition-headline {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.transition-copy {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Safer, less aggressive CTA for Continue on transition screen */
.btn-safe {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(230,126,34,0.18);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
}
.btn-safe:hover {
    background: rgba(230,126,34,0.06);
}

@media (max-width: 480px) {
    .transition-box { padding: 22px 16px; }
    .transition-headline { font-size: 1rem; }
    .transition-copy { font-size: 0.95rem; }
    .btn-safe { padding: 14px 16px; }
}




/* =========================================
   SECTION 3: WHY NEO SHIKSHA (Comparison Toggle)
   ========================================= */
.why-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

/* Tag: THE TRANSPARENT SHIFT */
.section-tag {
    color: var(--accent-color);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase; /* Ensures ALL CAPS as per image */
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Toggle Switch Styling --- */
.toggle-container {
    display: inline-flex;
    background: #000;
    padding: 5px;
    border-radius: 30px;
    border: 1px solid #333;
    margin-bottom: 50px;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 10px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s;
    font-weight: 500;
    font-family: var(--font-main);
}

.toggle-btn.active {
    background-color: var(--accent-color);
    color: #000;
    font-weight: 700;
}

.toggle-btn:hover:not(.active) {
    color: #fff;
}

/* --- Comparison Layout --- */
.comparison-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.compare-card {
    flex: 1;
    padding: 40px;
    border-radius: 15px;
    transition: 0.3s;
}

/* LEFT CARD: Traditional (Faded Grey) */
.card-old {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    opacity: 0.7;
}

.card-old h3 {
    color: #777;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

/* RIGHT CARD: Neo Shiksha (Black & Gold) */
.card-neo {
    background-color: #000;
    border: 1px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(1.02);
}

.card-neo h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

/* Lists */
.compare-list {
    list-style: none;
}

.compare-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

/* Icons */
.icon-x { color: #555; font-weight: bold; }
.icon-check { color: var(--accent-color); font-weight: bold; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }
    .card-neo {
        transform: scale(1);
        margin-top: 10px;
    }
}


/* =========================================
   SECTION 4: PARENTS SECTION (New Fixes)
   ========================================= */
.parents-section {
    padding: 120px 0; /* Fix: Padding 100px se badha kar 120px kar di */
    background-color: var(--primary-color);
    text-align: center;
    border-top: 1px solid #222;
}

.parent-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.parent-content {
    max-width: 800px;
    margin: 0 auto; /* Fix: Content ko center mein layega */
    text-align: center;
}

/* Fix: Section Tag ka font size bada kiya */
.parents-section .section-tag {
    font-size: 18px; 
    margin-bottom: 15px;
    letter-spacing: 2px;
}

/* Fix: Buttons ko horizontal center karne ke liye */
.action-buttons {
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}


/* =========================================
   SECTION 5: TEACHERS SECTION STYLING
   ========================================= */
.teachers-section {
    padding: 120px 0;
    background-color: var(--secondary-color);
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

/* Fix: Teachers Tag Size ko Parents jaisa bada karna */
.teachers-section .section-tag {
    font-size: 18px; 
    margin-bottom: 15px;
    letter-spacing: 2px;
}


/* =========================================
   6. ABOUT SECTION (Redesigned: Trust & Story)
   ========================================= */
.about-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden; /* Keeps the gallery contained */
    text-align: center;
}

.about-flex {
    display: flex;
    align-items: flex-start; /* Align to top */
    gap: 80px; /* Generous spacing */
    flex-direction: column;
}

/* --- Left: Typography & Story --- */
.about-text {
    flex: 1;
    z-index: 2;
    width: 100%;
}

.about-headline {
    font-size: 2.2rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
}

.story-block p {
    color: #bbb; /* Soft grey for reading */
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.story-block strong {
    color: #fff;
    font-weight: 600;
}

/* Values List */
.values-block {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 2px solid #333;
}

.values-title {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    color: #ddd;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.values-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1rem;
}

/* Credentials (Quiet Proof) */
.credentials-block {
    background: #111;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #222;
    display: inline-block;
    margin-bottom: 20px;
}

/* Hide mobile-only mentor image on desktop by default */
.mentor-mobile-only {
    display: none;
}

.cred-text {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.faded-text {
    color: #777;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Trust Anchor Line */
.trust-anchor {
    font-family: monospace; /* Gives a raw, honest feel */
    color: #666;
    font-size: 0.85rem;
    margin-top: 10px;
    letter-spacing: -0.5px;
}

/* --- Right: Living Gallery (Vertical Scroll) --- */
.about-gallery-wrapper {
    flex: 0.8;
    height: 600px; /* Fixed height for the window */
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    /* Optional: Border/Shadow to define the area */
    border: 1px solid #222;
    background: #0a0a0a;
}

.gallery-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Animation: Moves up slowly */
    animation: scrollGallery 40s linear infinite;
}

/* Pause on Hover (UX Rule) */
.about-gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    filter: grayscale(100%) contrast(1.1); /* Documentary feel */
    transition: 0.5s ease;
    opacity: 0.8;
}

.gallery-item:hover {
    filter: grayscale(0%) contrast(1); /* Color on hover */
    opacity: 1;
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center; /* Ensures faces are not cropped from the top */
}

.gallery-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Gradient Overlays to hide scroll edges */
.gallery-fade-top, .gallery-fade-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.gallery-fade-top {
    top: 0;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.gallery-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--primary-color), transparent);
}

/* Animation Keyframes */
@keyframes scrollGallery {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Adjust based on content height */
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-gallery-wrapper {
        display: none;
    }
}

/* Desktop: Restore side-by-side layout */
@media (min-width: 769px) {
    .about-flex {
        flex-direction: row;
        align-items: flex-start;
        gap: 80px;
        text-align: left;
    }
    
    .about-text {
        flex: 1;
    }
    
    .about-gallery-wrapper {
        flex: 0.8;
    }
}


/* =========================================
   RECOGNITION BLOCK (Updated: Centered Box)
   ========================================= */
.recognition-block {
    /* Upar aur neeche 50px gap, aur Left-Right 'auto' se ye center ho jayega */
    margin: 50px auto 30px auto;
    
    /* Box ko zyada chauda hone se rokega */
    max-width: 900px;
    width: 100%;

    padding: 30px;
    text-align: center; 
    border-left: none;
    
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid #333;
}

/* Label ko bhi center align ke liye thoda adjust */
.rec-label {
    display: inline-block; /* Center hone ke liye zaruri hai */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color); /* Ise Gold kar diya taaki alag dikhe */
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 3px;
}



.rec-text {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.rec-text strong {
    color: #fff;
    font-weight: 600;
}



/* Link Styling - Updated to Theme Orange */
.tribune-link {
    color: var(--accent-color); /* Ab ye hamesha Orange rahega */
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color); /* Border bhi Orange */
    font-weight: 600; /* Thoda bold taaki clear dikhe */
    transition: 0.3s;
}

.tribune-link:hover {
    opacity: 0.8; /* Hover karne par thoda sa effect */
    border-bottom: 1px solid var(--accent-color);
}


/* =========================================
   8. FOOTER SECTION
   ========================================= */
.footer-section {
    background-color: #000000; /* Pitch Black */
    padding: 70px 0 20px 0;
    border-top: 1px solid #333; /* Separation line */
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    /* 4 Columns barabar hisse mein */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Logo in Footer */
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.8; /* Thoda dim rakha hai taaki aankh na chubhe */
}

.footer-col h3 {
    color: var(--accent-color); /* Gold Headings */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Footer Links */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px; /* Hover karne par thoda right khiskega */
}

/* Social Buttons Styling */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    font-size: 0.9rem;
}

.social-btn:hover {
    background-color: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: 600;
}

/* WhatsApp specific styling */
.social-btn.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: #000;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between; /* Left aur Right end pe content */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        text-align: center;
    }
}






/* =========================================
   Parent MODAL UPDATES (Split Layout & Positioning)
   ========================================= */

/* 1. Modal Positioning (Top 20px Fixed) */
.large-modal {
    position: fixed;
    top: 20px; /* Screen ke top se thoda neeche */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px; /* Bada width taaki 2 column aa sakein */
    max-height: calc(100vh - 40px); /* Screen se bada na ho */
    overflow-y: auto; /* Agar form bada hai to scroll aa jaye */
    margin: 0; /* Purana margin hataya */
    
    background-color: var(--secondary-color);
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    z-index: 2001;
}

/* 2. Grid Layout (Desktop: 2 Columns) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Do barabar hisse */
    gap: 30px;
    text-align: left;
}

.form-heading {
    color: var(--accent-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    font-size: 1rem;
}

/* 3. Inputs Styling Updates */
.dark-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-size: 0.95rem;
}

.dark-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* ===== UNIFIED FORM INPUT NORMALIZATION ===== */
/* Normalize ALL input types, selects, and textareas */
input,
select,
textarea {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    border: 1px solid #333 !important;
    border-radius: 5px !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1) !important;
}

/* Override input placeholder color */
input::placeholder,
textarea::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

/* Select dropdown styling */
select {
    padding: 10px 12px !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e67e22' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px !important;
}

/* Checkbox & Radio unified styling */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--accent-color) !important;
    appearance: auto !important;
    cursor: pointer !important;
    width: auto !important;
    height: auto !important;
}

/* Remove browser default checkbox appearance and create custom */
input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    accent-color: var(--accent-color) !important;
}

/* Ensure all checked checkboxes use orange */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    accent-color: var(--accent-color) !important;
    background-color: var(--accent-color) !important;
}

/* Force orange accent for all checkbox containers */
.checkbox-container input[type="checkbox"],
.checkbox-group input[type="checkbox"] {
    accent-color: var(--accent-color) !important;
}

.checkbox-container input[type="checkbox"]:checked,
.checkbox-group input[type="checkbox"]:checked {
    accent-color: var(--accent-color) !important;
}

/* Textarea styling */
textarea {
    padding: 12px !important;
    resize: vertical !important;
    min-height: 100px !important;
    font-family: inherit !important;
}

/* ============================
   FINAL FORM FIELD OVERRIDE
   Force black background on ALL fields
   ============================ */

.modal input,
.modal select,
.modal textarea,
.step-content input,
.step-content select,
.step-content textarea,
.dark-input,
.dark-input input,
.dark-input select,
.dark-input textarea {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
    border: 1px solid #2a2a2a !important;
}

/* Placeholder text */
.modal input::placeholder,
.modal textarea::placeholder {
    color: #777 !important;
}

/* Focus state */
.modal input:focus,
.modal select:focus,
.modal textarea:focus,
.step-content input:focus,
.step-content select:focus,
.step-content textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(255,140,0,0.15) !important;
    outline: none !important;
}

/* Autofill Chrome fix - CRITICAL */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #0b0b0b inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

input:-webkit-autofill::first-line {
    color: #ffffff !important;
}

/* Override any inline style backgrounds */
input[style*="background"],
select[style*="background"],
textarea[style*="background"] {
    background-color: #0b0b0b !important;
}

/* Force dark background on all modal inputs regardless of class */
.modal input[type="text"],
.modal input[type="email"],
.modal input[type="password"],
.modal input[type="number"],
.modal input[type="tel"],
.modal input[type="date"] {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
    border: 1px solid #2a2a2a !important;
}

.modal input[type="text"]:focus,
.modal input[type="email"]:focus,
.modal input[type="password"]:focus,
.modal input[type="number"]:focus,
.modal input[type="tel"]:focus,
.modal input[type="date"]:focus {
    border-color: var(--accent-color) !important;
    outline: none !important;
}

/* 4. Flex Row for Small Inputs (Class/Board side-by-side) */
.row-flex {
    display: flex;
    gap: 10px;
}

.half-width {
    flex: 1; /* Barabar jagah lenge */
}

/* 5. Scrollable Checkbox List (Subjects) */
.checkbox-container {
    max-height: 120px; /* Height fix kar di */
    overflow-y: auto; /* Scroll bar aayega */
    background: #000;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.checkbox-container label {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    margin-right: 10px;
    accent-color: var(--accent-color);
}

.input-label {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: block;
}

/* Mobile Responsive: Stack Columns */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Mobile pe ek ke neeche ek */
        gap: 10px;
    }
    
    .large-modal {
        top: 10px;
        width: 95%;
        padding: 20px;
        max-height: calc(100vh - 20px);
    }
}




/* Mobile Responsive: Stack Columns & Usability Enhancements */
@media (max-width: 768px) {
    /* =========================================
       ANTI-ZOOM FIX (Critical for iOS)
       ========================================= */
    input,
    select,
    textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS/Android */
    }

    /* =========================================
       TOUCH TARGET SIZING (44px minimum)
       ========================================= */
    .dark-input {
        font-size: 16px !important; /* Reiterate for form inputs */
        min-height: 44px; /* Touch target minimum */
        padding: 12px 15px !important; /* Ensure comfortable tap area */
        margin-bottom: 15px !important; /* Space between fields */
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-nav-cta {
        min-height: 44px; /* Touch target for buttons */
        font-size: 16px !important; /* Prevent zoom */
        padding: 12px 20px !important; /* Comfortable tap area */
    }

    /* Checkbox & Radio touch targets */
    .checkbox-container label,
    .checkbox-group label {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 8px 0;
        font-size: 16px !important;
    }

    .checkbox-container input,
    .checkbox-group input {
        min-width: 20px;
        min-height: 20px;
        margin-right: 12px;
        cursor: pointer;
    }

    /* Select dropdowns */
    select {
        min-height: 44px;
        padding: 12px 15px;
        font-size: 16px !important;
    }

    /* =========================================
       FORM SPACING (Mobile Specific)
       ========================================= */
    .form-col {
        margin-bottom: 10px;
    }

    .row-flex {
        gap: 12px;
    }

    .half-width {
        font-size: 16px !important;
        min-height: 44px;
    }

    /* Helper text should not add to zoom issues */
    .input-helper {
        font-size: 14px; /* Keep readable but smaller */
        margin-bottom: 12px;
    }

    /* Checkbox container scrolling */
    .checkbox-container {
        font-size: 16px !important;
        max-height: 150px;
        padding: 12px;
    }

    .checkbox-container label {
        font-size: 16px !important;
        margin-bottom: 8px;
    }

    /* =========================================
       MODAL MOBILE ADJUSTMENTS
       ========================================= */
    .small-modal {
        width: 90%;
        padding: 20px;
    }

    .small-modal input {
        font-size: 16px !important;
        min-height: 44px;
        margin-bottom: 15px;
    }
}





/* =========================================
   MODAL BASE STYLING (To Hide Form on Load)
   ========================================= */
.modal {
    display: none; /* DEFAULT HIDDEN - Ye sabse zaruri line hai */
    position: fixed; 
    z-index: 2000; /* Sabse upar dikhega */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); /* Background Overlay (Dark) */
}

/* Modal content scrolling & safe-area padding */
.modal .modal-content {
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    overflow-y: auto;
    /* ensure there is breathing room under the last element (submit button) */
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 20px));
    max-height: calc(100vh - 40px);
}

/* Use dynamic viewport units where available to avoid mobile browser chrome cutting content */
@supports (height: 100dvh) {
    .large-modal {
        max-height: calc(100dvh - 40px);
    }
    .small-modal {
        max-height: calc(100dvh - 40px);
    }
}

/* Fallback to normal viewport units */
.large-modal {
    max-height: calc(100vh - 40px);
}
.small-modal {
    max-height: calc(100vh - 40px);
}


/* =========================================
   NEW ADDITIONS (Add to bottom of style.css)
   ========================================= */

/* 1. Outline Button for 'Request Callback' */
.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #444; /* Grey Border */
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--accent-color); /* Gold Border on Hover */
    color: var(--accent-color);
}

/* 2. Small Modal Styling (For Callback) */
.small-modal {
    max-width: 400px; /* Thoda chhota size */
    margin: 15vh auto; /* Screen me thoda upar */
    background-color: var(--secondary-color);
    padding: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    position: relative;
    width: 90%;
}

/* Ensure Close Button works in small modal */
.small-modal .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}



/* =========================================
   CLOSE BUTTON STYLING (Cursor Fix)
   ========================================= */
.close-btn {
    cursor: pointer; /* Ye line cursor ko hand bana degi */
    
    /* Optional: Thoda styling taki wo clickable lage */
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--accent-color); /* Hover karne par Orange ho jayega */
}






/* =========================================
   SUCCESS & PAYMENT INTRO STYLING
   ========================================= */

/* 1. Generic Success Message Box */
.success-box {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-icon {
    font-size: 50px;
    color: #25D366; /* WhatsApp/Success Green */
    margin-bottom: 20px;
    display: block;
}

.success-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-desc {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Social Media Links in Success Box */
.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon-btn {
    text-decoration: none;
    color: white;
    font-size: 2rem; /* Big Icons */
    transition: 0.3s;
}

.social-icon-btn.fb:hover { color: #1877F2; }
.social-icon-btn.insta:hover { color: #E4405F; }

/* 2. Teacher Payment Explanation Box (The "Comfort" Step) */
.payment-intro-box {
    text-align: center;
    padding: 20px;
    background: #111;
    border-radius: 10px;
    border: 1px solid #333;
}

.price-tag {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 15px 0;
    display: block;
}

.trust-badge-list {
    text-align: left;
    max-width: 350px;
    margin: 20px auto;
    color: #ccc;
    list-style: none;
}

.trust-badge-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-gold {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Animation for smooth transition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* =========================================
   NEW SECTION: PROCESS FLOW ("How It Works")
   ========================================= */
.process-section {
    padding: 100px 0;
    background-color: var(--primary-color); /* Black */
    text-align: center;
    border-top: 1px solid #222;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.process-card {
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
    position: relative;
}

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

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #222; /* Very subtle dark number */
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
}

.process-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.process-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Cost Reality Box (Teacher Flow) */
.cost-reality-box {
    margin-top: 60px;
    background: #111;
    border: 1px dashed #444;
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reality-title {
    color: #fff;
    margin-bottom: 5px;
}

.reality-subtitle {
    color: #888;
    margin-bottom: 30px;
    font-family: monospace;
}

.reality-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.reality-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #aaa;
}

.reality-item .money {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.reality-item .note {
    display: block;
    font-size: 0.8rem;
}

/* Comparisons */
.reality-item.muted .money { color: #555; text-decoration: line-through; }
.reality-item.muted .note { color: #555; }

.reality-item.highlighted .money { color: var(--accent-color); }
.reality-item.highlighted .note { color: #fff; }

.reality-divider {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
}

/* Desktop: Fix checkbox wrapping for Classes & Boards sections */
@media (min-width: 1024px) {
    .checkbox-group label {
        display: inline-flex;
        align-items: center;
        margin-right: 20px;
        white-space: nowrap;
        padding: 4px 0;
    }
}

/* Mobile Fix for Reality Box */
@media (max-width: 768px) {
    .reality-flex {
        flex-direction: column;
        gap: 30px;
    }

    /* Mobile: Align toggle button spacing with process grid gap */
    .process-section .toggle-container {
        margin-bottom: 30px;
    }
}

/* =========================================
   NEW SECTION: FAQs
   ========================================= */
.faq-section {
    padding: 100px 0;
    background-color: var(--primary-color); /* Grey */
    border-top: 1px solid #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.faq-col-title {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    display: inline-block;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
}

.faq-question {
    background: transparent;
    border: none;
    color: #ddd;
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: #fff;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent-color);
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    color: #999;
    padding-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Fix for FAQs */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}







/* =========================================
   PROCESS SECTION UPDATES
   ========================================= */

/* Trust Line (The soft, reassuring text at the bottom) */
.process-trust-line {
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 40px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    border-top: 1px solid #222; /* Subtle separation */
    padding-top: 30px;
}

/* Enhancing the Card Typography for Readability */
.process-card h3 {
    font-size: 1.3rem; /* Slightly larger for clarity */
    margin-bottom: 12px;
    color: #fff;
}

.process-card p {
    font-size: 0.95rem;
    color: #b0b0b0; /* Softer grey for human feel */
}



/* =====================================================
   SECTION: ABOUT – MOBILE GALLERY (New Vertical Behavior)
   FILE: style.css
   PURPOSE: Mobile-only vertical, non-interactive scroll that mimics desktop animation.
   ===================================================== */
/* The scrollHorizontal keyframes are no longer used but are left to avoid unintended side-effects of removal. */
@keyframes scrollHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves left by half the total width */
}

@media (max-width: 768px) {
    /*
     * STRATEGY: Revert the mobile gallery to its default vertical flow by overriding
     * the previous horizontal styles. Disable all user interaction and remove the
     * grayscale filter to create a calm, documentary-style auto-scrolling panel.
     */

    /* 1. Hide the temporary mobile-only mentor image */
    .mentor-mobile-only {
        display: none !important;
    }

    /* 2. Reset gallery wrapper to vertical defaults and disable interaction */
    .about-gallery-wrapper {
        /* Restore vertical-style properties. !important is needed to override previous horizontal styles. */
        height: 600px !important;
        border: 1px solid #222 !important;
        background: #0a0a0a !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
        display: block !important;
        overflow: hidden !important;
        white-space: normal !important;

        /* CRITICAL: This makes the gallery non-interactive and prevents scroll hijacking */
        pointer-events: none;
    }
    
    .about-gallery-wrapper::-webkit-scrollbar {
        display: none; /* Keep scrollbar hidden */
    }

    /* 3. Reset track to use the original vertical animation */
    .gallery-track {
        flex-direction: column !important;
        gap: 20px !important;
        animation: scrollGallery 40s linear infinite !important;
        width: auto !important;
    }
    
    /* This class is no longer used for pausing */
    .gallery-track.is-paused {
        animation-play-state: running; /* Ensure it's not paused */
    }

    /* 4. Reset gallery items */
    .gallery-item {
        /* --- CORE MOBILE CHANGE: Make images colored by default --- */
        filter: none !important;
        opacity: 1 !important;

        /* Clear horizontal properties */
        width: auto !important;
        height: auto !important;
        flex-shrink: 1 !important;
    }

    .gallery-item:hover {
        transform: none !important;
    }
    
    .gallery-item img {
        height: auto !important; /* Revert to default height behavior */
        width: 100% !important; /* Keep at 100% */
        object-fit: cover !important;
        object-position: center !important;
    }

    /* 5. Restore elements that were hidden for horizontal view */
    .gallery-fade-top, .gallery-fade-bottom {
        display: block !important;
    }

    .gallery-caption {
        opacity: 0 !important;
    }

    /* 6. Reset recognition block spacing */
    .recognition-block {
        margin: 50px auto 30px auto !important;
        width: auto !important; /* Let max-width handle it */
    }
}


/* =========================================
   FORM UX UPDATES (PIN Code & Helpers)
   ========================================= */

/* Helper Text below inputs */
.input-helper {
    display: block;
    font-size: 0.8rem;
    color: #888; /* Muted grey for non-intrusive feel */
    margin-top: 0px; 
    margin-bottom: 15px; /* Space before next field */
    line-height: 1.4;
    padding-left: 2px;
}

/* Ensure numeric inputs don't show spinner arrows in some browsers */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Optional: Focus state for helper text (Subtle UX detail) */
.dark-input:focus + .input-helper {
    color: var(--accent-color); /* Gold color when typing */
    transition: 0.3s;
}

/* =========================================
   MOBILE GALLERY COMPONENT (Moved from inline)
   ========================================= */

/* 1. Desktop Default: Force hide the mobile gallery component */
.mobile-gallery-wrapper {
    display: none !important;
}

/* 2. Mobile View Configuration (< 768px) */
@media screen and (max-width: 768px) {
    
    /* Hide the desktop gallery completely on mobile */
    .about-gallery-wrapper {
        display: none !important;
    }

    /* Display and animate the mobile gallery */
    .mobile-gallery-wrapper {
        display: block !important;
        position: relative;
        width: 100%;
        height: 500px; /* Fixed viewing window height */
        overflow: hidden; /* Hide scrolling overflow */
        margin: 20px 0;
    }

    .mobile-gallery-track {
        display: flex;
        flex-direction: column;
        /* Moves content upwards continuously */
        animation: mobileVerticalScroll 30s linear infinite; 
    }

    .mobile-gallery-item {
        width: 100%;
        padding: 10px 0;
        display: flex;
        justify-content: center;
    }

    .mobile-gallery-item img {
        width: 90%;
        max-width: 320px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        object-fit: cover;
    }

    /* Seamless Loop Animation */
    @keyframes mobileVerticalScroll {
        0% { transform: translateY(0); }
        100% { transform: translateY(-50%); }
    }

    /* Optional: Fades for premium look */
    .mobile-gallery-wrapper .gallery-fade-top,
    .mobile-gallery-wrapper .gallery-fade-bottom {
        position: absolute;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 2;
        pointer-events: none;
    }
    .mobile-gallery-wrapper .gallery-fade-top {
        top: 0;
        background: linear-gradient(to bottom, var(--primary-color), transparent);
    }
    .mobile-gallery-wrapper .gallery-fade-bottom {
        bottom: 0;
        background: linear-gradient(to top, var(--primary-color), transparent);
    }
}
