/* ==========================================================
   DIPR MANIPUR — SITE STYLESHEET (cleaned)
   ========================================================== */

/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS — Light Mode (default)
   ══════════════════════════════════════════════════════════ */
:root {
    /* 3-Color Design Tokens: Primary Navy (#0A1F44), Accent Sapphire (#1A56A0), Neutral Slate */
    --gov-navy: #0A1F44;
    --gov-blue: #1A56A0;
    --gov-blue-mid: #2176C7;
    --gov-blue-light: #EBF3FB;
    --gov-burgundy: #1A56A0;
    --gov-burg-mid: #1A56A0;
    --gov-burg-acc: #2176C7;
    --gov-black: #0F172A;
    --gov-white: #FFFFFF;
    --gov-offwhite: #F8FAFC;
    --gov-grey: #64748B;
    --gov-border: #E2E8F0;
    /* Semantic tokens (light) */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-alt: #F1F5F9;
    --bg-input: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-link: #1A56A0;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, .06);
    --shadow-md: 0 8px 25px rgba(10, 31, 68, .08);
}

/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS — Dark Mode
   ══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
    --gov-navy: #0F172A;
    --gov-blue: #38BDF8;
    --gov-blue-mid: #60A5FA;
    --gov-blue-light: #1E293B;
    --gov-burgundy: #38BDF8;
    --gov-burg-mid: #60A5FA;
    --gov-burg-acc: #38BDF8;
    --gov-black: #F8FAFC;
    --gov-white: #141C2C;
    --gov-offwhite: #0B0F19;
    --gov-grey: #94A3B8;
    --gov-border: #334155;
    /* Semantic tokens (dark mode) */
    --bg-page: #0B0F19;
    --bg-card: #141C2C;
    --bg-card-alt: #1E293B;
    --bg-input: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-link: #38BDF8;
    --border-color: #334155;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, .40);
}

/* ══════════════════════════════════════════════════════════
   DARK MODE TOGGLE BUTTON
   ══════════════════════════════════════════════════════════ */
