/* ========================================== */
/* START: GLOBAL BASE THEME & VARIABLES */
/* ========================================== */
:root {
    --bg-dark: #07090e;
    --bg-darker: #030407;
    --card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    --border-color: rgba(255, 255, 255, 0.12);
    --primary-indigo: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent-emerald: #10b981;
    --accent-purple: #c084fc;
    --text-primary: #ffffff;
    --text-sub: #cbd5e1; /* क्रिस्टल क्लियर वाइट-ग्रे कंट्रास्ट के लिए */
}

body.bg-dark-theme {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Vibrant Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fw-extrabold { font-weight: 800; }
.text-sub { color: var(--text-sub) !important; }
.text-indigo { color: var(--primary-indigo) !important; }

/* Premium Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 25px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.8);
}
/* ========================================== */
/* END: GLOBAL BASE THEME & VARIABLES */
/* ========================================== */


/* ========================================== */
/* START: SECTION 1 - NAVBAR STYLES */
/* ========================================== */
.custom-navbar {
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.nav-custom-link {
    color: var(--text-sub) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px !important;
    border-radius: 20px;
}

.nav-custom-link:hover, .nav-custom-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
/* ========================================== */
/* END: SECTION 1 - NAVBAR STYLES */
/* ========================================== */

/* ========================================== */
/* START: SECTION 2 - HERO SECTION STYLES */
/* ========================================== */
.hero-section {
    padding-bottom: 80px;
    background: radial-gradient(circle at 50% 20%, rgba(15, 23, 42, 0.8) 0%, var(--bg-dark) 100%);
}

.max-w-700 { max-width: 700px; }
.rounded-xl { border-radius: 16px; }

/* Ultra High-Contrast Glass Cards */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.4);
}

