/* ==========================================================================
   DON BOSCO SCHOOL - LUXURY ADAPTIVE DARK & LIGHT MODE STYLESHEET
   Supports: System Preference Default, Instant Toggle, Zero FOUC, High-Contrast Readability
   Brand Identity Preserved: Navy #003B6D, Deep Navy #00264A, Orange #F26522, Blue #2080C0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Toggle Button UI Styles (Header Navbar, Mobile Drawer, Floating Side)
   -------------------------------------------------------------------------- */
.dbs-theme-toggle-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
    user-select: none;
    align-self: center;
    margin-top: -3px; /* Moved up to vertically center with Admissions button */
}

.dbs-theme-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 64px;
    height: 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #002242 0%, #003B6D 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    padding: 0 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 59, 109, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    z-index: 10;
}

.dbs-theme-toggle-btn:hover {
    border-color: #F26522;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(242, 101, 34, 0.35);
    transform: scale(1.04);
}

.dbs-theme-toggle-btn:focus-visible {
    outline: 2px solid #F26522;
    outline-offset: 2px;
}

/* Icons inside Toggle */
.dbs-theme-toggle-btn .theme-icon-light,
.dbs-theme-toggle-btn .theme-icon-dark {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    z-index: 2;
    transition: all 0.35s ease;
}

.dbs-theme-toggle-btn .theme-icon-light {
    color: #ffb703;
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 183, 3, 0.8));
}

.dbs-theme-toggle-btn .theme-icon-dark {
    color: #94a3b8;
    opacity: 0.5;
    transform: scale(0.85);
}

/* Sliding Thumb */
.dbs-theme-toggle-btn .theme-switch-slider {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
    z-index: 1;
}