.dark-mode-btn {
    background: none;
    border: 1px solid #4a6288;
    color: #cdd8ec;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.733rem;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.5;
}

    .dark-mode-btn:hover {
        background: var(--gov-blue, #1A56A0);
        border-color: var(--gov-blue, #1A56A0);
        color: #fff;
    }

    .dark-mode-btn .dm-icon {
        font-size: 0.9rem;
        transition: transform 0.4s ease;
    }

    .dark-mode-btn:hover .dm-icon {
        transform: rotate(20deg);
    }

@media (max-width: 400px) {
    .dark-mode-btn .dm-label {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════
   SMOOTH THEME TRANSITION
   ══════════════════════════════════════════════════════════ */
html {
    transition: background-color 0.25s ease, color 0.25s ease;
}

body,
.gov-header,
.gov-top-strip,
.gov-navbar,
.gov-footer,
.footer-top,
.footer-bottom,
.page-section,
.notif-col,
.event-card,
.svc-scroll-card,
.sidebar-card,
.acc-trigger,
.acc-body,
.dropdown-menu,
.svc-scroll-icon,
.scroll-arrow,
.district-pill-item,
.social-block,
.stat-box,
.news-badge,
.acc-item {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL DARK MODE OVERRIDES
   ══════════════════════════════════════════════════════════ */

/* Body */
[data-theme="dark"] body {
    background: var(--bg-page);
    color: #FFFF00;
}

/* Global text elements in dark mode turn High Contrast Yellow (#FFFF00) */
[data-theme="dark"] p,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] span:not(.bi):not(.social-x):not(.social-fb):not(.social-yt):not(.social-insta),
[data-theme="dark"] a:not(.social-x):not(.social-fb):not(.social-yt):not(.social-insta):not(.btn-hero-primary):not(.event-read-btn):not(.ni-read-more),
[data-theme="dark"] li,
[data-theme="dark"] label,
[data-theme="dark"] td,
[data-theme="dark"] th {
    color: #FFFF00;
}

/* Header */
[data-theme="dark"] .gov-header {
    background: #1A1D2E;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

[data-theme="dark"] .header-text h1 {
    color: #FFFF00;
}

/* Top strip */
[data-theme="dark"] .gov-top-strip {
    background: #0D1523;
    border-bottom-color: var(--gov-burgundy);
}

[data-theme="dark"] .lang-select {
    background: #0D1523;
    border-color: #2E3648;
    color: #FFFF00;
}

/* Navbar */
[data-theme="dark"] .gov-navbar {
    background: #10172A;
}

[data-theme="dark"] .nav-dropdown .dropdown-menu {
    background: #1A1D2E;
    border-color: #2E3648;
    border-top-color: var(--gov-burgundy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

[data-theme="dark"] .dropdown-menu a {
    color: #FFFF00;
}

    [data-theme="dark"] .dropdown-menu a:hover {
        background: #252840;
        color: #FFF566;
    }

/* Page sections */
/* [data-theme="dark"] .page-section {
    background: var(--bg-page);
} */

/* [data-theme="dark"] .page-section.alt {
    background: var(--bg-card-alt);
} */

/* Section titles */
[data-theme="dark"] .center-title h2 {
    color: #FFFF00;
}

[data-theme="dark"] .eyebrow {
    color: var(--gov-burg-acc);
}

[data-theme="dark"] .center-title p {
    color: var(--text-secondary);
}

/* Title rule */
[data-theme="dark"] .title-rule span {
    background: var(--border-color);
}

/* Cards — event cards */
[data-theme="dark"] .event-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .event-card-body h3,
[data-theme="dark"] .event-card-body h4 {
    color: #C8D8F0;
}

[data-theme="dark"] .event-card-body p {
    color: var(--text-secondary);
}

[data-theme="dark"] .event-card-image {
    background: #252840;
}

[data-theme="dark"] .event-placeholder {
    color: #6B7A92;
}

/* Event read button */
[data-theme="dark"] .event-read-btn {
    background: #1E3A5F;
    color: #C8D8F0;
}

    [data-theme="dark"] .event-read-btn:hover {
        background: var(--gov-blue);
        color: #fff;
    }

/* Notification columns */
[data-theme="dark"] .notif-col {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .notif-item {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .notif-item-text {
    color: #C8D8F0;
}

[data-theme="dark"] .notif-date {
    color: var(--text-muted);
}

[data-theme="dark"] .notif-item-link:hover .notif-item {
    background: #252840;
}

[data-theme="dark"] .notif-item-link:hover .notif-item-text {
    color: var(--gov-blue);
}

/* Notification cards (ni-title & ni-badge) */
[data-theme="dark"] .ni-title,
[data-theme="dark"] .ni-title a {
    color: #FFFF00;
}

    [data-theme="dark"] .ni-title a:hover {
        color: #FFF566;
    }

[data-theme="dark"] .ni-badge,
[data-theme="dark"] .ni-badge.new-b,
[data-theme="dark"] .ni-badge.imp-b,
[data-theme="dark"] .ni-badge.cat-b,
[data-theme="dark"] .ni-badge.tender-b,
[data-theme="dark"] .ni-badge.deadline-b {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 1px solid #FFFF00;
}



/* Service scroll cards */
[data-theme="dark"] .svc-scroll-card {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

    [data-theme="dark"] .svc-scroll-card:hover {
        border-color: var(--gov-blue-mid);
        box-shadow: 0 10px 28px rgba(91, 155, 213, .18);
    }

[data-theme="dark"] .svc-scroll-label {
    color: #C8D8F0;
}

[data-theme="dark"] .svc-scroll-desc {
    color: var(--text-muted);
}

[data-theme="dark"] .svc-scroll-icon.c1 {
    background: #1C2F47;
    color: var(--gov-blue);
}

[data-theme="dark"] .svc-scroll-icon.c2 {
    background: #2A1420;
    color: var(--gov-burg-acc);
}

[data-theme="dark"] .svc-scroll-icon.c3 {
    background: #1A1D2E;
    color: #A0BADC;
}

[data-theme="dark"] .svc-scroll-icon.c4 {
    background: #152814;
    color: #5CB85C;
}

[data-theme="dark"] .svc-scroll-icon.c5 {
    background: #2A2010;
    color: #D4A844;
}

/* Scroll arrows */
[data-theme="dark"] .scroll-arrow {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: #C8D8F0;
}

    [data-theme="dark"] .scroll-arrow:hover {
        background: var(--gov-navy);
        color: #fff;
        border-color: var(--gov-navy);
    }

/* Gallery cards */
[data-theme="dark"] .gallery-card {
    box-shadow: var(--shadow-md);
}

/* Social section */
/* [data-theme="dark"] .social-section {
    background: var(--bg-card-alt);
} */

[data-theme="dark"] .social-block {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .social-block-body p {
    color: var(--text-secondary);
}

/* Footer */
[data-theme="dark"] .gov-footer {
    background: #0D1523;
}

[data-theme="dark"] .footer-top {
    background: #0D1523;
    border-top-color: #2E3648;
}

[data-theme="dark"] .footer-brand p {
    color: #8B97AA;
}

[data-theme="dark"] .footer-col h4 {
    color: #C8D8F0;
}

[data-theme="dark"] .footer-col a {
    color: #8B97AA;
}

    [data-theme="dark"] .footer-col a:hover {
        color: var(--gov-blue);
    }

[data-theme="dark"] .footer-bottom {
    background: #060B14;
    color: #6B7A92;
    border-top-color: #1A1D2E;
}

    [data-theme="dark"] .footer-bottom a {
        color: var(--gov-blue);
    }

/* Breadcrumb */
[data-theme="dark"] .gov-breadcrumb {
    background: #1A1D2E;
    border-bottom-color: var(--border-color);
}

/* Sidebar cards */
[data-theme="dark"] .sidebar-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .sidebar-body {
    background: var(--bg-card);
}

[data-theme="dark"] .sidebar-links li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .sidebar-links a {
    color: var(--gov-blue);
}

/* News list */
[data-theme="dark"] .news-list li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .news-body a {
    color: #C8D8F0;
}

    [data-theme="dark"] .news-body a:hover {
        color: var(--gov-blue);
    }

[data-theme="dark"] .news-body p {
    color: var(--text-muted);
}

/* Accordion */
[data-theme="dark"] .acc-item {
    border-color: var(--border-color);
}

[data-theme="dark"] .acc-trigger {
    background: var(--bg-card);
    color: #C8D8F0;
}

    [data-theme="dark"] .acc-trigger:hover,
    [data-theme="dark"] .acc-trigger.open {
        background: #252840;
    }

[data-theme="dark"] .acc-body {
    background: #1F2235;
    border-top-color: var(--border-color);
    color: var(--text-secondary);
}

/* Share menu */
[data-theme="dark"] .hc-share-menu {
    background: #1A1D2E;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}

    [data-theme="dark"] .hc-share-menu button {
        background: #252840;
        color: #C8D8F0;
    }

        [data-theme="dark"] .hc-share-menu button:hover {
            background: var(--gov-burgundy);
            color: #fff;
        }

/* District pills */
[data-theme="dark"] .district-pill-item {
    background: #1A1D2E;
    border-color: var(--border-color);
    color: #C8D8F0;
}

    [data-theme="dark"] .district-pill-item:hover {
        background: var(--gov-navy);
        border-color: var(--gov-blue);
        color: #fff;
    }

/* About link button */
[data-theme="dark"] .about-link {
    background: #1E3A5F;
    color: #C8D8F0;
    border-color: #2E5080;
}

    [data-theme="dark"] .about-link:hover {
        background: var(--gov-blue);
        color: #fff;
    }

/* Stat boxes */
[data-theme="dark"] .stat-box {
    background: var(--bg-card);
    border-color: var(--border-color);
}

    [data-theme="dark"] .stat-box .s-num {
        color: #C8D8F0;
    }

    [data-theme="dark"] .stat-box .s-label {
        color: var(--text-muted);
    }

/* Tab buttons */
[data-theme="dark"] .tab-btn {
    color: var(--text-muted);
}

    [data-theme="dark"] .tab-btn.active {
        color: var(--gov-blue);
    }

    [data-theme="dark"] .tab-btn:hover {
        color: #C8D8F0;
    }

[data-theme="dark"] .tab-nav {
    border-bottom-color: var(--border-color);
}

/* Page section inner containers */
[data-theme="dark"] .section-inner {
    color: var(--text-primary);
}

/* Popup */
[data-theme="dark"] .popup-box {
    background: var(--bg-card);
}

/* Loading screen */
[data-theme="dark"] #site-loader {
    background: #0D1117;
}

/* Lightbox */
[data-theme="dark"] .gallery-lightbox {
    background: rgba(0, 0, 0, .92);
}

/* Event date/time in cards */
[data-theme="dark"] .event-date {
    background: var(--gov-burgundy);
}

[data-theme="dark"] .event-time {
    color: var(--text-muted);
}

/* Sec title */
[data-theme="dark"] .sec-title {
    color: #FFFF00;
    border-bottom-color: var(--gov-burgundy);
}

/* Detail page overrides */
[data-theme="dark"] .det-card {
    background: var(--bg-card, #1A1D2E);
    border-color: var(--border-color, #2E3648);
}

[data-theme="dark"] .det-headline-bar {
    background: #1F2235;
    border-bottom-color: #2E3648;
}

[data-theme="dark"] .det-headline {
    color: #FFFF00;
}

[data-theme="dark"] .det-badge,
[data-theme="dark"] .det-badge.new-b,
[data-theme="dark"] .det-badge.cat-b,
[data-theme="dark"] .det-badge.readtime-b {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 1px solid #FFFF00;
}

[data-theme="dark"] .det-bottom-meta {
    background: #1A1D2E;
    border-bottom-color: #2E3648;
}

[data-theme="dark"] .det-share-label,
[data-theme="dark"] .det-inline-item {
    color: #FFFF00;
}

    [data-theme="dark"] .det-inline-item i {
        color: #FFFF00;
    }

[data-theme="dark"] .det-subhead {
    color: #FFFF00;
    border-left-color: var(--gov-burgundy);
}

[data-theme="dark"] .det-body p {
    color: #FFFF00;
}

[data-theme="dark"] .det-quote {
    background: #1F2235;
    border-color: #2E3648;
    border-left-color: var(--gov-burgundy);
}

[data-theme="dark"] .det-quote-text,
[data-theme="dark"] .det-quote-by {
    color: #FFFF00;
}

[data-theme="dark"] .det-actions {
    background: #1F2235;
    border-top-color: #2E3648;
}

[data-theme="dark"] .det-act-btn.primary {
    background: var(--gov-burgundy);
    color: #FFFF00;
}

[data-theme="dark"] .det-act-btn.secondary {
    background: #10172A;
    color: #FFFF00;
    border: 1px solid #2E3648;
}

[data-theme="dark"] .det-act-btn.icon-only {
    background: #252840;
    color: #FFFF00;
}

[data-theme="dark"] .det-pdf-box {
    background: #1F2235;
    border-color: #2E3648;
    color: #FFFF00;
}

[data-theme="dark"] .det-pdf-title,
[data-theme="dark"] .det-pdf-sub {
    color: #FFFF00;
}

[data-theme="dark"] .det-tags-title,
[data-theme="dark"] .det-hashtag {
    color: #FFFF00;
}

/* Gov badge (sign-in) */
[data-theme="dark"] .gov-badge {
    background: #252840;
    color: #C8D8F0;
}

    [data-theme="dark"] .gov-badge:hover {
        background: var(--gov-navy);
        color: #fff;
    }

/* Container background fix */
[data-theme="dark"] .container {
    color: none;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: var(--gov-offwhite);
    color: var(--gov-black);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ── FIXED BACKGROUND (used on pages that opt in via .background-wrapper) ── */
.background-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/DIPR Building.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    transform: scale(1.08);
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* ══════════════════════════════════════════════════════════
   POPUP / MODAL
   ══════════════════════════════════════════════════════════ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: 1s;
}

    .popup-overlay.hide {
        opacity: 0;
        visibility: hidden;
    }

.popup-box {
    position: relative;
    width: fit-content;
    height: fit-content;
    max-width: min(65vw, 650px);
    max-height: 70vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: popup .5s ease;
}

    .popup-box img {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

.Noti {
    color: orangered;
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: black;
    color: white;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    z-index: 9999;
}

@keyframes popup {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Laptop (1366x768) */
@media (max-width: 1366px) {
    .popup-box {
        width: min(88vw, 850px);
        max-height: 88vh;
    }

        .popup-box img {
            max-height: 88vh;
        }
}

/* Tablet */
@media (max-width: 992px) {
    .popup-box {
        width: 92vw;
        max-height: 85vh;
    }

        .popup-box img {
            max-height: 85vh;
        }
}

/* Mobile */
@media (max-width: 576px) {
    .popup-box {
        width: 95vw;
        max-height: 80vh;
        border-radius: 12px;
    }

        .popup-box img {
            max-height: 80vh;
        }

    .close-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
        top: 8px;
        left: 8px;
    }
}

/* ══════════════════════════════════════════════════════════
   GOV TOP STRIP
   ══════════════════════════════════════════════════════════ */
.gov-top-strip {
    background: var(--gov-navy, #0a2540);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--gov-burgundy, #800020);
}

    .gov-top-strip a {
        color: #cdd8ec;
        text-decoration: none;
        margin: 0 8px;
        display: inline-flex;
        align-items: center;
    }

        .gov-top-strip a:hover {
            color: #fff;
            text-decoration: underline;
        }

.top-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.top-skip-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-strip-right {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.font-ctrl {
    display: flex;
    gap: 4px;
}

    .font-ctrl button {
        background: none;
        border: 1px solid #4a6288;
        color: #cdd8ec;
        padding: 2px 8px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 0.733rem;
        transition: all 0.2s ease-in-out;
    }

        .font-ctrl button:hover {
            background: var(--gov-blue, #007bff);
            border-color: var(--gov-blue, #007bff);
            color: #fff;
        }

.lang-select {
    background: #0a2540;
    border: 1px solid #4a6288;
    color: #cdd8ec;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.733rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .top-strip-inner {
        padding: 0 15px;
        gap: 10px;
    }

    .gov-top-strip a {
        margin: 0 4px;
    }
}

@media (max-width: 576px) {
    .gov-top-strip {
        padding: 8px 0;
    }

    .top-strip-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .top-strip-right {
        justify-content: center;
        width: 100%;
        gap: 14px;
    }

    .font-ctrl button {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .lang-select {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}

/* ══════════════════════════════════════════════════════════
   HEADER  (logo → title/Meitei-text → sign-in badge, one row)
   ══════════════════════════════════════════════════════════ */
.gov-header {
    background: var(--gov-white);
    box-shadow: 0 2px 8px rgba(10, 31, 68, .12);
    flex-shrink: 0;
    position: relative;
    /* anchors the mobile avatar badge to this box */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    row-gap: 0px;
    column-gap: 0px;
    padding: 14px 20px;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: flex-start;
    /* logo top now always matches title top */
    gap: 10px;
    min-width: 0;
}

.Kanglasha {
    width: clamp(48px, 7vw, 72px);
    height: clamp(48px, 7vw, 72px);
    flex-shrink: 0;
}

.header-text h1 {
    font-family: 'Tiro Devanagari Latin', serif;
    font-size: clamp(14px, 2.2vw, 24px);
    font-style: italic;
    color: var(--gov-navy);
    margin: 0 0 2px;
    font-weight: 700;
    line-height: 1.25;
    padding-top: 6px;
}

.header-text p {
    font-size: 12px;
    color: var(--gov-grey);
    margin: 0;
}

.meitei-mayek {
    font-family: "Noto Sans Meetei Mayek", sans-serif;
    font-size: clamp(14px, 2.2vw, 20px);
    font-weight: 500;
    font-style: normal;
    color: #ff7a00;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 0;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    /* badge sits flush with the top of the title */
    flex-shrink: 0;
}

.gov-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(12px, 1vw, 15px);
    white-space: nowrap;
    transition: .25s ease;
}

    .gov-badge:hover {
        background: #0A1F44;
        color: #fff;
        transform: translateY(-1px);
    }

    .gov-badge i {
        font-size: clamp(14px, 1.2vw, 18px);
    }

    .gov-badge span {
        color: #fff;
    }

    .gov-badge,
    .gov-badge:visited,
    .gov-badge:hover {
        text-decoration: none;
    }

        .gov-badge .sr-only-mobile {
            /* visually hidden but still announced by screen readers — only takes
       effect inside the mobile media query below; on desktop this class
       does nothing and the label stays fully visible */
        }

/* ── HEADER + NAV RESPONSIVE (single consolidated block, 768px) ──
   Previously this was split across two overlapping breakpoints
   (768px and 700px). Between 701–768px only the first block applied,
   so the logo/title were still full desktop size while the row was
   forced to nowrap — causing overlap/overflow on tablets. Merged into
   one breakpoint so every mobile/tablet rule kicks in together. */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        gap: 8px;
    }

    .header-left {
        flex: 1;
        min-width: 0;
        padding-right: 0;
        gap: 8px;
        align-items: center;
    }

    /* header-text is a flex child of header-left; without min-width:0
       a long <h1> refuses to shrink below its content width and can
       push the sign-in badge off-screen or overlap it */
    .header-text {
        min-width: 0;
    }

        .header-text h1,
        .meitei-mayek {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            ;
        }

    .Kanglasha {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .header-text h1 {
        font-size: 13.5px;
        line-height: 1.2;
        margin-bottom: 2px;
        padding-bottom: 3px;
    }

    .meitei-mayek {
        font-size: 11px;
        line-height: 1.2;
        padding-bottom: 7px;
    }

    .header-right {
        margin-left: auto;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    /* Avatar badge without text, positioned in the same row on the right */
    .gov-badge {
        position: relative;
        top: auto;
        right: auto;
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .gov-badge span {
            display: none;
        }

        .gov-badge i {
            font-size: 20px;
            margin: 0;
        }

    .nav-inner {
        flex-direction: column;
        display: none;
        width: 100%;
    }

        .nav-inner.open {
            display: flex;
            flex: 1 1 100%;
        }

        .nav-inner a.nav-item {
            border-bottom: 1px solid rgba(255, 255, 255, .1);
            padding: 12px 16px;
            width: 100%;
        }

    .nav-hamburger {
        display: flex;
        margin-right: 0;
    }

    /* Dropdowns can't rely on :hover on touch screens — turn each one
       into a tap-to-expand accordion row inside the mobile menu instead
       of a floating flyout (which was invisible/unreachable on mobile). */
    .nav-dropdown {
        width: 100%;
    }

        .nav-dropdown > a.nav-item {
            justify-content: space-between;
        }

            .nav-dropdown > a.nav-item i.bi-chevron-down {
                transition: transform .2s;
            }

        .nav-dropdown.open > a.nav-item i.bi-chevron-down {
            transform: rotate(180deg);
        }

        .nav-dropdown .dropdown-menu {
            display: none;
            position: static;
            width: 100%;
            min-width: 0;
            background: rgba(255, 255, 255, .06);
            border: none;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
        }

        .nav-dropdown.open .dropdown-menu {
            display: block;
        }

    .dropdown-menu a {
        color: #d9e4f5;
        padding: 10px 32px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

        .dropdown-menu a:hover {
            background: rgba(255, 255, 255, .08);
            color: #fff;
        }

    .hero-ctas {
        gap: 8px;
    }
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.gov-navbar {
    /* was missing entirely: .nav-inner a.nav-item uses light text
       (#c8d6ef) meant to sit on a dark bar, but with no background
       declared here the bar was transparent, so the menu text nearly
       vanished against the page. */
    background: var(--gov-navy);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    padding: 0 20px;
    justify-content: center;
    flex: 1;
}

    .nav-inner a.nav-item {
        color: #c8d6ef;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 13px 16px;
        display: flex;
        align-items: center;
        gap: 5px;
        border-bottom: 3px solid transparent;
        transition: all .2s;
        position: relative;
    }

        .nav-inner a.nav-item:hover,
        .nav-inner a.nav-item.active {
            color: #fff;
            border-bottom-color: var(--gov-burg-acc);
            background: rgba(255, 255, 255, .06);
        }

.nav-dropdown {
    position: relative;
}

    .nav-dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--gov-white);
        border: 1px solid var(--gov-border);
        border-top: 3px solid var(--gov-burgundy);
        min-width: 200px;
        z-index: 1001;
        box-shadow: 0 6px 20px rgba(10, 31, 68, .18);
        padding: 6px 0;
        border-radius: 0 0 6px 6px;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

.dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--gov-navy);
    text-decoration: none;
    font-size: 0.867rem;
    transition: background .15s;
}

    .dropdown-menu a:hover {
        background: var(--gov-blue-light);
        color: var(--gov-blue);
    }

.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.467rem;
    cursor: pointer;
    padding: 10px 16px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════ */
.gov-breadcrumb {
    background: var(--gov-blue-light);
    border-bottom: 1px solid var(--gov-border);
    padding: 8px 0;
    font-size: 0.833rem;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

    .breadcrumb-inner a {
        color: var(--gov-blue);
        text-decoration: none;
    }

        .breadcrumb-inner a:hover {
            text-decoration: underline;
        }

    .breadcrumb-inner span.sep {
        color: var(--gov-grey);
    }

    .breadcrumb-inner span.current {
        color: var(--gov-grey);
    }

/* ══════════════════════════════════════════════════════════
   HERO BANNER
   ══════════════════════════════════════════════════════════ */
.hero-banner {
    background: linear-gradient(135deg, var(--gov-navy) 0%, #0E2D6E 55%, var(--gov-burgundy) 100%);
    color: #fff;
    padding: 56px 20px 52px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 260px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-text h2 {
    font-family: 'Tiro Devanagari Latin', serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 14px;
}

.hero-text p {
    font-size: 1rem;
    opacity: .85;
    margin: 0 0 24px;
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gov-burg-acc);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 4px;
    font-size: 0.933rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}

    .btn-hero-primary:hover {
        background: #8E1D3E;
        color: #fff;
    }

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .5);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.933rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

    .btn-hero-outline:hover {
        border-color: #fff;
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

    .hero-stat .num {
        font-size: 1.867rem;
        font-weight: 700;
        color: #fff;
        display: block;
    }

    .hero-stat .lbl {
        font-size: 0.733rem;
        opacity: .65;
        letter-spacing: .4px;
        text-transform: uppercase;
    }

.hero-img {
    width: 280px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    display: none;
}

@media (min-width: 900px) {
    .hero-img {
        display: block;
    }
}

.hero-img-icon {
    font-size: 5.333px;
    opacity: .35;
}

/* ══════════════════════════════════════════════════════════
   HERO CAROUSEL
   ══════════════════════════════════════════════════════════ */
.hero-carousel {
    position: relative;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}

.hc-track {
    display: flex;
    border-bottom: 10px;
    width: 300%;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
    cursor: grab;
}

    .hc-track.dragging {
        transition: none;
        cursor: grabbing;
    }

.hc-slide {
    width: 33.3333%;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
}

    .hc-slide:not(:has(.image-right)) .hc-content {
        flex: 1 1 100%;
        padding: 70px 56px 44px;
    }

    .hc-slide:nth-child(1) {
        background: linear-gradient(135deg, #0A1F44 0%, #0E2D6E 55%, #6B1530 100%);
    }

    .hc-slide:nth-child(2) {
        background: linear-gradient(135deg, #1a0a2e 0%, #3a1060 55%, #0A1F44 100%);
    }

    .hc-slide:nth-child(3) {
        background: linear-gradient(135deg, #0a2a1a 0%, #0f5c38 55%, #1A56A0 100%);
    }

.hc-bg-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22.667rem;
    opacity: 0.05;
    color: #fff;
    pointer-events: none;
    line-height: 1;
}

.hc-ticker-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gov-burgundy);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    z-index: 5;
    overflow: hidden;
    height: 30px;
}

.hc-ticker-label {
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-weight: 800;
    font-size: 0.733rem;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    letter-spacing: .5px;
    text-transform: uppercase;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, .2);
}

.hc-ticker-text {
    flex: 1;
    overflow: hidden;
    padding: 0 16px;
}

.hc-ticker-scroll {
    white-space: nowrap;
    animation: htScroll 35s linear infinite;
    color: #ffd0d8;
    font-size: 0.7rem;
}

@keyframes htScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.hc-content {
    flex: 0 0 50%;
    position: relative;
    z-index: 2;
    padding: 70px 48px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hc-content {
        padding: 54px 22px 36px;
    }
}

.hc-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-left: 3px solid var(--gov-burg-acc);
    color: #fff;
    font-size: 0.733rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px 5px 10px;
    border-radius: 3px;
    margin-bottom: 16px;
}

    .hc-category i {
        font-size: 0.867rem;
    }

.hc-headline {
    font-family: 'Tiro Devanagari Latin', serif;
    font-size: clamp(22px, 3.5vw, 38px);
    color: #fff;
    font-weight: 700;
    line-height: 1.22;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.hc-byline {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

    .hc-byline span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .hc-byline span i {
            font-size: 0.8rem;
        }

.hc-summary {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.75;
    margin: 0 0 24px;
    max-width: 580px;
}

.hc-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hc-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--gov-navy);
    font-size: 0.867rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: all .2s;
    border: 2px solid transparent;
}

    .hc-btn-read:hover {
        background: transparent;
        color: #fff;
        border-color: rgba(255, 255, 255, .6);
    }

.hc-btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 0.867rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .2s;
}

    .hc-btn-share:hover {
        background: rgba(255, 255, 255, .18);
        color: #fff;
    }

.hc-progress {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, .12);
    z-index: 10;
}

.hc-progress-fill {
    height: 100%;
    background: var(--gov-burg-acc);
    width: 0%;
    transition: width 3s linear;
}

    .hc-progress-fill.run {
        width: 100%;
    }

.hc-dots {
    position: absolute;
    bottom: 18px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer;
    transition: all .2s;
    padding: 0;
}

    .hc-dot.active {
        background: #fff;
        width: 24px;
        border-radius: 4px;
    }

.hc-content.no-summary {
    justify-content: center;
}

    .hc-content.no-summary .hc-category,
    .hc-content.no-summary .hc-headline,
    .hc-content.no-summary .hc-ctas {
        margin-bottom: 16px;
    }

    .hc-content.no-summary .hc-ctas {
        margin-top: 10px;
    }

.hc-content.has-summary {
    justify-content: space-between;
}

    .hc-content.has-summary .hc-summary {
        flex: 1;
        display: flex;
        align-items: center;
    }

.hc-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    margin: 0 12px;
}

    .hc-arrow:hover {
        background: var(--gov-burgundy);
        border-color: var(--gov-burgundy);
    }

    .hc-arrow.left {
        left: 0;
    }

    .hc-arrow.right {
        right: 0;
    }

.hc-count {
    position: absolute;
    top: 38px;
    right: 24px;
    color: rgba(255, 255, 255, .5);
    font-size: 0.867rem;
    font-weight: 600;
    z-index: 10;
    font-variant-numeric: tabular-nums;
}

    .hc-count em {
        color: #fff;
        font-style: normal;
    }

/* ── IMAGE: right column of a carousel slide ── */
.image-right {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 10px 0;
    z-index: 1;
}

    .image-right .img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
        max-width: 100%;
    }

@media (max-width: 900px) and (min-width: 769px) {
    .image-right {
        flex: 0 0 40%;
    }

    .hc-content {
        flex: 0 0 60%;
        padding: 60px 32px 36px 28px;
    }
}

@media (max-width: 768px) {
    .hc-slide {
        flex-direction: column;
        min-height: 560px;
        padding-top: 30px;
    }

    .image-right {
        flex: 0 0 auto;
        width: 100%;
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .image-right .img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
        }

    .hc-content {
        flex: 1 1 auto;
        padding: 20px 22px 48px;
        justify-content: center;
    }

    .hc-slide:not(:has(.image-right)) .hc-content {
        padding: 50px 22px 48px;
    }
}

@media (max-width: 480px) {
    .hc-slide {
        min-height: 500px;
    }

    .image-right {
        height: 170px;
    }
}

/* ── HERO SHARE MENU ── */
.hc-share-wrap {
    position: relative;
    display: inline-block;
}

.hc-share-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 20;
}

.hc-share-wrap.open .hc-share-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hc-share-menu button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f0f2f8;
    color: var(--gov-navy, #0a2540);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: background .18s, color .18s;
}

    .hc-share-menu button:hover {
        background: var(--gov-burgundy, #800020);
        color: #fff;
    }

.hc-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--gov-navy, #0a2540);
    color: #fff;
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(10, 31, 68, .22);
}

    .hc-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .hc-toast i {
        color: #4cde8e;
    }

/* ══════════════════════════════════════════════════════════
   SECTION HEADINGS
   ══════════════════════════════════════════════════════════ */
.sec-title {
    font-family: 'Tiro Devanagari Latin', serif;
    font-size: 1.333rem;
    color: var(--gov-navy);
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gov-burgundy);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sec-title i {
        color: var(--gov-burgundy);
    }

/* ══════════════════════════════════════════════════════════
   SERVICE CARDS (grid variant)
   ══════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.svc-card {
    background: var(--gov-white);
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .svc-card:hover {
        border-color: var(--gov-blue-mid);
        box-shadow: 0 4px 16px rgba(33, 118, 199, .15);
        transform: translateY(-2px);
    }

.svc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.467rem;
}

    .svc-icon.blue {
        background: var(--gov-blue-light);
        color: var(--gov-blue);
    }

    .svc-icon.burg {
        background: #f7e8ed;
        color: var(--gov-burgundy);
    }

    .svc-icon.navy {
        background: #e8edf5;
        color: var(--gov-navy);
    }

.svc-label {
    font-size: 0.867rem;
    font-weight: 600;
    color: var(--gov-navy);
}

.svc-desc {
    font-size: 0.7667rem;
    color: var(--gov-grey);
}

/* ══════════════════════════════════════════════════════════
   SERVICES SCROLL (horizontal variant)
   ══════════════════════════════════════════════════════════ */
.services-scroll-wrap {
    position: relative;
}

.services-scroll-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gov-border) transparent;
}

    .services-scroll-track::-webkit-scrollbar {
        height: 5px;
    }

    .services-scroll-track::-webkit-scrollbar-thumb {
        background: var(--gov-border);
        border-radius: 4px;
    }

.svc-scroll-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--gov-white);
    border: 1px solid var(--gov-border);
    border-radius: 10px;
    padding: 24px 18px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all .25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(10, 31, 68, .05);
}

    .svc-scroll-card:hover {
        border-color: var(--gov-blue-mid);
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(33, 118, 199, .18);
    }

.svc-scroll-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.733rem;
}

    .svc-scroll-icon.c1 {
        background: #EBF3FB;
        color: var(--gov-blue);
    }

    .svc-scroll-icon.c2 {
        background: #f7e8ed;
        color: var(--gov-burgundy);
    }

    .svc-scroll-icon.c3 {
        background: #e8edf5;
        color: var(--gov-navy);
    }

    .svc-scroll-icon.c4 {
        background: #f0faf0;
        color: #2e7d32;
    }

    .svc-scroll-icon.c5 {
        background: #fff8e1;
        color: #b87800;
    }

.svc-scroll-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gov-navy);
}

.svc-scroll-desc {
    font-size: 0.767rem;
    color: var(--gov-grey);
    line-height: 1.4;
}

.scroll-arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.scroll-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--gov-border);
    background: var(--gov-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gov-navy);
    font-size: 1.067rem;
    transition: all .2s;
}

    .scroll-arrow:hover {
        background: var(--gov-navy);
        color: #fff;
        border-color: var(--gov-navy);
    }



/* ══════════════════════════════════════════════════════════
   NEWS LIST
   ══════════════════════════════════════════════════════════ */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

    .news-list li {
        border-bottom: 1px solid var(--gov-border);
        padding: 14px 0;
        display: flex;
        gap: 14px;
        align-items: flex-start;
    }

        .news-list li:last-child {
            border-bottom: none;
        }

.news-badge {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 6px;
    background: var(--gov-blue-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gov-blue);
    font-weight: 700;
}

    .news-badge .day {
        font-size: 1.2rem;
        line-height: 1;
    }

    .news-badge .mon {
        font-size: 0.6667rem;
        text-transform: uppercase;
    }

.news-body a {
    color: var(--gov-navy);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

    .news-body a:hover {
        color: var(--gov-blue);
        text-decoration: underline;
    }

.news-body p {
    font-size: 0.8rem;
    color: var(--gov-grey);
    margin: 3px 0 0;
}

.new-tag {
    display: inline-block;
    font-size: 0.6667rem;
    font-weight: 700;
    background: var(--gov-burg-acc);
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════
   ACCORDION
   ══════════════════════════════════════════════════════════ */
.gov-accordion {
    margin-bottom: 28px;
}

.acc-item {
    border: 1px solid var(--gov-border);
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
}

.acc-trigger {
    width: 100%;
    background: var(--gov-white);
    border: none;
    padding: 14px 18px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.933rem;
    font-weight: 600;
    color: var(--gov-navy);
    transition: background .15s;
}

    .acc-trigger:hover {
        background: var(--gov-blue-light);
    }

    .acc-trigger.open {
        background: var(--gov-blue-light);
        color: var(--gov-blue);
    }

    .acc-trigger i {
        transition: transform .25s;
    }

    .acc-trigger.open i {
        transform: rotate(180deg);
    }

.acc-body {
    display: none;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: #444;
    border-top: 1px solid var(--gov-border);
    background: #fafcff;
}

    .acc-body.open {
        display: block;
    }

/* ══════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════ */
.sidebar-card {
    background: var(--gov-white);
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 22px;
}

.sidebar-header {
    background: var(--gov-navy);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.933rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sidebar-header.burg {
        background: var(--gov-burgundy);
    }

.sidebar-body {
    padding: 14px 16px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-links li {
        padding: 9px 0;
        border-bottom: 1px solid var(--gov-border);
        font-size: 0.867rem;
    }

        .sidebar-links li:last-child {
            border-bottom: none;
        }

    .sidebar-links a {
        color: var(--gov-blue);
        text-decoration: none;
    }

        .sidebar-links a:hover {
            text-decoration: underline;
            color: var(--gov-navy);
        }

    .sidebar-links li i {
        margin-right: 6px;
        color: var(--gov-burgundy);
        font-size: 0.8rem;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gov-border);
    font-size: 0.867rem;
}

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-item i {
        color: var(--gov-blue);
        margin-top: 2px;
    }

.contact-label {
    font-weight: 600;
    color: var(--gov-navy);
    font-size: 0.8rem;
}

.event-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.event-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gov-border);
    align-items: flex-start;
}

    .event-item:last-child {
        border-bottom: none;
    }

.event-date {
    background: var(--gov-burgundy);
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    min-width: 44px;
    font-weight: 700;
    font-size: 0.867rem;
    line-height: 1.2;
}

    .event-date span {
        display: block;
        font-size: 0.667rem;
        font-weight: 400;
    }

.event-title {
    font-size: 0.833rem;
    font-weight: 600;
    color: var(--gov-navy);
}

.event-meta {
    font-size: 0.733rem;
    color: var(--gov-grey);
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   STEPPER
   ══════════════════════════════════════════════════════════ */
.stepper {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    position: relative;
}

    .stepper::before {
        content: '';
        position: absolute;
        top: 22px;
        left: 42px;
        right: 42px;
        height: 2px;
        background: var(--gov-border);
        z-index: 0;
    }

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.067rem;
    font-weight: 700;
    background: var(--gov-border);
    color: var(--gov-grey);
}

.step.done .step-circle {
    background: var(--gov-blue);
    color: #fff;
}

.step.active .step-circle {
    background: var(--gov-burgundy);
    color: #fff;
    box-shadow: 0 0 0 4px #f7e8ed;
}

.step-label {
    font-size: 0.767rem;
    font-weight: 600;
    color: var(--gov-grey);
}

.step.done .step-label {
    color: var(--gov-blue);
}

.step.active .step-label {
    color: var(--gov-burgundy);
}

/* ══════════════════════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════════════════════ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

@media (max-width: 700px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-box {
    background: var(--gov-white);
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    border-top: 3px solid var(--gov-blue);
}

    .stat-box.burg {
        border-top-color: var(--gov-burgundy);
    }

    .stat-box.navy {
        border-top-color: var(--gov-navy);
    }

    .stat-box .s-num {
        font-size: 1.733rem;
        font-weight: 700;
        color: var(--gov-navy);
    }

    .stat-box .s-label {
        font-size: 0.8rem;
        color: var(--gov-grey);
        margin-top: 4px;
    }

/* ══════════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════════ */
.gov-tabs {
    margin-bottom: 28px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--gov-border);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gov-grey);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
}

    .tab-btn.active {
        color: var(--gov-blue);
        border-bottom-color: var(--gov-blue);
    }

    .tab-btn:hover {
        color: var(--gov-navy);
    }

.tab-panel {
    display: none;
    padding: 20px 0 0;
}

    .tab-panel.active {
        display: block;
    }

    .tab-panel table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }

    .tab-panel th {
        background: var(--gov-navy);
        color: #fff;
        padding: 10px 14px;
        text-align: left;
        font-weight: 600;
        font-size: 0.867rem;
    }

    .tab-panel tr:nth-child(even) td {
        background: var(--gov-blue-light);
    }

    .tab-panel td {
        padding: 10px 14px;
        border-bottom: 1px solid var(--gov-border);
    }

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.733rem;
    font-weight: 600;
}

    .status-badge.open {
        background: #e8f5e9;
        color: #2e7d32;
    }

    .status-badge.closed {
        background: #fce4ec;
        color: var(--gov-burgundy);
    }

    .status-badge.pending {
        background: #fff8e1;
        color: #b87800;
    }



/* ══════════════════════════════════════════════════════════
   NOTIFICATIONS
   ══════════════════════════════════════════════════════════ */
.notif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media (max-width: 768px) {
    .notif-grid {
        grid-template-columns: 1fr;
    }
}

.notif-col {
    background: var(--gov-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10, 31, 68, .07);
}

.notif-col-head {
    background: var(--gov-navy);
    color: #fff;
    padding: 14px 20px;
    font-size: 0.933rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .notif-col-head.burg {
        background: var(--gov-burgundy);
    }

.notif-ticker {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.notif-ticker-inner {
    display: flex;
    flex-direction: column;
    animation: tickerScroll 50s linear infinite;
}

.notif-ticker:hover .notif-ticker-inner {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.notif-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gov-border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.867rem;
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gov-blue);
    flex-shrink: 0;
    margin-top: 6px;
}

    .notif-dot.red {
        background: var(--gov-burgundy);
    }

    .notif-dot.gold {
        background: #c89000;
    }

.notif-item-text {
    line-height: 1.5;
    color: #333;
}

    .notif-item-text .tag {
        display: inline-block;
        font-size: 0.667rem;
        font-weight: 700;
        padding: 1px 7px;
        border-radius: 10px;
        margin-left: 6px;
        vertical-align: middle;
    }

.tag.new-t {
    background: var(--gov-burg-acc);
    color: #fff;
}

.tag.imp-t {
    background: #e6960a;
    color: #fff;
}

.tag.ten-t {
    background: var(--gov-navy);
    color: #fff;
}

.notif-date {
    font-size: 0.7rem;
    color: var(--gov-grey);
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   GALLERY + LIGHTBOX
   ══════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gallery-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--gov-navy), var(--gov-blue-mid));
    box-shadow: 0 4px 14px rgba(10, 31, 68, .12);
    transition: transform .2s;
}

    .gallery-card:hover {
        transform: scale(1.03);
    }

        .gallery-card:hover .gallery-overlay {
            opacity: 1;
        }

