:root {
    --navy: #00CC99;
    --navy-deep: #0b916f;
    --navy-darkest: #073C2C;
    --gold: #C9972C;
    --gold-light: #bd3e2d;
    --paper: #F7F4EC;
    --paper-line: #E4DCC8;
    --brick: #A63D30;
    --forest: #2F5233;
    --ink: #232323;
    --ink-soft: #5B5750;

--font-display: "Fraunces", "Noto Serif Devanagari", Georgia, serif;
--font-body: "Inter", "Noto Sans Devanagari", -apple-system, sans-serif;
    --font-mono: "Space Mono", monospace;
}
* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
}

a { color: inherit; }


body.dark-theme {
    background: #1a1a1a;
    color: #ffffff;
}

body.dark-theme main,
body.dark-theme section,
body.dark-theme .content,
body.dark-theme .page-content {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

body.dark-theme p,
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme li {
    color: #ffffff !important;
}


/* =========================================
   TOP UTILITY BAR
========================================= */

.topbar {
    width: 100%;
    min-height: 48px;
    background: #00CC99;
    border-top: 3px solid #e7e1e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    color: #fff;
    position: relative;
    z-index: 2000;
    gap: 15px;
}

/* Left & Right */
.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
}

/* Left Side */
.topbar__left {
    gap: 12px;
    flex-shrink: 0;
}

/* Right Side */
.topbar__right {
    margin-left: auto;
    gap: 6px;
}

/* Common Links & Buttons */
.topbar a,
.topbar button {
    color: #fff;
    text-decoration: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

/* =========================================
   LEFT LINKS
========================================= */

.topbar__left a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    white-space: nowrap;
    padding: 8px 2px;
}

.topbar__left span {
    color: rgba(255, 255, 255, 0.75);
}

.topbar__left a:hover {
    text-decoration: underline;
}


/* =========================================
   ICON BUTTONS
========================================= */

.topbar-icon {
    width: 44px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 22px;
    transition: 0.2s ease;
}

.topbar-icon i {
    font-size: 22px;
    line-height: 1;
}

.topbar-icon:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    transform: translateY(-1px);
}


/* =========================================
   FONT SIZE BUTTONS
========================================= */

.font-btn {
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #174d40 !important;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.font-btn:hover {
    transform: scale(1.08);
    background: #f2f2f2 !important;
}


/* =========================================
   THEME BUTTONS
========================================= */

.theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.theme-btn:hover {
    transform: scale(1.08);
}

.theme-btn--light {
    background: #2c8a44 !important;
    color: #fff !important;
}

.theme-btn--dark {
    background: #111 !important;
    color: #fff !important;
}


/* =========================================
   HINDI VERSION BUTTON
========================================= */

.topbar-hindi {
    height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.16) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.20) !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s ease;
}

