/* Premium Core Style Manifest */
:root {
    --primary-blue: #172554;
    --secondary-sky-blue: #06B6D4;
    --light-green: #A3E635;
    --bright-yellow: #FACC15;
    --orange-accent: #F97316;
    --white: #FFFFFF;
    --dark-text: #1E293B;
    --light-background: #F8FAFC;
    --gray-light: #E2E8F0;
    --shadow-premium: 0 10px 30px rgba(23, 37, 84, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--light-background); color: var(--dark-text); overflow-x: hidden; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar & Premium Navigation Frame */
.top-bar { background-color: var(--primary-blue); color: var(--white); padding: 10px 0; font-size: 0.9rem; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.sticky-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo a { font-size: 1.6rem; font-weight: bold; color: var(--primary-blue); text-decoration: none; }
.logo span { color: var(--secondary-sky-blue); }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--dark-text); font-weight: 600; padding: 5px 0; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-accent); border-bottom: 3px solid var(--orange-accent); }
.header-ctas { display: flex; gap: 12px; }



/* ==========================================================================
   Premium Navigation Header Core Structural Corrections
   ========================================================================== */
.sticky-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(23, 37, 84, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-sky-blue);
}

.menu-toggle {
    display: none; /* Hidden strictly on Desktop sizes */
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-blue);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   📱 992px Responsive Breakpoint Overrides for Mobile and Tablets
   ========================================================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* Visible strictly on Mobile/Tablets only */
    }

    /* Convert standard links horizontal chain into a clean stack vertical drawer */
    .nav-links {
        position: absolute;
        top: 80px; /* Aligns exactly flush underneath the header block */
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(23, 37, 84, 0.08);
        border-top: 1px solid var(--gray-light);
        max-height: 0; /* Hidden default starting point state */
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    /* Triggered via JS Engine smoothly opens the menu drawer */
    .nav-links.active {
        max-height: 350px; 
    }

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

    .nav-links a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        width: 100%;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Hiding CTA group buttons on small mobile views to save header real estate spacing */
    @media (max-width: 576px) {
        .header-ctas {
            display: none; 
        }
    }
}


/* ==========================================================================
   Premium Image Logo Structural Responsive Alignment
   ========================================================================== */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

/* Image optimization framework rules */
.site-logo-img {
    max-height: 75px; /* Header ke standard limits ke mutabik high quality scale auto height */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo-img:hover {
    transform: scale(1.03); /* Premium soft interactive feel on hover */
}

/* 📱 Mobile Responsive adjustments for Logo (Max 768px) */
@media (max-width: 768px) {
    .site-logo-img {
        max-height: 75px; /* Mobile screens par spacing maintain karne ke liye scale width custom optimize */
    }
}





















/* Dynamic CTA Buttons */
.btn { padding: 10px 22px; border-radius: 50px; font-weight: bold; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; transition: all 0.3s; border: none; }
.btn-primary { background-color: var(--secondary-sky-blue); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-blue); transform: translateY(-2px); }
.btn-accent { background-color: var(--orange-accent); color: var(--white); }
.btn-accent:hover { background-color: var(--bright-yellow); color: var(--primary-blue); transform: translateY(-2px); }

/* Hero Core Grid Setup */
.hero-sec { background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%); color: var(--white); padding: 80px 0; position: relative; border-bottom-left-radius: 60px; border-bottom-right-radius: 60px; }

.hero-title { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; color: var(--bright-yellow); }
.hero-sub { font-size: 1.3rem; margin-bottom: 30px; opacity: 0.95; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat-card { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 15px; text-align: center; backdrop-filter: blur(5px); }
.stat-num { font-size: 2.2rem; font-weight: bold; color: var(--light-green); display: block; }





/* Grid Cards & Framework Layers */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.course-card { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-premium); border-top: 6px solid var(--secondary-sky-blue); transition: transform 0.3s; }
.course-card:hover { transform: translateY(-5px); }
.course-card h3 { color: var(--primary-blue); font-size: 1.5rem; margin-bottom: 15px; }
.age-badge { background: var(--light-background); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; color: var(--orange-accent); }