.gallery-card-icon {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 2.4rem;
    color: rgba(255, 255, 255, .3);
}

    .gallery-card-icon span {
        font-size: 0.733rem;
        color: rgba(255, 255, 255, .5);
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.gallery-card.g2 {
    background: linear-gradient(135deg, var(--gov-burgundy), #3a0a1a);
}

.gallery-card.g3 {
    background: linear-gradient(135deg, #0a3a2a, #0f6b44);
}

.gallery-card.g4 {
    background: linear-gradient(135deg, #2a1a4a, #5a2a8a);
}

.gallery-card.g5 {
    background: linear-gradient(135deg, #1a3a0a, #4a7a1a);
}

.gallery-card.g6 {
    background: linear-gradient(135deg, #3a2a0a, #8a6a1a);
}

.gallery-card.g7 {
    background: linear-gradient(135deg, #0a2a3a, #1a6a8a);
}

.gallery-card.g8 {
    background: linear-gradient(135deg, #3a0a2a, #8a1a5a);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    color: #fff;
    font-size: 1.867rem;
    pointer-events: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

    .gallery-lightbox.show {
        opacity: 1;
        visibility: visible;
    }

    .gallery-lightbox img {
        max-width: 90vw;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 20px;
    backdrop-filter: blur(8px);
}

    .lightbox-close:hover {
        background: rgba(255, 255, 255, .25);
    }

.image-view-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding-bottom: 10px;
}

    .image-view-more-wrap .about-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background-color: #1A56A0;
        color: #ffffff !important;
        text-decoration: none;
        padding: 12px 28px;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.3px;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(26, 54, 93, 0.25);
        transition: all 0.25s ease-in-out;
    }

        .image-view-more-wrap .about-link:hover {
            background-color: #1A56A0;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(26, 54, 93, 0.25);
        }

        .image-view-more-wrap .about-link:active {
            transform: translateY(1px);
            box-shadow: 0 3px 10px rgba(26, 54, 93, 0.25);
        }

/* ══════════════════════════════════════════════════════════
   YOUTUBE SECTION — two videos side by side, "View More"
   button centred below both.
   ══════════════════════════════════════════════════════════ */
.media-split-dual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.media-videos-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

@media (max-width: 768px) {
    .media-videos-row {
        grid-template-columns: 1fr;
    }
}

.yt-embed-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(10, 31, 68, .2);
    aspect-ratio: 16/9;
    background: #000;
}

    .yt-embed-wrap iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

.yt-view-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
}

    .yt-view-more-wrap .about-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background-color: #1A56A0;
        color: #ffffff !important;
        text-decoration: none;
        padding: 14px 32px;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.3px;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
        transition: all 0.25s ease-in-out;
    }

        .yt-view-more-wrap .about-link:hover {
            background-color: #1A56A0;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
        }

        .yt-view-more-wrap .about-link:active {
            transform: translateY(1px);
            box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
        }

/* ══════════════════════════════════════════════════════════
   SOCIAL MEDIA SECTION — X | Instagram | Facebook (stacked)
   ══════════════════════════════════════════════════════════ */
.social-section {
    padding: 52px 20px;
    border-top: 1px solid var(--gov-border);
}

    .social-section .section-inner {
        max-width: 1200px;
        margin: 0 auto;
    }

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .social-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

.social-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(10, 31, 68, .10);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    background: var(--gov-white);
}

    .social-block:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 36px rgba(10, 31, 68, .18);
    }

.social-block-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .3px;
}

    .social-block-head i {
        font-size: 1.467rem;
    }

.social-block.x-block .social-block-head {
    background: #000000;
}

.social-block.insta-block .social-block-head {
    background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
}

.social-block.fb-block .social-block-head {
    background: #1877F2;
}

.social-block-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .social-block-body p {
        font-size: 0.867rem;
        color: var(--gov-grey);
        margin: 0;
        line-height: 1.6;
    }

.social-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 0.867rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
    align-self: flex-start;
    margin-top: auto;
}

    .social-visit-btn:hover {
        opacity: .85;
        color: #fff;
    }