.topbar-hindi:hover {
    background: rgba(0, 0, 0, 0.25) !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .topbar {
        min-height: 44px;
        padding: 0 12px;
        gap: 8px;
    }

    .topbar__right {
        gap: 3px;
    }

    .topbar-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .topbar-icon i {
        font-size: 18px;
    }

    .font-btn {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .theme-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .topbar-hindi {
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }
}


/* =========================================
   MOBILE
   2 ROW RESPONSIVE - NO HORIZONTAL SCROLL
========================================= */

@media (max-width: 767px) {

    .topbar {
        min-height: auto;
        padding: 6px 8px;
        flex-wrap: wrap;
        gap: 5px;
    }

    /* Left row */
    .topbar__left {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .topbar__left a {
        font-size: 11px;
    }

    /* Right row */
    .topbar__right {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .topbar-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .topbar-icon i {
        font-size: 17px;
    }

    .font-btn {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }

    .theme-btn {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .topbar-hindi {
        height: 34px;
        padding: 0 10px;
        font-size: 11px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .topbar {
        padding: 5px;
    }

    .topbar__right {
        gap: 2px;
    }

    .topbar-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .topbar-icon i {
        font-size: 15px;
    }

    .font-btn {
        width: 25px;
        height: 25px;
        font-size: 8px;
    }

    .theme-btn {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .topbar-hindi {
        height: 30px;
        padding: 0 7px;
        font-size: 10px;
    }
}


/* =========================================
   EXTRA SMALL MOBILE
========================================= */
@media (max-width: 480px) {

    .topbar {
        min-height: 34px;
        padding: 2px 3px;
    }

    .topbar__left {
        gap: 2px;
        margin-right: 2px;
    }

    .topbar__left a {
        font-size: 7px;
    }

    .topbar__left span {
        font-size: 7px;
    }

    .topbar__right .topbar-icon,
    .topbar__right .topbar-search {
        width: 17px;
        min-width: 17px;
        height: 25px;
        font-size: 9px;
    }

    .topbar__right .font-btn {
        width: 16px;
        min-width: 16px;
        height: 16px;
        font-size: 6px;
        margin: 0;
    }

    .topbar__right .theme-btn {
        width: 16px;
        min-width: 16px;
        height: 16px;
        font-size: 6px;
        margin: 0;
    }

    .topbar__right .topbar-hindi {
        height: 23px;
        padding: 2px 3px;
        margin-left: 1px;
        font-size: 7px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */
@media (max-width: 360px) {

    .topbar__left {
        display: none;
    }

    .topbar__right {
        width: 100%;
        justify-content: space-around;
    }
}


/* Topbar */
/* =========================================
   MASTHEAD
========================================= */

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 0.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    box-sizing: border-box;
}

/* =========================================
   LOGO
========================================= */

.seal {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.seal img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}


/* =========================================
   TITLE
========================================= */

.masthead__title {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.masthead__title h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1c3d5a;
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
}

.masthead__title h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1c3d5a;
    margin: 4px 0 0;
    line-height: 1.2;
    word-break: break-word;
}


/* =========================================
   RIGHT BANNER IMAGE
========================================= */

.masthead__banner {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
    pointer-events: none;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 30%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 30%
    );
}

.masthead__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.seal-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .masthead__inner {
        padding: 0.6rem 1rem;
        min-height: 90px;
        gap: 0.8rem;
    }

    .seal img {
        width: 65px;
        height: 65px;
    }

    .masthead__title h1 {
        font-size: 1.5rem;
    }

    .masthead__title h2 {
        font-size: 1.1rem;
    }

    .masthead__banner {
        display: block;
        width: 40%;
        opacity: 0.75;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .masthead__inner {
        padding: 10px 12px;
        gap: 10px;
        min-height: 75px;
        width: 100%;
    }

    .seal img {
        width: 55px;
        height: 55px;
    }

    .masthead__title {
        flex: 1;
        min-width: 0;
        position: relative;
        z-index: 2;
    }

    .masthead__title h1 {
        font-size: 1.15rem;
        line-height: 1.25;
    }

    .masthead__title h2 {
        font-size: 0.85rem;
        line-height: 1.25;
        margin-top: 2px;
    }

    /* Mobile me banner show hoga */
    .masthead__banner {
        display: block;
        width: 45%;
        height: 100%;
        right: 0;
        top: 0;
        opacity: 0.55;
        z-index: 1;

        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 45%
        );

        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 45%
        );
    }

    .masthead__banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .masthead__inner {
        padding: 8px 10px;
        gap: 8px;
        min-height: 65px;
    }

    .seal img {
        width: 48px;
        height: 48px;
    }

    .masthead__title h1 {
        font-size: 1rem;
    }

    .masthead__title h2 {
        font-size: 0.78rem;
    }

    .masthead__banner {
        display: block;
        width: 48%;
        opacity: 0.45;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .masthead__inner {
        padding: 7px 8px;
        gap: 7px;
        min-height: 60px;
    }

    .seal img {
        width: 42px;
        height: 42px;
    }

    .masthead__title h1 {
        font-size: 0.9rem;
    }

    .masthead__title h2 {
        font-size: 0.7rem;
    }

    .masthead__banner {
        display: block;
        width: 50%;
        opacity: 0.4;
    }
}
/* Nav */
/* =====================
   NAVBAR COMMON
===================== */

.navbar {
    background: #6E5B1E;
    border-top: 4px solid var(--navy);
    position: relative;
    z-index: 1000;
}

.nav-container {
    width: 100%;
}

.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar a {
    display: block;
    padding: 11px 16px;
    color: #F5F1DE;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.navbar a:hover,
.navbar a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}


/* =====================
   DESKTOP MAIN MENU
===================== */

#navbarMenu {
    display: flex;
    padding: 0 24px;
    gap: 10px;
}

#navbarMenu > li {
    position: relative;
}

.navbar li.has-dropdown {
    position: relative;
}


/* =====================
   DESKTOP DROPDOWN
===================== */

.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    min-width: 220px;
    padding: 0;
    margin: 0;
    background: #6E5B1E;
    list-style: none;
    z-index: 9999;
}

/* First level dropdown */
.navbar > .nav-container > #navbarMenu > li.has-dropdown:hover > .dropdown-menu {
    display: block;
}

