/* Ali Asghar Group accessible theme system: navy blue, never pure black. */
:root{color-scheme:light;--page-bg:#f7f9fc;--surface:#fff;--surface-soft:#eef3fa;--text-main:#172943;--text-muted:#687991;--line-color:#dfe6ef;--nav-bg:rgba(255,255,255,.96);--shadow-soft:0 12px 36px rgba(19,45,82,.08)}
html[data-theme="dark"]{color-scheme:dark;--page-bg:#0b1b32;--surface:#102541;--surface-soft:#16304f;--text-main:#edf3fc;--text-muted:#b5c4d8;--line-color:#294360;--nav-bg:rgba(10,27,49,.97);--shadow-soft:0 14px 38px rgba(0,0,0,.22)}
html[data-theme="dark"] body{background:var(--page-bg);color:var(--text-main)}
html[data-theme="dark"] main,html[data-theme="dark"] section:not(.inner-hero){color:var(--text-main)}
html[data-theme="dark"] .site-nav{background:var(--nav-bg)!important;border-bottom:1px solid var(--line-color)}
html[data-theme="dark"] .site-nav .nav-link,html[data-theme="dark"] .navbar-brand,html[data-theme="dark"] .navbar-toggler{color:var(--text-main)}
html[data-theme="dark"] .dropdown-menu{background:#142d4b;border-color:#2b4665}
html[data-theme="dark"] .dropdown-item{color:#eaf1fb}html[data-theme="dark"] .dropdown-item:hover{background:#1c3a5d;color:#fff}
html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4,html[data-theme="dark"] h5{color:var(--text-main)}
html[data-theme="dark"] p,html[data-theme="dark"] .text-muted,html[data-theme="dark"] .section-heading p{color:var(--text-muted)}
html[data-theme="dark"] .business-card,html[data-theme="dark"] .partner-card,html[data-theme="dark"] .milestone,html[data-theme="dark"] .location-item,html[data-theme="dark"] .panel,html[data-theme="dark"] .card,html[data-theme="dark"] .bg-white{background:var(--surface)!important;color:var(--text-main);border-color:var(--line-color)!important}
html[data-theme="dark"] .form-control,html[data-theme="dark"] .form-select{background:#0c2039;border-color:#34506e;color:#edf3fc}html[data-theme="dark"] .form-control::placeholder{color:#91a5bf}
html[data-theme="dark"] .border,html[data-theme="dark"] hr{border-color:var(--line-color)!important}
html[data-theme="dark"] .inner-hero{background-color:#102946;color:#fff}
html[data-theme="dark"] .site-footer-pro{background:#071831}
html[data-theme="dark"] .theme-toggle{color:#f4f7fc;border-color:#49627f;background:#173454}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d8e1ed;border-radius:999px;padding:9px 12px;background:#fff;color:#17304f;font-size:.84rem;font-weight:700;white-space:nowrap;transition:.2s}.theme-toggle svg{width:17px;height:17px;color:var(--orange)}.theme-toggle:hover{transform:translateY(-1px);border-color:var(--orange)}
/* Admin navigation hierarchy */
.sidebar-group{margin:8px 10px}.sidebar-group-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;color:#aebed2;padding:11px 12px;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-radius:9px}.sidebar-group-toggle span{display:flex;align-items:center;gap:10px}.sidebar-group-toggle svg{width:17px;height:17px}.sidebar-group-toggle:hover{background:rgba(255,255,255,.07);color:#fff}.sidebar-submenu{padding:4px 0 4px 12px;border-left:1px solid rgba(255,255,255,.13);margin-left:18px}.admin-sidebar .sidebar-submenu a{display:flex;align-items:center;gap:10px;padding:9px 12px;margin:2px 0;border-radius:8px;color:#b9c8db;font-size:.88rem;text-decoration:none}.admin-sidebar .sidebar-submenu a:hover,.admin-sidebar .sidebar-submenu a.active{background:rgba(255,255,255,.09);color:#fff}.admin-sidebar .sidebar-submenu a svg{width:16px;height:16px;color:#f49a2d}
.admin-toast-container{z-index:1090}.admin-feedback-toast{min-width:300px;max-width:420px;border:1px solid #dce6f1;border-radius:14px;overflow:hidden;background:#fff;color:#18304d;box-shadow:0 18px 55px rgba(7,24,49,.2)}.admin-feedback-toast .toast-header{padding:13px 15px;background:#f7f9fc;border-bottom:1px solid #e7edf4;color:#17304f}.admin-feedback-toast .toast-body{padding:15px;color:#465b75}.toast-status-dot{width:9px;height:9px;border-radius:50%;background:#20a36b;margin-right:9px}.toast-status-dot.is-error{background:#dc5962}
@media(max-width:991.98px){.theme-toggle{margin:8px 0}.site-nav .navbar-nav{align-items:stretch!important}.site-nav .nav-link{padding:10px 4px}}
html[data-theme="dark"] .facts-strip,html[data-theme="dark"] .presence-section,html[data-theme="dark"] .sustain-section{background:#102541!important;border-color:#294360!important}
html[data-theme="dark"] .facts-strip * ,html[data-theme="dark"] .presence-section *,html[data-theme="dark"] .sustain-section *{color:var(--text-main)}
html[data-theme="dark"] .partner-showcase,html[data-theme="dark"] .partners-section{background:#0d2039!important}
html[data-theme="dark"] .partner-card{background:#142d4b!important;border:1px solid #294360!important}
html[data-theme="dark"] .contact-modal .modal-content{background:#102541;color:#edf3fc}
html[data-theme="dark"] .contact-modal-form h2,html[data-theme="dark"] .contact-modal-form-fields label{color:#edf3fc}
html[data-theme="dark"] .modal-intro{color:#b5c4d8}

/* Global public dark theme coverage */
html[data-theme="dark"] .site-nav .nav-link,
html[data-theme="dark"] .site-nav .nav-link span,
html[data-theme="dark"] .site-nav .nav-link svg,
html[data-theme="dark"] .site-nav .navbar-brand .brand-wordmark{color:#f4f7fc!important}
html[data-theme="dark"] .site-nav .navbar-brand .brand-wordmark small{color:#ffad45!important}
html[data-theme="dark"] .about-stats-section,
html[data-theme="dark"] .about-story,
html[data-theme="dark"] .about-purpose,
html[data-theme="dark"] .about-facility-section,
html[data-theme="dark"] .branch-intro-section,
html[data-theme="dark"] .branch-gallery-section,
html[data-theme="dark"] .branches-list-section,
html[data-theme="dark"] .contact-page-content,
html[data-theme="dark"] .contact-section,
html[data-theme="dark"] .contact-main,
html[data-theme="dark"] .section-pad:not(.branch-contact-section){background:var(--page-bg)!important;color:var(--text-main)!important}
html[data-theme="dark"] .about-purpose-card,
html[data-theme="dark"] .about-timeline-item,
html[data-theme="dark"] .branch-contact-card,
html[data-theme="dark"] .contact-info-card,
html[data-theme="dark"] .contact-form-card{background:var(--surface)!important;color:var(--text-main)!important;border-color:var(--line-color)!important}
html[data-theme="dark"] .about-purpose-card h3,
html[data-theme="dark"] .about-section-label h2,
html[data-theme="dark"] .about-purpose-heading h2,
html[data-theme="dark"] .about-facility h2,
html[data-theme="dark"] .branch-section-title,
html[data-theme="dark"] .branch-intro-copy,
html[data-theme="dark"] .branch-location-line,
html[data-theme="dark"] .contact-page-content h1,
html[data-theme="dark"] .contact-page-content h2{color:var(--text-main)!important}
html[data-theme="dark"] .about-purpose-card p,
html[data-theme="dark"] .about-purpose-card li,
html[data-theme="dark"] .about-story-copy p,
html[data-theme="dark"] .about-facility p,
html[data-theme="dark"] .branch-intro-copy,
html[data-theme="dark"] .branch-location-line{color:var(--text-muted)!important}
html[data-theme="dark"] .about-story-note{background:#16304f!important;color:#edf3fc!important}
html[data-theme="dark"] .branch-gallery-thumb{background:#162e4b!important;border-color:#34506e!important}
html[data-theme="dark"] .branch-gallery-thumb img{background:#edf1f6}
html[data-theme="dark"] .branches-list-section .section-heading h2,
html[data-theme="dark"] .branches-list-section .section-heading p{color:var(--text-main)!important}
html[data-theme="dark"] .contact-page-content input,
html[data-theme="dark"] .contact-page-content textarea,
html[data-theme="dark"] .contact-page-content select{background:#0c2039!important;color:#edf3fc!important;border-color:#34506e!important}
html[data-theme="dark"] .about-cta{background:linear-gradient(110deg,#102344,#1c477c)!important}
html[data-theme="dark"] .branch-detail-hero,
html[data-theme="dark"] .branch-products-section,
html[data-theme="dark"] .branch-feature-section,
html[data-theme="dark"] .branch-contact-section{color:#fff}

html[data-theme="dark"] main>section.container.section-pad{background:var(--page-bg)!important;color:var(--text-main)!important}
html[data-theme="dark"] main>section.container.section-pad h2,
html[data-theme="dark"] main>section.container.section-pad p,
html[data-theme="dark"] main>section.container.section-pad label{color:var(--text-main)!important}
html[data-theme="dark"] .site-nav .nav-link.active,
html[data-theme="dark"] .site-nav .nav-link:hover{color:#fff!important}

html[data-theme="dark"] .branch-intro-section,html[data-theme="dark"] .branch-products-section,html[data-theme="dark"] .branch-gallery-section,html[data-theme="dark"] .about-stats-section,html[data-theme="dark"] .about-story,html[data-theme="dark"] .about-purpose,html[data-theme="dark"] .about-facility-section,html[data-theme="dark"] .contact-page-section,html[data-theme="dark"] .inner-hero+section{background-color:#0d2038!important;color:#edf3fc}
html[data-theme="dark"] .branch-intro-section h2,html[data-theme="dark"] .branch-products-section h2,html[data-theme="dark"] .branch-gallery-section h2,html[data-theme="dark"] .about-story h2,html[data-theme="dark"] .about-purpose h2,html[data-theme="dark"] .about-purpose h3,html[data-theme="dark"] .about-stats-section strong,html[data-theme="dark"] .inner-hero+section h2{color:#edf3fc}
html[data-theme="dark"] .branch-intro-copy,html[data-theme="dark"] .about-story-copy,html[data-theme="dark"] .inner-hero+section p{color:#c4d1e3}
html[data-theme="dark"] .nav-link,html[data-theme="dark"] .site-nav .nav-link,html[data-theme="dark"] .site-nav .nav-link svg{color:#fff!important}