.x-block .social-visit-btn {
    background: #000;
}

.insta-block .social-visit-btn {
    background: #c13584;
}

.fb-block .social-visit-btn {
    background: #1877F2;
}

.social-block.fb-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

    .social-block.fb-block:hover {
        transform: none;
        box-shadow: none;
    }

.fb-sub {
    background: var(--gov-white);
    border: 1px solid var(--gov-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(10, 31, 68, .10);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    flex: 1;
}

    .fb-sub:first-child {
        margin-bottom: 24px;
    }

    .fb-sub:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 36px rgba(10, 31, 68, .18);
    }

    .fb-sub .social-block-head {
        background: #1877F2;
    }

    .fb-sub .social-block-body {
        padding: 16px 20px;
    }


/* ══════════════════════════════════════════════════════════
   NEW SECTIONS — shared wrapper + centered titles
   ══════════════════════════════════════════════════════════ */
.page-section {
    padding: 60px 20px;
}

    .page-section.dark {
        background: var(--gov-navy);
    }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.center-title {
    text-align: center;
    margin-bottom: 40px;
}

    .center-title .eyebrow {
        display: inline-block;
        font-size: 0.733rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: orangered;
        border-bottom: 2px solid orangered;
        padding-bottom: 4px;
        margin-bottom: 10px;
    }

    .center-title h2 {
        font-family: 'Tiro Devanagari Latin', serif;
        font-size: clamp(22px, 3vw, 32px);
        color: burlywood;
        margin: 0 0 10px;
    }

    .center-title.on-dark h2 {
        color: #fff;
    }

    .center-title.on-dark .eyebrow {
        color: #e8a0b4;
        border-color: var(--gov-burg-acc);
    }

    .center-title p {
        font-size: 1rem;
        color: whitesmoke;
        max-width: 600px;
        margin: 0 auto;
    }

    .center-title.on-dark p {
        color: #9ab0cc;
    }

