/*
==========================================================================
BHARAT YOJNA --- UTTAR PRADESH GOVERNMENT PORTAL

==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Noto+Sans+Devanagari:wght@400;600;700;800&family=Tiro+Devanagari+Sanskrit&display=swap');

:root {
    --blue-primary: #003580;
    --blue-dark: #002060;
    --blue-mid: #0047AB;
    --blue-light: #e8f0fb;
    --saffron: #FF6600;
    --saffron-light:#fff3eb;
    --green-govt: #006600;
    --green-light: #e6f2e6;
    --grey-border: #d1d9e6;
    --grey-bg: #f4f6fb;
    --text-dark: #1a1a2e;
    --text-muted: #5a6478;
    --white: #ffffff;
    --card-shadow: 0 2px 12px rgba(0,53,128,0.10);
    --card-radius: 8px;
    --font-scale: 1;
}

/*
═══════════════════════════════════════════════════════════════════════════
DARK MODE / HIGH CONTRAST --- COMPREHENSIVE FIX
Covers every section, every element. No more broken colors.
═══════════════════════════════════════════════════════════════════════════
*/

/* ── Base overrides ────────────────────────────────────────────── */
body.high-contrast { background:#0c0c14 !important; color:#e2e2e8 !important; }
body.high-contrast a { color:inherit; }

/* ── Top Bar ───────────────────────────────────────────────────── */
body.high-contrast .top-bar { background:#12121c !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .top-bar-left { color:#9a9aaa !important; }
body.high-contrast .top-bar-left .divider { color:#555 !important; }
body.high-contrast .contrast-btn { border-color:#444 !important; color:#ccc !important; }
body.high-contrast .contrast-btn:hover { background:#222 !important; color:#fff !important; }
body.high-contrast .lang-select { background:#1a1a24 !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast .font-size-btn { background:#003580 !important; }

/* ── Main Header ───────────────────────────────────────────────── */
body.high-contrast .main-header { background:#0d1a33 !important; }
body.high-contrast .dept-name-hi { color:#fff !important; }
body.high-contrast .dept-name-en { color:rgba(255,255,255,0.7) !important; }
body.high-contrast .dept-name-sub { color:#ff9944 !important; }
body.high-contrast .header-badge { background:rgba(255,255,255,0.08) !important; border-color:rgba(255,255,255,0.15) !important; color:rgba(255,255,255,0.7) !important; }

/* ── Navigation ────────────────────────────────────────────────── */
body.high-contrast .nav-bar { background:#0a1220 !important; border-top-color:#ff6600 !important; }
body.high-contrast .nav-menu > li > a { color:rgba(255,255,255,0.85) !important; }
body.high-contrast .nav-menu > li > a:hover,
body.high-contrast .nav-menu > li > a.active { background:#ff6600 !important; color:#fff !important; }
body.high-contrast .dropdown { background:#1a1a28 !important; border-color:#333 !important; }
body.high-contrast .dropdown li a { color:#e0e0e0 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .dropdown li a:hover { background:#0d1a33 !important; color:#fff !important; }
body.high-contrast .sub-dropdown { background:#1a1a28 !important; border-color:#333 !important; }

/* ── Breadcrumbs ───────────────────────────────────────────────── */
body.high-contrast .breadcrumbs-bar { background:#12121c !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .breadcrumb-path { color:#888 !important; }
body.high-contrast .breadcrumb-path a { color:#4a9eff !important; }
body.high-contrast .breadcrumb-path a:hover { text-decoration:underline !important; }
body.high-contrast .breadcrumb-sep { color:#555 !important; }
body.high-contrast .share-btn.fb { background:#1877f2 !important; }
body.high-contrast .share-btn.tw { background:#1a1a28 !important; border:1px solid #444 !important; }
body.high-contrast .share-btn.wa { background:#25d366 !important; }

/* ── Hero Section ──────────────────────────────────────────────── */
body.high-contrast .hero-section { background: linear-gradient(135deg, #0a0f1a 0%, #0d1a33 50%, #0a1220 100%) !important; }
body.high-contrast .hero-section::before { opacity:0.06 !important; }
body.high-contrast .hero-label { background:#ff6600 !important; }
body.high-contrast .hero-title { color:#fff !important; }
body.high-contrast .hero-subtitle { color:rgba(255,255,255,0.6) !important; }
body.high-contrast .featured-card { background:rgba(255,255,255,0.06) !important; border-color:rgba(255,255,255,0.12) !important; }
body.high-contrast .featured-card:hover { border-color:#ff6600 !important; }
body.high-contrast .featured-card.active-hero { border-color:#ff6600 !important; box-shadow:0 0 0 2px #ff6600, 0 8px 24px rgba(0,0,0,0.3) !important; }
body.high-contrast .featured-card-title { color:#fff !important; }
body.high-contrast .featured-card-ministry { color:rgba(255,255,255,0.5) !important; }
body.high-contrast .featured-badge { background:#ff6600 !important; }
body.high-contrast .featured-card-img-placeholder { background: linear-gradient(135deg, #1a3a6b, #0047ab) !important; }
body.high-contrast .hero-scroll-btn { background:rgba(255,255,255,0.1) !important; border-color:rgba(255,255,255,0.2) !important; color:#fff !important; }
body.high-contrast .hero-scroll-btn:hover { background:#ff6600 !important; border-color:#ff6600 !important; }

/* ── Stats Strip ───────────────────────────────────────────────── */
body.high-contrast .stats-strip { background:#12121c !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .stat-item { border-right-color:#2a2a3a !important; }
body.high-contrast .stat-item:hover { background:#0d1a33 !important; }
body.high-contrast .stat-num { color:#4a9eff !important; }
body.high-contrast .stat-label { color:#888 !important; }

/* ── Schemes Section ───────────────────────────────────────────── */
body.high-contrast .schemes-section { background:transparent !important; }
body.high-contrast .section-title { color:#fff !important; }
body.high-contrast .section-desc { color:#888 !important; }

/* ── FILTER TOOLBAR (High Contrast) ───────────────────────────── */
body.high-contrast .filter-toolbar { background:#1a1a28 !important; border-color:#333 !important; }
body.high-contrast .filter-group-label { color:#888 !important; }
body.high-contrast .filter-tab { background:#22222e !important; border-color:#444 !important; color:#ccc !important; }
body.high-contrast .filter-tab:hover { background:#0d1a33 !important; border-color:#4a9eff !important; color:#4a9eff !important; }
body.high-contrast .filter-tab.active { background:#003580 !important; color:#fff !important; border-color:#003580 !important; }
body.high-contrast .filter-divider { background:#444 !important; }
body.high-contrast .search-box { background:#1a1a28 !important; border-color:#444 !important; }
body.high-contrast .search-box input { color:#e0e0e0 !important; background:transparent !important; }
body.high-contrast .search-box input::placeholder { color:#666 !important; }
body.high-contrast .search-btn { background:#003580 !important; }
body.high-contrast .filter-btn { background:#003580 !important; }
body.high-contrast .filter-btn:hover { background:#002060 !important; }
body.high-contrast .find-scheme-btn { background:#ff6600 !important; }
body.high-contrast .find-scheme-btn:hover { background:#cc5500 !important; }
body.high-contrast .results-info { color:#888 !important; }
body.high-contrast .results-info strong { color:#4a9eff !important; }
body.high-contrast .scheme-card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .scheme-card:hover { border-color:#4a9eff !important; box-shadow:0 8px 28px rgba(0,0,0,0.4) !important; }
body.high-contrast .card-img-wrap { background: linear-gradient(135deg, #1a1a28, #0d0d14) !important; }
body.high-contrast .card-title { color:#fff !important; }
body.high-contrast .card-ministry { color:#ff9944 !important; }
body.high-contrast .card-desc { color:#888 !important; }
body.high-contrast .card-footer { border-top-color:#2a2a3a !important; }
body.high-contrast .btn-details { background:#003580 !important; }
body.high-contrast .btn-details:hover { background:#002060 !important; }
body.high-contrast .btn-share { background:#22222e !important; border-color:#444 !important; color:#888 !important; }
body.high-contrast .btn-share:hover { background:#0d1a33 !important; border-color:#4a9eff !important; color:#4a9eff !important; }
body.high-contrast .blank-slate h3 { color:#fff !important; }
body.high-contrast .blank-slate p { color:#888 !important; }
body.high-contrast .pagination .page-btn { background:#1a1a28 !important; border-color:#444 !important; color:#ccc !important; }
body.high-contrast .pagination .page-btn:hover { background:#0d1a33 !important; border-color:#4a9eff !important; color:#4a9eff !important; }
body.high-contrast .pagination .page-btn.active { background:#003580 !important; color:#fff !important; border-color:#003580 !important; }
body.high-contrast .pagination .page-btn:disabled { opacity:0.3 !important; }

/* ── Directory Section ─────────────────────────────────────────── */
body.high-contrast .directory-section { background:transparent !important; }
body.high-contrast .dir-table-wrapper { border-color:#333 !important; }
body.high-contrast .dir-table-title { background:#0d1a33 !important; }
body.high-contrast .dir-table { background:#1a1a28 !important; }
body.high-contrast .dir-table th { background:#003580 !important; }
body.high-contrast .dir-table td { color:#e0e0e0 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .dir-table tr:nth-child(even) td { background:#151520 !important; }
body.high-contrast .dir-table tr:hover td { background:#0d1a33 !important; }

/* ── Admin Drawer ──────────────────────────────────────────────── */
body.high-contrast .drawer-overlay { background:rgba(0,0,0,0.7) !important; }
body.high-contrast .admin-drawer { background:#1a1a28 !important; }
body.high-contrast .drawer-header { background:#0d1a33 !important; }
body.high-contrast .drawer-tabs { background:#111118 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .drawer-tab { color:#888 !important; }
body.high-contrast .drawer-tab.active { color:#4a9eff !important; border-bottom-color:#4a9eff !important; background:#1a1a28 !important; }
body.high-contrast .drawer-body { background:#1a1a28 !important; }
body.high-contrast .form-label { color:#ccc !important; }
body.high-contrast .form-control { background:#22222e !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast .form-control::placeholder { color:#555 !important; }
body.high-contrast .form-control:focus { border-color:#4a9eff !important; box-shadow:0 0 0 3px rgba(74,158,255,0.1) !important; }
body.high-contrast .form-section-title { color:#4a9eff !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .form-hint { color:#666 !important; }
body.high-contrast .drawer-footer { background:#1a1a28 !important; border-top-color:#2a2a3a !important; }
body.high-contrast .btn-publish { background:#003580 !important; }
body.high-contrast .btn-cancel { background:#22222e !important; border-color:#444 !important; color:#888 !important; }
body.high-contrast .btn-cancel:hover { background:#2a2a3a !important; color:#ccc !important; }

/* ── Footer ────────────────────────────────────────────────────── */
body.high-contrast .footer { background:#0a0f1a !important; border-top-color:#ff6600 !important; }
body.high-contrast .footer-nav a { color:rgba(255,255,255,0.6) !important; border-right-color:rgba(255,255,255,0.1) !important; }
body.high-contrast .footer-nav a:hover { color:#ff9944 !important; }
body.high-contrast .footer-credits { border-top-color:rgba(255,255,255,0.08) !important; color:rgba(255,255,255,0.5) !important; }
body.high-contrast .footer-credits a { color:rgba(255,255,255,0.4) !important; }
body.high-contrast .footer-credits a:hover { color:#ff9944 !important; }
body.high-contrast .footer-logos { border-top-color:rgba(255,255,255,0.06) !important; }
body.high-contrast .footer-logo-box { background:rgba(255,255,255,0.04) !important; border-color:rgba(255,255,255,0.08) !important; color:rgba(255,255,255,0.5) !important; }
body.high-contrast .footer-disclaimer { background:rgba(255,102,0,0.15) !important; border-color:rgba(255,102,0,0.3) !important; }
body.high-contrast .footer-disclaimer p { color:#e0e0e0 !important; }
body.high-contrast .footer-disclaimer strong { color:#ff9944 !important; }

/* ── Modal ─────────────────────────────────────────────────────── */
body.high-contrast .modal-overlay { background:rgba(0,0,0,0.7) !important; }
body.high-contrast .modal-box { background:#1a1a28 !important; }
body.high-contrast .modal-img-placeholder { background: linear-gradient(135deg, #0d1a33, #003580) !important; }
body.high-contrast .modal-content { color:#e0e0e0 !important; }
body.high-contrast .modal-badge { background:#003580 !important; }
body.high-contrast .modal-title { color:#fff !important; }
body.high-contrast .modal-ministry { color:#ff9944 !important; }
body.high-contrast .modal-desc { color:#888 !important; }
body.high-contrast .modal-close-bar { border-top-color:#2a2a3a !important; }
body.high-contrast .modal-close-btn { background:#003580 !important; }

/* ── Back to top / Toast ───────────────────────────────────────── */
body.high-contrast .back-to-top { background:#003580 !important; box-shadow:0 4px 14px rgba(0,0,0,0.4) !important; }
body.high-contrast .toast { background:#0d1a33 !important; }

/* ── Content Pages (About, Contact, Help) ──────────────────────── */
body.high-contrast .info-section { background:transparent !important; }
body.high-contrast .info-section.alt-bg { background:#0f0f16 !important; }
body.high-contrast .info-card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .info-card h3 { color:#fff !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .info-card p { color:#888 !important; }
body.high-contrast .contact-card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .contact-card h4 { color:#fff !important; }
body.high-contrast .contact-card a { color:#4a9eff !important; }
body.high-contrast .contact-card p { color:#888 !important; }
body.high-contrast .help-item { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .help-item h4 { color:#fff !important; }
body.high-contrast .help-item p { color:#888 !important; }
body.high-contrast .content-article { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .content-article h1 { color:#fff !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .content-article h2 { color:#4a9eff !important; }
body.high-contrast .content-article h3 { color:#fff !important; }
body.high-contrast .content-article p { color:#ccc !important; }
body.high-contrast .content-article a { color:#4a9eff !important; }
body.high-contrast .content-article a:hover { text-decoration:underline !important; }
body.high-contrast .contact-info-box { background:#0d1a33 !important; }
body.high-contrast .contact-info-box h3 { color:#4a9eff !important; }
body.high-contrast .contact-info-box p { color:#ccc !important; }
body.high-contrast .contact-info-box a { color:#4a9eff !important; }
body.high-contrast .faq-item { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .faq-item h3 { color:#4a9eff !important; }
body.high-contrast .faq-item p { color:#ccc !important; }
body.high-contrast form label { color:#ccc !important; }
body.high-contrast form input,
body.high-contrast form textarea,
body.high-contrast form select { background:#22222e !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast form input:focus,
body.high-contrast form textarea:focus,
body.high-contrast form select:focus { border-color:#4a9eff !important; box-shadow:0 0 0 3px rgba(74,158,255,0.1) !important; }
body.high-contrast form button[type="submit"] { background:#003580 !important; }
body.high-contrast .alert-success { background:#0d2a1a !important; color:#4ade80 !important; border-left-color:#22c55e !important; }
body.high-contrast .alert-error { background:#2a0d0d !important; color:#f87171 !important; border-left-color:#ef4444 !important; }

/* ── Overview Section ──────────────────────────────────────────── */
body.high-contrast .overview-section { background: linear-gradient(135deg, #0f0f16 0%, #151520 100%) !important; border-color:#2a2a3a !important; }
body.high-contrast .overview-content h2 { color:#fff !important; border-bottom-color:#ff6600 !important; }
body.high-contrast .overview-content p { color:#ccc !important; }
body.high-contrast .leader-card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .leader-info h4 { color:#fff !important; }
body.high-contrast .leader-info p { color:#888 !important; }
body.high-contrast .overview-img-card { background:#1a1a28 !important; border-color:#ff6600 !important; }

/* ── Banner Carousel ───────────────────────────────────────────── */
body.high-contrast .banner-carousel-wrapper { background: linear-gradient(135deg, #0f0f16 0%, #111118 50%, #0d0d14 100%) !important; }
body.high-contrast .banner-track { box-shadow:0 8px 32px rgba(0,0,0,0.4) !important; }
body.high-contrast .banner-slide-inner { background:#1a1a28 !important; }
body.high-contrast .banner-image-wrap img { opacity:0.85 !important; }
body.high-contrast .banner-slide-content { background: linear-gradient(135deg, #1a1a28 0%, #151520 100%) !important; }
body.high-contrast .banner-title { color:#fff !important; }
body.high-contrast .banner-desc { color:#888 !important; }
body.high-contrast .banner-cta { background:#003580 !important; border-color:#003580 !important; }
body.high-contrast .banner-cta:hover { background:transparent !important; color:#4a9eff !important; border-color:#4a9eff !important; }
body.high-contrast .banner-arrow { background:#1a1a28 !important; border-color:#4a9eff !important; color:#4a9eff !important; }
body.high-contrast .banner-arrow:hover { background:#4a9eff !important; color:#fff !important; }
body.high-contrast .banner-nav-dots { background: linear-gradient(135deg, #0f0f16 0%, #111118 100%) !important; }
body.high-contrast .banner-dot { background:#444 !important; }
body.high-contrast .banner-dot.active { background:#4a9eff !important; }
body.high-contrast .banner-dot:hover { background:#666 !important; }
body.high-contrast .banner-blue-area { background: linear-gradient(135deg, #0a0f1a 0%, #0d1a33 30%, #003580 70%, #0a0f1a 100%) !important; }
body.high-contrast .banner-blue-heading { color:#fff !important; }
body.high-contrast .banner-blue-sub { color:#ff9944 !important; }
body.high-contrast .banner-blue-desc { color:rgba(255,255,255,0.6) !important; }
body.high-contrast .banner-stat-num { color:#ff9944 !important; }
body.high-contrast .banner-stat-label { color:rgba(255,255,255,0.5) !important; }
body.high-contrast .banner-stat-divider { background:rgba(255,255,255,0.1) !important; }

/* ── Video Section ─────────────────────────────────────────────── */
body.high-contrast .video-section { background:#0f0f16 !important; }
body.high-contrast .video-section-header h2 { color:#fff !important; }
body.high-contrast .video-wrapper { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .video-caption { color:#888 !important; border-top-color:#2a2a3a !important; }

/* ── News Ticker ───────────────────────────────────────────────── */
body.high-contrast .news-ticker-section { background:#0a0f1a !important; border-bottom-color:#ff6600 !important; }
body.high-contrast .ticker-label { background:#ff6600 !important; }
body.high-contrast .ticker-item { color:rgba(255,255,255,0.7) !important; border-right-color:rgba(255,255,255,0.08) !important; }
body.high-contrast .ticker-item:hover { color:#fff !important; }
body.high-contrast .ticker-dot { color:#4ade80 !important; }

/* ── Admin Featured / Tables ───────────────────────────────────── */
body.high-contrast .admin-featured-table { background:#1a1a28 !important; }
body.high-contrast .admin-featured-table th { background:#003580 !important; }
body.high-contrast .admin-featured-table td { color:#e0e0e0 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .admin-featured-table tr:hover td { background:#0d1a33 !important; }
body.high-contrast .admin-featured-table tr.featured-row { background:#1a1510 !important; }
body.high-contrast .admin-featured-table tr.featured-row td { border-bottom-color:#3a2a1a !important; }
body.high-contrast .order-input { background:#22222e !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast .badge-featured { background:#ff6600 !important; }
body.high-contrast .badge-regular { background:#444 !important; color:#888 !important; }
body.high-contrast .info-box { background:#0d1a33 !important; border-left-color:#4a9eff !important; }
body.high-contrast .info-box p { color:#ccc !important; }
body.high-contrast .info-box strong { color:#4a9eff !important; }
body.high-contrast .save-bar { background:#111118 !important; border-top-color:#2a2a3a !important; }
body.high-contrast .btn-save { background:#006600 !important; }
body.high-contrast .btn-secondary { background:#cc5500 !important; }
body.high-contrast .admin-toolbar h2 { color:#fff !important; }

/* ── Admin News Ticker ─────────────────────────────────────────── */
body.high-contrast .admin-news-ticker { background:#1a1a28 !important; }
body.high-contrast .admin-news-ticker h2 { color:#fff !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .ticker-form-group label { color:#ccc !important; }
body.high-contrast .ticker-form-group input,
body.high-contrast .ticker-form-group select { background:#22222e !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast .ticker-table { background:#1a1a28 !important; }
body.high-contrast .ticker-table th { background:#003580 !important; }
body.high-contrast .ticker-table td { color:#e0e0e0 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .ticker-table tr:hover td { background:#0d1a33 !important; }
body.high-contrast .ticker-alert-success { background:#0d2a1a !important; color:#4ade80 !important; border-color:#1a5c2e !important; }
body.high-contrast .ticker-alert-error { background:#2a0d0d !important; color:#f87171 !important; border-color:#5c1a1a !important; }
body.high-contrast .ticker-badge-internal { background:#0d1a33 !important; color:#4a9eff !important; }
body.high-contrast .ticker-badge-external { background:#1a1510 !important; color:#ff9944 !important; }
body.high-contrast .ticker-badge-active { background:#0d2a1a !important; color:#4ade80 !important; }
body.high-contrast .ticker-badge-inactive { background:#2a0d0d !important; color:#f87171 !important; }
body.high-contrast .ticker-btn-submit { background:#003580 !important; }
body.high-contrast .ticker-btn-cancel { background:#22222e !important; border-color:#444 !important; color:#888 !important; }

/* ── Admin Login / Dashboard ───────────────────────────────────── */
body.high-contrast .admin-login-wrap { background:#0a0a0f !important; }
body.high-contrast .admin-login-box { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .admin-login-box h2 { color:#fff !important; }
body.high-contrast .admin-login-box label { color:#ccc !important; }
body.high-contrast .admin-login-box input { background:#22222e !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast .dashboard-wrap { background:#0a0a0f !important; }
body.high-contrast .dashboard-header { background:#0d1a33 !important; }
body.high-contrast .dashboard-header h1 { color:#fff !important; }
body.high-contrast .stat-card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .stat-card .stat-icon { background:#0d1a33 !important; }
body.high-contrast .stat-card .stat-number { color:#fff !important; }
body.high-contrast .stat-card .stat-label { color:#888 !important; }
body.high-contrast .dashboard-section h2 { color:#fff !important; }
body.high-contrast .dashboard-table-wrap { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .dashboard-table { background:#1a1a28 !important; }
body.high-contrast .dashboard-table th { background:#003580 !important; }
body.high-contrast .dashboard-table td { color:#e0e0e0 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .dashboard-table tr:hover td { background:#0d1a33 !important; }
body.high-contrast .dashboard-empty { color:#888 !important; }

/* ── Scheme Detail Page ────────────────────────────────────────── */
body.high-contrast .scheme-detail-wrap { background:#0a0a0f !important; }
body.high-contrast .scheme-detail-header { background:#0d1a33 !important; }
body.high-contrast .scheme-detail-header h1 { color:#fff !important; }
body.high-contrast .scheme-detail-header .ministry { color:#ff9944 !important; }
body.high-contrast .scheme-detail-header .category { background:#003580 !important; }
body.high-contrast .scheme-detail-body { background:#1a1a28 !important; }
body.high-contrast .scheme-detail-body p { color:#ccc !important; }
body.high-contrast .scheme-detail-body h2 { color:#fff !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .scheme-detail-body h3 { color:#4a9eff !important; }
body.high-contrast .scheme-detail-body ul li { color:#ccc !important; }
body.high-contrast .scheme-detail-body ul li::before { color:#4a9eff !important; }
body.high-contrast .scheme-detail-sidebar { background:#151520 !important; border-color:#2a2a3a !important; }
body.high-contrast .scheme-detail-sidebar h3 { color:#fff !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .scheme-detail-sidebar .info-row { border-bottom-color:#2a2a3a !important; }
body.high-contrast .scheme-detail-sidebar .info-label { color:#888 !important; }
body.high-contrast .scheme-detail-sidebar .info-value { color:#ccc !important; }
body.high-contrast .scheme-detail-sidebar .apply-btn { background:#003580 !important; }
body.high-contrast .scheme-detail-sidebar .share-row a { background:#22222e !important; border-color:#444 !important; color:#888 !important; }
body.high-contrast .scheme-detail-sidebar .share-row a:hover { background:#0d1a33 !important; color:#4a9eff !important; border-color:#4a9eff !important; }
body.high-contrast .scheme-detail-meta { background:#111118 !important; border-color:#2a2a3a !important; }
body.high-contrast .scheme-detail-meta span { color:#888 !important; }
body.high-contrast .related-schemes h3 { color:#fff !important; }
body.high-contrast .related-card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .related-card h4 { color:#fff !important; }
body.high-contrast .related-card p { color:#888 !important; }

/* ── Admin Pages (add-scheme, edit, etc.) ─────────────────────── */
body.high-contrast .admin-page { background:#0a0a0f !important; }
body.high-contrast .admin-page h1 { color:#fff !important; }
body.high-contrast .admin-page h2 { color:#ccc !important; }
body.high-contrast .admin-page .card { background:#1a1a28 !important; border-color:#2a2a3a !important; }
body.high-contrast .admin-page .card-header { background:#0d1a33 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .admin-page .card-header h3 { color:#fff !important; }
body.high-contrast .admin-page table { background:#1a1a28 !important; }
body.high-contrast .admin-page table th { background:#003580 !important; }
body.high-contrast .admin-page table td { color:#e0e0e0 !important; border-bottom-color:#2a2a3a !important; }
body.high-contrast .admin-page table tr:hover td { background:#0d1a33 !important; }
body.high-contrast .admin-page .form-group label { color:#ccc !important; }
body.high-contrast .admin-page .form-group input,
body.high-contrast .admin-page .form-group textarea,
body.high-contrast .admin-page .form-group select { background:#22222e !important; border-color:#444 !important; color:#e0e0e0 !important; }
body.high-contrast .admin-page .btn-primary { background:#003580 !important; }
body.high-contrast .admin-page .btn-danger { background:#991111 !important; }
body.high-contrast .admin-page .btn-warning { background:#995500 !important; }
body.high-contrast .admin-page .alert { background:#1a1a28 !important; border-color:#444 !important; }

/* ── Responsive dark mode overrides ────────────────────────────── */
@media (max-width: 768px) {
    body.high-contrast .nav-menu { background:#0a1220 !important; }
    body.high-contrast .dropdown { background:#111118 !important; }
    body.high-contrast .dropdown li a { color:rgba(255,255,255,0.75) !important; border-bottom-color:rgba(255,255,255,0.1) !important; }
}

/* ── BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: calc(15px * var(--font-scale)); scroll-behavior: smooth; }
body { font-family: 'Open Sans', 'Noto Sans Devanagari', Arial, sans-serif; color: var(--text-dark); background: #f9fafc; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── SKIP LINK ─────────────────────────────────────────────────── */
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--blue-primary);
    color: #fff; padding: 8px 16px; z-index: 9999; border-radius: 0 0 6px 0;
    font-size: 0.85rem; font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/*
==========================================================================
1. TOP ACCESSIBILITY BAR
==========================================================================
*/
.top-bar {
    background: #f1f5fb;
    border-bottom: 1px solid #dde3ef;
    padding: 5px 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 0.68rem;
    color: #4a5568;
}
.top-bar-left .divider { color: #bbb; }
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Font size toggle --- single button cycle */
.font-size-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}
.font-size-btn:hover { background: var(--blue-dark); }
.font-size-btn .fs-icon { font-size: 0.9rem; line-height: 1; }

/* Contrast toggle */
.contrast-btn {
    background: none;
    border: 1px solid #c4cdd8;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.72rem;
    cursor: pointer;
    color: #4a5568;
    display: flex; align-items: center; gap: 4px;
    transition: all 0.2s;
}
.contrast-btn:hover { background: var(--blue-primary); color: #fff; border-color: var(--blue-primary); }

/* Accessibility divider */
.top-bar-divider { width: 1px; height: 16px; background: #c8d2de; margin: 0 2px; }

/* Language Selector */
.lang-selector-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-select {
    background: var(--white);
    border: 1px solid #c4cdd8;
    border-radius: 4px;
    padding: 3px 24px 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23003580'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    transition: border-color 0.2s;
}
.lang-select:focus { outline: none; border-color: var(--blue-primary); }
.lang-icon {
    width: 20px; height: 14px;
    background: linear-gradient(to bottom, #FF9933 33%, #fff 33%, #fff 66%, #138808 66%);
    border-radius: 2px;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

/*
==========================================================================
2. MAIN HEADER
==========================================================================
*/
.main-header {
    background: var(--blue-primary);
    padding: 14px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.branding {
    display: flex;
    align-items: center;
    gap: 16px;
}
.emblem-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.emblem-svg { width: 68px; height: 68px; }
.site-logo-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.emblem-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-align: center;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.dept-name-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dept-name-hi {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Noto Sans Devanagari', sans-serif;
    line-height: 1.2;
}
.dept-name-en {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.80);
    line-height: 1.3;
}
.dept-name-sub {
    font-size: 0.72rem;
    color: var(--saffron);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.header-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}
.header-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/*
==========================================================================
3. NAVIGATION BAR
==========================================================================
*/
.nav-bar {
    background: var(--blue-dark);
    border-top: 3px solid var(--saffron);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
}
.nav-menu {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}
.nav-menu > li {
    flex: 1;
    text-align: center;
    position: relative;
}
.nav-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 13px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.2px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    width: 100%;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--saffron);
    color: #fff;
}
.nav-menu > li > a .caret { font-size: 0.6rem; opacity: 0.7; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--grey-border);
    border-top: 3px solid var(--blue-primary);
    box-shadow: 0 8px 24px rgba(0,53,128,0.12);
    border-radius: 0 0 6px 6px;
    display: none;
    z-index: 600;
}
.nav-menu > li:hover .dropdown { display: block; }
.dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.78rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
    background: var(--blue-light);
    color: var(--blue-primary);
    padding-left: 24px;
}
.dropdown li:last-child a { border-bottom: none; }

/* Sub-dropdown */
.dropdown .has-sub { position: relative; }
.dropdown .sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--grey-border);
    border-top: 3px solid var(--blue-primary);
    box-shadow: 0 8px 24px rgba(0,53,128,0.12);
    border-radius: 0 6px 6px 0;
    display: none;
}
.dropdown .has-sub:hover .sub-dropdown { display: block; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px 16px;
}

/* For mobile - keep original behavior */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        justify-content: flex-start;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--blue-dark);
        z-index: 600;
        border-top: 2px solid var(--saffron);
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li {
        flex: none;
        text-align: left;
    }
    .nav-menu > li > a {
        justify-content: flex-start;
        padding: 12px 20px;
        width: 100%;
        font-size: 0.8rem;
    }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .dropdown { position: static; box-shadow: none; border: none; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); border-radius: 0; }
    .dropdown li a { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.1); }
    .dropdown li a:hover { background: rgba(255,255,255,0.08); color: #fff; padding-left: 30px; }
}

/*
==========================================================================
4. BREADCRUMBS
==========================================================================
*/
.breadcrumbs-bar {
    background: #fff;
    border-bottom: 1px solid #e8edf5;
    padding: 8px 0;
}
.breadcrumbs-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.breadcrumb-path {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.breadcrumb-path a { color: var(--blue-primary); }
.breadcrumb-path a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #a0aec0; font-size: 0.65rem; }
.social-share {
    display: flex;
    gap: 8px;
    align-items: center;
}
.share-btn {
    width: 28px; height: 28px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 800;
    color: #fff; cursor: pointer; border: none;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #000; }
.share-btn.wa { background: #25d366; }

/*
==========================================================================
5. HERO SECTION (Hotstar-style featured schemes carousel)
==========================================================================
*/
.hero-section {
    background: linear-gradient(135deg, #001a4d 0%, #003580 50%, #002060 100%);
    padding: 36px 0 40px;
    overflow: hidden;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1599470849718-d52fe6a7f0de?w=1400&auto=format&fit=crop&q=60') center/cover no-repeat;
    opacity: 0.12;
}
.hero-inner { position: relative; z-index: 1; }
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--saffron);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.hero-label::before { content: '●'; font-size: 0.5rem; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
    max-width: 500px;
}

/* Horizontal scroll strip --- featured scheme cards */
.featured-strip-wrapper {
    position: relative;
}
.featured-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.featured-strip::-webkit-scrollbar { display: none; }
.featured-card {
    flex: 0 0 260px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    backdrop-filter: blur(4px);
}
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    border-color: var(--saffron);
}
.featured-card.active-hero {
    border-color: var(--saffron);
    box-shadow: 0 0 0 2px var(--saffron), 0 8px 24px rgba(0,0,0,0.3);
}
.featured-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.featured-card-img-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1a3a6b, #0047ab);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.featured-card-body {
    padding: 12px 14px;
}
.featured-badge {
    display: inline-block;
    background: var(--saffron);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.featured-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-card-ministry {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
}

/* Hero scroll buttons */
.hero-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.hero-scroll-btn:hover { background: var(--saffron); border-color: var(--saffron); }
.hero-scroll-btn.left { left: -18px; }
.hero-scroll-btn.right { right: -18px; }

/*
==========================================================================
6. STATS STRIP
==========================================================================
*/
.stats-strip {
    background: #fff;
    border-bottom: 1px solid #e8edf5;
    box-shadow: 0 2px 8px rgba(0,53,128,0.06);
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 18px 10px;
    border-right: 1px solid #e8edf5;
    transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--blue-light); }
.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/*
==========================================================================
7. SCHEMES SECTION --- Filter + Grid
==========================================================================
*/
.schemes-section {
    padding: 32px 0 48px;
}
.section-header {
    margin-bottom: 24px;
}
.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 6px;
}
.section-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.6;
}

/* ── FILTER TOOLBAR - FIXED LAYOUT ── */
.filter-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,53,128,0.06);
    min-height: 56px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.filter-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.filter-tab {
    background: var(--grey-bg);
    border: 1px solid var(--grey-border);
    color: var(--text-dark);
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 30px;
    flex-shrink: 0;
}

.filter-tab:hover {
    background: var(--blue-light);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

.filter-tab.active {
    background: var(--blue-primary);
    color: #fff;
    border-color: var(--blue-primary);
}

.filter-divider {
    width: 1px;
    height: 26px;
    background: var(--grey-border);
    flex-shrink: 0;
}

/* Search Box - Fixed Alignment */
.search-box {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    flex: 0 1 220px;
    min-width: 160px;
    height: 34px;
    transition: border-color 0.2s;
    flex-shrink: 1;
}

.search-box:focus-within {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 2px rgba(0,53,128,0.1);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: var(--text-dark);
    font-family: inherit;
    background: transparent;
    outline: none;
    height: 100%;
    min-width: 60px;
    width: 100%;
}

.search-box input::placeholder {
    color: #a0aec0;
    font-size: 0.75rem;
}

.search-btn {
    background: var(--blue-primary);
    border: none;
    color: #fff;
    padding: 0 12px;
    height: 100%;
    cursor: pointer;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--blue-dark);
}

.search-btn svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
}

/* Filter & Find Scheme Buttons */
.filter-btn {
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
    height: 34px;
    flex-shrink: 0;
    text-decoration: none !important;
}

.filter-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,53,128,0.2);
    color: #fff !important;
}

.filter-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
}

.filter-btn .filter-active-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--blue-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
    min-width: 18px;
    height: 18px;
}

.find-scheme-btn {
    background: var(--saffron);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
    height: 34px;
    flex-shrink: 0;
    text-decoration: none !important;
}

.find-scheme-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
    color: #fff !important;
}

.find-scheme-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* ── RESPONSIVE FILTER TOOLBAR ── */
@media (max-width: 1024px) {
    .filter-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 14px;
    }
    .search-box {
        flex: 1 1 180px;
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        min-height: auto;
        overflow-x: visible;
    }
    .filter-group {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }
    .filter-group-label {
        width: 100%;
        margin-bottom: 2px;
        font-size: 0.7rem;
    }
    .filter-divider {
        display: none;
    }
    .search-box {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        min-width: unset;
        height: 38px;
    }
    .search-box input {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    .filter-btn {
        width: 100%;
        justify-content: center;
        height: 38px;
        padding: 0 16px;
        font-size: 0.85rem;
    }
    .find-scheme-btn {
        width: 100%;
        justify-content: center;
        height: 38px;
        padding: 0 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .filter-toolbar {
        padding: 10px 12px;
        gap: 8px;
    }
    .filter-tab {
        padding: 4px 10px;
        font-size: 0.7rem;
        height: 28px;
    }
    .filter-group {
        gap: 4px;
    }
}

/* Results count */
.results-info {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.results-info strong { color: var(--blue-primary); }

/* ── SCHEME CARDS GRID ─────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.scheme-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    display: flex;
    flex-direction: column;
}
.scheme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,53,128,0.14);
    border-color: var(--blue-mid);
}
.card-img-wrap {
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fb, #c8d8f0);
    position: relative;
    flex-shrink: 0;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.scheme-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--blue-primary);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.badge-state { background: var(--blue-primary); }
.badge-central { background: var(--green-govt); }
.badge-cs { background: #7b2d8b; }
.card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-ministry {
    font-size: 0.72rem;
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-ministry::before { content: '🏛'; font-size: 0.7rem; }
.card-desc {
    font-size: 0.79rem;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 14px;
}
.card-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #f0f4f8;
    padding-top: 12px;
    margin-top: auto;
}
.btn-details {
    flex: 1;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
    text-align: center;
}
.btn-details:hover { background: var(--blue-dark); }
.btn-share {
    background: var(--grey-bg);
    border: 1px solid var(--grey-border);
    color: var(--text-muted);
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.18s;
    display: flex; align-items: center;
}
.btn-share:hover { background: var(--blue-light); border-color: var(--blue-primary); color: var(--blue-primary); }

/* ── BLANK SLATE ──────────────────────────────────────────────── */
.blank-slate {
    text-align: center;
    padding: 60px 20px;
    display: none;
}
.blank-slate .blank-icon { font-size: 3.5rem; margin-bottom: 16px; }
.blank-slate h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }
.blank-slate p { font-size: 0.83rem; color: var(--text-muted); }

/* ── PAGINATION ──────────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 36px;
}
.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--grey-border);
    background: #fff;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.18s;
    display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { background: var(--blue-light); border-color: var(--blue-primary); color: var(--blue-primary); }
.page-btn.active { background: var(--blue-primary); color: #fff; border-color: var(--blue-primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/*
==========================================================================
8. DIRECTORY SECTION
==========================================================================
*/
.directory-section {
    padding: 32px 0 48px;
}
.dir-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--grey-border);
    box-shadow: var(--card-shadow);
    margin-top: 24px;
}
.dir-table-title {
    background: var(--blue-dark);
    color: #fff;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
}
.dir-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    background: #fff;
}
.dir-table th {
    background: var(--blue-primary);
    color: #fff;
    padding: 11px 14px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}
.dir-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eef1f8;
    vertical-align: top;
    color: var(--text-dark);
}
.dir-table tr:last-child td { border-bottom: none; }
.dir-table tr:nth-child(even) td { background: var(--grey-bg); }
.dir-table tr:hover td { background: var(--blue-light); }

/*
==========================================================================
9. ADMIN PANEL (Side Drawer) --- Professional CMS Look
==========================================================================
*/
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.admin-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 440px;
    max-width: 95vw;
    height: 100%;
    background: #fff;
    z-index: 900;
    box-shadow: -4px 0 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.admin-drawer.open { right: 0; }
.drawer-header {
    background: var(--blue-dark);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.drawer-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.drawer-header-icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.drawer-header-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.drawer-header-sub {
    font-size: 0.7rem;
    opacity: 0.65;
}
.drawer-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.18s;
    flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.25); }
.drawer-tabs {
    display: flex;
    background: #f4f6fb;
    border-bottom: 1px solid var(--grey-border);
    flex-shrink: 0;
}
.drawer-tab {
    flex: 1;
    padding: 11px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: all 0.18s;
    text-align: center;
}
.drawer-tab.active { color: var(--blue-primary); border-bottom-color: var(--blue-primary); background: #fff; }
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}
.drawer-body::-webkit-scrollbar { width: 4px; }
.drawer-body::-webkit-scrollbar-track { background: #f1f5f9; }
.drawer-body::-webkit-scrollbar-thumb { background: var(--grey-border); border-radius: 4px; }
.form-row { margin-bottom: 18px; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.form-label .req { color: var(--saffron); margin-left: 2px; }
.form-control {
    width: 100%;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 0.82rem;
    color: var(--text-dark);
    font-family: inherit;
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
    outline: none;
}
.form-control:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(0,53,128,0.08); }
.form-control::placeholder { color: #a0b0c8; }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23003580'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.form-hint { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.form-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    margin-top: 6px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--blue-light);
}
.drawer-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--grey-border);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    background: #fff;
}
.btn-publish {
    flex: 1;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-publish:hover { background: var(--blue-dark); }
.btn-cancel {
    background: var(--grey-bg);
    border: 1px solid var(--grey-border);
    color: var(--text-muted);
    border-radius: 6px;
    padding: 11px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}
.btn-cancel:hover { background: #e8edf5; color: var(--text-dark); }

/* Publish success toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: var(--blue-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex; align-items: center; gap: 10px;
    white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .toast-icon { font-size: 1.1rem; }

/*
==========================================================================
10. FOOTER
==========================================================================
*/
.footer {
    background: var(--blue-dark);
    border-top: 3px solid var(--saffron);
    color: rgba(255,255,255,0.75);
    padding: 28px 0 0;
}
.footer-nav {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}
.footer-nav a {
    padding: 5px 14px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.72);
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: color 0.18s;
}
.footer-nav a:last-child { border-right: none; }
.footer-nav a:hover { color: var(--saffron); }
.footer-credits {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.75rem;
    line-height: 1.8;
}
.footer-credits a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-credits a:hover { color: var(--saffron); }
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px; height: 42px;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 700;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(0,53,128,0.3);
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }

/*
==========================================================================
11. MODAL --- Scheme Detail
==========================================================================
*/
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
    background: #fff;
    border-radius: 10px;
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transform: scale(0.95);
    transition: transform 0.25s;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-img { width: 100%; height: 220px; object-fit: cover; }
.modal-img-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, #003580, #0047ab); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.modal-content { padding: 24px 28px; }
.modal-badge { display: inline-block; background: var(--blue-primary); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; text-transform: uppercase; margin-bottom: 12px; }
.modal-title { font-size: 1.2rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 8px; line-height: 1.3; }
.modal-ministry { font-size: 0.78rem; color: var(--saffron); font-weight: 600; margin-bottom: 16px; }
.modal-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.modal-close-bar { display: flex; justify-content: flex-end; padding: 12px 28px 16px; border-top: 1px solid #f0f4f8; }
.modal-close-btn { background: var(--blue-primary); color: #fff; border: none; border-radius: 6px; padding: 9px 20px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.18s; }
.modal-close-btn:hover { background: var(--blue-dark); }

/*
==========================================================================
12. RESPONSIVE
==========================================================================
*/
@media (max-width: 1024px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 1.3rem; }
    .featured-card { flex: 0 0 220px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .top-bar-left .gov-extra { display: none; }
    .header-right { display: none; }
    .dept-name-hi { font-size: 1.1rem; }
    .form-row-2col { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .admin-drawer { width: 100%; }
    .hero-scroll-btn { display: none; }
    .footer-logos { flex-wrap: wrap; gap: 10px; }
}

/*
==========================================================================
NEW SECTIONS: About, Contact, Help
==========================================================================
*/
.info-section {
    padding: 48px 0;
    background: #fff;
}
.info-section.alt-bg {
    background: var(--grey-bg);
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.info-card {
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,53,128,0.12);
}
.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--blue-light);
}
.info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: var(--card-radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}
.contact-card:hover {
    transform: translateY(-3px);
}
.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 8px;
}
.contact-card a {
    color: var(--blue-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}
.contact-card a:hover {
    text-decoration: underline;
}
.contact-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.help-item {
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: var(--card-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
}
.help-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 10px;
}
.help-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer disclaimer */
.footer-disclaimer {
    background: rgba(255,102,0,0.1);
    border: 1px solid rgba(255,102,0,0.3);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: center;
}
.footer-disclaimer p {
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}
.footer-disclaimer strong {
    color: var(--saffron);
}

/* Language content visibility */
.lang-hi, .lang-en {
    transition: opacity 0.3s;
}

/* Fix nav active state */
.nav-menu > li > a.active {
    background: var(--saffron);
    color: #fff;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .info-grid,
    .contact-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }
    .footer-disclaimer {
        padding: 12px 16px;
    }
    .footer-disclaimer p {
        font-size: 0.75rem;
    }
}

/* Admin featured page styles */
.admin-featured-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.admin-featured-table th,
.admin-featured-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--grey-border);
    font-size: 0.85rem;
}
.admin-featured-table th {
    background: var(--blue-primary);
    color: #fff;
    font-weight: 700;
}
.admin-featured-table tr:hover td {
    background: var(--blue-light);
}
.featured-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.featured-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.order-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid var(--grey-border);
    border-radius: 4px;
    font-size: 0.82rem;
    text-align: center;
}
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-save {
    background: var(--green-govt);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-save:hover {
    background: #004d00;
}

/* Fix for hero scroll buttons on mobile */
@media (max-width: 480px) {
    .hero-scroll-btn {
        display: none !important;
    }
    .featured-strip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Ensure proper responsive scaling */
html {
    font-size: calc(15px * var(--font-scale, 1));
}
@media (max-width: 360px) {
    html {
        font-size: calc(14px * var(--font-scale, 1));
    }
}

/*
==========================================================================
NEW SECTIONS: About, Contact, Help, Content Pages
==========================================================================
*/
.content-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--grey-border);
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}
.content-article h1 {
    font-size: 1.8rem;
    color: var(--blue-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--blue-light);
}
.content-article h2 {
    font-size: 1.3rem;
    color: var(--blue-primary);
    margin: 24px 0 12px;
}
.content-article h3 {
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin: 20px 0 10px;
}
.content-article p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.content-article a {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
}
.content-article a:hover {
    text-decoration: underline;
}

/* Language content visibility */
.lang-content {
    transition: opacity 0.3s ease;
}
.lang-content[data-lang="en"],
.lang-content[data-lang="ur"] {
    display: none;
}

/* RTL support for Urdu */
html[dir="rtl"] .lang-content[data-lang="ur"] {
    text-align: right;
}
html[dir="rtl"] .container {
    direction: rtl;
}
html[dir="rtl"] .nav-menu > li > a {
    flex-direction: row-reverse;
}
html[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}
html[dir="rtl"] .top-bar-inner {
    flex-direction: row-reverse;
}
html[dir="rtl"] .breadcrumb-path {
    flex-direction: row-reverse;
}
html[dir="rtl"] .footer-nav {
    flex-direction: row-reverse;
}

/* Contact page styles */
.contact-info-box {
    background: var(--blue-light);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
}
.contact-info-box h3 {
    color: var(--blue-primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.contact-info-box p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.contact-info-box a {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
}
.contact-info-box a:hover {
    text-decoration: underline;
}

/* FAQ items */
.faq-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--grey-border);
    margin-bottom: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,53,128,0.12);
}
.faq-item h3 {
    color: var(--blue-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}
.faq-item p {
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Form styles */
form .form-group {
    margin-bottom: 18px;
}
form label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}
form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea,
form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}
form input:focus,
form textarea:focus,
form select:focus {
    border-color: var(--blue-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,53,128,0.08);
}
form button[type="submit"] {
    background: var(--blue-primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
form button[type="submit"]:hover {
    background: var(--blue-dark);
}

/* Success/Error messages */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    border-left: 4px solid #28a745;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    border-left: 4px solid #dc3545;
}

/* Footer improvements */
.footer-disclaimer {
    background: rgba(255,102,0,0.1);
    border: 1px solid rgba(255,102,0,0.3);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: center;
}
.footer-disclaimer p {
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}
.footer-disclaimer strong {
    color: var(--saffron);
}
.footer-nav {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}
.footer-nav a {
    padding: 5px 14px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.72);
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: color 0.18s;
    text-decoration: none;
}
.footer-nav a:last-child {
    border-right: none;
}
.footer-nav a:hover {
    color: var(--saffron);
    text-decoration: underline;
}
.footer-credits {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.75rem;
    line-height: 1.8;
}
.footer-credits a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
}
.footer-credits a:hover {
    color: var(--saffron);
}
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}
.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .content-article {
        padding: 24px 16px;
    }
    .content-article h1 {
        font-size: 1.4rem;
    }
    .faq-item {
        padding: 16px;
    }
    .contact-info-box {
        padding: 16px;
    }
    .footer-nav a {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    .footer-logos {
        gap: 12px;
    }
    .footer-logo-box {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
}
@media (max-width: 480px) {
    .content-article {
        padding: 16px 12px;
    }
    .content-article h1 {
        font-size: 1.2rem;
    }
    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
    .footer-nav a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }
    .footer-nav a:last-child {
        border-bottom: none;
    }
}

/* Admin featured page styles */
.admin-featured-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.admin-featured-table th,
.admin-featured-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--grey-border);
    font-size: 0.85rem;
}
.admin-featured-table th {
    background: var(--blue-primary);
    color: #fff;
    font-weight: 700;
}
.admin-featured-table tr:hover td {
    background: var(--blue-light);
}
.admin-featured-table tr.featured-row {
    background: #fff8f0;
}
.admin-featured-table tr.featured-row td {
    border-bottom-color: #ffe4cc;
}
.checkbox-featured {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--saffron);
}
.order-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid var(--grey-border);
    border-radius: 4px;
    font-size: 0.82rem;
    text-align: center;
}
.order-input:focus {
    border-color: var(--blue-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,53,128,0.08);
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--green-govt);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Info box */
.info-box {
    background: var(--blue-light);
    border-left: 4px solid var(--blue-primary);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 24px;
}
.info-box p {
    font-size: 0.82rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}
.info-box strong {
    color: var(--blue-primary);
}

/* Save bar */
.save-bar {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
    position: sticky;
    bottom: 0;
    background: #f4f6fb;
    border-top: 1px solid var(--grey-border);
    margin-top: 20px;
}
.btn-save {
    background: var(--green-govt);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-save:hover {
    background: #004d00;
}

/* Admin dashboard improvements */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-toolbar h2 {
    font-size: 1.1rem;
    color: var(--blue-dark);
}
.btn-secondary {
    background: var(--saffron);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    text-decoration: none;
}
.btn-secondary:hover {
    background: #e55a00;
}

/* Badge styles */
.badge-featured {
    background: var(--saffron);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-regular {
    background: var(--grey-border);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
}

/* Ensure proper responsive scaling */
html {
    font-size: calc(15px * var(--font-scale, 1));
}
@media (max-width: 360px) {
    html {
        font-size: calc(14px * var(--font-scale, 1));
    }
}

/* Hero scroll buttons visibility */
@media (max-width: 480px) {
    .hero-scroll-btn {
        display: none !important;
    }
    .featured-strip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Nav improvements */
.nav-menu > li > a.active {
    background: var(--saffron);
    color: #fff;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 700;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(0,53,128,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.show {
    opacity: 1;
    pointer-events: all;
}
.back-to-top:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

/*
==========================================================================
NEWS TICKER SYSTEM --- Bharat Yojna Uttar Pradesh
==========================================================================
*/
.news-ticker-section {
    background: var(--blue-dark);
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
    border-bottom: 2px solid var(--saffron);
}
.news-ticker-container {
    display: flex;
    align-items: center;
    max-width: 1260px;
    margin: 0 auto;
    height: 44px;
    padding: 0 20px;
}
.ticker-label {
    background: var(--saffron);
    color: #fff;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 10px solid var(--saffron);
}
.ticker-icon {
    font-size: 0.7rem;
    animation: ticker-pulse 1.5s infinite;
}
@keyframes ticker-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
}
.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: ticker-scroll 35s linear infinite;
    width: max-content;
}
.ticker-wrapper:hover .ticker-track {
    animation-play-state: paused;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 36px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    height: 100%;
    transition: color 0.2s;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.ticker-item:hover {
    color: #fff;
}
.ticker-item:hover .ticker-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ticker-dot {
    font-size: 0.5rem;
    flex-shrink: 0;
    color: #4ade80;
}
.ticker-title {
    white-space: nowrap;
}
.ticker-item[rel="noopener noreferrer"] .ticker-dot {
    color: #fbbf24;
}
@media (max-width: 768px) {
    .news-ticker-container { height: 38px; padding: 0 12px; }
    .ticker-label { padding: 0 10px; font-size: 0.7rem; }
    .ticker-label::after { border-top: 19px solid transparent; border-bottom: 19px solid transparent; border-left: 8px solid var(--saffron); right: -8px; }
    .ticker-item { padding: 0 20px; font-size: 0.78rem; }
    .ticker-track { animation-duration: 25s; }
}
@media (max-width: 480px) {
    .ticker-label .ticker-text { display: none; }
    .ticker-label { padding: 0 8px; }
    .ticker-item { padding: 0 16px; font-size: 0.75rem; }
}

/* Admin News Ticker Styles */
.admin-news-ticker {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,53,128,0.10);
    margin-bottom: 24px;
}
.admin-news-ticker h2 {
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue-light);
}
.ticker-form-group { margin-bottom: 18px; }
.ticker-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}
.ticker-form-group input[type="text"],
.ticker-form-group input[type="url"],
.ticker-form-group input[type="number"],
.ticker-form-group select {
    width: 100%;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 0.82rem;
    color: var(--text-dark);
    font-family: inherit;
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
    outline: none;
}
.ticker-form-group input:focus,
.ticker-form-group select:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0,53,128,0.08);
}
.ticker-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23003580'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}
.ticker-link-field { display: none; }
.ticker-link-field.active { display: block; }
.ticker-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ticker-toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
}
.ticker-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.ticker-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}
.ticker-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
.ticker-toggle-switch input:checked + .ticker-toggle-slider {
    background-color: var(--green-govt);
}
.ticker-toggle-switch input:checked + .ticker-toggle-slider:before {
    transform: translateX(24px);
}
.ticker-btn-submit {
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
}
.ticker-btn-submit:hover { background: var(--blue-dark); }
.ticker-btn-cancel {
    background: var(--grey-bg);
    border: 1px solid var(--grey-border);
    color: var(--text-muted);
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
}
.ticker-btn-cancel:hover { background: #e8edf5; color: var(--text-dark); }
.ticker-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,53,128,0.10);
}
.ticker-table th, .ticker-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e8edf5;
    font-size: 0.82rem;
}
.ticker-table th {
    background: var(--blue-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ticker-table tr:hover td { background: var(--blue-light); }
.ticker-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.ticker-badge-internal { background: #e3f2fd; color: #1565c0; }
.ticker-badge-external { background: #fff3e0; color: #e65100; }
.ticker-badge-active { background: #e8f5e9; color: #2e7d32; }
.ticker-badge-inactive { background: #ffebee; color: #c62828; }
.ticker-btn-action {
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 4px;
    display: inline-block;
    transition: opacity 0.2s;
}
.ticker-btn-action:hover { opacity: 0.85; }
.ticker-btn-edit { background: var(--blue-primary); color: #fff; }
.ticker-btn-delete { background: #f44336; color: #fff; }
.ticker-btn-toggle { background: #ff9800; color: #fff; }
.ticker-priority-num {
    background: var(--blue-primary);
    color: #fff;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8rem;
}
.ticker-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.ticker-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.ticker-alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
@media (max-width: 768px) {
    .ticker-table { font-size: 0.78rem; }
    .ticker-table th, .ticker-table td { padding: 8px 10px; }
    .ticker-btn-action { padding: 4px 8px; font-size: 0.7rem; }
}

/*
==========================================================================
OVERVIEW SECTION --- Uttar Pradesh
==========================================================================
*/
.overview-section {
    background: linear-gradient(135deg, #faf6f1 0%, #f0ebe3 100%);
    padding: 48px 0;
    border-top: 1px solid #e8e0d6;
    border-bottom: 1px solid #e8e0d6;
}
.overview-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.overview-leaders {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.leader-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e8e0d6;
}
.leader-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--saffron);
    flex-shrink: 0;
}
.leader-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.leader-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.overview-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--saffron);
    display: inline-block;
}
.overview-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 14px;
}
.overview-right-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.overview-img-card {
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,53,128,0.15);
    border: 3px solid var(--saffron);
    background: #fff;
}
.overview-img-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.overview-img-card:hover img {
    transform: scale(1.03);
}
@media (max-width: 1024px) {
    .overview-inner { grid-template-columns: 1fr; }
    .overview-leaders { flex-direction: row; flex-wrap: wrap; }
    .overview-right-image { justify-content: center; margin-top: 20px; }
    .overview-img-card { max-width: 280px; }
    .overview-img-card img { height: 320px; }
}

/*
==========================================================================
BANNER CAROUSEL SECTION --- New Design with Blue Patterned Area
==========================================================================
*/
.banner-section {
    position: relative;
    overflow: hidden;
}

/* ── Carousel Wrapper ────────────────────────────────────────── */
.banner-carousel-wrapper {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8ecf5 50%, #f0f3f8 100%);
    padding: 32px 0 0;
    position: relative;
}
.banner-carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}
.banner-track {
    display: flex;
    gap: 0;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,53,128,0.15);
}
.banner-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    transition: opacity 0.4s ease;
}
.banner-slide-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 380px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

/* Left: Image */
.banner-image-wrap {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}
.banner-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.banner-slide:hover .banner-image-wrap img {
    transform: scale(1.03);
}
.banner-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(0,53,128,0.08) 100%);
    pointer-events: none;
}

/* Right: Content */
.banner-slide-content {
    display: flex;
    align-items: center;
    padding: 40px 48px;
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
}
.banner-content-inner {
    max-width: 380px;
}
.banner-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.banner-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}
.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid var(--blue-primary);
}
.banner-cta:hover {
    background: transparent;
    color: var(--blue-primary);
}

/* Navigation arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--blue-primary);
    color: var(--blue-primary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0,53,128,0.15);
}
.banner-arrow:hover {
    background: var(--blue-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.banner-arrow.prev { left: 8px; }
.banner-arrow.next { right: 8px; }

/* Dot navigation */
.banner-nav-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 28px;
    background: linear-gradient(135deg, #f8f9fc 0%, #e8ecf5 100%);
}
.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c8d2de;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}
.banner-dot.active {
    background: var(--blue-primary);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(0,53,128,0.2);
}
.banner-dot:hover {
    background: var(--blue-mid);
}

/* ── BLUE PATTERNED AREA ─────────────────────────────────────── */
.banner-blue-area {
    background: linear-gradient(135deg, #001a4d 0%, #002060 30%, #003580 70%, #001a4d 100%);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}
.banner-blue-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--saffron) 0%, #ff9933 50%, var(--saffron) 100%);
}

/* Geometric patterns */
.banner-patterns {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.pattern-left,
.pattern-right {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    opacity: 0.6;
}
.pattern-left { left: 0; }
.pattern-right { right: 0; }
.pattern-left svg,
.pattern-right svg {
    width: 100%;
    height: 100%;
}

/* Content in blue area */
.banner-blue-content {
    position: relative;
    z-index: 2;
}
.banner-blue-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.banner-blue-text {
    flex: 1;
    min-width: 280px;
}
.banner-blue-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.banner-blue-sub {
    font-size: 1rem;
    font-weight: 600;
    color: var(--saffron);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.banner-blue-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 480px;
}

/* Stats in blue area */
.banner-blue-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.banner-stat {
    text-align: center;
    padding: 0 28px;
}
.banner-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--saffron);
    line-height: 1;
    margin-bottom: 6px;
}
.banner-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.banner-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}

/* ── BANNER RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .banner-slide-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .banner-image-wrap {
        min-height: 260px;
    }
    .banner-slide-content {
        padding: 28px 32px;
    }
    .banner-title {
        font-size: 1.25rem;
    }
    .banner-blue-inner {
        flex-direction: column;
        text-align: center;
    }
    .banner-blue-desc {
        margin: 0 auto;
    }
    .banner-blue-stats {
        justify-content: center;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .banner-carousel-container {
        padding: 0 20px;
    }
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .banner-arrow.prev { left: -10px; }
    .banner-arrow.next { right: -10px; }
    .banner-image-wrap {
        min-height: 200px;
    }
    .banner-slide-content {
        padding: 20px 24px;
    }
    .banner-title {
        font-size: 1.1rem;
    }
    .banner-blue-heading {
        font-size: 1.4rem;
    }
    .banner-stat {
        padding: 0 16px;
    }
    .banner-stat-num {
        font-size: 1.5rem;
    }
    .pattern-left,
    .pattern-right {
        width: 100px;
        opacity: 0.3;
    }
}
@media (max-width: 480px) {
    .banner-carousel-wrapper {
        padding: 20px 0 0;
    }
    .banner-track {
        border-radius: 10px;
    }
    .banner-slide-inner {
        border-radius: 10px;
    }
    .banner-image-wrap {
        min-height: 160px;
    }
    .banner-blue-area {
        padding: 32px 0 28px;
    }
    .banner-blue-heading {
        font-size: 1.15rem;
    }
    .banner-blue-sub {
        font-size: 0.85rem;
    }
    .banner-blue-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .banner-stat-divider {
        display: none;
    }
    .banner-stat {
        flex: 1;
        min-width: 100px;
        padding: 0;
    }
    .pattern-left,
    .pattern-right {
        display: none;
    }
}

/*
==========================================================================
VIDEO SECTION --- What's New
==========================================================================
*/
.video-section {
    background: var(--grey-bg);
    padding: 48px 0;
}
.video-section-header {
    text-align: center;
    margin-bottom: 28px;
}
.video-section-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--grey-border);
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-caption {
    padding: 16px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--grey-border);
}
@media (max-width: 768px) {
    .video-wrapper { margin: 0 12px; }
}

/* ================================================================
MOBILE FIXES --- Category Filter Layout + Favicon
================================================================ */

/* ── Category Filter: Mobile Layout Fix ── */
@media (max-width: 768px) {
    .filter-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .filter-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
    }
    .filter-group-label {
        width: 100% !important;
        margin-bottom: 4px !important;
    }
    .filter-tab {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
    }
    .filter-divider {
        display: none !important;
    }
    .search-box {
        width: 100% !important;
    }
    .search-box input[type="text"] {
        width: 100% !important;
    }
}

/* ── Favicon: Ensure it appears in search results ── */
/* Google pulls favicon from the root /favicon.ico or the <link rel="icon"> tag */
/* If you want a guaranteed favicon in Google search, also upload a file named: */
/* favicon.ico to your ROOT folder (next to index.php) */
/* Alternative: Add this to your <head> in index.php (already done) */
/* <link rel="shortcut icon" href="uploads/logo/favicon.ico"> */

/* ── Filter Modal Overlay ── */
.filter-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.filter-modal-overlay.active {
    opacity: 1;
}

/* ── Filter Modal ── */
.filter-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.filter-modal-overlay.active .filter-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.filter-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--grey-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-radius: 16px 16px 0 0;
}
.filter-modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-modal-header h2 svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-primary);
    flex-shrink: 0;
}
.filter-modal-close {
    background: var(--grey-bg);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.filter-modal-close:hover {
    background: var(--grey-border);
}
.filter-modal-body {
    padding: 24px;
}
.filter-group {
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}
.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.filter-group-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-group-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--saffron);
    border-radius: 2px;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--grey-bg);
    border: 1.5px solid var(--grey-border);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
    user-select: none;
}
.filter-option:hover {
    border-color: var(--blue-primary);
    background: var(--blue-light);
}
.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-primary);
    cursor: pointer;
    margin: 0;
}
.filter-option.checked {
    background: var(--blue-light);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}
.filter-age-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.filter-age-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.filter-age-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    font-size: 0.85rem;
}
.filter-age-group input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.08);
}
.filter-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--grey-border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #fff;
    border-radius: 0 0 16px 16px;
    position: sticky;
    bottom: 0;
}
.filter-modal-footer .btn {
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: var(--blue-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--grey-bg);
    color: var(--text-dark);
    border: 1px solid var(--grey-border) !important;
}
.btn-secondary:hover {
    background: var(--grey-border);
}
.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--saffron);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
}

/* Scrollbar styling */
.filter-modal::-webkit-scrollbar {
    width: 6px;
}
.filter-modal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}
.filter-modal::-webkit-scrollbar-thumb {
    background: var(--grey-border);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 600px) {
    .filter-modal {
        max-height: 95vh;
    }
    .filter-modal-body {
        padding: 16px;
    }
    .filter-age-row {
        grid-template-columns: 1fr;
    }
    .filter-modal-footer {
        flex-direction: column-reverse;
    }
    .filter-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}















/* ── FLOATING SOCIAL MEDIA ICONS ── */
.social-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: socialFloat 3s ease-in-out infinite;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0.75;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.12) translateX(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ── Individual Colors ── */
.social-icon.instagram {
    background: radial-gradient(circle at 30% 110%, #ffdb70, #e4405f, #bc2a8d);
    backdrop-filter: blur(10px);
    border-color: rgba(225, 48, 108, 0.3);
}
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 110%, #ffdb70, #e4405f, #bc2a8d);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.4);
}

.social-icon.twitter {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.15);
}
.social-icon.twitter:hover {
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.social-icon.youtube {
    background: rgba(255, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 0, 0, 0.3);
}
.social-icon.youtube:hover {
    background: #FF0000;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
}

.social-icon.facebook {
    background: rgba(24, 119, 242, 0.85);
    backdrop-filter: blur(10px);
    border-color: rgba(24, 119, 242, 0.3);
}
.social-icon.facebook:hover {
    background: #1877f2;
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

/* ── Floating Animation ── */
@keyframes socialFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .social-float {
        right: 12px;
        bottom: 80px;
        gap: 10px;
    }
    .social-icon {
        width: 40px;
        height: 40px;
    }
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .social-float {
        right: 8px;
        bottom: 70px;
        gap: 8px;
    }
    .social-icon {
        width: 36px;
        height: 36px;
    }
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}