/* Active Dark State for Button */
.dbs-theme-toggle-btn.is-dark {
    background: linear-gradient(135deg, #091222 0%, #152238 100%);
    border-color: rgba(242, 101, 34, 0.45);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(242, 101, 34, 0.25);
}

.dbs-theme-toggle-btn.is-dark .theme-switch-slider {
    transform: translateX(30px);
    background: linear-gradient(135deg, #F26522 0%, #ff8547 100%);
    box-shadow: 0 0 12px rgba(242, 101, 34, 0.8);
}

.dbs-theme-toggle-btn.is-dark .theme-icon-light {
    color: #64748b;
    opacity: 0.4;
    transform: scale(0.85);
    filter: none;
}

.dbs-theme-toggle-btn.is-dark .theme-icon-dark {
    color: #ffffff;
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

/* Top Bar Specific Compact Theme Toggle */
.dbs-top-bar .dbs-theme-toggle-wrap {
    margin-top: 0 !important;
    align-self: center !important;
}

.dbs-theme-toggle-btn.dbs-top-theme-toggle {
    width: 56px !important;
    height: 26px !important;
    padding: 0 4px !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.dbs-theme-toggle-btn.dbs-top-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #F26522 !important;
}

.dbs-theme-toggle-btn.dbs-top-theme-toggle .theme-icon-light,
.dbs-theme-toggle-btn.dbs-top-theme-toggle .theme-icon-dark {
    font-size: 11px !important;
    width: 14px !important;
    height: 14px !important;
}

.dbs-theme-toggle-btn.dbs-top-theme-toggle .theme-switch-slider {
    top: 2px !important;
    left: 3px !important;
    width: 20px !important;
    height: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.dbs-theme-toggle-btn.dbs-top-theme-toggle.is-dark {
    background: rgba(0, 18, 38, 0.85) !important;
    border-color: rgba(242, 101, 34, 0.5) !important;
}

.dbs-theme-toggle-btn.dbs-top-theme-toggle.is-dark .theme-switch-slider {
    transform: translateX(27px) !important;
    background: linear-gradient(135deg, #F26522 0%, #ff8547 100%) !important;
    box-shadow: 0 0 8px rgba(242, 101, 34, 0.7) !important;
}

/* Floating Side Quick Toggle Button */
.theme_toggle_side_btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #003B6D;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 8px;
    outline: none;
}

.theme_toggle_side_btn:hover {
    background: #F26522;
    transform: scale(1.12) rotate(25deg);
    box-shadow: 0 8px 24px rgba(242, 101, 34, 0.45);
}

[data-theme="dark"] .theme_toggle_side_btn {
    background: #F26522;
    border-color: #ffb703;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(242, 101, 34, 0.6);
}

/* Mobile Offcanvas Drawer Theme Toggle Item */
.itoffcanvas-theme-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.itoffcanvas-theme-switch span {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* --------------------------------------------------------------------------
   2. Comprehensive Dark Mode Overrides ([data-theme="dark"])
   -------------------------------------------------------------------------- */
[data-theme="dark"],
html.dark-theme {
    color-scheme: dark;
}

[data-theme="dark"] body,
html.dark-theme body {
    background-color: #070d18 !important;
    color: #cbd5e1 !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Headings in Dark Mode */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .h1,
[data-theme="dark"] .h2,
[data-theme="dark"] .h3,
[data-theme="dark"] .h4,
[data-theme="dark"] .h5,
[data-theme="dark"] .h6 {
    color: #f8fafc !important;
}

/* Paragraphs & Muted text in Dark Mode */
[data-theme="dark"] p {
    color: #cbd5e1;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-secondary {
    color: #94a3b8 !important;
}

[data-theme="dark"] a {
    color: #38bdf8;
}

[data-theme="dark"] a:hover {
    color: #ff8547;
}

/* Universal Section Titles & Descriptions in Dark Mode */
[data-theme="dark"] .facility-bento-heading,
[data-theme="dark"] .acad-futuristic-heading,
[data-theme="dark"] .news-chronicle-heading,
[data-theme="dark"] .testi-warm-heading,
[data-theme="dark"] .about-title-main {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .facility-bento-subheading,
[data-theme="dark"] .acad-futuristic-subheading,
[data-theme="dark"] .news-chronicle-subheading,
[data-theme="dark"] .testi-warm-subheading {
    color: #94a3b8 !important;
}

/* --------------------------------------------------------------------------
   3. Header & Navigation in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .dbs-main-header {
    background: #070d18;
}

[data-theme="dark"] .dbs-top-bar {
    background: #040810 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .dbs-top-link {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .dbs-top-link:hover {
    color: #ff8547 !important;
}

[data-theme="dark"] .dbs-top-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .dbs-top-pill:hover {
    background: #F26522 !important;
    border-color: #F26522 !important;
}

[data-theme="dark"] .dbs-navbar-area,
[data-theme="dark"] #header-sticky.it-header-2-area {
    background: rgba(7, 13, 24, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .dbs-menu-list > li > a {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .dbs-menu-list > li > a:hover,
[data-theme="dark"] .dbs-menu-list > li.active > a {
    color: #ff8547 !important;
}

[data-theme="dark"] .dbs-dropdown-menu,
[data-theme="dark"] .dbs-sub-dropdown-menu {
    background: #0d1627 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .dbs-dropdown-menu li a {
    color: #cbd5e1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .dbs-dropdown-menu li a:hover,
[data-theme="dark"] .dbs-dropdown-menu li.active > a {
    background: rgba(242, 101, 34, 0.15) !important;
    color: #ff8547 !important;
}

[data-theme="dark"] .dbs-brand-logo {
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.2));
}

[data-theme="dark"] .dbs-header-school-name {
    color: #ffffff !important;
}

[data-theme="dark"] .dbs-header-school-sub {
    color: #ff8547 !important;
}

/* Mobile Offcanvas Drawer */
[data-theme="dark"] .itoffcanvas {
    background: #091220 !important;
    color: #cbd5e1 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .offcanva-title {
    color: #ffffff !important;
}

[data-theme="dark"] .itoffcanvas__info-address span {
    color: #94a3b8 !important;
}

[data-theme="dark"] .itoffcanvas__info-address a {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .it-menu-mobile ul li a {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .it-menu-mobile ul li:not(:last-child) > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* --------------------------------------------------------------------------
   4. Facilities Bento Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .facilities-bento-section {
    background: #080f1d !important;
}

[data-theme="dark"] .facility-ambient-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.2px, transparent 1.2px) !important;
}

[data-theme="dark"] .facility-badge-pill {
    background: rgba(242, 101, 34, 0.12) !important;
    border-color: rgba(242, 101, 34, 0.3) !important;
    color: #ff8547 !important;
    box-shadow: 0 4px 16px rgba(242, 101, 34, 0.2) !important;
}

[data-theme="dark"] .facility-bento-card {
    background: #0e182b !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .facility-bento-card:hover {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 25px rgba(242, 101, 34, 0.12) !important;
}

/* Dark Mode Bento Theme Accents */
[data-theme="dark"] .facility-theme-navy {
    background: linear-gradient(165deg, #111e38 0%, #0d172b 100%) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    border-top: 4px solid #38bdf8 !important;
}
[data-theme="dark"] .facility-theme-navy:hover {
    border-color: #38bdf8 !important;
    border-top: 4px solid #38bdf8 !important;
}

[data-theme="dark"] .facility-theme-orange {
    background: linear-gradient(165deg, #241613 0%, #150f11 100%) !important;
    border-color: rgba(242, 101, 34, 0.3) !important;
    border-top: 4px solid #F26522 !important;
}
[data-theme="dark"] .facility-theme-orange:hover {
    border-color: #F26522 !important;
    border-top: 4px solid #F26522 !important;
}

[data-theme="dark"] .facility-theme-blue {
    background: linear-gradient(165deg, #101c36 0%, #0b1426 100%) !important;
    border-color: rgba(32, 128, 192, 0.3) !important;
    border-top: 4px solid #2080C0 !important;
}
[data-theme="dark"] .facility-theme-blue:hover {
    border-color: #2080C0 !important;
    border-top: 4px solid #2080C0 !important;
}

[data-theme="dark"] .facility-theme-emerald {
    background: linear-gradient(165deg, #0e221b 0%, #091712 100%) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    border-top: 4px solid #10b981 !important;
}
[data-theme="dark"] .facility-theme-emerald:hover {
    border-color: #10b981 !important;
    border-top: 4px solid #10b981 !important;
}

[data-theme="dark"] .facility-bento-title {
    color: #ffffff !important;
}

[data-theme="dark"] .facility-bento-desc {
    color: #94a3b8 !important;
}

[data-theme="dark"] .facility-bento-action-wrap {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .btn-bento-explore {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .facility-bento-card:hover .btn-bento-explore {
    background: #F26522 !important;
    border-color: #F26522 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.4);
}

/* Facility Modal in Dark Mode */
[data-theme="dark"] .facility-modal-content {
    background: #0d172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .facility-modal-header {
    background: #0a1222 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .facility-modal-header .modal-header-title {
    color: #ffffff !important;
}

[data-theme="dark"] .facility-modal-close {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .facility-modal-close:hover {
    background: #F26522 !important;
    color: #ffffff !important;
}

[data-theme="dark"] #modalActivePhotoTitle {
    color: #ffffff !important;
}

[data-theme="dark"] #modalActivePhotoDesc {
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   5. Academic Programs Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .academics-futuristic-section {
    background: #060c17 !important;
}

[data-theme="dark"] .acad-futuristic-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.2px, transparent 1.2px) !important;
}

[data-theme="dark"] .acad-cyber-badge {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .pathway-capsule-card {
    background: #0e182b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .pathway-capsule-card:hover {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px #F26522 !important;
}

[data-theme="dark"] .capsule-title a {
    color: #ffffff !important;
}

[data-theme="dark"] .capsule-title a:hover {
    color: #ff8547 !important;
}

[data-theme="dark"] .capsule-excerpt {
    color: #94a3b8 !important;
}

[data-theme="dark"] .capsule-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .btn-capsule-explore {
    color: #38bdf8 !important;
}

[data-theme="dark"] .btn-capsule-explore:hover {
    color: #ff8547 !important;
}

[data-theme="dark"] .capsule-arrow-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .pathway-capsule-card:hover .capsule-arrow-icon {
    background: #F26522 !important;
}

/* --------------------------------------------------------------------------
   6. Testimonials Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .testimonials-warm-section {
    background: linear-gradient(180deg, #060c17 0%, #0a1324 50%, #060c17 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .testi-warm-mesh {
    background-image: radial-gradient(rgba(242, 101, 34, 0.06) 1px, transparent 1px) !important;
}

[data-theme="dark"] .testi-warm-badge {
    background: rgba(242, 101, 34, 0.12) !important;
    border-color: rgba(242, 101, 34, 0.25) !important;
    color: #ff8547 !important;
}

[data-theme="dark"] .testimonials .swiper-slide {
    background: transparent !important;
}

[data-theme="dark"] .testimonial-keepsake-card {
    background: #0e182b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    border-radius: 28px !important;
}

[data-theme="dark"] .testi-quote-text {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .author-name {
    color: #ffffff !important;
}

[data-theme="dark"] .author-relation {
    color: #ff8547 !important;
}

[data-theme="dark"] .guardian-verified-seal {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

[data-theme="dark"] .testi-star-pill {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffb703 !important;
}

[data-theme="dark"] .testi-author-stamp {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* --------------------------------------------------------------------------
   7. Latest News Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .news-chronicle-section {
    background: #080f1d !important;
}

[data-theme="dark"] .news-chronicle-badge {
    background: rgba(242, 101, 34, 0.12) !important;
    border-color: rgba(242, 101, 34, 0.25) !important;
    color: #ff8547 !important;
}

[data-theme="dark"] .news-chronicle-card {
    background: #0d1627 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .news-chronicle-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 20px rgba(242, 101, 34, 0.2) !important;
}

/* --------------------------------------------------------------------------
   8. About Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .about-modern-section {
    background: #080f1d !important;
}

[data-theme="dark"] .about-lead {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .about-p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .about-feature-item {
    background: #0e182b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .about-feature-item:hover {
    border-color: #F26522 !important;
    box-shadow: 0 12px 30px rgba(242, 101, 34, 0.15) !important;
}

[data-theme="dark"] .feature-title {
    color: #ffffff !important;
}

[data-theme="dark"] .feature-desc {
    color: #94a3b8 !important;
}

[data-theme="dark"] .about-exp-badge {
    background: #0e182b !important;
    border-color: rgba(242, 101, 34, 0.3) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .about-exp-label {
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   9. Statistics / Counter Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .modern-counter-section {
    background: #060c17 !important;
}

[data-theme="dark"] .modern-stat-card {
    background: #0e182b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .modern-stat-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65) !important;
}

[data-theme="dark"] .stat-title {
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   10. Leadership Section in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .leadership-desk-section {
    background: #050a14 !important;
}

[data-theme="dark"] .leadership-tab-switcher {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .tab-switch-btn {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .tab-switch-btn.active {
    background: #F26522 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .leadership-card-glass {
    background: rgba(14, 24, 43, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .leader-quote {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .leader-message {
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   11. Admissions Callout Banner in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .admissions-simple-card {
    background: #0c1a32 !important;
    border: 1px solid rgba(242, 101, 34, 0.3) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

/* --------------------------------------------------------------------------
   12. Subpages, Form Inputs, & Components in Dark Mode
   -------------------------------------------------------------------------- */
[data-theme="dark"] .contact-info-area,
[data-theme="dark"] .blog-details-area,
[data-theme="dark"] .it-course-details-area,
[data-theme="dark"] .blog-sidebar-widget {
    background: #080f1d !important;
}

/* All Testimonials Subpage Cards */
[data-theme="dark"] .all-testi-card {
    background: #0e182b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .all-testi-quote {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .all-testi-author-name {
    color: #ffffff !important;
}

/* Gallery & Video Cards */
[data-theme="dark"] .gallery-folder-card,
[data-theme="dark"] .video-gallery-card,
[data-theme="dark"] .gallery-item {
    background: #0e182b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .gallery-folder-title,
[data-theme="dark"] .video-gallery-title {
    color: #ffffff !important;
}

/* Form Controls in Dark Mode */
[data-theme="dark"] input.form-control,
[data-theme="dark"] textarea.form-control,
[data-theme="dark"] select.form-control,
[data-theme="dark"] .nice-select,
[data-theme="dark"] .form-select {
    background-color: #0d1627 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

[data-theme="dark"] input.form-control::placeholder,
[data-theme="dark"] textarea.form-control::placeholder {
    color: #64748b !important;
}

[data-theme="dark"] input.form-control:focus,
[data-theme="dark"] textarea.form-control:focus,
[data-theme="dark"] select.form-control:focus {
    background-color: #111d33 !important;
    border-color: #F26522 !important;
    box-shadow: 0 0 0 0.25rem rgba(242, 101, 34, 0.25) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .nice-select .list {
    background-color: #0d1627 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .nice-select .option {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .nice-select .option:hover,
[data-theme="dark"] .nice-select .option.focus,
[data-theme="dark"] .nice-select .option.selected.focus {
    background-color: #F26522 !important;
    color: #ffffff !important;
}

/* Modals & Dialogs in Dark Mode */
[data-theme="dark"] .modal-content {
    background-color: #0d1627 !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

[data-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .modal-title {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Custom Scrollbar in Dark Mode */
[data-theme="dark"]::-webkit-scrollbar {
    width: 10px;
}

[data-theme="dark"]::-webkit-scrollbar-track {
    background: #070d18;
}

[data-theme="dark"]::-webkit-scrollbar-thumb {
    background: #1c2d4a;
    border-radius: 6px;
    border: 2px solid #070d18;
}

[data-theme="dark"]::-webkit-scrollbar-thumb:hover {
    background: #F26522;
}

/* Footer in Dark Mode */
[data-theme="dark"] .rs-footer.main-home,
[data-theme="dark"] footer#rs-footer,
[data-theme="dark"] .last_footer {
    background-color: #040810 !important;
}

[data-theme="dark"] .footer-bottom {
    background-color: #02050a !important;
}

/* Subpage Hero & Canvas in Dark Mode */
[data-theme="dark"] .subpage-body-area {
    background-image: url('../images/subpage-content-bg.jpg') !important;
    background-position: center top !important;
    background-repeat: repeat !important;
    background-size: cover !important;
}

[data-theme="dark"] .subpage-card-container {
    background: #0e182b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .subpage-card-container table th {
    background: #08111e !important;
}

[data-theme="dark"] .subpage-card-container table td {
    color: #cbd5e1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .subpage-card-container table tr:nth-child(even) td {
    background: #0a1322 !important;
}

[data-theme="dark"] .subpage-card-container table tr:hover td {
    background: #111d33 !important;
}

[data-theme="dark"] .subpage-card-container blockquote {
    background: linear-gradient(135deg, #111e38 0%, #1f140e 100%) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .card-meta-pill {
    background: #111d33 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .btn-meta-action {
    background: #111d33 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .tiptap-content img {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