.title-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

    .title-rule span {
        height: 2px;
        width: 60px;
        background: orangered;
        border-radius: 2px;
    }

    .title-rule i {
        color: orangered;
        font-size: 0.933rem;
    }

/* ══════════════════════════════════════════════════════════
   NEWS IMAGE OVERLAY TEXT
   ══════════════════════════════════════════════════════════ */
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.news-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    text-align: right;
    color: white;
    max-width: 250px;
    z-index: 10;
}

.soft-blink {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
        opacity: 0.7;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
        opacity: 0.7;
    }
}

.news-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: left;
    z-index: 10;
}

    .news-description p {
        margin: 0;
        font-size: 0.933rem;
        line-height: 1.4;
        max-width: 70%;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

.news-overlay .badge {
    background-color: #ff0000;
    color: white;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 5px;
}

.read-more-btn {
    text-decoration: none;
    color: red;
    background: black;
}

@media (max-width: 768px) {
    .news-overlay {
        top: 10px;
        right: 10px;
        max-width: 180px;
    }

        .news-overlay p {
            font-size: 0.8rem;
            line-height: 1.3;
            margin: 0;
        }

        .news-overlay .badge {
            font-size: 0.7rem;
            padding: 3px 6px;
        }

    .news-description {
        padding: 15px;
    }

        .news-description p {
            max-width: 85%;
            font-size: 0.8rem;
            line-height: 1.35;
        }
}

@media (max-width: 576px) {
    .news-overlay {
        top: 8px;
        right: 8px;
        max-width: 140px;
    }

        .news-overlay p {
            font-size: 0.7rem;
            line-height: 1.2;
        }

        .news-overlay .badge {
            font-size: 0.6rem;
            padding: 2px 5px;
            margin-bottom: 3px;
        }

    .news-description {
        padding: 10px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }

        .news-description p {
            max-width: 100%;
            font-size: 0.7rem;
            line-height: 1.3;
        }
}

/* ══════════════════════════════════════════════════════════
   LOADING SCREEN
   ══════════════════════════════════════════════════════════ */
#site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0A1F44;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #site-loader.hidden {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease, visibility 0.8s ease;
    }