/* Nested dropdown parent */
.navbar .dropdown-menu li.has-dropdown {
    position: relative;
}

/* Nested dropdown */
.navbar .dropdown-menu li.has-dropdown > .dropdown-menu {
    top: 0;
    left: 100%;
}

/* Nested dropdown hover */
.navbar .dropdown-menu li.has-dropdown:hover > .dropdown-menu {
    display: block;
}


/* =====================
   HAMBURGER BUTTON
===================== */

.navbar-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    padding: 8px 20px;
    cursor: pointer;
}


/* =====================
   MOBILE + TABLET
===================== */

@media (max-width: 991px) {

    /* Hamburger */
    .navbar-toggle {
        display: block;
        margin-left: auto;
    }

    /* Main Menu */
    #navbarMenu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 0;
    }

    #navbarMenu.show {
        display: flex;
    }

    #navbarMenu > li {
        width: 100%;
    }

    /* All menu items */
    .navbar li.has-dropdown {
        position: static;
        width: 100%;
    }

    /* Main menu links */
    .navbar a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 20px;
        white-space: normal;
        box-sizing: border-box;
    }


    /* =====================
       MOBILE SUBMENU
    ===================== */

    /* Hide all submenus */
    .navbar #navbarMenu .dropdown-menu {
        display: none !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 0 15px !important;
        list-style: none !important;
        background: rgba(0, 0, 0, 0.12) !important;
        box-shadow: none !important;
        box-sizing: border-box;
    }

    /* Open clicked submenu */
    .navbar #navbarMenu li.has-dropdown.open > .dropdown-menu {
        display: block !important;
    }

    /* Nested submenu */
    .navbar #navbarMenu .dropdown-menu .dropdown-menu {
        padding-left: 15px !important;
        background: rgba(0, 0, 0, 0.08) !important;
    }


    /* =====================
       ARROW
    ===================== */

    .navbar .mobile-arrow {
        display: inline-block;
        flex-shrink: 0;
        font-size: 20px;
        line-height: 1;
        margin-left: 15px;
        transition: transform 0.2s ease;
    }

    /* Arrow rotate when open */
    .navbar li.has-dropdown.open > a .mobile-arrow {
        transform: rotate(90deg);
    }


    /* Mobile hover rules disable */
    .navbar li.has-dropdown:hover > .dropdown-menu {
        display: none !important;
    }

    /* But open menu should remain visible */
    .navbar li.has-dropdown.open:hover > .dropdown-menu,
    .navbar li.has-dropdown.open > .dropdown-menu {
        display: block !important;
    }
}


/* =====================
   DESKTOP: HIDE MOBILE ARROW
===================== */

@media (min-width: 992px) {

    .mobile-arrow {
        display: none !important;
    }
}
/*===========================================
   DROPDOWN — sirf direct child (>) selectors,
   taaki har level apne khud ke hover se control ho
   ============================================ */

.has-dropdown {
    position: relative;
}

.has-dropdown > .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
   width: max-content;      /* content ke hisab se width */
    max-width: 340px;
    background: #6b5e0e;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.has-dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #F5F1DE;
    font-size: 0.78rem;
    white-space: normal;     
    word-break: break-word; 
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Level 2+ (submenu ke andar submenu) — side me flyout */
.dropdown-menu .has-dropdown > .dropdown-menu {
    top: 0;
    left: 100%;
    display: none;
}

.dropdown-menu .has-dropdown:hover > .dropdown-menu {
    display: block;
}

/* Arrow jo bataye ki aage aur submenu hai */
.dropdown-menu .has-dropdown > a::after {
    content: "›";
    float: right;
    margin-left: 10px;
}

/* Small screens */
@media (max-width: 900px) {
    .navbar ul {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .navbar ul::-webkit-scrollbar {
        display: none;
    }
}
/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }

.hero__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1900 / 500; /* fallback until JS reads real image size */
    max-height: 400px;        /* <-- height yahin control hoti hai, isko adjust karein */
    background-color: var(--navy-darkest);
    transition: aspect-ratio 0.4s ease;
}
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 16px;
}

/* Slider controls */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.hero__nav:hover { background: rgba(255,255,255,0.32); }
.hero__nav--prev { left: 20px; }
.hero__nav--next { right: 20px; }

.hero__pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.hero__pause:hover { background: rgba(255,255,255,0.32); }

.hero__dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
}
.hero__dot.is-active { background: #fff; }

/* Wrap */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Highlights: scrolling notices + intro card */
.highlights {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 24px;
    margin: -46px 0 46px;
    position: relative;
    z-index: 2;
}

.marquee-board, .intro-card {
    background: #fff;
    border: 1px solid var(--paper-line);
    box-shadow: 0 12px 30px rgba(7,60,44,0.16);
    display: flex;
    flex-direction: column;
}

.marquee-board__header, .intro-card__header {
    color: #fff;
    padding: 13px 20px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.marquee-board__header { background: var(--navy-deep); }
.intro-card__header { background: var(--brick); }

.marquee-board__viewport {
    height: 320px;
    overflow: hidden;
    position: relative;
}
.marquee-board__track {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    animation: marqueeScroll 18s linear infinite;
}
.marquee-board__viewport:hover .marquee-board__track {
    animation-play-state: paused;
}
.marquee-board__track li {
    padding: 14px 20px;
    border-bottom: 1px dashed var(--paper-line);
    font-size: 0.92rem;
    color: var(--ink);
}

@keyframes marqueeScroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

.intro-card__body { padding: 22px 22px 20px; }
.intro-card__body h4 {
    font-family: var(--font-display);
    color: var(--navy-darkest);
    font-size: 1.1rem;
    margin: 0 0 12px;
}
.intro-card__body p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 0 0 14px;
    white-space: pre-line;
    line-height: 1.6;
    margin-bottom: 15px
}

@media (max-width: 900px) {
    .highlights { grid-template-columns: 1fr; margin-top: 24px; }
}

/* Officials */
.officials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 46px 0;
}
.official-card {
    background: #fff;
    border: 1px solid var(--paper-line);
    padding: 22px 18px;
    text-align: center;
    border-top: 3px solid var(--gold);
}
.official-card__portrait {
     width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.official-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.official-card h3 {
    font-family: var(--font-display);
    font-size:  13px;
    margin: 0 0 4px;
    color: var(--navy);
}
.official-card__role { font-size: 12px; color: var(--ink-soft); margin: 0; }

/* About */
.about {
    display: grid;
    grid-template-columns: 90px 1fr 360px;
    gap: 24px;
    align-items: start;
    margin: 56px 0;
    padding-top: 40px;
    border-top: 1px solid var(--paper-line);
}
.about__mark {
    font-family: var(--font-display);
    font-size: 3.2rem;
    color: var(--gold-light);
    font-weight: 700;
    line-height: 1;
}
.about h2 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--navy);
    margin: 0 0 18px;
}
.about p { color: var(--ink-soft); max-width: 680px; margin: 0 0 14px; }
.link-more {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--forest);
    text-decoration: none;
    border-bottom: 1px solid var(--forest);
}

.about__media {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 60px 1fr;
    }
    .about__media {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
        margin-top: 8px;
    }
}

/* Messages */
.messages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0 56px;
}
.message-card {
    background: #fff;
    border: 1px solid var(--paper-line);
    padding: 26px;
}
.message-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.message-card__portrait {
    width: 70px;
    height: 70px;
    min-width: 70px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--forest);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.message-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.message-card h3 { font-family: var(--font-display); font-size: 14px; margin: 0; color: var(--navy); }
.message-card__role { font-size: 13px; color: var(--ink-soft); margin: 2px 0 0; }
.message-card p { color: var(--ink-soft); font-size: 12px; }