/* Before After Section mapping */
.ba-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.ba-box { padding: 30px; border-radius: 20px; }
.ba-before { background: #FEE2E2; border-left: 6px solid #EF4444; }
.ba-after { background: #DCFCE7; border-left: 6px solid #22C55E; }

/* Accordions and Contact Components */
.faq-item { background: var(--white); border-radius: 10px; margin-bottom: 15px; box-shadow: var(--shadow-premium); }
.faq-header { padding: 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border-radius: 10px; }
.faq-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease-out; color: #475569; }
.faq-item.active .faq-body { padding: 20px; max-height: 200px; }

/* Floating Elements Layout Grid */
.floating-channels { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column; gap: 12px; z-index: 2147483647; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.3s; }
.float-btn:hover { transform: scale(1.1); }
.float-call { background: var(--secondary-sky-blue); }
.float-whatsapp { background: #25D366; }




/* Footer Framework Layer */
 footer { background: #0e1e43; color: var(--white); padding: 60px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-col h4 { color: var(--bright-yellow); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: var(--secondary-sky-blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.9rem; color: #94a3b8; }


/* ==========================================================================
   Premium Footer Bottom Split Layout
   ========================================================================== */
footer {
    padding-bottom: 30px;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Left Side Layout & Link */
.footer-bottom-left {
    text-align: left;
}

.designer-link {
    color: var(--bright-yellow) !important;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: var(--secondary-sky-blue) !important;
}

/* Right Side Legal Links */
.footer-bottom-right {
    text-align: right;
    white-space: nowrap;
}

.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: var(--bright-yellow)
}

/* 📱 Mobile Responsive Adjustment (Max 768px) */
@media (max-width: 768px) {
    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-left, 
    .footer-bottom-right {
        text-align: center;
        white-space: normal; /* Mobile par automatic adjust hoga */
        line-height: 1.6;
    }
}



/* ==========================================================================
   💥 ULTRAPREMIUM VIBRANT GRADIENT BUTTON SYSTEM (Image Matched)
   ========================================================================== */
.btn, 
.btn-primary, 
.btn-accent,
.course-card .btn,
.faq-question-trigger:hover .accordion-icon {
    /* इमेज से निकाला गया सटीक मैजेंटा से पर्पल-ब्लू ग्रेडिएंट */
    background: linear-gradient(135deg, #7acaff 0%, #fceb05 50%, #9bdd00 100%) !important;
    color: #085baf !important;
    border: none !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3) !important;
}

/* बटन पर कर्सर ले जाने (Hover) पर चमकता हुआ शानदार इफ़ेक्ट */
.btn:hover, 
.btn-primary:hover, 
.btn-accent:hover,
.course-card .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.45) !important;
}

/* बटन पर क्लिक करने (Active) पर थोड़ा सा दबने का अहसास */
.btn:active, 
.btn-primary:active, 
.btn-accent:active {
    transform: translateY(-1px) scale(0.99);
}

/* हेडर के "View Courses" पारदर्शी बटन को छोड़कर बाकी सब पर लागू करने के लिए */
.hero-sec .btn[style*="background:transparent"] {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}

.hero-sec .btn[style*="background:transparent"]:hover {
    background: #ffffff !important;
    color: #a855f7 !important;
}


/* ==========================================================================
   Hero Section View Courses Button Gradient Override
   ========================================================================== */
.hero-sec a.btn[style*="background:transparent"],
.hero-sec a.btn:nth-child(3) {
    background: linear-gradient(135deg, #7acaff 0%, #fceb05 50%, #9bdd00 100%) !important;
    color: #085baf !important;
    border: none !important;
}

.hero-sec a.btn[style*="background:transparent"]:hover,
.hero-sec a.btn:nth-child(3):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(155, 221, 0, 0.45) !important;
    color: #085baf !important;
}

/* ==========================================================================
   Hero Section Bottom Border Gradient Match
   ========================================================================== */
.hero-sec,
.courses-hero-banner,
.about-hero-banner,
.faq-hero-banner {
    /* पुरानी सॉलिड ब्लू बॉर्डर को हटाकर ग्रेडिएंट इमेज बॉर्डर लागू करना */
    border-bottom: 6px solid transparent !important;
    border-image: linear-gradient(90deg, #7acaff 0%, #fceb05 50%, #9bdd00 100%) 1 !important;
}