#site-tint {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: #0A1F44;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

    #site-tint.clear {
        opacity: 0;
        visibility: hidden;
    }

.loader-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.loader-logo {
    width: 90px;
    margin: 0 auto 10px;
    display: block;
}

.loader-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.loader-scroll-track-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 28px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.loader-scroll-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: loaderScroll 12s linear infinite;
}

    .loader-scroll-track img {
        height: 80px;
        width: 130px;
        object-fit: cover;
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.12);
        flex-shrink: 0;
    }

@keyframes loaderScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.loader-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

.loader-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.733rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.gov-footer {
    background: rgb(34, 183, 233);
    color: var(--gov-black);
    margin-top: 40px;
}

.footer-top {
    border-bottom: 1px solid black;
    padding: 36px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

@media (max-width: 780px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand h3 {
    font-family: 'Tiro Devanagari Latin', serif;
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.footer-brand p {
    font-size: 0.867rem;
    opacity: .7;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 1.05rem;
        color: #FFFFFF;
        transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

        .footer-social a:hover {
            transform: translateY(-3px) scale(1.08);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
            text-decoration: none;
            opacity: 0.92;
        }

        /* ── OFFICIAL SPECIFIC BRAND COLORED LOGOS ── */

        /* X (Twitter) — Official Black */
        .footer-social a.social-x,
        .footer-social a:has(.bi-twitter-x) {
            background: #000000 !important;
            color: #FFFFFF !important;
            border: 1px solid rgba(255, 255, 255, 0.25);
        }

        /* Facebook — Official Blue #1877F2 */
        .footer-social a.social-fb,
        .footer-social a:has(.bi-facebook) {
            background: #1877F2 !important;
            color: #FFFFFF !important;
        }

        /* YouTube — Official Red #FF0000 */
        .footer-social a.social-yt,
        .footer-social a:has(.bi-youtube) {
            background: #FF0000 !important;
            color: #FFFFFF !important;
        }

        /* Instagram — Official Sunset Gradient */
        .footer-social a.social-insta,
        .footer-social a:has(.bi-instagram) {
            background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
            color: #FFFFFF !important;
        }

.footer-col h4 {
    color: var(--gov-black);
    font-size: 0.933rem;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gov-burgundy);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 8px;
    }

        .footer-col ul li a {
            color: var(--gov-black);
            text-decoration: none;
            font-size: 0.867rem;
            transition: color .2s;
        }

            .footer-col ul li a:hover {
                color: #fff;
            }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 0.8rem;
    opacity: .65;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .footer-bottom a {
        color: var(--gov-black);
        text-decoration: none;
        margin: 0 4px;
    }

        .footer-bottom a:hover {
            color: #fff;
            text-decoration: underline;
        }

/* ══ FOOTER LOGO — white circle backdrop for visibility, centered ══ */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
    margin: 0 auto 12px;
    /* ← centers horizontally, keeps bottom spacing */
}

    .footer-logo-wrap .Kanglasha {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* ══ FOOTER LINKS — underline on hover ══ */
.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social a:hover {
    text-decoration: none;
    /* social icons stay as circular buttons, no underline */
}

/* ==========================================================
       DISTRICT WISE NEWS — public homepage section
       Sits just above the "Our Services" section.
    ========================================================== */
.district-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}

.district-pill-item {
    min-width: 110px;
    padding: 14px 22px;
    border-radius: 50px;
    background: var(--gov-white);
    border: 1.5px solid var(--gov-navy);
    color: var(--gov-navy);
    font-size: 0.867rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(10, 31, 68, .05);
}

    .district-pill-item:hover {
        background: var(--gov-navy);
        color: #fff;
        border-color: var(--gov-navy);
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(10, 31, 68, .22);
    }

@media (max-width:700px) {
    .district-pill-item {
        min-width: 96px;
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .district-pill-row {
        gap: 10px;
    }
}

/* ── NAVBAR ── */
.gov-navbar {
    background: black;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.12); */

    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    padding: 0 20px;
    justify-content: center;
}

    .nav-inner a.nav-item {
        color: White;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 13px 16px;
        display: flex;
        align-items: center;
        gap: 5px;
        border-bottom: 3px solid transparent;
        transition: all .2s;
        position: relative;
    }

        .nav-inner a.nav-item:hover,
        .nav-inner a.nav-item.active {
            color: #fff;
            border-bottom-color: var(--gov-burg-acc);
            background: rgba(255, 255, 255, .06);
        }

        .nav-inner a.nav-item.active {
            color: white;
        }

.nav-dropdown {
    position: relative;
}

    .nav-dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--gov-white);
        border: 1px solid var(--gov-border);
        border-top: 3px solid var(--gov-burgundy);
        min-width: 200px;
        z-index: 1001;
        box-shadow: 0 6px 20px rgba(10, 31, 68, .18);
        padding: 6px 0;
        border-radius: 0 0 6px 6px;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

.dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--gov-navy);
    text-decoration: none;
    font-size: 0.867rem;
    transition: background .15s;
}

    .dropdown-menu a:hover {
        background: var(--gov-blue-light);
        color: var(--gov-blue);
    }