/* Quicklinks */
.quicklinks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}
.quicklink-card {
    display: block;
    background: #fff;
    border: 1px solid var(--paper-line);
    padding: 20px;
    text-decoration: none;
    color: var(--ink);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.quicklink-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.quicklink-card__no {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
}
.quicklink-card h4 {
    font-family: var(--font-display);
    font-size: 14px;
    margin: 8px 0 6px;
    color: var(--navy);
}
.quicklink-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* Important Links Strip */
.important-sites {
    background: #f7f4ec;
    padding: 1.5rem 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}


.important-sites__title {
    text-align: center;
    color: #00CC99;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 14px;
}

.important-sites__wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.important-sites__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex: 1;
    padding: 0.25rem;
    scrollbar-width: none;
}

.important-sites__track::-webkit-scrollbar {
    display: none;
}

.site-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 220px;
    height: 90px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0.6rem;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.site-card:hover {
    transform: translateY(-3px);
}

.site-card img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.site-card--maroon {
    background: #8a1538;
    color: #fff;
    font-weight: 600;
}

.site-card--link span {
    color: #0645ad;
    text-decoration: underline;
    font-size: 0.85rem;
    word-break: break-all;
}

.important-sites__arrow {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.important-sites__arrow:hover {
    background: #fff;
}

/* Footer */
.site-footer { background: var(--navy-deep); color: #C7CFDC; margin-top: 40px; }
.site-footer__links {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 20px;
}
.site-footer__links h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin: 0 0 16px;
    text-align: center;
}
.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.badge {
    font-size: 0.78rem;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    color: #C7CFDC;
}
.site-footer__base {
    text-align: center;
    padding: 18px 24px 26px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.78rem;
    color: #ffff;
}
.site-footer__base p { margin: 4px 0; }

/* Responsive */
@media (max-width: 900px) {
    .officials { grid-template-columns: repeat(2, 1fr); }
    .messages { grid-template-columns: 1fr; }
    .quicklinks { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; }
    .masthead__tag { display: none; }
    .hero h2 { font-size: 2rem; }
}
@media (max-width: 560px) {
    .officials { grid-template-columns: 1fr; }
    .quicklinks { grid-template-columns: 1fr; }
    .masthead__inner { flex-wrap: wrap; }
}


/* Pages */
.page-header {
    background: #7a1c1c; /* screenshot jaisa maroon */
    color: #fff;
    padding: 16px 24px;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 1.4rem;
    margin: 0;
}

.page-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.page-featured-img {
    max-width: 320px;
    float: left;
    margin: 0 20px 15px 0;
    border-radius: 4px;
}

.page-content {
    line-height: 1.8;
    color: #333;
}

.page-content h2,
.page-content h3 {
    color: #7a1c1c;
    margin-top: 20px;
}

.page-content ul, .page-content ol {
    padding-left: 24px;
}

@media (max-width: 768px) {
    .page-featured-img {
        float: none;
        max-width: 100%;
        display: block;
        margin: 0 0 15px 0;
    }
}


/* important-sites */
.important-sites-box {
    border: 1px solid #dee2e6;
    background: #fff;
    margin-bottom: 20px;
}

.important-sites-header {
    background: #1a5f9c;
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.important-sites-marquee-wrapper {
    height: 500px;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

/* Track holds BOTH copies of the list and animates upward continuously */
.important-sites-track {
    display: flex;
    flex-direction: column;
    animation: scrollUp 18s linear infinite;
}

.important-sites-marquee-wrapper:hover .important-sites-track {
    animation-play-state: paused;
}

.important-sites-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

/* Beech me gap taaki original aur duplicate list ke items ka spacing consistent rahe */
.important-sites-list:first-child {
    margin-bottom: 14px;
}

.site-item {
    display: block;
    text-align: center;
}

.site-item img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

@keyframes scrollUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* Sidebar + content ka layout */
.page-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.page-sidebar {
    flex: 0 0 240px;
}

.page-main {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }
    .page-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* =========================================================
   ADDITIONAL RESPONSIVE FIXES — MOBILE & TABLET
   (sections jo pehle miss ho rahe the: hero slider, officials,
   highlights, about, messages, quicklinks, important-sites
   dono versions, footer, page-header)
========================================================= */

/* ---------- HERO SLIDER : TABLET ---------- */
@media (max-width: 991px) {
    .hero__slider { max-height: 300px; }
    .hero h2 { font-size: 2.1rem; }
    .hero__nav { width: 34px; height: 34px; font-size: 0.9rem; }
    .hero__nav--prev { left: 12px; }
    .hero__nav--next { right: 12px; }
}

/* ---------- HERO SLIDER : MOBILE ---------- */
@media (max-width: 767px) {
    .hero__slider { max-height: 220px; aspect-ratio: 4 / 3; }
    .hero h2 { font-size: 1.45rem; margin-bottom: 10px; }
    .hero__nav { width: 30px; height: 30px; font-size: 0.8rem; }
    .hero__pause { width: 28px; height: 28px; }
    .hero__dots { bottom: 10px; }
}

@media (max-width: 480px) {
    .hero__slider { max-height: 170px; }
    .hero h2 { font-size: 1.15rem; }
}

/* ---------- OFFICIALS : TABLET ---------- */
@media (max-width: 991px) {
    .officials { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .official-card__portrait { width: 100px; height: 100px; }
}

/* ---------- OFFICIALS : MOBILE ---------- */
@media (max-width: 767px) {
    .officials { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; }
    .official-card { padding: 16px 12px; }
    .official-card__portrait { width: 80px; height: 80px; font-size: 1rem; margin-bottom: 10px; }
    .official-card h3 { font-size: 0.92rem; }
    .official-card__role { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .officials { grid-template-columns: 1fr; }
}

/* ---------- HIGHLIGHTS : MOBILE ---------- */
@media (max-width: 767px) {
    .marquee-board__viewport { height: 220px; }
    .marquee-board__header, .intro-card__header { font-size: 0.95rem; padding: 11px 16px; }
    .intro-card__body { padding: 16px; }
}

/* ---------- ABOUT : MOBILE ---------- */
@media (max-width: 767px) {
    .about { grid-template-columns: 1fr; margin: 36px 0; padding-top: 28px; }
    .about__mark { font-size: 2.2rem; }
    .about h2 { font-size: 1.5rem; }
}

/* ---------- MESSAGES : MOBILE ---------- */
@media (max-width: 767px) {
    .messages { gap: 16px; margin: 16px 0 36px; }
    .message-card { padding: 18px; }
    .message-card__portrait { width: 56px; height: 56px; min-width: 56px; }
    .message-card h3 { font-size: 0.95rem; }
}

/* ---------- QUICKLINKS : MOBILE ---------- */
@media (max-width: 767px) {
    .quicklinks { gap: 12px; margin-bottom: 40px; }
    .quicklink-card { padding: 14px; }
    .quicklink-card h4 { font-size: 0.95rem; }
}

/* ---------- IMPORTANT SITES (topbar-style strip) : TABLET ---------- */
@media (max-width: 991px) {
    .site-card { width: 180px; height: 78px; font-size: 0.78rem; }
}

/* ---------- IMPORTANT SITES (topbar-style strip) : MOBILE ---------- */
@media (max-width: 767px) {
    .important-sites { padding: 1rem 0.6rem; }
    .important-sites__title { font-size: 1rem; margin-bottom: 0.7rem; }
    .site-card { width: 150px; height: 70px; font-size: 0.72rem; padding: 0.4rem; }
    .site-card img { max-width: 24px; max-height: 24px; }
    .important-sites__arrow { width: 30px; height: 30px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .site-card { width: 130px; height: 64px; font-size: 0.68rem; }
}

/* ---------- IMPORTANT SITES (sidebar marquee version) : TABLET / MOBILE ---------- */
@media (max-width: 991px) {
    .important-sites-marquee-wrapper { height: 380px; }
}

@media (max-width: 767px) {
    .important-sites-marquee-wrapper { height: 260px; padding: 8px; }
    .important-sites-header { font-size: 0.88rem; padding: 8px 12px; }
    .important-sites-list { gap: 10px; }
}

/* ---------- FOOTER : MOBILE ---------- */
@media (max-width: 767px) {
    .site-footer__links { padding: 24px 16px 14px; }
    .badge { font-size: 0.72rem; padding: 6px 12px; }
    .site-footer__base { padding: 14px 16px 20px; font-size: 0.72rem; }
}

/* ---------- PAGE HEADER : MOBILE ---------- */
@media (max-width: 767px) {
    .page-header { padding: 12px 16px; }
    .page-header h1 { font-size: 1.15rem; }
    .page-body { padding: 0 16px 30px; }
}

/* ---------- WRAP PADDING : SMALL MOBILE ---------- */
@media (max-width: 480px) {
    .wrap { padding: 0 14px; }
}