.border-indigo-glow {
    border: 1px solid rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Glass Button (High Contrast) */
.btn-glass {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Background Ambient Lights */
.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    filter: blur(140px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.glow-1 { top: 5%; left: 50%; transform: translateX(-50%); background: rgba(99, 102, 241, 0.25); }
.glow-2 { bottom: 10%; right: 5%; background: rgba(16, 185, 129, 0.15); }
/* ========================================== */
/* END: SECTION 2 - HERO SECTION STYLES */
/* ========================================== */
/* ========================================== */
/* FIX: MOBILE OVERFLOW & RESPONSIVE ISSUES */
/* ========================================== */

/* पूरे पेज को स्क्रीन से बाहर जाने से रोकें */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* ग्लोइंग लाइट्स को स्क्रीन से बाहर फैलने से रोकें */
.glow-bg {
    max-width: 100vw;
    overflow: hidden;
}

/* ========================================== */
/* START: SECTION 3 - COURSES & MODAL STYLES */
/* ========================================== */
.btn-filter {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-sub);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-filter.active, .btn-filter:hover {
    background: var(--primary-indigo);
    color: #ffffff;
    border-color: var(--primary-indigo);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.course-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.badge-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline-indigo {
    border: 1px solid var(--primary-indigo);
    color: var(--primary-indigo);
    transition: all 0.3s ease;
}

.btn-outline-indigo:hover {
    background: var(--primary-indigo);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
/* ========================================== */
/* END: SECTION 3 - COURSES & MODAL STYLES */
/* ========================================== */

/* ========================================== */
/* START: SECTION 4 - ROADMAP STYLES */
/* ========================================== */
.roadmap-card {
    border-top: 3px solid transparent;
    transition: all 0.4s ease;
}

.roadmap-card:hover {
    border-top-color: var(--primary-indigo);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.35);
}

.step-badge {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.step-icon-box {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.03);
}

/* ========================================== */
/* END: SECTION 4 - ROADMAP STYLES */
/* ========================================== */

/* ========================================== */
/* START: SECTION 5 - CERTIFICATE STYLES */
/* ========================================== */
.rounded-start-xl {
    border-top-left-radius: 14px !important;
    border-bottom-left-radius: 14px !important;
}

.rounded-end-xl {
    border-top-right-radius: 14px !important;
    border-bottom-right-radius: 14px !important;
}

.cert-mockup {
    overflow: hidden;
    transition: transform 0.4s ease;
}

.cert-mockup:hover {
    transform: scale(1.02);
}

.cert-overlay-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.alert-success-glass {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.alert-danger-glass {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ffffff;
}

/* ========================================== */
/* END: SECTION 5 - CERTIFICATE STYLES */
/* ========================================== */


/* ========================================== */
/* START: SECTION 6 - TESTIMONIAL STYLES */
/* ========================================== */
.testimonial-card {
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    transition: transform 0.3s ease;
}

.avatar-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border: 2px solid var(--primary-indigo);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* Swiper Bullet Pagination Customization */
.swiper-pagination-bullet {
    background: var(--text-sub) !important;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-indigo) !important;
    opacity: 1;
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 10px var(--primary-indigo);
}

/* ========================================== */
/* END: SECTION 6 - TESTIMONIAL STYLES */
/* ========================================== */
/* ========================================== */
/* START: SECTION 7 - GALLERY STYLES */
/* ========================================== */
.gallery-item {
    cursor: pointer;
    height: 260px;
}

.gallery-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.zoom-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.3);
    border: 1px solid var(--primary-indigo);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.max-h-500 {
    max-height: 500px;
    object-fit: contain;
}

/* ========================================== */
/* END: SECTION 7 - GALLERY STYLES */
/* ========================================== */

/* ========================================== */
/* START: SECTION 8 - FAQ STYLES */
/* ========================================== */
.custom-accordion .accordion-button {
    padding: 20px 24px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #ffffff !important;
}

.custom-accordion .accordion-button::after {
    filter: invert(1);
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-body {
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    line-height: 1.7;
}

/* ========================================== */
/* END: SECTION 8 - FAQ STYLES */
/* ========================================== */
/* ========================================== */
/* START: SECTION 9 - CONTACT & MAP STYLES */
/* ========================================== */
.dark-map {
    filter: invert(90%) hue-rotate(180deg) contrast(120%);
}

.min-h-300 {
    min-height: 300px;
}

.form-control:focus, .form-select:focus {
    background-color: var(--bg-dark) !important;
    border-color: var(--primary-indigo) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4) !important;
}
/* ========================================== */
/* END: SECTION 9 - CONTACT & MAP STYLES */
/* ========================================== */

/* ========================================== */
/* START: SECTION 10 & 11 - FOOTER & WHATSAPP STYLES */
/* ========================================== */
.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-indigo);
    color: #ffffff;
    border-color: var(--primary-indigo);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.footer-link {
    color: var(--text-sub);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ========================================== */
/* START: FLOATING BUTTONS (LEFT & RIGHT) */
/* ========================================== */

/* Left Side: Back to Top Button */
.back-to-top-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top-float.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.7);
    color: #ffffff;
}

/* Right Side: Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* ========================================== */
/* END: FLOATING BUTTONS (LEFT & RIGHT) */
/* ========================================== */


/* ========================================== */
/* END: SECTION 10 & 11 - FOOTER & WHATSAPP STYLES */
/* ========================================== */

































/* मोबाइल स्क्रीन पर हेडिंग और पैडिंग का सही एडजस्टमेंट */
@media (max-width: 768px) {
    /* फॉन्ट साइज़ थोड़ा छोटा करें ताकि मोबाइल से बाहर न भागे */
    .display-3 {
        font-size: 2.2rem !important;
    }
    
    .display-6 {
        font-size: 1.5rem !important;
    }

    /* पैडिंग एडजस्टमेंट */
    .hero-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* टोगल बटन और लोगो को स्क्रीन के अंदर सुरक्षित रखें */
    .custom-navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* ========================================== */
/* END: MOBILE OVERFLOW FIX */
/* ========================================== */