.nav-hamburger {
    display: none;
    margin-left: auto;
    margin-right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.467rem;
    cursor: pointer;
    padding: 10px 0;
}

@media (max-width: 700px) {
    .nav-inner {
        flex-direction: column;
        display: none;
    }

        .nav-inner.open {
            display: flex;
        }

        .nav-inner a.nav-item {
            border-bottom: 1px solid rgba(255, 255, 255, .1);
            padding: 12px 16px;
        }

    .nav-hamburger {
        display: block;
        margin-right: 10px;
    }
}

/* Home nav centering css */
.nav-home .nav-placeholder {
    width: 16px;
    /* same width as the dropdown arrow */
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   UNIVERSAL DATE FIELD CONTAINER WITH CALENDAR ICON
   ══════════════════════════════════════════════════════════ */
.date-field-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

    .date-field-container .line-input,
    .date-field-container input[type="text"],
    .date-field-container input[type="date"] {
        padding-right: 36px !important;
        width: 100%;
    }

    .date-field-container .calendar-icon-btn {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #2563eb;
        font-size: 16px;
        cursor: pointer;
        padding: 4px 6px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 5;
    }

        .date-field-container .calendar-icon-btn:hover {
            background: rgba(37, 99, 235, 0.12);
            color: #1d4ed8;
            transform: translateY(-50%) scale(1.1);
        }

.date-picker-hidden-native {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
    visibility: hidden;
    right: 0;
    top: 0;
}
