/* ==========================================================================
   GOVERNMENT PORTAL STANDARDS (GIGW 3.0) DESIGN SYSTEM
   School Education Portal 3.0 - Department of School Education, Govt. of MP
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Official Government Color Tokens */
  --gov-navy-dark: #1a2f52;
  --gov-navy: #284676;
  --gov-navy-light: #3459a0;
  --gov-navy-hover: #3d6abf;
  --gov-blue-accent: #284676;
  --gov-blue-subtle: #dce8f8;

  /* National / State Identity Accents */
  --gov-saffron: #f97316;
  --gov-saffron-dark: #ea580c;
  --gov-saffron-light: #ffedd5;
  --gov-gold: #d97706;
  --gov-gold-light: #fef3c7;
  --gov-green: #15803d;
  --gov-green-light: #dcfce7;

  /* Neutral & Backgrounds */
  --gov-bg: #f8fafc;
  --gov-bg-alt: #f1f5f9;
  --gov-card-bg: #ffffff;
  --gov-border: #e2e8f0;
  --gov-border-strong: #cbd5e1;
  --gov-text-primary: #0f172a;
  --gov-text-secondary: #475569;
  --gov-text-muted: #64748b;
  --gov-white: #ffffff;

  /* Shadows & Radii */
  --gov-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --gov-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --gov-shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --gov-shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --gov-radius-sm: 6px;
  --gov-radius-md: 10px;
  --gov-radius-lg: 16px;
  --gov-radius-full: 9999px;

  /* Typography */
  --gov-font:
    "Mukta", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* High Contrast Mode for GIGW Accessibility */
body.high-contrast,
html.high-contrast body {
  --gov-navy-dark: #000000;
  --gov-navy: #111111;
  --gov-navy-light: #222222;
  --gov-bg: #000000;
  --gov-bg-alt: #1a1a1a;
  --gov-card-bg: #121212;
  --gov-border: #ffff00;
  --gov-border-strong: #ffff00;
  --gov-text-primary: #ffffff;
  --gov-text-secondary: #ffff00;
  --gov-text-muted: #e2e8f0;
  --gov-saffron: #ffa500;
  background-color: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
}

body.high-contrast .gov-accessibility-bar {
  background-color: #000000 !important;
  border-bottom: 2px solid #ffff00 !important;
}

body.high-contrast .gov-main-header {
  background: #111111 !important;
  border-bottom: 2px solid #ffff00 !important;
}

body.high-contrast .gov-navbar-wrap {
  background: #000000 !important;
  border-top: 2px solid #ffff00 !important;
  border-bottom: 2px solid #ffff00 !important;
}

body.high-contrast .gov-band-ticker,
body.high-contrast .gov-band-media,
body.high-contrast .gov-band-paripatra,
body.high-contrast .gov-band-services,
body.high-contrast .gov-band-gallery {
  background: #000000 !important;
  border-color: #333333 !important;
}

body.high-contrast .paripatra-master-card,
body.high-contrast .gov-service-card,
body.high-contrast .gov-media-wrapper,
body.high-contrast .gov-media-box,
body.high-contrast .gov-gallery-section,
body.high-contrast .gov-news-ticker-wrap {
  background: #111111 !important;
  border: 1px solid #ffff00 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-circular-item {
  background: #1a1a1a !important;
  border: 1px solid #444444 !important;
  border-left: 4px solid #ffff00 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-doc-title,
body.high-contrast .gov-dept-hindi,
body.high-contrast .gov-section-title,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6 {
  color: #ffff00 !important;
}

body.high-contrast a {
  color: #00ffff !important;
}

body.high-contrast a:hover {
  color: #ffff00 !important;
}

body.high-contrast .paripatra-nav-pills {
  background: #222222 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .paripatra-pill {
  color: #ffff00 !important;
}

body.high-contrast .paripatra-pill.active {
  background: #ffff00 !important;
  color: #000000 !important;
}

body.high-contrast .paripatra-pill.active i {
  color: #000000 !important;
}

body.high-contrast .paripatra-search-box {
  background: #222222 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .paripatra-search-box input {
  color: #ffffff !important;
}

body.high-contrast .gov-access-btn.contrast-active {
  background: #ffff00 !important;
  color: #000000 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-footer {
  background: #050505 !important;
  border-top: 2px solid #ffff00 !important;
}

/* Font Size Modifiers (GIGW Text Sizing A-, A, A+) */
html.font-size-sm {
  font-size: 14px !important;
}
html.font-size-sm body {
  font-size: 14px !important;
}
html.font-size-sm h1 {
  font-size: 1.75rem !important;
}
html.font-size-sm h2 {
  font-size: 1.4rem !important;
}
html.font-size-sm h3 {
  font-size: 1.2rem !important;
}
html.font-size-sm .gov-dept-hindi {
  font-size: 1.25rem !important;
}
html.font-size-sm .gov-doc-title {
  font-size: 0.875rem !important;
}

html.font-size-md {
  font-size: 16px !important;
}

html.font-size-lg {
  font-size: 18px !important;
}
html.font-size-lg body {
  font-size: 18px !important;
}
html.font-size-lg h1 {
  font-size: 2.25rem !important;
}
html.font-size-lg h2 {
  font-size: 1.85rem !important;
}
html.font-size-lg h3 {
  font-size: 1.55rem !important;
}
html.font-size-lg .gov-dept-hindi {
  font-size: 1.65rem !important;
}
html.font-size-lg .gov-doc-title {
  font-size: 1.1rem !important;
}
html.font-size-lg .gov-marquee-item {
  font-size: 1.1rem !important;
}
html.font-size-lg .nav-link {
  font-size: 1.05rem !important;
}

/* Global Base & Lenis Smooth Scroll */
html {
  height: auto !important;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .gov-scroll-progress-bar {
    transition: none !important;
  }
}

body {
  font-family: var(--gov-font);
  background-color: var(--gov-bg, #f8fafc);
  color: var(--gov-text-primary);
  line-height: 1.6;
  height: auto !important;
  min-height: 100vh;
}

body.is-home-page {
  background-image: url("../../CMSimg/Images/new-assets/Body-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Top Scroll Tracking Progress Indicator (GIGW 3.0 / UX Enhancement) */
.gov-scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(
    90deg,
    var(--gov-navy, #284676),
    var(--gov-saffron, #ea580c),
    #fbbf24
  );
  z-index: 999999;
  pointer-events: none;
  transition: width 0.08s ease-out;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* Top Accessibility Toolbar */
.gov-accessibility-bar {
  background: var(--gov-navy-dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gov-accessibility-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gov-accessibility-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.gov-access-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  line-height: 1;
}

.gov-access-btn:hover,
.gov-access-btn.active {
  background: var(--gov-saffron);
  border-color: var(--gov-saffron);
  color: #ffffff;
}

.gov-access-divider {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 6px;
  vertical-align: middle;
}

/* Top Bar Language Dropdown (GTranslate) */
.gov-top-lang-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 0 4px 0 7px;
  height: 24px;
  transition: all 0.2s ease;
}

.gov-top-lang-wrapper:hover,
.gov-top-lang-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gov-saffron);
}

.gov-top-lang-wrapper .gov-lang-icon {
  color: #fbbf24;
  font-size: 0.8rem;
  pointer-events: none;
  line-height: 1;
  margin-right: 2px;
}

.gov-top-lang-wrapper .gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.gov-top-lang-wrapper select.gt_selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23cbd5e1' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E")
    no-repeat right 2px center;
  background-size: 7px 4px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  font-family: var(--gov-font), inherit;
  cursor: pointer;
  padding: 0 14px 0 2px !important;
  margin: 0 !important;
  height: 22px;
  line-height: 22px;
  vertical-align: middle;
}

.gov-top-lang-wrapper select.gt_selector:focus {
  outline: none !important;
  box-shadow: none !important;
}

.gov-top-lang-wrapper select.gt_selector option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  font-size: 0.825rem;
  font-weight: 500;
  padding: 6px 12px;
}

/* Hide any stray floating gtranslate wrapper */
.gt_switcher_wrapper {
  display: none !important;
}

/* Sticky Header & Navigation Wrapper (Locks to Top on Scroll) */
.full-width-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1025 !important;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

/* Official Government Main Header */
.gov-main-header {
  background-color: #ffffff;
  background-image: url("../../CMSimg/Images/Header-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  position: relative;
}

.gov-emblem-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.gov-emblem-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.gov-title-block {
  display: flex;
  flex-direction: column;
}

.gov-dept-hindi {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.gov-dept-eng {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gov-text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gov-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gov-saffron-dark);
  background: var(--gov-saffron-light);
  padding: 2px 10px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 2px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Header Action Buttons */
.gov-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.gov-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--gov-radius-md);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  box-shadow: var(--gov-shadow-sm);
}

.gov-btn-primary {
  background: var(--gov-navy);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gov-btn-primary:hover {
  background: var(--gov-navy-dark);
  color: #ffffff !important;
}

.gov-btn-accent {
  background: var(--gov-saffron-dark);
  color: #ffffff !important;
}

.gov-btn-accent:hover {
  background: #c2410c;
  color: #ffffff !important;
}

.gov-btn-notice {
  background: #fef2f2;
  color: #dc2626 !important;
  border: 1px solid #fecaca;
  position: relative;
}

.gov-btn-notice:hover {
  background: #fee2e2;
  color: #b91c1c !important;
}

.gov-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
}

/* ==========================================================================
   Executive Government Navigation Bar (Redesigned Standard)
   ========================================================================== */
.gov-navbar-wrap {
  background: #284676;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1020;
  box-shadow: none;
  min-height: 48px;
}

.gov-navbar-wrap .navbar {
  padding: 0 !important;
  justify-content: center;
  min-height: 48px;
}

.gov-navbar-wrap .navbar-collapse {
  justify-content: center;
  text-align: center;
}

.gov-navbar-wrap .navbar-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  justify-content: center;
  align-items: stretch !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0;
  min-height: 48px;
}

/* Nav Items & Links — no vertical dividers */
.gov-navbar-wrap .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  border: none !important;
  border-right: none !important;
  border-left: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

/* Remove any pseudo-element dividers injected by other CSS */
.gov-navbar-wrap .nav-item::before,
.gov-navbar-wrap .nav-item + .nav-item::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  border: none !important;
}

/* Menu Item Icon — Crisp white / semi-transparent white */
.gov-navbar-wrap .nav-menu-icon {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.95);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}

.gov-navbar-wrap .nav-link:hover .nav-menu-icon,
.gov-navbar-wrap .nav-item.show .nav-link .nav-menu-icon,
.gov-navbar-wrap .nav-item.active .nav-link .nav-menu-icon,
.gov-navbar-wrap .nav-link.active .nav-menu-icon {
  color: #ffffff !important;
}

.gov-navbar-wrap .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 14px !important;
  min-height: 48px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  position: relative;
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border: none !important;
  border-bottom: 3.5px solid transparent !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Standard Laptops & 1366px Screens (1200px - 1399.98px or 1920x1080 with 125%-150% browser zoom) */
@media (max-width: 1399.98px) {
  .gov-navbar-wrap .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .gov-navbar-wrap .nav-link {
    font-size: 0.81rem !important;
    padding: 10px 8px !important;
    gap: 4px !important;
  }
  .gov-navbar-wrap .nav-menu-icon {
    font-size: 0.8rem !important;
  }
  .gov-navbar-wrap .nav-caret {
    font-size: 0.55rem !important;
    margin-left: 1px !important;
  }
}

/* Compact Laptops & Medium Screens (992px - 1199.98px) */
@media (max-width: 1199.98px) {
  .gov-navbar-wrap .container-fluid {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .gov-navbar-wrap .nav-link {
    font-size: 0.75rem !important;
    padding: 10px 5px !important;
    gap: 3px !important;
    letter-spacing: 0 !important;
  }
  .gov-navbar-wrap .nav-menu-icon {
    font-size: 0.74rem !important;
  }
  .gov-navbar-wrap .nav-caret {
    font-size: 0.5rem !important;
    margin-left: 1px !important;
  }
}

/* Remove pseudo ::after indicator */
.gov-navbar-wrap .nav-link::after {
  display: none !important;
  content: none !important;
}

/* Hover / Focus state for inactive links */
.gov-navbar-wrap .nav-link:hover,
.gov-navbar-wrap .nav-link:focus,
.gov-navbar-wrap .nav-item.show .nav-link {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-bottom: 3.5px solid rgba(0, 0, 0, 0.12) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Active Menu Item Highlight — Off-white bottom border indicator */
.gov-navbar-wrap .nav-item.active .nav-link,
.gov-navbar-wrap .nav-link.active {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-bottom: 3.5px solid #f8fafc !important;
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.gov-navbar-wrap .nav-item.active .nav-link:hover,
.gov-navbar-wrap .nav-link.active:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-bottom: 3.5px solid #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dropdown Chevron Caret */
.gov-navbar-wrap .nav-link.dropdown-toggle::after {
  display: none !important;
}

.gov-navbar-wrap .nav-caret {
  font-size: 0.65rem;
  margin-left: 2px;
  opacity: 0.85;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.gov-navbar-wrap .nav-item:hover .nav-caret,
.gov-navbar-wrap .nav-item.show .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: #fbbf24;
}

/* ==========================================================================
   Executive Desktop Navigation Dropdown Menu System (GIGW 3.0 Standard)
   ========================================================================== */

/* Dropdown Menu Container */
.gov-navbar-wrap .dropdown-menu {
  display: block;
  min-width: 290px;
  max-width: 360px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(40, 70, 118, 0.22);
  box-shadow:
    0 16px 36px -4px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0 !important;
  margin-top: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
  border-top: 3.5px solid var(--gov-navy, #284676);
  overflow: hidden;
}

/* Invisible hover bridge to prevent menu from closing when moving cursor across gap */
.gov-navbar-wrap .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

/* Align rightmost dropdowns to prevent clipping on edge of viewport */
.gov-navbar-wrap .nav-item:last-child .dropdown-menu,
.gov-navbar-wrap .nav-item:nth-last-child(2) .dropdown-menu {
  left: auto;
  right: 0;
}

/* Smooth Desktop Hover & Transition */
@media (min-width: 992px) {
  .gov-navbar-wrap .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.22s;
    pointer-events: none;
  }

  .gov-navbar-wrap .nav-item.dropdown:hover > .dropdown-menu,
  .gov-navbar-wrap .nav-item.dropdown.show > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Dropdown list item reset & Primary Color Divider Lines */
.gov-navbar-wrap .dropdown-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
}

.gov-navbar-wrap .dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid rgba(40, 70, 118, 0.28) !important;
}

/* Dropdown Item Link — Full 100% Width Edge-to-Edge Flush Layout */
.gov-navbar-wrap .dropdown-item,
.gov-navbar-wrap .dropdown-menu .dropdown-item,
.nav-item .dropdown-menu .dropdown-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b !important;
  padding: 11px 18px !important;
  margin: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  line-height: 1.45 !important;
  height: auto !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: normal;
  text-align: left;
  text-decoration: none;
  background: transparent;
  transform: none !important;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
  position: relative;
}

/* Dropdown Bullet Indicator */
.gov-navbar-wrap .dropdown-bullet {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #94a3b8;
  flex-shrink: 0;
  transform: none !important;
  transition: background-color 0.18s ease;
}

/* Hover & Focus state — 100% Symmetrical Flush Background, Warm Orange Hover */
.gov-navbar-wrap .dropdown-item:hover,
.gov-navbar-wrap .dropdown-item:focus,
.gov-navbar-wrap .navbar .nav-item .dropdown-menu .dropdown-item:hover,
.navbar .nav-item .dropdown-menu .dropdown-item:hover {
  background-color: #ffedd5 !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  padding: 11px 18px !important;
  margin: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  transform: none !important;
  box-shadow: none !important;
}

.gov-navbar-wrap .dropdown-item:hover .dropdown-bullet,
.gov-navbar-wrap .dropdown-item:focus .dropdown-bullet {
  background-color: var(--gov-saffron, #f97316) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Active State (current selected page) */
.gov-navbar-wrap .dropdown-item.active,
.gov-navbar-wrap .dropdown-item:active {
  background-color: rgba(40, 70, 118, 0.14) !important;
  color: var(--gov-navy, #284676) !important;
  font-weight: 600 !important;
  padding: 11px 18px !important;
  margin: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  transform: none !important;
}

.gov-navbar-wrap .dropdown-item.active .dropdown-bullet {
  background-color: var(--gov-navy, #284676) !important;
  transform: none !important;
}

.gov-navbar-wrap .dropdown-text {
  flex: 1;
}

/* ==========================================================================
   Executive Mobile Navigation Overlay Drawer & Responsive Header Standards
   ========================================================================== */

/* Mobile Hamburger Button (In Main Header on right side of logo) */
.gov-mobile-hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gov-navy, #284676);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.gov-mobile-hamburger-btn:hover,
.gov-mobile-hamburger-btn:focus,
.gov-mobile-hamburger-btn:active {
  background: var(--gov-navy-dark, #1a2f52);
  color: #fbbf24;
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 70, 118, 0.35);
  transform: scale(0.97);
}

/* Fullscreen Dimming Backdrop */
.gov-mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s ease;
  pointer-events: none;
}

.gov-mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Slide-over Mobile Navigation Drawer */
.gov-mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -105%;
  width: 88vw;
  max-width: 380px;
  height: 100vh;
  background: #142a4a;
  color: #ffffff;
  z-index: 999999;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  visibility: hidden;
  overflow: hidden;
}

.gov-mobile-nav-drawer.open {
  right: 0;
  visibility: visible;
}

body.gov-drawer-open {
  overflow: hidden !important;
}

/* Drawer Header with Official Emblem, Department Name & Close Button */
.gov-drawer-header {
  padding: 14px 16px;
  background: #0f1f38;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.gov-drawer-emblem {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.gov-drawer-dept {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.gov-drawer-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gov-saffron, #f97316);
  display: block;
}

.gov-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.gov-drawer-close:hover,
.gov-drawer-close:focus {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Portal Action Buttons Inside Mobile Menu Drawer */
.gov-drawer-actions {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
}

.gov-drawer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.gov-drawer-btn-primary {
  background: #2563eb;
  color: #ffffff !important;
}

.gov-drawer-btn-accent {
  background: #ea580c;
  color: #ffffff !important;
}

.gov-drawer-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Drawer Scrollable Body & Navigation Items */
.gov-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 12px 24px;
}

.gov-drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gov-drawer-nav .nav-item {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gov-drawer-nav .nav-item:last-child {
  border-bottom: none;
}

.gov-drawer-nav .nav-link {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff !important;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: none !important;
}

.gov-drawer-nav .nav-menu-icon {
  width: 20px;
  min-width: 20px;
  text-align: center;
  font-size: 1.02rem;
  margin-right: 0 !important;
  flex-shrink: 0;
  color: #f97316;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.gov-drawer-nav .nav-link:hover,
.gov-drawer-nav .nav-link:focus,
.gov-drawer-nav .nav-item.active > .nav-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fbbf24 !important;
}

.gov-drawer-nav .nav-link:hover .nav-menu-icon,
.gov-drawer-nav .nav-link:focus .nav-menu-icon,
.gov-drawer-nav .nav-item.active > .nav-link .nav-menu-icon,
.gov-drawer-nav .nav-item.menu-open > .nav-link .nav-menu-icon {
  color: #fbbf24;
}

.gov-drawer-nav .nav-link.dropdown-toggle::after {
  display: none !important;
}

.gov-drawer-nav .nav-caret {
  margin-left: auto !important;
  font-size: 0.78rem;
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.gov-drawer-nav .nav-item.menu-open > .nav-link .nav-caret {
  transform: rotate(180deg);
  color: #fbbf24;
  opacity: 1;
}

/* Accordion Submenu Inside Drawer (GIGW 3.0 Mobile Standard) */
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-menu {
  display: none !important;
  position: static !important;
  float: none !important;
  width: 100% !important;
  transform: none !important;
  background: rgba(4, 15, 30, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 3.5px solid var(--gov-saffron, #f97316) !important;
  border-radius: 6px !important;
  padding: 4px 0 !important;
  margin: 6px 0 10px 0 !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  list-style: none !important;
}

#govMobileNavDrawer .gov-drawer-nav .nav-item.menu-open > .dropdown-menu,
.gov-mobile-nav-drawer .gov-drawer-nav .nav-item.menu-open > .dropdown-menu {
  display: block !important;
  animation: govDrawerSubmenuFade 0.22s ease-out;
}

@keyframes govDrawerSubmenuFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reset any unwanted bottom border on drawer submenu li */
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu li,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-menu li,
.gov-drawer-nav .nav-item ul li {
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  list-style: none !important;
}

#govMobileNavDrawer .gov-drawer-nav .dropdown-menu li:last-child,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-menu li:last-child {
  border-bottom: none !important;
}

/* Submenu Links - High contrast white text */
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu a,
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu .dropdown-item,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-menu a,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-menu .dropdown-item,
.gov-drawer-nav .dropdown-item {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-radius: 4px !important;
  border: none !important;
  background: transparent !important;
  width: 100% !important;
  line-height: 1.45 !important;
}

/* Submenu bullet indicator */
#govMobileNavDrawer .gov-drawer-nav .dropdown-bullet,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-bullet {
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  border-radius: 50% !important;
  background-color: var(--gov-saffron, #f97316) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease !important;
}

/* Submenu text */
#govMobileNavDrawer .gov-drawer-nav .dropdown-text,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-text {
  color: #f1f5f9 !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15px !important;
}

/* Submenu Hover / Active State */
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu a:hover,
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu a:focus,
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu .dropdown-item:hover,
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu .dropdown-item:focus,
#govMobileNavDrawer .gov-drawer-nav .dropdown-menu .dropdown-item.active,
.gov-mobile-nav-drawer .gov-drawer-nav .dropdown-menu .dropdown-item:hover {
  color: #fbbf24 !important;
  background: rgba(255, 255, 255, 0.12) !important;
  padding-left: 18px !important;
}

#govMobileNavDrawer .gov-drawer-nav .dropdown-menu a:hover .dropdown-text,
#govMobileNavDrawer
  .gov-drawer-nav
  .dropdown-menu
  .dropdown-item:hover
  .dropdown-text,
#govMobileNavDrawer
  .gov-drawer-nav
  .dropdown-menu
  .dropdown-item.active
  .dropdown-text {
  color: #fbbf24 !important;
}

#govMobileNavDrawer .gov-drawer-nav .dropdown-menu a:hover .dropdown-bullet,
#govMobileNavDrawer
  .gov-drawer-nav
  .dropdown-menu
  .dropdown-item:hover
  .dropdown-bullet,
#govMobileNavDrawer
  .gov-drawer-nav
  .dropdown-menu
  .dropdown-item.active
  .dropdown-bullet {
  background-color: #fbbf24 !important;
  transform: scale(1.3) !important;
}

/* ==========================================================================
   Responsive Breakpoints for Top Bar & Main Header
   ========================================================================== */

/* Tablet Optimization (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gov-accessibility-bar {
    padding: 5px 0;
  }
  .gov-main-header {
    padding: 10px 0;
  }
  .gov-emblem-img {
    height: 56px;
  }
  .gov-dept-hindi {
    font-size: 1.25rem;
  }
  .gov-dept-eng {
    font-size: 0.78rem;
  }
}

/* Mobile Viewports (<= 767.98px) */
@media (max-width: 767.98px) {
  .gov-accessibility-bar {
    padding: 3px 0;
    font-size: 0.72rem;
    overflow-x: hidden;
  }
  .gov-accessibility-bar .container-fluid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .gov-access-btn {
    padding: 2px 5px;
    font-size: 0.7rem;
    min-width: 22px;
    height: 22px;
  }
  .gov-skip-btn {
    padding: 2px 6px;
    min-width: 24px;
    font-size: 0.75rem;
  }
  .gov-a11y-toggle-btn {
    min-width: 24px;
    padding: 2px 5px;
  }
  .gov-access-divider {
    margin: 0 1px;
    height: 8px;
    opacity: 0.35;
  }
  .gov-top-lang-wrapper {
    height: 22px;
    padding: 0 1px 0 4px;
  }
  .gov-top-lang-wrapper .gov-lang-icon {
    font-size: 0.65rem;
    margin-right: 1px;
  }
  .gov-top-lang-wrapper select.gt_selector {
    font-size: 0.68rem !important;
    height: 20px;
    line-height: 20px;
    padding: 0 11px 0 1px !important;
    max-width: 68px;
  }

  .gov-main-header {
    padding: 8px 0;
  }
  .gov-emblem-wrap {
    gap: 8px;
  }
  .gov-emblem-img {
    height: 48px;
  }
  .gov-dept-hindi {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .gov-dept-eng {
    font-size: 0.7rem;
    line-height: 1.2;
    letter-spacing: 0;
  }
}

/* Ultra-Small Screens (<= 400px) */
@media (max-width: 400px) {
  .gov-accessibility-bar .container-fluid {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .gov-access-btn {
    padding: 2px 3px;
    font-size: 0.65rem;
    min-width: 19px;
    height: 20px;
  }
  .gov-skip-btn {
    min-width: 20px;
  }
  .gov-top-lang-wrapper {
    height: 20px;
    padding: 0 1px 0 3px;
  }
  .gov-top-lang-wrapper select.gt_selector {
    font-size: 0.64rem !important;
    height: 18px;
    line-height: 18px;
    max-width: 58px;
  }
  .gov-emblem-img {
    height: 40px;
  }
  .gov-dept-hindi {
    font-size: 0.95rem;
  }
  .gov-dept-eng {
    font-size: 0.64rem;
  }
  .gov-mobile-hamburger-btn {
    padding: 6px 9px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Full Width Hero Slider & Anti-FOUC (No Vertical Stacking on Reload)
   ========================================================================== */
.home-fixed-slider {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  background: #071e3d;
}

.main-slider {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

/* Hide all slides except the first one before Slick initializes */
.main-slider:not(.slick-initialized) {
  display: flex !important;
  overflow: hidden !important;
  max-height: 520px;
}

.main-slider:not(.slick-initialized) > div {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

.main-slider:not(.slick-initialized) > div:not(:first-child) {
  display: none !important;
}

.main-slider.slick-initialized {
  display: block !important;
}

.main-slider .slick-slide {
  margin: 0 !important;
  padding: 0 !important;
}

.main-slider img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  vertical-align: bottom;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Latest Updates Marquee Bar (Edge-to-Edge Full Width) */
.gov-news-ticker-wrap {
  background: #f1f5f9;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: none !important;
}

.gov-ticker-badge {
  background: var(--gov-saffron);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 24px 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
  padding-right: 32px;
  z-index: 2;
  flex-shrink: 0;
}

.gov-ticker-content {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f1f5f9;
  padding: 8px 18px;
  min-height: 44px;
}

.gov-marquee {
  display: flex;
  white-space: nowrap;
  animation: govMarquee var(--ticker-duration, 90s) linear infinite;
  gap: 32px;
  will-change: transform;
}

.gov-marquee:hover {
  animation-play-state: paused;
}

.gov-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.gov-marquee-item strong {
  font-weight: 700;
  color: #0f172a;
}

.gov-marquee-item:hover {
  color: var(--gov-saffron-dark);
  text-decoration: underline;
}

@keyframes govMarquee {
  0% {
    transform: translateX(var(--ticker-start, 100%));
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Ticker / Breaking News (मुख्य अपडेट) Responsive Typography & Padding */
@media (max-width: 991.98px) {
  .gov-ticker-badge {
    font-size: 0.82rem;
    padding: 7px 16px 7px 14px;
    padding-right: 24px;
    gap: 6px;
  }
  .gov-ticker-content {
    min-height: 38px;
    padding: 6px 12px;
  }
  .gov-marquee-item {
    font-size: 0.86rem;
    gap: 6px;
  }
  .gov-marquee {
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .gov-ticker-badge {
    font-size: 0.74rem;
    padding: 5px 12px 5px 8px;
    padding-right: 18px;
    gap: 4px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  }
  .gov-ticker-badge i {
    font-size: 0.72rem;
  }
  .gov-ticker-content {
    min-height: 32px;
    padding: 4px 8px;
  }
  .gov-marquee-item {
    font-size: 0.78rem;
    gap: 5px;
  }
  .gov-marquee-item i {
    font-size: 0.7rem;
  }
  .gov-marquee {
    gap: 18px;
  }
}

@media (max-width: 400px) {
  .gov-ticker-badge {
    font-size: 0.68rem;
    padding: 4px 8px 4px 6px;
    padding-right: 14px;
    gap: 3px;
  }
  .gov-ticker-content {
    min-height: 28px;
    padding: 3px 6px;
  }
  .gov-marquee-item {
    font-size: 0.72rem;
    gap: 4px;
  }
  .gov-marquee {
    gap: 14px;
  }
}

/* Hero Section / Banner Slider (Edge-to-Edge Full Width) */
.home-fixed-slider {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
}

.main-slider {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.main-slider .slick-slide {
  margin: 0 !important;
  padding: 0 !important;
}

.main-slider img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* ==========================================================================
   Full-Width Alternating Section Background Bands
   ========================================================================== */
.gov-band-ticker {
  background: #f1f5f9;
  border-top: none !important;
  border-bottom: 1px solid var(--gov-border);
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* ==========================================================================
   Section: Clean About Us & Dignitary Profiles (Cardless, No Tricolor)
   ========================================================================== */
.gov-band-about-clean {
  background-color: #ffffff;
  background-image: url("/CMSimg/Images/new-assets/Section-A-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e2e8f0;
  padding: 42px 0 46px;
}

.gov-clean-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
}

.gov-clean-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  line-height: 1.25;
  margin-bottom: 6px !important;
  letter-spacing: -0.01em;
}

.gov-clean-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #b45309;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.45;
  display: flex;
  align-items: center;
  padding-left: 0 !important;
  padding-top: 5px !important;
}

.gov-clean-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
  margin-top: 0 !important;
  margin-bottom: 18px;
  max-width: 650px;
}

.gov-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gov-navy, #284676);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 6px 5px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(26, 47, 82, 0.2);
  transition: all 0.25s ease;
}

.gov-clean-btn .gov-btn-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gov-saffron-dark, #ea580c);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.gov-clean-btn:hover {
  background: var(--gov-navy-dark, #1a2f52);
  box-shadow: 0 6px 18px rgba(26, 47, 82, 0.32);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.gov-clean-btn:hover .gov-btn-icon-badge {
  background: #c2410c;
  transform: translateX(3px);
}

/* Dignitary Leadership Profiles */
.gov-leaders-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}

.gov-leader-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 14px 16px;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.gov-leader-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.gov-leader-card-img-wrap {
  width: 100%;
  height: 180px;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8fafc;
}

.gov-leader-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.gov-leader-card-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 1;
}

.gov-leader-card-name,
.gov-leader-card-name strong {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #c2410c !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.25;
  text-align: center;
  display: block;
  letter-spacing: -0.01em;
}

.gov-leader-card-role {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #1e40af !important;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

.gov-leader-card-gov {
  font-size: 0.775rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 4px;
  display: block;
  text-align: center;
}

/* About Section Responsive Font Size & Layout Optimizations */
@media (max-width: 991.98px) {
  .gov-band-about-clean {
    padding: 28px 0 32px;
  }
  .gov-clean-eyebrow {
    font-size: 0.8rem;
    padding: 3px 12px;
  }
  .gov-clean-heading {
    font-size: 1.45rem;
    line-height: 1.3;
  }
  .gov-clean-tagline {
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .gov-clean-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .gov-clean-btn {
    font-size: 0.9rem;
  }
  .gov-leaders-row {
    margin-top: 16px;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .gov-band-about-clean {
    padding: 22px 0 26px;
    text-align: center;
  }
  .gov-band-about-clean .col-lg-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .gov-clean-eyebrow {
    font-size: 0.74rem;
    padding: 2px 10px;
    margin-bottom: 6px;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }
  .gov-clean-heading {
    font-size: 1.25rem !important;
    line-height: 1.3;
    margin-bottom: 6px !important;
    text-align: center !important;
  }
  .gov-clean-tagline {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
  .gov-clean-tagline i,
  .gov-clean-tagline .fa-quote-left {
    margin: 0 auto 6px auto !important;
    display: block !important;
    text-align: center !important;
    font-size: 1.15rem !important;
  }
  .gov-clean-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
  .gov-clean-btn {
    font-size: 0.82rem;
    padding: 4px 5px 4px 14px;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
  }
  .gov-clean-btn .gov-btn-icon-badge {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }
  .gov-leaders-row {
    gap: 12px;
    margin-top: 16px;
  }
  .gov-leader-card {
    width: calc(50% - 6px);
    max-width: 170px;
    padding: 10px 8px 12px;
  }
  .gov-leader-card-img-wrap {
    height: 140px;
    margin-bottom: 8px;
  }
  .gov-leader-card-name,
  .gov-leader-card-name strong {
    font-size: 0.95rem !important;
    line-height: 1.2;
  }
  .gov-leader-card-role {
    font-size: 0.76rem !important;
    line-height: 1.25;
  }
  .gov-leader-card-gov {
    font-size: 0.7rem !important;
    margin-top: 2px;
  }
}

@media (max-width: 400px) {
  .gov-band-about-clean {
    padding: 18px 0 22px;
  }
  .gov-clean-heading {
    font-size: 1.15rem !important;
  }
  .gov-clean-tagline {
    font-size: 0.82rem !important;
  }
  .gov-clean-tagline i,
  .gov-clean-tagline .fa-quote-left {
    font-size: 1.05rem !important;
    margin-bottom: 4px !important;
  }
  .gov-clean-text {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
  }
  .gov-clean-btn {
    font-size: 0.78rem;
    padding: 3px 4px 3px 12px;
  }
  .gov-leaders-row {
    gap: 8px;
  }
  .gov-leader-card {
    width: calc(50% - 4px);
    padding: 8px 6px 10px;
  }
  .gov-leader-card-img-wrap {
    height: 120px;
    margin-bottom: 6px;
  }
  .gov-leader-card-name,
  .gov-leader-card-name strong {
    font-size: 0.85rem !important;
  }
  .gov-leader-card-role {
    font-size: 0.68rem !important;
  }
  .gov-leader-card-gov {
    font-size: 0.62rem !important;
  }
}

.gov-band-media {
  background-color: #f8fafc;
  background-image: url("../../CMSimg/Images/new-assets/Section-bg-color.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 44px 0 52px;
  position: relative;
}

.gov-band-paripatra {
  background-color: var(--gov-blue-subtle, #dce8f8);
  background-image: url("../../CMSimg/Images/new-assets/Ordersection_bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 46px 0 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.gov-band-services {
  background: rgba(26, 47, 82, 0.82);
  background: color-mix(
    in srgb,
    var(--gov-navy-dark, #1a2f52) 80%,
    transparent
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 48px 0 52px;
  position: relative;
}

.gov-band-services .gov-section-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-bottom: 24px !important;
}

.gov-band-services .gov-clean-eyebrow {
  display: inline-flex !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 12px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fed7aa !important;
  border: 1px solid rgba(254, 215, 170, 0.35) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 4px 14px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-align: center !important;
}

.gov-band-services .gov-clean-eyebrow i {
  color: var(--gov-saffron, #f97316) !important;
}

.gov-band-services .gov-section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gov-band-services .gov-section-subtitle {
  color: #fed7aa !important; /* Elegant warm saffron-cream color with high contrast on dark backdrop */
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  margin: 10px auto 0 !important;
  padding: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75) !important;
  letter-spacing: 0.02em;
  opacity: 0.95;
  display: block;
}

body.high-contrast .gov-band-services .gov-section-title {
  color: #ffff00 !important;
  text-shadow: none !important;
}

body.high-contrast .gov-band-services .gov-section-subtitle {
  color: #ffffff !important;
  text-shadow: none !important;
}

.gov-band-gallery {
  background: #ffffff;
  padding: 40px 0;
}

/* Section Headings */
.gov-section-heading {
  text-align: center !important;
  margin-bottom: 24px;
  position: relative;
}

.gov-section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gov-navy-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 8px;
  text-align: center;
}

.gov-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gov-saffron);
  border-radius: var(--gov-radius-full);
}

.gov-section-subtitle {
  font-size: 0.95rem;
  color: var(--gov-text-secondary);
  margin: 6px auto 0;
  text-align: center !important;
  display: block;
  max-width: 800px;
}

/* ==========================================================================
   Circulars & Orders (परिपत्र एवं आदेश) Government Standard Hub
   ========================================================================== */
.paripatra-master-card {
  background: #ffffff;
  border-radius: var(--gov-radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.05);
  padding: 26px 30px;
  position: relative;
}

/* No tricolor border */
.paripatra-master-card::before {
  display: none !important;
}

.paripatra-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  /* padding-bottom: 18px; */
  border-bottom: 1px solid #e2e8f0;
}

.paripatra-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gov-card-title-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.12);
  flex-shrink: 0;
}

.paripatra-title-block h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0b2545;
  margin: 0;
  line-height: 1.2;
}

.paripatra-title-block p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 4px 0 0 0;
}

.paripatra-search-box {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 0 16px;
  height: 38px;
  min-width: 280px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.paripatra-search-box:focus-within {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.paripatra-search-box i {
  color: #475569 !important;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.paripatra-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  color: #0f172a;
  box-sizing: border-box;
}

.paripatra-search-box input::placeholder {
  color: #475569 !important;
  opacity: 1 !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.paripatra-search-box input::-webkit-input-placeholder {
  color: #475569 !important;
  opacity: 1 !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.paripatra-search-box input::-moz-placeholder {
  color: #475569 !important;
  opacity: 1 !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.paripatra-search-box input:-ms-input-placeholder {
  color: #475569 !important;
  opacity: 1 !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.gov-btn-viewall {
  background: var(--gov-navy);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 18px;
  height: 38px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gov-btn-viewall:hover {
  background: var(--gov-navy-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

.paripatra-nav-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  background: #f8fafc;
  padding: 6px;
  border-radius: var(--gov-radius-md);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.paripatra-nav-pills::-webkit-scrollbar {
  height: 4px;
}

.paripatra-nav-pills::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.paripatra-pill {
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.paripatra-pill:hover {
  background: #e2e8f0;
  color: var(--gov-navy);
}

.paripatra-pill.active {
  background: var(--gov-navy);
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  font-weight: 700;
}

.paripatra-pill.active i {
  color: #ffffff !important;
}

.paripatra-list-wrapper {
  height: 336px;
  max-height: 336px;
  overflow: hidden;
  position: relative;
  padding-right: 2px;
  overscroll-behavior: contain;
}

.paripatra-list-wrapper.is-searching {
  height: auto;
  max-height: 380px;
  overflow-y: auto !important;
  padding-right: 6px;
  overscroll-behavior: contain;
}

.paripatra-list-wrapper::-webkit-scrollbar {
  width: 6px;
}

.paripatra-list-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.paripatra-list-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.paripatra-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.paripatra-scroll-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.gov-circular-item {
  background: #f7f7f7;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid var(--gov-navy-light);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gov-circular-item:hover {
  border-left-color: var(--gov-navy);
  background-color: #fafcff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* PDF Badges hidden as requested */
.gov-doc-icon-badge,
.gov-doc-pdf-label {
  display: none !important;
}

.gov-badge-dept {
  background: var(--gov-blue-subtle);
  color: var(--gov-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--gov-blue-accent);
  display: inline-flex;
  align-items: center;
}

.gov-badge-date {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
}

.gov-badge-official {
  background: #f0fdf4;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  display: inline-flex;
  align-items: center;
}

/* Pure Background Color Blink NEW Badge (Light Red <-> Dark Red) */
@keyframes govBadgeBgBlink {
  0%,
  40% {
    background-color: #991b1b; /* Dark Red */
  }
  50%,
  90% {
    background-color: #ef4444; /* Light Red */
  }
  100% {
    background-color: #991b1b; /* Dark Red */
  }
}

.gov-badge-new {
  background-color: #991b1b;
  color: #ffffff !important;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  animation: govBadgeBgBlink 1.4s infinite ease-in-out;
  flex-shrink: 0;
  user-select: none;
}

.gov-badge-new .gov-pulse-dot {
  width: 5px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.gov-badge-new .gov-badge-new-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  top: 0;
}

.gov-doc-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
  display: block;
}

.gov-doc-title:hover {
  color: var(--gov-navy);
  text-decoration: underline;
}

.gov-doc-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.gov-views-pill {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.gov-views-pill i {
  color: var(--gov-navy) !important;
}

.gov-btn-download {
  background: var(--gov-navy);
  color: #ffffff !important;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gov-btn-download:hover {
  background: var(--gov-navy-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* Key Services & Portals Grid */
.gov-services-section {
  padding: 40px 0;
  background: var(--gov-bg);
}

.gov-service-card {
  background: #ffffff;
  border: 1px solid var(--gov-border);
  border-radius: var(--gov-radius-md);
  box-shadow: var(--gov-shadow-sm);
  padding: 20px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.gov-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gov-shadow-lg);
  border-color: rgba(249, 115, 22, 0.3);
}

.gov-service-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gov-border);
}

.gov-service-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--gov-radius-md);
  background: var(--gov-blue-subtle);
  color: var(--gov-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.gov-service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gov-navy-dark);
  margin: 0;
}

.gov-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gov-service-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 7px;
  color: #000000 !important;
  text-decoration: none;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  min-height: 42px;
}

.gov-service-item a span {
  color: #000000 !important;
  font-weight: 600 !important;
  font-size: inherit !important;
  line-height: 1.35;
}

.gov-service-item a i {
  color: #475569;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 6px;
}

.gov-service-item a:hover {
  background: var(--gov-navy, #1e3a8a) !important;
  border-color: var(--gov-navy, #1e3a8a) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gov-service-item a:hover span,
.gov-service-item a:hover i {
  color: #ffffff !important;
  transform: none !important;
}

/* ==========================================================================
   Key Services & Departmental Portals (महत्वपूर्ण सेवाएं एवं विभागीय पोर्टल) Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .gov-band-services {
    padding: 30px 0 34px;
  }
  .gov-band-services .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  .gov-service-card {
    padding: 14px 12px 16px;
  }
  .gov-service-title {
    font-size: 0.96rem;
  }
  .gov-service-item a {
    padding: 8px 10px;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
  }
  .gov-service-item a span {
    color: #000000 !important;
  }
}

@media (max-width: 767.98px) {
  .gov-band-services {
    padding: 22px 0 26px;
  }
  .gov-band-services .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .gov-band-services .gov-section-heading {
    margin-bottom: 14px !important;
  }
  .gov-band-services .gov-section-title {
    font-size: 1.25rem !important;
    line-height: 1.3;
    margin-bottom: 4px;
    text-align: center !important;
  }
  .gov-band-services .gov-section-subtitle {
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 0 4px;
    text-align: center !important;
  }
  .gov-band-services .row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
  .gov-service-card {
    padding: 10px 8px 12px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .gov-service-header {
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  .gov-service-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .gov-service-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
  }
  .gov-service-list {
    gap: 4px;
    flex-grow: 1;
  }
  .gov-service-item a {
    padding: 6px 8px;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    border-radius: 5px;
    min-height: 30px;
    line-height: 1.3;
  }
  .gov-service-item a span {
    color: #000000 !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .gov-service-item a i {
    font-size: 0.62rem;
    margin-left: 4px;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  .gov-band-services {
    padding: 18px 0 22px;
  }
  .gov-band-services .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .gov-band-services .row {
    --bs-gutter-x: 0.38rem;
    --bs-gutter-y: 0.38rem;
  }
  .gov-band-services .gov-section-title {
    font-size: 1.15rem !important;
  }
  .gov-band-services .gov-section-subtitle {
    font-size: 0.72rem;
  }
  .gov-service-card {
    padding: 8px 6px 10px;
    border-radius: 7px;
  }
  .gov-service-header {
    gap: 5px;
    margin-bottom: 6px;
    padding-bottom: 5px;
  }
  .gov-service-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    border-radius: 5px;
  }
  .gov-service-title {
    font-size: 0.76rem;
  }
  .gov-service-item a {
    padding: 5px 6px;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    min-height: 28px;
  }
  .gov-service-item a span {
    color: #000000 !important;
  }
  .gov-service-item a i {
    font-size: 0.58rem;
  }
}

/* ============================================================
   GALLERY SECTION v2 — Photo + Video Tabs, Grid & Lightbox
   ============================================================ */

/* Section wrapper */
.gov-band-gallery-v2 {
  padding: 56px 0 64px;
  background-color: #f8fafc;
  background-image: url("../../CMSimg/Images/new-assets/Section-bg-color.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

/* Gallery Header Row: Title on Left, Tabs on Right */
.gov-gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gov-gallery-title-box {
  text-align: left;
  flex: 1;
  min-width: 320px;
}

.gov-gallery-title-box .gov-clean-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
}

.gov-gallery-title-box .gov-clean-heading {
  text-align: left;
  margin-bottom: 4px !important;
}

.gov-gallery-title-box .gov-clean-tagline {
  text-align: left;
  justify-content: flex-start;
  margin-bottom: 0 !important;
}

/* Tab Navigation — right-aligned */
.gov-gallery-tabs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .gov-gallery-header-row {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 16px;
  }

  .gov-gallery-title-box {
    text-align: center !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center !important;
  }

  .gov-gallery-title-box .gov-clean-eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }

  .gov-gallery-title-box .gov-clean-heading {
    text-align: center !important;
    width: 100%;
  }

  .gov-gallery-title-box .gov-clean-tagline {
    text-align: center !important;
    justify-content: center !important;
    width: 100%;
  }

  .gov-gallery-tabs {
    justify-content: center !important;
    width: 100%;
  }
}

.gov-gal-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: var(--gov-radius-full);
  border: 2px solid var(--gov-border-strong);
  background: var(--gov-white);
  color: var(--gov-text-secondary);
  font-family: var(--gov-font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: var(--gov-shadow-sm);
}

.gov-gal-tab:hover {
  border-color: var(--gov-navy);
  color: var(--gov-navy);
  box-shadow: 0 4px 12px rgba(40, 70, 118, 0.15);
  transform: translateY(-1px);
}

.gov-gal-tab.active {
  background: var(--gov-navy) !important;
  border-color: var(--gov-navy) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(40, 70, 118, 0.35) !important;
  transform: translateY(-2px);
}

.gov-gal-tab .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.28);
  color: inherit;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
}

.gov-gal-tab:not(.active) .tab-count {
  background: var(--gov-border);
  color: var(--gov-text-secondary);
}

/* Tab panels */
.gov-gal-panel {
  display: none;
  animation: galFadeIn 0.38s ease;
}

.gov-gal-panel.active {
  display: block;
}

@keyframes galFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Photo Grid ---- */
.gov-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 1199px) {
  .gov-photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  .gov-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .gov-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gov-photo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--gov-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--gov-shadow-sm);
  border: 2px solid var(--gov-border);
  background: var(--gov-bg-alt);
  transition: all 0.3s ease;
}

.gov-photo-item .gov-ph-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.45s ease;
}

.gov-photo-item .gov-ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(15, 23, 42, 0.82) 100%
  );
  opacity: 0;
  transition: opacity 0.32s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gov-photo-item .gov-ph-overlay .ph-zoom-icon {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.88rem;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.gov-photo-item:hover {
  box-shadow: var(--gov-shadow-md);
  border-color: var(--gov-saffron);
  transform: scale(1.025);
  z-index: 2;
}

.gov-photo-item:hover .gov-ph-bg {
  transform: scale(1.1);
}

.gov-photo-item:hover .gov-ph-overlay {
  opacity: 1;
}

.gov-photo-item:hover .ph-zoom-icon {
  transform: scale(1.15);
  background: transparent !important;
  border-color: #ffffff !important;
  border-radius: 50% !important;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* ---- Video Grid ---- */
.gov-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .gov-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .gov-video-grid {
    grid-template-columns: 1fr;
  }
}

.gov-video-card {
  border-radius: var(--gov-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--gov-shadow-sm);
  border: 2px solid var(--gov-border);
  background: #0f172a;
  transition: all 0.3s ease;
  position: relative;
}

.gov-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.gov-video-thumb img,
.gov-video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.gov-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.gov-video-play-btn .play-circle {
  width: 56px;
  height: 56px;
  background: rgba(249, 115, 22, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  padding-left: 4px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.gov-video-card:hover {
  box-shadow: var(--gov-shadow-md);
  border-color: var(--gov-saffron);
  transform: translateY(-3px);
}

.gov-video-card:hover .gov-video-thumb img,
.gov-video-card:hover .gov-video-thumb video {
  transform: scale(1.06);
}

.gov-video-card:hover .gov-video-play-btn {
  background: rgba(0, 0, 0, 0.15);
}

.gov-video-card:hover .play-circle {
  transform: scale(1.15);
  background: var(--gov-saffron);
}

.gov-video-card-footer {
  padding: 12px 14px;
  background: #fff;
}

.gov-video-card-footer h6 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gov-text-primary);
  margin: 0 0 4px;
  line-height: 1.4;
}

.gov-video-card-footer span {
  font-size: 0.78rem;
  color: var(--gov-text-muted);
}

/* ---- LIGHTBOX MODAL (Photo) ---- */
.gov-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 10, 20, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.28s ease;
}

.gov-lightbox.open {
  display: flex;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gov-lb-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lbScaleIn {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gov-lb-img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--gov-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  user-select: none;
}

/* Nav arrows */
.gov-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.gov-lb-nav:hover {
  background: rgba(249, 115, 22, 0.75);
  border-color: var(--gov-saffron);
  transform: translateY(-50%) scale(1.1);
}

.gov-lb-prev {
  left: 20px;
}
.gov-lb-next {
  right: 20px;
}

@media (max-width: 767px) {
  .gov-lb-prev {
    left: 8px;
  }
  .gov-lb-next {
    right: 8px;
  }
  .gov-lb-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Close button */
.gov-lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100001;
  transition:
    background 0.22s,
    transform 0.22s;
}

.gov-lb-close:hover {
  background: rgba(239, 68, 68, 0.75);
  border-color: #ef4444;
  transform: scale(1.1) rotate(90deg);
}

/* Counter */
.gov-lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--gov-radius-full);
  z-index: 100001;
  letter-spacing: 0.04em;
}

/* ---- VIDEO LIGHTBOX ---- */
.gov-video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 10, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  animation: lbFadeIn 0.28s ease;
}

.gov-video-lightbox.open {
  display: flex;
}

.gov-vl-inner {
  position: relative;
  width: min(880px, 92vw);
  animation: lbScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gov-vl-video {
  width: 100%;
  border-radius: var(--gov-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  display: block;
  max-height: 70vh;
  background: #000;
}

.gov-vl-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0 8px;
}

/* Gallery empty state */
.gov-gallery-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gov-text-muted);
  font-size: 1rem;
}

.gov-gallery-empty i {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.4;
  display: block;
}

/* ============================================================
   ALL PANEL — Wireframe: 2fr photos (3x3) | 1fr videos (2 stacked, same height)
   ============================================================ */

.gov-all-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch; /* video column stretches to photo grid height */
}

@media (max-width: 991px) {
  .gov-all-wrap {
    grid-template-columns: 1fr;
  }
}

/* LEFT: 3×3 photo grid */
.gov-all-photos-col {
  width: 100%;
}

.gov-all-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 575px) {
  .gov-all-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dynamic Carousel item — Spanning 2 columns and 2 rows (replaces top-left 4 cards) */
.gov-all-carousel-item {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--gov-radius-md);
  overflow: hidden;
  box-shadow: var(--gov-shadow-sm);
  border: 1.5px solid var(--gov-border);
  background: #0f172a;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gov-all-carousel-item:hover {
  box-shadow: var(--gov-shadow-md);
  border-color: var(--gov-saffron);
}

.gov-gal-slider-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gov-gal-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease-in-out;
}

.gov-gal-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.gov-gal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Always Visible Carousel Arrows (Matching Wireframe) */
.gov-gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.gov-gal-arrow:hover {
  background: var(--gov-saffron);
  border-color: var(--gov-saffron);
  transform: translateY(-50%) scale(1.12);
  color: #ffffff;
}

.gov-gal-arrow.gov-gal-prev {
  left: 14px;
}

.gov-gal-arrow.gov-gal-next {
  right: 14px;
}

/* Always Visible Counter Pill (Matching 1/5 in Wireframe) */
.gov-gal-counter-pill {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

@media (max-width: 767px) {
  .gov-all-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gov-all-carousel-item {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16/9;
    min-height: unset;
  }
}

/* Photo item — 16:9 */
.gov-all-photo-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--gov-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--gov-shadow-sm);
  border: 1.5px solid var(--gov-border);
  background: var(--gov-bg-alt);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gov-all-photo-item .gov-ph-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.gov-all-photo-item .gov-ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(15, 23, 42, 0.75) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gov-all-photo-item .gov-ph-overlay .ph-zoom-icon {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.88rem;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.gov-all-photo-item:hover {
  box-shadow: var(--gov-shadow-md);
  border-color: var(--gov-saffron);
  transform: translateY(-2px);
  z-index: 2;
}

.gov-all-photo-item:hover .gov-ph-bg {
  transform: scale(1.08);
}
.gov-all-photo-item:hover .gov-ph-overlay {
  opacity: 1;
}
.gov-all-photo-item:hover .ph-zoom-icon {
  transform: scale(1.15);
  background: transparent !important;
  border-color: #ffffff !important;
  border-radius: 50% !important;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* RIGHT: 2 videos stacked — STRETCH to match 3x3 photo grid height */
.gov-all-videos-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%; /* fill full height of photo grid */
}

/* Each video card takes equal share (50%) of column height */
.gov-all-video-big {
  flex: 1; /* equally split height between 2 videos */
  min-height: 0;
  border-radius: var(--gov-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--gov-shadow-sm);
  border: 1.5px solid var(--gov-border);
  background: #0f172a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .gov-all-video-big {
    aspect-ratio: 16/9;
  }
}

/* Video thumb fills all space inside the card */
.gov-all-video-thumb-big {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gov-all-video-thumb-big video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.gov-all-video-big:hover {
  box-shadow: var(--gov-shadow-md);
  border-color: var(--gov-saffron);
  transform: translateY(-2px);
}

.gov-all-video-big:hover video {
  transform: scale(1.05);
}

.gov-all-video-big:hover .gov-video-play-btn {
  background: rgba(0, 0, 0, 0.15);
}
.gov-all-video-big:hover .play-circle-lg {
  transform: scale(1.1);
  background: rgba(249, 115, 22, 0.88) !important;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.6) !important;
}

/* Center Play Button Overlay */
.gov-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  transition: background 0.3s ease;
}

.play-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.52);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding-left: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Play button for video cards — smaller and semi-transparent */
.play-circle-lg {
  width: 50px !important;
  height: 50px !important;
  font-size: 1.18rem !important;
  padding-left: 3px !important;
  background: rgba(249, 115, 22, 0.52) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
}

/* Type Badge */
.gov-all-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  z-index: 5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gov-all-type-badge.photo-badge {
  background: rgba(30, 58, 138, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gov-all-type-badge.video-badge {
  background: rgba(249, 115, 22, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---- VIDEO TAB — Big 2-column cards ---- */
.gov-video-grid-big {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767.98px) {
  .gov-video-grid-big {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.gov-video-card-big {
  border-radius: var(--gov-radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--gov-shadow-sm);
  border: 1.5px solid var(--gov-border);
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gov-video-thumb-big {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f172a;
}

.gov-video-thumb-big video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.gov-video-card-big:hover {
  box-shadow: var(--gov-shadow-md);
  border-color: var(--gov-saffron);
  transform: translateY(-4px);
}

.gov-video-card-big:hover video {
  transform: scale(1.05);
}

.gov-video-card-big:hover .gov-video-play-btn {
  background: rgba(0, 0, 0, 0.15);
}
.gov-video-card-big:hover .play-circle-lg {
  transform: scale(1.1);
  background: rgba(249, 115, 22, 0.88) !important;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.6) !important;
}

/* ==========================================================================
   MODERN, SIMPLE & TOP-ALIGNED SUCHNA MODAL (महत्वपूर्ण सूचना एवं घोषणाएँ)
   ========================================================================== */
.suchna-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 99999 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 24px 16px !important;
}

/* Top-aligned dialog */
.suchna-modal .suchna-modal-dialog {
  margin: 28px auto 40px auto !important; /* Clean top alignment */
  max-width: 720px !important;
  width: 100% !important;
  animation: suchnaModalDropIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes suchnaModalDropIn {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.suchna-modal .modal-content {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.2), 0 8px 16px -6px rgba(15, 23, 42, 0.08) !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Top Accent Line Removed as requested */
.suchna-modal .modal-content::before {
  display: none !important;
  content: none !important;
}

/* Clean Header with Light Fill */
.suchna-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.suchna-header-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff !important;
  color: #ea580c !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.suchna-title {
  font-family: 'Mukta', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em;
}

.suchna-title strong {
  font-weight: 800 !important;
}

.suchna-subtitle {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-top: 2px;
}

.suchna-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #475569 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.suchna-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  transform: rotate(90deg);
}

/* Clean Body */
.suchna-modal-body {
  padding: 18px 22px;
  max-height: 60vh;
  overflow-y: auto;
  background: #fcfcfd;
}

/* Custom Scrollbar for Notice Body */
.suchna-modal-body::-webkit-scrollbar {
  width: 6px;
}
.suchna-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.suchna-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.suchna-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.suchna-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Clean Notice Card Item */
.suchna-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.suchna-item:hover {
  background: #ffffff;
  border-color: var(--gov-navy, #78350f);
  box-shadow: 0 6px 16px -4px rgba(120, 53, 15, 0.12);
  transform: translateY(-2px);
}

.suchna-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.suchna-item:hover .suchna-item-icon {
  transform: scale(1.08);
}

.suchna-item-icon.update {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.suchna-item-icon.news {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #e0f2fe;
}

.suchna-item-content {
  flex: 1;
  min-width: 0;
}

.suchna-item-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
  line-height: 1.4;
  word-break: break-word;
}

.suchna-item:hover .suchna-item-title {
  color: var(--gov-navy, #78350f);
}

.suchna-item-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  word-break: break-word;
}

.suchna-item-action {
  flex-shrink: 0;
}

.suchna-view-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--gov-navy, #78350f);
  transition: all 0.2s ease;
}

.suchna-item:hover .suchna-view-link {
  background: var(--gov-navy, #78350f);
  border-color: var(--gov-navy, #78350f);
  color: #ffffff;
}

/* Clean Footer */
.suchna-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.suchna-btn-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suchna-btn-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .suchna-modal {
    padding: 12px 8px !important;
  }
  .suchna-modal .suchna-modal-dialog {
    margin: 12px auto !important;
  }
  .suchna-modal-header {
    padding: 14px 16px;
  }
  .suchna-modal-body {
    padding: 14px 14px;
  }
  .suchna-modal-footer {
    padding: 12px 16px;
  }
  .suchna-item {
    padding: 12px;
    gap: 10px;
  }
  .suchna-title {
    font-size: 1.15rem;
    font-weight: 800;
  }
  .suchna-subtitle {
    font-size: 0.84rem;
    font-weight: 600;
  }
}

/* National Initiatives & Partner Portals Band (Above Footer) */
.gov-initiatives-band {
  /* background: #f3f3f3; */
  background: var(--gov-blue-subtle, #f3f7fd);
  padding: 24px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.gov-partner-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

.gov-partner-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  margin: 0;
}

.gov-partner-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  margin: 0;
  will-change: transform;
}

.gov-partner-card {
  flex: 0 0 calc((100% - (4 * 18px)) / 5);
  width: calc((100% - (4 * 18px)) / 5);
  min-width: 0;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  overflow: hidden !important;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  user-select: none;
}

.gov-partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--gov-saffron);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.gov-partner-img {
  max-height: 64px;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  display: block;
  margin: auto;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.gov-partner-card:hover .gov-partner-img {
  transform: scale(1.05);
}

.gov-partner-nav-btn {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--gov-navy-dark, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  align-self: center;
}

.gov-partner-nav-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}

.gov-partner-nav-btn:hover {
  background: var(--gov-navy-dark, #0f172a);
  color: #ffffff;
  border-color: var(--gov-navy-dark, #0f172a);
  transform: scale(1.08);
}

/* Responsive Breakpoints for Logo Carousel */
@media (max-width: 1200px) {
  .gov-partner-track {
    gap: 16px;
  }
  .gov-partner-card {
    flex: 0 0 calc((100% - (3 * 16px)) / 4);
    width: calc((100% - (3 * 16px)) / 4);
  }
}

@media (max-width: 991.98px) {
  .gov-initiatives-band {
    padding: 18px 0;
  }
  .gov-partner-carousel-container {
    gap: 10px;
  }
  .gov-partner-track {
    gap: 12px;
  }
  .gov-partner-card {
    flex: 0 0 calc((100% - (2 * 12px)) / 3);
    width: calc((100% - (2 * 12px)) / 3);
    height: 78px;
    padding: 8px 14px;
    border-radius: 10px;
  }
  .gov-partner-img {
    max-height: 50px !important;
    max-width: 84% !important;
  }
  .gov-partner-nav-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .gov-initiatives-band {
    padding: 14px 0 16px;
  }
  .gov-partner-carousel-container {
    gap: 6px;
  }
  .gov-partner-track {
    gap: 10px;
  }
  .gov-partner-card {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    height: 72px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  .gov-partner-img {
    max-height: 46px !important;
    max-width: 84% !important;
    object-fit: contain !important;
  }
  .gov-partner-nav-btn {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 0.68rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
  }
}

@media (max-width: 480px) {
  .gov-initiatives-band {
    padding: 12px 0 14px;
  }
  .gov-partner-carousel-container {
    gap: 5px;
  }
  .gov-partner-track {
    gap: 8px;
  }
  .gov-partner-card {
    flex: 0 0 calc((100% - 8px) / 2) !important;
    width: calc((100% - 8px) / 2) !important;
    height: 68px !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  .gov-partner-img {
    max-height: 42px !important;
    max-width: 84% !important;
    object-fit: contain !important;
  }
  .gov-partner-nav-btn {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
  }
}

/* Official Government Redesigned Footer (GIGW 3.0 Compliant) */
.gov-footer {
  background-color: var(--gov-navy-dark, #1a2f52);
  background-image: url("/CMSimg/Images/new-assets/Footer_bg.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: #ffffff;
  border-top: 4px solid var(--gov-saffron, #ff9933);
  position: relative;
}

.gov-footer-main {
  background: transparent !important;
  padding: 44px 0 32px 0;
  position: relative;
  z-index: 1;
}

.gov-footer-emblem {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}

.gov-footer-emblem:hover {
  transform: scale(1.05);
}

.gov-footer-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.gov-footer-subtitle {
  color: #fde047;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.gov-footer-desc,
.gov-footer p {
  color: #ffffff !important;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 18px;
}

.gov-footer-social-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 8px;
}

.gov-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.gov-footer-social-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b1f3a;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.gov-footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.gov-footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: #fbbf24;
}

.gov-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gov-footer-links li {
  margin-bottom: 9px;
}

.gov-footer-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.gov-footer-links a i {
  color: #fde047;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.gov-footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.gov-footer-links a:hover i {
  transform: translateX(2px);
}

/* Contact & Helpdesk List */
.gov-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gov-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.5;
}

.gov-footer-contact-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fde047;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.gov-footer-contact-list a {
  color: #fde047;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gov-footer-contact-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Stats, Metadata & Visitor Counter Strip - Blends seamlessly with ANY active theme */
.gov-footer-stats-strip {
  background: rgba(0, 0, 0, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 0;
  font-size: 0.9rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.gov-footer-stat-item {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 0.9rem;
}

.gov-footer-stat-item strong {
  color: #fde047;
}

.gov-visitor-label {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
}

.gov-visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  background: transparent !important;
  padding: 0;
  border: none;
  box-shadow: none;
}

.visitor-digit {
  display: inline-block;
  background: #f1f5f9;
  color: #0f172a;
  font-family: "Courier New", Courier, monospace;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 1.5px 5px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
}

/* Bottom Copyright - Transparent so Footer_bg.png watermark graphic flows seamlessly */
.gov-footer-bottom {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}

.gov-copyright-text strong {
  color: #ffffff;
}

.gov-managed-by {
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Mobile Optimization: Footer Section (GIGW 3.0 Compliant)
   ========================================================================== */
@media (max-width: 767.98px) {
  .gov-footer-main {
    padding: 24px 0 16px 0 !important;
  }

  /* Col 1: Brand & Socials - Centered with MP Logo above Name */
  .gov-footer-brand {
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .gov-footer-brand .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .gov-footer-brand .d-flex > div {
    text-align: center !important;
  }

  .gov-footer-emblem {
    height: 48px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .gov-footer-title {
    font-size: 1.08rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin-bottom: 3px !important;
  }

  .gov-footer-subtitle {
    font-size: 0.74rem !important;
    text-align: center !important;
    display: block !important;
  }

  .gov-footer-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }

  .gov-footer-social {
    text-align: center !important;
  }

  .gov-footer-social-label {
    font-size: 0.76rem !important;
    margin-bottom: 6px !important;
  }

  .gov-footer-social .d-flex {
    justify-content: center !important;
  }

  .gov-footer-social-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  /* Headings in Col 2, 3, 4 */
  .gov-footer-heading {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
    padding-bottom: 6px !important;
  }

  .gov-footer-heading::after {
    width: 28px !important;
    height: 2.5px !important;
  }

  /* Links in Col 2 & Col 3 */
  .gov-footer-links li {
    margin-bottom: 6px !important;
  }

  .gov-footer-links a {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    gap: 5px !important;
  }

  .gov-footer-links a i {
    font-size: 0.68rem !important;
  }

  /* Col 4: Contact & Helpdesk */
  .gov-footer-contact-list li {
    gap: 10px !important;
    margin-bottom: 10px !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  .gov-footer-contact-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
  }

  /* Stats & Visitor Strip */
  .gov-footer-stats-strip {
    padding: 8px 0 !important;
  }

  .gov-footer-stats-strip .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .gov-footer-stat-item {
    font-size: 0.78rem !important;
    justify-content: center !important;
  }

  .gov-footer-visitor-box {
    justify-content: center !important;
  }

  .gov-visitor-label {
    font-size: 0.78rem !important;
  }

  .visitor-digit {
    font-size: 0.76rem !important;
    padding: 1px 4px !important;
    min-width: 16px !important;
  }

  /* Copyright Bottom Strip */
  .gov-footer-bottom {
    padding: 10px 0 !important;
  }

  .gov-footer-bottom .d-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 4px !important;
  }

  .gov-copyright-text {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .gov-managed-by {
    font-size: 0.72rem !important;
    text-align: center !important;
  }
}

@media (max-width: 400px) {
  .gov-footer-links a {
    font-size: 0.74rem !important;
  }
  .gov-footer-title {
    font-size: 0.98rem !important;
  }
  .gov-footer-desc {
    font-size: 0.78rem !important;
  }
  .gov-footer-contact-list li {
    font-size: 0.78rem !important;
  }
}

/* Responsive Tweaks for Paripatra (Circulars & Orders Hub) */
@media (max-width: 991.98px) {
  .gov-band-paripatra {
    padding: 24px 0 28px;
  }
  .paripatra-master-card {
    padding: 20px 18px 24px;
    border-radius: 14px;
  }
  .paripatra-header-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 16px;
  }
  .paripatra-header-wrap .d-flex {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px !important;
  }
  .paripatra-search-box {
    flex: 1;
    min-width: 200px;
  }
  .paripatra-nav-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 6px;
    gap: 5px;
    margin-bottom: 16px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767.98px) {
  .gov-band-paripatra {
    padding: 18px 0 22px;
  }
  .paripatra-master-card {
    padding: 14px 12px 18px;
    border-radius: 12px;
  }
  .paripatra-header-wrap {
    gap: 10px;
    margin-bottom: 12px;
  }
  .paripatra-title-block {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
  }
  .paripatra-title-block > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .paripatra-title-block .gov-clean-eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }
  .paripatra-title-block h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    text-align: center !important;
    width: 100%;
  }
  .paripatra-title-block p,
  .paripatra-title-block .gov-clean-tagline {
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center !important;
    justify-content: center !important;
    width: 100%;
  }
  .paripatra-header-wrap .d-flex {
    flex-direction: column;
    width: 100%;
    gap: 8px !important;
  }
  .paripatra-search-box {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 12px;
  }
  .paripatra-search-box input {
    font-size: 0.8rem;
  }
  .gov-btn-viewall {
    width: 100%;
    justify-content: center;
    height: 34px;
    font-size: 0.8rem;
    padding: 0 14px;
  }
  .paripatra-nav-pills {
    padding: 4px;
    gap: 4px;
    margin-bottom: 12px;
    border-radius: 8px;
  }
  .paripatra-pill {
    padding: 5px 10px;
    font-size: 0.76rem;
    gap: 5px;
    border-radius: 6px;
  }
  .paripatra-list-wrapper {
    height: 380px;
    max-height: 420px;
  }
  .gov-circular-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
  }
  .gov-circular-item > div:first-child {
    width: 100%;
    align-items: flex-start !important;
  }
  .gov-doc-title {
    font-size: 0.86rem;
    line-height: 1.45;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .gov-badge-dept,
  .gov-badge-date,
  .gov-badge-official {
    font-size: 0.68rem;
    padding: 2px 7px;
  }
  .gov-doc-action-group {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
  }
  .gov-views-pill {
    font-size: 0.72rem;
    padding: 4px 9px;
  }
  .gov-btn-download {
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 6px;
  }
}

@media (max-width: 400px) {
  .paripatra-master-card {
    padding: 12px 10px 16px;
  }
  .paripatra-title-block h3 {
    font-size: 1.1rem;
    text-align: center !important;
  }
  .gov-doc-title {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .gov-views-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .gov-btn-download {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}

/* ==========================================================================
   Mobile Global Center Alignment for Section Titles, Headings & Subtitles
   ========================================================================== */
@media (max-width: 767.98px) {
  .gov-section-heading,
  .gov-section-title,
  .gov-section-subtitle,
  .gov-clean-heading,
  .gov-clean-tagline,
  .gov-gallery-title-box,
  .gov-gallery-title-box h2,
  .gov-gallery-title-box p,
  .paripatra-title-block,
  .paripatra-title-block h3,
  .paripatra-title-block p,
  .gov-initiatives-heading,
  .section-title,
  .section-heading,
  .gov-band-services .gov-section-heading {
    text-align: center !important;
  }

  .gov-clean-eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    display: inline-flex !important;
  }

  .gov-clean-tagline {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   Mobile Optimization: Media Gallery Section (Photos, Videos & Lightbox)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Section Padding & Spacing */
  .gov-band-gallery-v2 {
    padding: 24px 0 28px !important;
  }

  .gov-gallery-header-row {
    margin-bottom: 14px !important;
    gap: 10px !important;
  }

  .gov-gallery-title-box .gov-clean-eyebrow {
    font-size: 0.75rem !important;
    padding: 3px 10px !important;
    margin-bottom: 6px !important;
  }

  .gov-gallery-title-box .gov-clean-heading {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }

  .gov-gallery-title-box .gov-clean-tagline {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    max-width: 92% !important;
    margin: 0 auto !important;
  }

  /* Gallery Tabs - compact and horizontally scrollable if needed */
  .gov-gallery-tabs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 2px 4px !important;
  }

  .gov-gallery-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .gov-gal-tab {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
    border-width: 1.5px !important;
    border-radius: 999px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .gov-gal-tab .tab-count {
    font-size: 0.68rem !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
  }

  /* All Panel Layout */
  .gov-all-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .gov-all-photos-col {
    width: 100% !important;
  }

  .gov-all-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* Carousel in All Panel */
  .gov-all-carousel-item {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 16/9 !important;
    min-height: unset !important;
    border-radius: 10px !important;
  }

  .gov-gal-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.78rem !important;
  }

  .gov-gal-arrow.gov-gal-prev {
    left: 8px !important;
  }

  .gov-gal-arrow.gov-gal-next {
    right: 8px !important;
  }

  .gov-gal-counter-pill {
    bottom: 8px !important;
    right: 8px !important;
    font-size: 0.72rem !important;
    padding: 2px 9px !important;
  }

  /* Photo items in All Panel */
  .gov-all-photo-item {
    aspect-ratio: 16/9 !important;
    border-radius: 8px !important;
  }

  /* 5th photo item spans full width so there's no empty gap in 2-col grid */
  .gov-all-photo-grid .gov-all-photo-item:nth-child(6) {
    grid-column: 1 / -1 !important;
  }

  .gov-all-photo-item .ph-zoom-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }

  .gov-all-type-badge {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.65rem !important;
    top: 6px !important;
    left: 6px !important;
  }

  /* Video items in All Panel - 2 side-by-side in 1 row */
  .gov-all-videos-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 2px !important;
    height: auto !important;
  }

  .gov-all-video-big {
    aspect-ratio: 16/9 !important;
    border-radius: 8px !important;
    width: 100% !important;
    min-height: unset !important;
  }

  .gov-all-video-thumb-big {
    width: 100% !important;
    height: 100% !important;
  }

  /* Videos in Video Tab */
  .gov-video-grid-big {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .gov-video-card-big {
    border-radius: 8px !important;
  }

  .gov-video-thumb-big {
    aspect-ratio: 16/9 !important;
  }

  /* Shared compact Play Button for mobile video cards */
  .play-circle-lg {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
  }

  /* Photos in Photo Tab */
  .gov-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .gov-photo-item {
    aspect-ratio: 4/3 !important;
    border-radius: 8px !important;
  }

  .gov-photo-item .ph-zoom-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }

  /* Lightbox Controls on Mobile */
  .gov-lb-img {
    max-width: 95vw !important;
    max-height: 80vh !important;
    border-radius: 8px !important;
  }

  .gov-lb-nav {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }

  .gov-lb-prev,
  #govVlPrev {
    left: 8px !important;
  }

  .gov-lb-next,
  #govVlNext {
    right: 8px !important;
  }

  .gov-lb-close,
  #govVlClose {
    top: 12px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .gov-lb-counter,
  #govVlCounter {
    bottom: 16px !important;
    font-size: 0.76rem !important;
    padding: 4px 12px !important;
  }

  .gov-vl-inner {
    width: 94vw !important;
  }

  .gov-vl-caption {
    font-size: 0.8rem !important;
    padding: 0 4px !important;
  }
}

@media (max-width: 400px) {
  .gov-gal-tab {
    padding: 5px 9px !important;
    font-size: 0.74rem !important;
    gap: 4px !important;
  }

  .gov-gal-tab .tab-count {
    font-size: 0.65rem !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 3px !important;
  }

  .gov-gallery-title-box .gov-clean-heading {
    font-size: 1.15rem !important;
  }
}

/* ==========================================================================
   High Contrast Mode (WCAG 2.1 AAA Accessibility Standard)
   ========================================================================== */
body.high-contrast,
html.high-contrast body {
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.high-contrast * {
  border-color: #475569 !important;
}

body.high-contrast .gov-accessibility-bar {
  background: #000000 !important;
  border-bottom: 2px solid #ffff00 !important;
}

body.high-contrast .gov-access-btn {
  background: #1e293b !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00 !important;
}

body.high-contrast .gov-access-btn.active,
body.high-contrast .gov-access-btn:hover {
  background: #ffff00 !important;
  color: #000000 !important;
}

body.high-contrast .gov-top-lang-wrapper {
  background: #000000 !important;
  border: 1px solid #ffff00 !important;
}

body.high-contrast .gov-top-lang-wrapper .gov-lang-icon {
  color: #ffff00 !important;
}

body.high-contrast .gov-top-lang-wrapper select.gt_selector {
  color: #ffff00 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23ffff00' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E") !important;
}

body.high-contrast .gov-top-lang-wrapper select.gt_selector option {
  background-color: #000000 !important;
  color: #ffff00 !important;
}

body.high-contrast .gov-main-header,
body.high-contrast .gov-main-nav,
body.high-contrast .gov-circular-stream,
body.high-contrast .gov-circular-item,
body.high-contrast .gov-portal-footer {
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-dept-hindi,
body.high-contrast .gov-dept-eng,
body.high-contrast .gov-doc-title,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6 {
  color: #ffff00 !important;
}

body.high-contrast a {
  color: #38bdf8 !important;
}

/* ==========================================================================
   Homepage — Hero Slider
   ========================================================================== */
.home-fixed-slider {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  background: var(--gov-navy-dark);
}

.main-slider {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.main-slider:not(.slick-initialized) {
  display: flex !important;
  overflow: hidden !important;
  max-height: 520px;
}

.main-slider:not(.slick-initialized) > div {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

.main-slider:not(.slick-initialized) > div:not(:first-child) {
  display: none !important;
}

.main-slider.slick-initialized {
  display: block !important;
}

.main-slider .slick-slide {
  margin: 0 !important;
  padding: 0 !important;
}

.main-slider img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
}

.main-slider .slick-prev,
.main-slider .slick-next {
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(40, 70, 118, 0.7) !important;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.main-slider .slick-prev:hover,
.main-slider .slick-next:hover {
  background: var(--gov-saffron) !important;
}

.main-slider .slick-prev {
  left: 20px;
}
.main-slider .slick-next {
  right: 20px;
}

/* ==========================================================================
   Modern Left-Side Floating Quick Dock & Social Sidebar
   ========================================================================== */
#fixed-social,
.gov-floating-dock {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
  bottom: 80px !important;
  transform: none !important;
  z-index: 1040 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  pointer-events: auto !important;
}

#fixed-social .dock-separator {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

#fixed-social .dock-item,
#fixed-social > div {
  display: flex !important;
  justify-content: flex-start !important;
}

/* Base state: Compact 30px pill anchored to the left (reduced from 36px) */
#fixed-social a {
  color: #ffffff !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.16) !important;
  text-decoration: none !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  transition:
    width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* Icon: Perfectly centered in the 30px dock tab */
#fixed-social a i {
  font-size: 0.82rem !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  color: #ffffff !important;
}

/* Label: Follows the icon on the RIGHT, inside the SAME single pill */
#fixed-social a .dock-label,
#fixed-social a span {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  padding-right: 12px !important;
  padding-left: 2px !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  transform: translateX(-6px) !important;
  transition:
    opacity 0.2s ease 0.04s,
    transform 0.2s ease 0.04s !important;
  pointer-events: none !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  height: auto !important;
  line-height: normal !important;
  display: inline-block !important;
}

/* Hover state: ONE unified box smoothly expands to the right */
#fixed-social a:hover {
  width: 108px !important;
  box-shadow: 3px 4px 14px rgba(0, 0, 0, 0.24) !important;
}

#fixed-social a:hover .dock-label,
#fixed-social a:hover span {
  opacity: 1 !important;
  transform: translateX(0) !important;
  visibility: visible !important;
}

/* Vibrant brand gradients */
#fixed-social .dock-menu a,
#fixed-social .fixed-menu {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
}

#fixed-social .dock-facebook a,
#fixed-social .fixed-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%) !important;
}

#fixed-social .dock-twitter a,
#fixed-social .fixed-twitter {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

#fixed-social .dock-youtube a,
#fixed-social .fixed-youtube,
#fixed-social .fixed-tumblr {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #fixed-social a {
    width: 26px !important;
    height: 26px !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  #fixed-social a i {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    font-size: 0.72rem !important;
  }
  #fixed-social a:hover {
    width: 26px !important;
  }
  #fixed-social a .dock-label,
  #fixed-social a span {
    display: none !important;
  }
}

/* ==========================================================================
   Section: Shiksha Saathi (शिक्षा साथी) - AI Education Helpdesk Chatbot
   ========================================================================== */
.gov-chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  font-family: inherit;
}

/* Callout Tooltip Pill */
.gov-chatbot-tooltip {
  position: absolute;
  bottom: 74px;
  right: 4px;
  background: #ffffff;
  color: #0f172a;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  animation: govBotTooltipPulse 4s ease-in-out infinite alternate;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gov-chatbot-tooltip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.gov-chatbot-tooltip-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.gov-chatbot-tooltip-close {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 2px;
  margin-left: 4px;
  transition: color 0.15s ease;
}

.gov-chatbot-tooltip-close:hover {
  color: #e11d48;
}

@keyframes govBotTooltipPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Scroll To Top Button (Positioned directly above Chatbot) */
.gov-scroll-top-btn {
  position: fixed;
  bottom: 94px;
  right: 41px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--gov-navy-dark, #1a2f52);
  color: #ffffff;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gov-scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.gov-scroll-top-btn:hover {
  background: var(--gov-navy, #284676);
  color: #ffffff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
}

.gov-scroll-top-btn:active {
  transform: scale(0.94);
}

/* Floating Trigger Button */
.gov-chatbot-trigger {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gov-navy-dark, #1a2f52);
  border: 2.5px solid #ffffff;
  padding: 0;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.gov-chatbot-trigger:hover {
  background: var(--gov-navy, #284676);
  transform: scale(1.08) translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 4px 10px rgba(0, 0, 0, 0.12);
}

.gov-chatbot-trigger:active {
  transform: scale(0.96);
}

.gov-chatbot-trigger-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gov-chatbot-avatar-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.25s ease;
}

.gov-chatbot-trigger:hover .gov-chatbot-avatar-img {
  transform: scale(1.05);
}

/* Online Pulse Dot on Trigger */
.gov-chatbot-online-pulse {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.gov-chatbot-online-pulse::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: govPulseRipple 2s infinite ease-out;
}

@keyframes govPulseRipple {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Small AI badge */
.gov-chatbot-trigger-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Chatbot Main Window
   ========================================================================== */
.gov-chatbot-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 120px);
  background: #f8fafc;
  border-radius: 12px;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s;
}

.gov-chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.gov-chatbot-header {
  background: var(--gov-navy, #1a2f52);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.gov-chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gov-chatbot-header-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.gov-chatbot-header-avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.gov-chatbot-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
}

.gov-chatbot-header-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  line-height: 1.2;
}

.gov-chatbot-header-tag {
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #d97706;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.gov-chatbot-header-sub {
  font-size: 0.82rem;
  color: #ffffff !important;
  margin: 3px 0 0 0;
  line-height: 1.2;
  font-weight: 500;
  opacity: 0.95;
}

.gov-chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gov-chatbot-btn-action {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gov-chatbot-btn-action:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.gov-chatbot-btn-close:hover {
  background: #e11d48 !important;
  border-color: #e11d48 !important;
  color: #ffffff;
}

/* Chat Messages Stream */
.gov-chatbot-messages {
  flex: 1;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.gov-chatbot-messages::-webkit-scrollbar {
  width: 5px;
}

.gov-chatbot-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Message Item */
.gov-chat-msg {
  display: flex;
  gap: 8px;
  max-width: 90%;
  animation: govChatFadeIn 0.25s ease-out;
}

@keyframes govChatFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gov-chat-msg-bot {
  align-self: flex-start;
}

.gov-chat-msg-user {
  align-self: flex-end;
  max-width: 80%;
}

.gov-chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.gov-chat-avatar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gov-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.gov-chat-msg-bot .gov-chat-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.gov-chat-msg-user .gov-chat-bubble {
  background: var(--gov-navy, #1a2f52);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

/* Welcome Box */
.gov-chat-welcome-box h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.gov-chat-welcome-box p {
  font-size: 0.84rem;
  color: #475569;
}

/* Quick Chips */
.gov-chatbot-quick-chips {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gov-quick-chips-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.gov-quick-chip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e3a8a;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gov-quick-chip:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

/* Formatted Bot Responses */
.gov-chat-topic-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.gov-chat-topic-desc {
  font-size: 0.84rem;
  color: #334155;
  margin-bottom: 8px;
}

.gov-chat-points-list {
  margin: 0 0 10px 0;
  padding-left: 18px;
  font-size: 0.82rem;
  color: #475569;
}

.gov-chat-points-list li {
  margin-bottom: 4px;
}

.gov-chat-action-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.gov-chat-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.gov-chat-btn-link:hover {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
  transform: translateY(-1px);
}

/* Typing Indicator */
.gov-chatbot-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 10px;
}

.gov-typing-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gov-typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: govTypingBounce 1.4s infinite ease-in-out;
}

.gov-typing-dot:nth-child(1) {
  animation-delay: 0s;
}
.gov-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.gov-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes govTypingBounce {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.gov-typing-label {
  font-size: 0.74rem;
  color: #94a3b8;
  font-style: italic;
}

/* Input Footer */
.gov-chatbot-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 14px;
}

.gov-chatbot-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 6px 4px 12px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gov-chatbot-input-wrap:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gov-chatbot-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.86rem;
  color: #0f172a;
  outline: none;
  box-shadow: none;
  padding: 6px 0;
}

.gov-chatbot-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.gov-chatbot-input::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.gov-chatbot-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--gov-navy, #1a2f52);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.gov-chatbot-send-btn:hover {
  background: var(--gov-navy-dark, #284676);
  transform: scale(1.06);
}

.gov-chatbot-footer-note {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
  text-align: center;
  margin-top: 6px;
  line-height: 1;
}

/* ==========================================================================
   Mobile Full-Screen App-Grade Chatbot Layout
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Hide background floating triggers and social dock when chatbot is open */
  body.gov-chatbot-open .gov-chatbot-trigger,
  .gov-chatbot-wrapper.chat-open .gov-chatbot-trigger {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.gov-chatbot-open #fixed-social,
  body.gov-chatbot-open .gov-floating-dock,
  body.gov-chatbot-open .gov-scroll-top-btn {
    display: none !important;
  }

  body.gov-chatbot-open {
    overflow: hidden !important;
  }

  .gov-chatbot-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 999999 !important;
    margin: 0 !important;
  }

  .gov-chatbot-header {
    padding: 10px 14px !important;
    border-radius: 0 !important;
  }

  .gov-chatbot-header-info {
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .gov-chatbot-header-avatar {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  .gov-chatbot-header-avatar img {
    width: 28px !important;
    height: 28px !important;
  }

  .gov-chatbot-header-title {
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  .gov-chatbot-header-tag {
    font-size: 0.62rem !important;
    padding: 1px 6px !important;
    white-space: nowrap !important;
  }

  .gov-chatbot-header-sub {
    font-size: 0.72rem !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .gov-chatbot-header-actions {
    gap: 5px !important;
    flex-shrink: 0 !important;
  }

  .gov-chatbot-btn-action {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
  }

  .gov-chatbot-messages {
    padding: 12px 10px !important;
    gap: 10px !important;
  }

  .gov-chat-msg {
    max-width: 94% !important;
  }

  .gov-chat-bubble {
    padding: 9px 12px !important;
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
  }

  .gov-quick-chip {
    padding: 7px 10px !important;
    font-size: 0.78rem !important;
    min-height: 34px !important;
  }

  .gov-chatbot-footer {
    padding: 8px 10px max(8px, env(safe-area-inset-bottom, 8px)) 10px !important;
  }

  .gov-chatbot-input-wrap {
    padding: 3px 6px 3px 10px !important;
    min-height: 40px !important;
    border-radius: 8px !important;
  }

  .gov-chatbot-input {
    font-size: 0.88rem !important;
    padding: 6px 0 !important;
  }

  .gov-chatbot-send-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.82rem !important;
  }

  .gov-chatbot-footer-note {
    font-size: 0.66rem !important;
    margin-top: 4px !important;
  }

  /* Trigger Button size on mobile when closed */
  .gov-chatbot-trigger {
    width: 52px !important;
    height: 52px !important;
    bottom: 16px !important;
    right: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
  }

  .gov-chatbot-avatar-img {
    width: 38px !important;
    height: 38px !important;
  }

  .gov-scroll-top-btn {
    bottom: 74px !important;
    right: 22px !important;
    width: 34px !important;
    height: 34px !important;
  }
}

/* ==========================================================================
   Section: Accessibility Options Sidebar Drawer (GIGW 3.0 Standard)
   ========================================================================== */
.gov-a11y-toggle-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  padding: 2px 10px !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.2s ease !important;
}

.gov-a11y-toggle-btn:hover {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #0f172a !important;
}

/* Backdrop (Clear View, No Dark Overlay, No Blur) */
.gov-a11y-backdrop {
  position: fixed;
  inset: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.gov-a11y-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Container */
.gov-a11y-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  background: #f1f5f9;
  z-index: 1070;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
  border-left: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.gov-a11y-sidebar.active {
  transform: translateX(0);
}

/* Clean Header */
.gov-a11y-clean-header {
  background: #1c4485;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #e85d04;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.gov-a11y-header-badge {
  font-size: 1.85rem;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin-right: 4px;
}

.gov-a11y-clean-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.gov-a11y-clean-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
  display: block;
  margin-top: 1px;
}

.gov-a11y-clean-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.gov-a11y-clean-close:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

/* Clean Body */
.gov-a11y-clean-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
}

.gov-a11y-clean-body::-webkit-scrollbar {
  width: 5px;
}

.gov-a11y-clean-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Theme Palette Switcher Section */
.gov-a11y-theme-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.gov-a11y-theme-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.2px;
}

.gov-a11y-theme-active-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gov-navy);
  background: var(--gov-blue-subtle);
  border: 1px solid var(--gov-blue-accent);
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.gov-a11y-theme-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gov-theme-swatch-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gov-theme-swatch-btn:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.gov-theme-swatch-btn.active {
  background: #ffffff;
  transform: translateY(-1px);
}

/* Individual Theme Swatch Active State Colors & Borders */
.gov-theme-swatch-btn.active.theme-swatch-blue {
  border-color: #1c4485;
  box-shadow:
    0 0 0 1.5px #1c4485,
    0 3px 8px rgba(28, 68, 133, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-blue .swatch-name {
  color: #1c4485;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-green {
  border-color: #047857;
  box-shadow:
    0 0 0 1.5px #047857,
    0 3px 8px rgba(4, 120, 87, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-green .swatch-name {
  color: #047857;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-purple,
.gov-theme-swatch-btn.active.theme-swatch-orange {
  border-color: #ea580c;
  box-shadow:
    0 0 0 1.5px #ea580c,
    0 3px 8px rgba(234, 88, 12, 0.28);
}
.gov-theme-swatch-btn.active.theme-swatch-purple .swatch-name,
.gov-theme-swatch-btn.active.theme-swatch-orange .swatch-name {
  color: #ea580c;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-maroon {
  border-color: #9f1239;
  box-shadow:
    0 0 0 1.5px #9f1239,
    0 3px 8px rgba(159, 18, 57, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-maroon .swatch-name {
  color: #9f1239;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-saffron {
  border-color: #c2410c;
  box-shadow:
    0 0 0 1.5px #c2410c,
    0 3px 8px rgba(194, 65, 12, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-saffron .swatch-name {
  color: #c2410c;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-teal {
  border-color: #0e7490;
  box-shadow:
    0 0 0 1.5px #0e7490,
    0 3px 8px rgba(14, 116, 144, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-teal .swatch-name {
  color: #0e7490;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-indigo {
  border-color: #3730a3;
  box-shadow:
    0 0 0 1.5px #3730a3,
    0 3px 8px rgba(55, 48, 163, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-indigo .swatch-name {
  color: #3730a3;
  font-weight: 800;
}

.gov-theme-swatch-btn.active.theme-swatch-bronze {
  border-color: #78350f;
  box-shadow:
    0 0 0 1.5px #78350f,
    0 3px 8px rgba(120, 53, 15, 0.18);
}
.gov-theme-swatch-btn.active.theme-swatch-bronze .swatch-name {
  color: #78350f;
  font-weight: 800;
}

.swatch-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1.5px solid #ffffff;
}

.swatch-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  line-height: 1;
}

/* 3-Column Professional Multicolor Grid */
.gov-a11y-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Light Background Cards with Solid Borders & Icons */
.gov-a11y-card-multi {
  border-radius: 12px;
  padding: 12px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 1.25px solid;
  position: relative;
  cursor: pointer;
  min-height: 106px;
  width: 100%;
  background: #ffffff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.gov-a11y-card-multi:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.gov-a11y-card-multi .card-icon-wrap {
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  transition: transform 0.2s ease;
}

.gov-a11y-card-multi:hover .card-icon-wrap {
  transform: scale(1.15);
}

.gov-a11y-card-multi .card-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.2px;
}

.custom-font-icon {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -1px;
}

.custom-df-icon {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

/* Active Check Indicator Pill */
.card-active-indicator {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.45);
}

.gov-a11y-card-multi.active .card-active-indicator {
  opacity: 1;
  transform: scale(1);
}

.gov-a11y-card-multi.active {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* Light Card Themes with Solid-Colored Borders & Icons */
/* 1. Royal Blue (Text to Speech) */
.card-theme-blue {
  background: #eff6ff;
  border-color: #1d4ed8;
}
.card-theme-blue .card-icon-wrap {
  color: #1d4ed8;
}
.gov-a11y-card-multi.active.card-theme-blue {
  background: #dbeafe;
  box-shadow:
    0 0 0 1.5px #1d4ed8,
    0 6px 18px rgba(29, 78, 216, 0.25);
}

/* 2. Deep Violet (Bigger Text) */
.card-theme-violet {
  background: #f5f3ff;
  border-color: #6366f1;
}
.card-theme-violet .card-icon-wrap {
  color: #6366f1;
}
.gov-a11y-card-multi.active.card-theme-violet {
  background: #ede9fe;
  box-shadow:
    0 0 0 1.5px #6366f1,
    0 6px 18px rgba(99, 102, 241, 0.25);
}

/* 3. Ocean Blue (Small Text) */
.card-theme-sky {
  background: #f0f9ff;
  border-color: #0284c7;
}
.card-theme-sky .card-icon-wrap {
  color: #0284c7;
}
.gov-a11y-card-multi.active.card-theme-sky {
  background: #e0f2fe;
  box-shadow:
    0 0 0 1.5px #0284c7,
    0 6px 18px rgba(2, 132, 199, 0.25);
}

/* 4. Rich Purple (Line Height) */
.card-theme-purple {
  background: #faf5ff;
  border-color: #7e22ce;
}
.card-theme-purple .card-icon-wrap {
  color: #7e22ce;
}
.gov-a11y-card-multi.active.card-theme-purple {
  background: #f3e8ff;
  box-shadow:
    0 0 0 1.5px #7e22ce,
    0 6px 18px rgba(126, 34, 206, 0.25);
}

/* 5. Amber Gold (Highlight Links) */
.card-theme-amber {
  background: #fffbeb;
  border-color: #d97706;
}
.card-theme-amber .card-icon-wrap {
  color: #d97706;
}
.gov-a11y-card-multi.active.card-theme-amber {
  background: #fef3c7;
  box-shadow:
    0 0 0 1.5px #d97706,
    0 6px 18px rgba(217, 119, 6, 0.25);
}

/* 6. Slate Blue (Text Spacing) */
.card-theme-indigo {
  background: #eef2ff;
  border-color: #3b82f6;
}
.card-theme-indigo .card-icon-wrap {
  color: #3b82f6;
}
.gov-a11y-card-multi.active.card-theme-indigo {
  background: #e0e7ff;
  box-shadow:
    0 0 0 1.5px #3b82f6,
    0 6px 18px rgba(59, 130, 246, 0.25);
}

/* 7. Persian Teal (Dyslexia) */
.card-theme-teal {
  background: #f0fdfa;
  border-color: #0d9488;
}
.card-theme-teal .card-icon-wrap {
  color: #0d9488;
}
.gov-a11y-card-multi.active.card-theme-teal {
  background: #ccfbf1;
  box-shadow:
    0 0 0 1.5px #0d9488,
    0 6px 18px rgba(13, 148, 136, 0.25);
}

/* 8. Ruby Crimson (Hide Images) */
.card-theme-rose {
  background: #fff1f2;
  border-color: #e11d48;
}
.card-theme-rose .card-icon-wrap {
  color: #e11d48;
}
.gov-a11y-card-multi.active.card-theme-rose {
  background: #ffe4e6;
  box-shadow:
    0 0 0 1.5px #e11d48,
    0 6px 18px rgba(225, 29, 72, 0.25);
}

/* 9. Sunset Orange (Big Cursor) */
.card-theme-orange {
  background: #fff7ed;
  border-color: #ea580c;
}
.card-theme-orange .card-icon-wrap {
  color: #ea580c;
}
.gov-a11y-card-multi.active.card-theme-orange {
  background: #ffedd5;
  box-shadow:
    0 0 0 1.5px #ea580c,
    0 6px 18px rgba(234, 88, 12, 0.25);
}

/* 10. Charcoal Navy (Dark Mode) */
.card-theme-slate {
  background: #f8fafc;
  border-color: #334155;
}
.card-theme-slate .card-icon-wrap {
  color: #1e293b;
}
.gov-a11y-card-multi.active.card-theme-slate {
  background: #e2e8f0;
  box-shadow:
    0 0 0 1.5px #334155,
    0 6px 18px rgba(51, 65, 85, 0.25);
}

/* 11. Deep Cyan (Invert Colors) */
.card-theme-cyan {
  background: #ecfeff;
  border-color: #0891b2;
}
.card-theme-cyan .card-icon-wrap {
  color: #0891b2;
}
.gov-a11y-card-multi.active.card-theme-cyan {
  background: #cffafe;
  box-shadow:
    0 0 0 1.5px #0891b2,
    0 6px 18px rgba(8, 145, 178, 0.25);
}

/* 12. Forest Emerald (Reading Guide) */
.card-theme-emerald {
  background: #ecfdf5;
  border-color: #059669;
}
.card-theme-emerald .card-icon-wrap {
  color: #059669;
}
.gov-a11y-card-multi.active.card-theme-emerald {
  background: #d1fae5;
  box-shadow:
    0 0 0 1.5px #059669,
    0 6px 18px rgba(5, 150, 105, 0.25);
}

/* Clean Footer */
.gov-a11y-clean-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 16px;
}

.gov-a11y-clean-reset-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  background: #1c4485;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(28, 68, 133, 0.2);
}

.gov-a11y-clean-reset-btn:hover {
  background: #e85d04;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25);
}

/* ==========================================================================
   Full Screen Interactive Reading Guide (Focus Ruler - 100% Clear Text View)
   ========================================================================== */
.gov-a11y-reading-guide {
  position: fixed !important;
  left: 0 !important;
  top: 0;
  width: 100vw !important;
  height: 46px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 2px solid #1d4ed8 !important;
  border-bottom: 2px solid #1d4ed8 !important;
  box-shadow:
    0 -2px 8px rgba(29, 78, 216, 0.15),
    0 2px 8px rgba(29, 78, 216, 0.15) !important;
  pointer-events: none !important;
  z-index: 9999999 !important;
  display: none !important;
  transition: top 0.02s linear;
}

.gov-a11y-reading-guide.active {
  display: block !important;
}

/* ==========================================================================
   Working Accessibility Modifiers (Applied to <body>)
   ========================================================================== */
/* Universal Effective Font Scaling (GIGW 3.0 Standard) */
html.font-size-sm,
html.font-scale-sm,
body.gov-font-scale-sm {
  font-size: 88% !important;
}

html.font-size-lg,
html.font-scale-lg,
body.gov-font-scale-lg {
  font-size: 115% !important;
}

html.font-size-xl,
html.font-scale-xl,
body.gov-font-scale-xl {
  font-size: 128% !important;
}

html.font-size-lg body,
html.font-size-lg p,
html.font-size-lg span,
html.font-size-lg a,
html.font-size-lg li,
html.font-size-lg h1,
html.font-size-lg h2,
html.font-size-lg h3,
html.font-size-lg h4,
html.font-size-lg h5,
html.font-size-lg h6,
html.font-size-lg button:not(.gov-a11y-clean-close):not(.gov-access-btn),
html.font-size-lg input,
html.font-size-lg select,
html.font-size-lg td,
html.font-size-lg th {
  font-size: 1.08em;
}

html.font-size-sm body,
html.font-size-sm p,
html.font-size-sm span,
html.font-size-sm a,
html.font-size-sm li,
html.font-size-sm h1,
html.font-size-sm h2,
html.font-size-sm h3,
html.font-size-sm h4,
html.font-size-sm h5,
html.font-size-sm h6,
html.font-size-sm button:not(.gov-a11y-clean-close):not(.gov-access-btn),
html.font-size-sm input,
html.font-size-sm select,
html.font-size-sm td,
html.font-size-sm th {
  font-size: 0.92em;
}

/* Line Height */
body.gov-a11y-line-height,
body.gov-a11y-line-height p,
body.gov-a11y-line-height span,
body.gov-a11y-line-height li,
body.gov-a11y-line-height a {
  line-height: 2 !important;
}

/* Highlight Links */
body.gov-a11y-highlight-links a {
  text-decoration: underline 2.5px solid #f59e0b !important;
  background-color: rgba(254, 240, 138, 0.45) !important;
  color: #1e40af !important;
  font-weight: 700 !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}

/* Text Spacing */
body.gov-a11y-text-spacing,
body.gov-a11y-text-spacing * {
  letter-spacing: 1.5px !important;
  word-spacing: 3px !important;
}

/* Dyslexia Friendly */
body.gov-a11y-dyslexia,
body.gov-a11y-dyslexia * {
  font-family:
    "OpenDyslexic", "Comic Sans MS", "Verdana", sans-serif !important;
}

/* Hide Images */
body.gov-a11y-hide-images img,
body.gov-a11y-hide-images svg:not(.fa-solid):not(.fa-regular):not(.fa-brands),
body.gov-a11y-hide-images video,
body.gov-a11y-hide-images .swiper,
body.gov-a11y-hide-images .home-fixed-slider {
  filter: grayscale(100%) blur(4px) !important;
  opacity: 0.15 !important;
  transition: all 0.3s ease !important;
}

/* Big High-Visibility Cursor */
body.gov-a11y-big-cursor,
body.gov-a11y-big-cursor * {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='%230f172a' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M3 3l7 18 3-7 7-3L3 3z'/%3E%3C/svg%3E"),
    auto !important;
}

/* Dark Mode */
body.gov-a11y-dark-mode {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  filter: invert(0.9) hue-rotate(180deg) !important;
}

body.gov-a11y-dark-mode img,
body.gov-a11y-dark-mode video,
body.gov-a11y-dark-mode iframe {
  filter: invert(1) hue-rotate(180deg) !important;
}

/* Invert Colors */
body.gov-a11y-invert {
  filter: invert(1) hue-rotate(180deg) !important;
}

body.gov-a11y-invert img,
body.gov-a11y-invert video {
  filter: invert(1) hue-rotate(180deg) !important;
}

@media (max-width: 480px) {
  .gov-a11y-sidebar {
    width: 100vw;
    max-width: 100vw;
  }
}

/* ==========================================================================
   8 DYNAMIC EDUCATION THEME PALETTES (सुगमता केंद्र थीम कलर्स)
   ========================================================================== */

/* 1. Vidya Green (विद्या हरित - Emerald Green) */
[data-gov-theme="green"] {
  --gov-navy-dark: #065f46;
  --gov-navy: #047857;
  --gov-navy-light: #059669;
  --gov-navy-hover: #065f46;
  --gov-blue-accent: #047857;
  --gov-blue-subtle: #d1fae5;
}
[data-gov-theme="green"] .gov-accessibility-bar {
  background: #065f46 !important;
}
[data-gov-theme="green"] .gov-navbar-wrap,
[data-gov-theme="green"] .full-width-header .rs-header .menu-area,
[data-gov-theme="green"] .menu-area.sticky,
[data-gov-theme="green"] .menu-area {
  background: #047857 !important;
}
[data-gov-theme="green"] .gov-a11y-clean-header {
  background: #047857 !important;
}
[data-gov-theme="green"] .gov-footer,
[data-gov-theme="green"] .gov-footer-partners,
[data-gov-theme="green"] .rs-footer.footer-main-home {
  background-color: #065f46 !important;
}
[data-gov-theme="green"] .gov-footer-main,
[data-gov-theme="green"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="green"] .gov-btn-primary,
[data-gov-theme="green"] .btn-primary {
  background: #047857 !important;
  border-color: #065f46 !important;
}
[data-gov-theme="green"] .gov-btn-primary:hover,
[data-gov-theme="green"] .btn-primary:hover {
  background: #065f46 !important;
}
[data-gov-theme="green"] .gov-chatbot-header,
[data-gov-theme="green"] .gov-chatbot-trigger,
[data-gov-theme="green"] .gov-chatbot-send-btn,
[data-gov-theme="green"] .gov-chat-msg-user .gov-chat-bubble {
  background: #047857 !important;
}
[data-gov-theme="green"] .gov-scroll-top-btn {
  background: #065f46 !important;
}
[data-gov-theme="green"] .gov-scroll-top-btn:hover,
[data-gov-theme="green"] .gov-chatbot-trigger:hover,
[data-gov-theme="green"] .gov-chatbot-send-btn:hover {
  background: #065f46 !important;
}
[data-gov-theme="green"] .gov-dept-hindi {
  color: #047857 !important;
}
[data-gov-theme="green"] .dock-item.dock-menu a {
  background: #047857 !important;
}
[data-gov-theme="green"] .paripatra-pill.active,
[data-gov-theme="green"] .paripatra-tab-btn.active {
  background: #047857 !important;
  color: #ffffff !important;
}

/* 2. Urja Orange (ऊर्जा ऑरेंज - ERP Portal Orange #ea580c) */
[data-gov-theme="purple"],
[data-gov-theme="orange"] {
  --gov-navy-dark: #c2410c;
  --gov-navy: #ea580c;
  --gov-navy-light: #f97316;
  --gov-navy-hover: #c2410c;
  --gov-blue-accent: #ea580c;
  --gov-blue-subtle: #fff7ed;
}
[data-gov-theme="purple"] .gov-accessibility-bar,
[data-gov-theme="orange"] .gov-accessibility-bar {
  background: #c2410c !important;
}
[data-gov-theme="purple"] .gov-navbar-wrap,
[data-gov-theme="orange"] .gov-navbar-wrap,
[data-gov-theme="purple"] .full-width-header .rs-header .menu-area,
[data-gov-theme="orange"] .full-width-header .rs-header .menu-area,
[data-gov-theme="purple"] .menu-area.sticky,
[data-gov-theme="orange"] .menu-area.sticky,
[data-gov-theme="purple"] .menu-area,
[data-gov-theme="orange"] .menu-area {
  background: #ea580c !important;
}
[data-gov-theme="purple"] .gov-a11y-clean-header,
[data-gov-theme="orange"] .gov-a11y-clean-header {
  background: #ea580c !important;
}
[data-gov-theme="purple"] .gov-footer,
[data-gov-theme="orange"] .gov-footer,
[data-gov-theme="purple"] .gov-footer-partners,
[data-gov-theme="orange"] .gov-footer-partners,
[data-gov-theme="purple"] .rs-footer.footer-main-home,
[data-gov-theme="orange"] .rs-footer.footer-main-home {
  background-color: #c2410c !important;
}
[data-gov-theme="purple"] .gov-footer-main,
[data-gov-theme="orange"] .gov-footer-main,
[data-gov-theme="purple"] .gov-footer-bottom,
[data-gov-theme="orange"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="purple"] .gov-btn-primary,
[data-gov-theme="orange"] .gov-btn-primary,
[data-gov-theme="purple"] .btn-primary,
[data-gov-theme="orange"] .btn-primary {
  background: #ea580c !important;
  border-color: #c2410c !important;
}
[data-gov-theme="purple"] .gov-btn-primary:hover,
[data-gov-theme="orange"] .gov-btn-primary:hover,
[data-gov-theme="purple"] .btn-primary:hover,
[data-gov-theme="orange"] .btn-primary:hover {
  background: #c2410c !important;
}
[data-gov-theme="purple"] .gov-chatbot-header,
[data-gov-theme="orange"] .gov-chatbot-header,
[data-gov-theme="purple"] .gov-chatbot-trigger,
[data-gov-theme="orange"] .gov-chatbot-trigger,
[data-gov-theme="purple"] .gov-chatbot-send-btn,
[data-gov-theme="orange"] .gov-chatbot-send-btn,
[data-gov-theme="purple"] .gov-chat-msg-user .gov-chat-bubble,
[data-gov-theme="orange"] .gov-chat-msg-user .gov-chat-bubble {
  background: #ea580c !important;
}
[data-gov-theme="purple"] .gov-scroll-top-btn,
[data-gov-theme="orange"] .gov-scroll-top-btn {
  background: #c2410c !important;
}
[data-gov-theme="purple"] .gov-scroll-top-btn:hover,
[data-gov-theme="orange"] .gov-scroll-top-btn:hover,
[data-gov-theme="purple"] .gov-chatbot-trigger:hover,
[data-gov-theme="orange"] .gov-chatbot-trigger:hover,
[data-gov-theme="purple"] .gov-chatbot-send-btn:hover,
[data-gov-theme="orange"] .gov-chatbot-send-btn:hover {
  background: #c2410c !important;
}
[data-gov-theme="purple"] .gov-dept-hindi,
[data-gov-theme="orange"] .gov-dept-hindi {
  color: #ea580c !important;
}
[data-gov-theme="purple"] .dock-item.dock-menu a,
[data-gov-theme="orange"] .dock-item.dock-menu a {
  background: #ea580c !important;
}
[data-gov-theme="purple"] .paripatra-pill.active,
[data-gov-theme="orange"] .paripatra-pill.active,
[data-gov-theme="purple"] .paripatra-tab-btn.active,
[data-gov-theme="orange"] .paripatra-tab-btn.active {
  background: #ea580c !important;
  color: #ffffff !important;
}

/* 3. Pratibha Maroon (प्रतिभा मैरून - Deep Crimson Maroon) */
[data-gov-theme="maroon"] {
  --gov-navy-dark: #881337;
  --gov-navy: #9f1239;
  --gov-navy-light: #be123c;
  --gov-navy-hover: #881337;
  --gov-blue-accent: #9f1239;
  --gov-blue-subtle: #ffe4e6;
}
[data-gov-theme="maroon"] .gov-accessibility-bar {
  background: #881337 !important;
}
[data-gov-theme="maroon"] .gov-navbar-wrap,
[data-gov-theme="maroon"] .full-width-header .rs-header .menu-area,
[data-gov-theme="maroon"] .menu-area.sticky,
[data-gov-theme="maroon"] .menu-area {
  background: #9f1239 !important;
}
[data-gov-theme="maroon"] .gov-a11y-clean-header {
  background: #9f1239 !important;
}
[data-gov-theme="maroon"] .gov-footer,
[data-gov-theme="maroon"] .gov-footer-partners,
[data-gov-theme="maroon"] .rs-footer.footer-main-home {
  background-color: #881337 !important;
}
[data-gov-theme="maroon"] .gov-footer-main,
[data-gov-theme="maroon"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="maroon"] .gov-btn-primary,
[data-gov-theme="maroon"] .btn-primary {
  background: #9f1239 !important;
  border-color: #881337 !important;
}
[data-gov-theme="maroon"] .gov-btn-primary:hover,
[data-gov-theme="maroon"] .btn-primary:hover {
  background: #881337 !important;
}
[data-gov-theme="maroon"] .gov-chatbot-header,
[data-gov-theme="maroon"] .gov-chatbot-trigger,
[data-gov-theme="maroon"] .gov-chatbot-send-btn,
[data-gov-theme="maroon"] .gov-chat-msg-user .gov-chat-bubble {
  background: #9f1239 !important;
}
[data-gov-theme="maroon"] .gov-scroll-top-btn {
  background: #881337 !important;
}
[data-gov-theme="maroon"] .gov-scroll-top-btn:hover,
[data-gov-theme="maroon"] .gov-chatbot-trigger:hover,
[data-gov-theme="maroon"] .gov-chatbot-send-btn:hover {
  background: #881337 !important;
}
[data-gov-theme="maroon"] .gov-dept-hindi {
  color: #9f1239 !important;
}
[data-gov-theme="maroon"] .dock-item.dock-menu a {
  background: #9f1239 !important;
}
[data-gov-theme="maroon"] .paripatra-pill.active,
[data-gov-theme="maroon"] .paripatra-tab-btn.active {
  background: #9f1239 !important;
  color: #ffffff !important;
}

/* 4. Samarth Saffron (समर्थ सैफ्रॉन - Rich Warm Saffron / Ochre) */
[data-gov-theme="saffron"] {
  --gov-navy-dark: #9a3412;
  --gov-navy: #c2410c;
  --gov-navy-light: #ea580c;
  --gov-navy-hover: #9a3412;
  --gov-blue-accent: #c2410c;
  --gov-blue-subtle: #ffedd5;
}
[data-gov-theme="saffron"] .gov-accessibility-bar {
  background: #9a3412 !important;
}
[data-gov-theme="saffron"] .gov-navbar-wrap,
[data-gov-theme="saffron"] .full-width-header .rs-header .menu-area,
[data-gov-theme="saffron"] .menu-area.sticky,
[data-gov-theme="saffron"] .menu-area {
  background: #c2410c !important;
}
[data-gov-theme="saffron"] .gov-a11y-clean-header {
  background: #c2410c !important;
}
[data-gov-theme="saffron"] .gov-footer,
[data-gov-theme="saffron"] .gov-footer-partners,
[data-gov-theme="saffron"] .rs-footer.footer-main-home {
  background-color: #9a3412 !important;
}
[data-gov-theme="saffron"] .gov-footer-main,
[data-gov-theme="saffron"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="saffron"] .gov-btn-primary,
[data-gov-theme="saffron"] .btn-primary {
  background: #c2410c !important;
  border-color: #9a3412 !important;
}
[data-gov-theme="saffron"] .gov-btn-primary:hover,
[data-gov-theme="saffron"] .btn-primary:hover {
  background: #9a3412 !important;
}
[data-gov-theme="saffron"] .gov-chatbot-header,
[data-gov-theme="saffron"] .gov-chatbot-trigger,
[data-gov-theme="saffron"] .gov-chatbot-send-btn,
[data-gov-theme="saffron"] .gov-chat-msg-user .gov-chat-bubble {
  background: #c2410c !important;
}
[data-gov-theme="saffron"] .gov-scroll-top-btn {
  background: #9a3412 !important;
}
[data-gov-theme="saffron"] .gov-scroll-top-btn:hover,
[data-gov-theme="saffron"] .gov-chatbot-trigger:hover,
[data-gov-theme="saffron"] .gov-chatbot-send-btn:hover {
  background: #9a3412 !important;
}
[data-gov-theme="saffron"] .gov-dept-hindi {
  color: #c2410c !important;
}
[data-gov-theme="saffron"] .dock-item.dock-menu a {
  background: #c2410c !important;
}
[data-gov-theme="saffron"] .paripatra-pill.active,
[data-gov-theme="saffron"] .paripatra-tab-btn.active {
  background: #c2410c !important;
  color: #ffffff !important;
}

/* 5. Gyan Teal (ज्ञान ओशन - Deep Teal Ocean) */
[data-gov-theme="teal"] {
  --gov-navy-dark: #155e75;
  --gov-navy: #0e7490;
  --gov-navy-light: #0891b2;
  --gov-navy-hover: #155e75;
  --gov-blue-accent: #0e7490;
  --gov-blue-subtle: #cffafe;
}
[data-gov-theme="teal"] .gov-accessibility-bar {
  background: #155e75 !important;
}
[data-gov-theme="teal"] .gov-navbar-wrap,
[data-gov-theme="teal"] .full-width-header .rs-header .menu-area,
[data-gov-theme="teal"] .menu-area.sticky,
[data-gov-theme="teal"] .menu-area {
  background: #0e7490 !important;
}
[data-gov-theme="teal"] .gov-a11y-clean-header {
  background: #0e7490 !important;
}
[data-gov-theme="teal"] .gov-footer,
[data-gov-theme="teal"] .gov-footer-partners,
[data-gov-theme="teal"] .rs-footer.footer-main-home {
  background-color: #155e75 !important;
}
[data-gov-theme="teal"] .gov-footer-main,
[data-gov-theme="teal"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="teal"] .gov-btn-primary,
[data-gov-theme="teal"] .btn-primary {
  background: #0e7490 !important;
  border-color: #155e75 !important;
}
[data-gov-theme="teal"] .gov-btn-primary:hover,
[data-gov-theme="teal"] .btn-primary:hover {
  background: #155e75 !important;
}
[data-gov-theme="teal"] .gov-chatbot-header,
[data-gov-theme="teal"] .gov-chatbot-trigger,
[data-gov-theme="teal"] .gov-chatbot-send-btn,
[data-gov-theme="teal"] .gov-chat-msg-user .gov-chat-bubble {
  background: #0e7490 !important;
}
[data-gov-theme="teal"] .gov-scroll-top-btn {
  background: #155e75 !important;
}
[data-gov-theme="teal"] .gov-scroll-top-btn:hover,
[data-gov-theme="teal"] .gov-chatbot-trigger:hover,
[data-gov-theme="teal"] .gov-chatbot-send-btn:hover {
  background: #155e75 !important;
}
[data-gov-theme="teal"] .gov-dept-hindi {
  color: #0e7490 !important;
}
[data-gov-theme="teal"] .dock-item.dock-menu a {
  background: #0e7490 !important;
}
[data-gov-theme="teal"] .paripatra-pill.active,
[data-gov-theme="teal"] .paripatra-tab-btn.active {
  background: #0e7490 !important;
  color: #ffffff !important;
}

/* 6. Royal Navy Blue (शिक्षा नील - Default Classic Blue) */
[data-gov-theme="blue"] {
  --gov-navy-dark: #163b75;
  --gov-navy: #1c4485;
  --gov-navy-light: #2563eb;
  --gov-navy-hover: #163b75;
  --gov-blue-accent: #1c4485;
  --gov-blue-subtle: #dce8f8;
}
[data-gov-theme="blue"] .gov-accessibility-bar {
  background: #163b75 !important;
}
[data-gov-theme="blue"] .gov-footer,
[data-gov-theme="blue"] .gov-footer-partners,
[data-gov-theme="blue"] .rs-footer.footer-main-home {
  background-color: #163b75 !important;
}
[data-gov-theme="blue"] .gov-footer-main,
[data-gov-theme="blue"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="blue"] .gov-a11y-clean-header {
  background: #1c4485 !important;
}
[data-gov-theme="blue"] .gov-chatbot-header,
[data-gov-theme="blue"] .gov-chatbot-trigger,
[data-gov-theme="blue"] .gov-chatbot-send-btn,
[data-gov-theme="blue"] .gov-chat-msg-user .gov-chat-bubble {
  background: #1c4485 !important;
}
[data-gov-theme="blue"] .gov-scroll-top-btn {
  background: #163b75 !important;
}
[data-gov-theme="blue"] .gov-scroll-top-btn:hover,
[data-gov-theme="blue"] .gov-chatbot-trigger:hover,
[data-gov-theme="blue"] .gov-chatbot-send-btn:hover {
  background: #163b75 !important;
}

/* 7. Medha Indigo (मेधा इंडिगो - Academic Deep Indigo) */
[data-gov-theme="indigo"] {
  --gov-navy-dark: #312e81;
  --gov-navy: #3730a3;
  --gov-navy-light: #4f46e5;
  --gov-navy-hover: #312e81;
  --gov-blue-accent: #3730a3;
  --gov-blue-subtle: #e0e7ff;
}
[data-gov-theme="indigo"] .gov-accessibility-bar {
  background: #312e81 !important;
}
[data-gov-theme="indigo"] .gov-navbar-wrap,
[data-gov-theme="indigo"] .full-width-header .rs-header .menu-area,
[data-gov-theme="indigo"] .menu-area.sticky,
[data-gov-theme="indigo"] .menu-area {
  background: #3730a3 !important;
}
[data-gov-theme="indigo"] .gov-a11y-clean-header {
  background: #3730a3 !important;
}
[data-gov-theme="indigo"] .gov-footer,
[data-gov-theme="indigo"] .gov-footer-partners,
[data-gov-theme="indigo"] .rs-footer.footer-main-home {
  background-color: #312e81 !important;
}
[data-gov-theme="indigo"] .gov-footer-main,
[data-gov-theme="indigo"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="indigo"] .gov-btn-primary,
[data-gov-theme="indigo"] .btn-primary {
  background: #3730a3 !important;
  border-color: #312e81 !important;
}
[data-gov-theme="indigo"] .gov-btn-primary:hover,
[data-gov-theme="indigo"] .btn-primary:hover {
  background: #312e81 !important;
}
[data-gov-theme="indigo"] .gov-chatbot-header,
[data-gov-theme="indigo"] .gov-chatbot-trigger,
[data-gov-theme="indigo"] .gov-chatbot-send-btn,
[data-gov-theme="indigo"] .gov-chat-msg-user .gov-chat-bubble {
  background: #3730a3 !important;
}
[data-gov-theme="indigo"] .gov-scroll-top-btn {
  background: #312e81 !important;
}
[data-gov-theme="indigo"] .gov-scroll-top-btn:hover,
[data-gov-theme="indigo"] .gov-chatbot-trigger:hover,
[data-gov-theme="indigo"] .gov-chatbot-send-btn:hover {
  background: #312e81 !important;
}
[data-gov-theme="indigo"] .gov-dept-hindi {
  color: #3730a3 !important;
}
[data-gov-theme="indigo"] .dock-item.dock-menu a {
  background: #3730a3 !important;
}
[data-gov-theme="indigo"] .paripatra-pill.active,
[data-gov-theme="indigo"] .paripatra-tab-btn.active {
  background: #3730a3 !important;
  color: #ffffff !important;
}

/* 8. Sanskriti Bronze (संस्कृति ब्रॉन्ज - Deep Heritage Bronze) */
[data-gov-theme="bronze"] {
  --gov-navy-dark: #5c2409;
  --gov-navy: #78350f;
  --gov-navy-light: #92400e;
  --gov-navy-hover: #5c2409;
  --gov-blue-accent: #78350f;
  --gov-blue-subtle: #fef3c7;
}
[data-gov-theme="bronze"] .gov-accessibility-bar {
  background: #5c2409 !important;
}
[data-gov-theme="bronze"] .gov-navbar-wrap,
[data-gov-theme="bronze"] .full-width-header .rs-header .menu-area,
[data-gov-theme="bronze"] .menu-area.sticky,
[data-gov-theme="bronze"] .menu-area {
  background: #78350f !important;
}
[data-gov-theme="bronze"] .gov-a11y-clean-header {
  background: #78350f !important;
}
[data-gov-theme="bronze"] .gov-footer,
[data-gov-theme="bronze"] .gov-footer-partners,
[data-gov-theme="bronze"] .rs-footer.footer-main-home {
  background-color: #5c2409 !important;
}
[data-gov-theme="bronze"] .gov-footer-main,
[data-gov-theme="bronze"] .gov-footer-bottom {
  background: transparent !important;
}
[data-gov-theme="bronze"] .gov-btn-primary,
[data-gov-theme="bronze"] .btn-primary {
  background: #78350f !important;
  border-color: #5c2409 !important;
}
[data-gov-theme="bronze"] .gov-btn-primary:hover,
[data-gov-theme="bronze"] .btn-primary:hover {
  background: #5c2409 !important;
}
[data-gov-theme="bronze"] .gov-chatbot-header,
[data-gov-theme="bronze"] .gov-chatbot-trigger,
[data-gov-theme="bronze"] .gov-chatbot-send-btn,
[data-gov-theme="bronze"] .gov-chat-msg-user .gov-chat-bubble {
  background: #78350f !important;
}
[data-gov-theme="bronze"] .gov-scroll-top-btn {
  background: #5c2409 !important;
}
[data-gov-theme="bronze"] .gov-scroll-top-btn:hover,
[data-gov-theme="bronze"] .gov-chatbot-trigger:hover,
[data-gov-theme="bronze"] .gov-chatbot-send-btn:hover {
  background: #5c2409 !important;
}
[data-gov-theme="bronze"] .gov-dept-hindi {
  color: #78350f !important;
}
[data-gov-theme="bronze"] .dock-item.dock-menu a {
  background: #78350f !important;
}
[data-gov-theme="bronze"] .paripatra-pill.active,
[data-gov-theme="bronze"] .paripatra-tab-btn.active {
  background: #78350f !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Official Madhya Pradesh State Emblem Page Preloader
   ========================================================================== */
.gov-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.25s ease;
  pointer-events: all;
}

.gov-page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gov-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}

.gov-loader-emblem-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
}

.Loadbck {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.Loadbck img {
  width: 136px;
  height: 136px;
  animation: govLoaderRotate 10s linear infinite;
  transform-origin: center center;
  display: block;
}

@keyframes govLoaderRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loadfrt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loadfrt img {
  width: 98px;
  height: 98px;
  display: block;
  object-fit: contain;
}

/* Mobile & Tablet Responsive Sizing for Emblem Preloader */
@media (max-width: 991.98px) {
  .gov-loader-emblem-wrap {
    width: 110px;
    height: 110px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
  }
  .Loadbck {
    width: 110px;
    height: 110px;
  }
  .Loadbck img {
    width: 106px;
    height: 106px;
  }
  .loadfrt img {
    width: 76px;
    height: 76px;
  }
  .gov-loader-portal-title {
    font-size: 0.96rem;
  }
  .gov-loader-portal-sub {
    font-size: 0.76rem;
  }
}

@media (max-width: 767.98px) {
  .gov-loader-emblem-wrap {
    width: 86px;
    height: 86px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.18));
  }
  .Loadbck {
    width: 86px;
    height: 86px;
  }
  .Loadbck img {
    width: 82px;
    height: 82px;
  }
  .loadfrt img {
    width: 58px;
    height: 58px;
  }
  .gov-loader-portal-title {
    font-size: 0.88rem;
  }
  .gov-loader-portal-sub {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .gov-loader-emblem-wrap {
    width: 74px;
    height: 74px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
  }
  .Loadbck {
    width: 74px;
    height: 74px;
  }
  .Loadbck img {
    width: 70px;
    height: 70px;
  }
  .loadfrt img {
    width: 50px;
    height: 50px;
  }
}

.gov-loader-portal-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gov-navy, #0b2545);
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow:
    0 1px 4px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.18);
}

.gov-loader-portal-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gov-saffron, #ea580c);
  margin: 2px 0 10px;
  letter-spacing: 0.4px;
  text-shadow:
    0 1px 4px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.18);
}

.gov-loader-dots {
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.gov-loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gov-navy, #0b2545);
  display: inline-block;
  animation: govLoaderDotPulse 1.4s infinite ease-in-out both;
}

.gov-loader-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.gov-loader-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.gov-loader-dots span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes govLoaderDotPulse {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.35;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
    background-color: var(--gov-saffron, #ea580c);
  }
}

/* High Contrast Mode Support */
body.high-contrast .gov-page-loader {
  background-color: #000000 !important;
}
body.high-contrast .gov-loader-portal-title {
  color: #ffffff !important;
}
body.high-contrast .gov-loader-portal-sub {
  color: #fbbf24 !important;
}
body.high-contrast .gov-loader-dots span {
  background-color: #fbbf24 !important;
}

/* ==========================================================================
   DEPARTMENTAL STRUCTURE & DIRECTORY (/karyalay/DepartmentalStructure)
   GIGW 3.0 Government Standard Design System (Clean White & Government Theme)
   ========================================================================== */

.gov-dept-page-wrapper {
  background-color: var(--gov-bg, #f8fafc);
  min-height: 80vh;
  padding-bottom: 60px;
}

/* Hero & Header Section (Dedicated Section for Page Title & Description) */
.gov-dept-hero {
  background: linear-gradient(
    135deg,
    var(--gov-navy-dark, #1a2f52) 0%,
    var(--gov-navy, #284676) 100%
  ) !important;
  color: #ffffff;
  padding: 34px 0 26px;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
  border-bottom: 3px solid var(--gov-saffron, #f97316);
}

[data-gov-theme="green"] .gov-dept-hero {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%) !important;
}

[data-gov-theme="purple"] .gov-dept-hero,
[data-gov-theme="orange"] .gov-dept-hero {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%) !important;
}

[data-gov-theme="maroon"] .gov-dept-hero {
  background: linear-gradient(135deg, #881337 0%, #9f1239 100%) !important;
}

[data-gov-theme="saffron"] .gov-dept-hero {
  background: linear-gradient(135deg, #9a3412 0%, #c2410c 100%) !important;
}

[data-gov-theme="teal"] .gov-dept-hero {
  background: linear-gradient(135deg, #155e75 0%, #0e7490 100%) !important;
}

[data-gov-theme="blue"] .gov-dept-hero {
  background: linear-gradient(135deg, #163b75 0%, #1c4485 100%) !important;
}

[data-gov-theme="indigo"] .gov-dept-hero {
  background: linear-gradient(135deg, #312e81 0%, #3730a3 100%) !important;
}

.gov-dept-hero .gov-dept-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.gov-dept-hero .gov-dept-breadcrumb a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gov-dept-hero .gov-dept-breadcrumb a:hover {
  color: #fed7aa;
  text-decoration: underline;
}

.gov-dept-hero .gov-dept-breadcrumb .separator {
  color: #94a3b8;
  font-size: 0.75rem;
}

.gov-dept-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  margin-left: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: left !important;
}

.gov-dept-hero-sub {
  font-size: 0.96rem;
  color: #fed7aa !important;
  max-width: 840px;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  margin-left: 0 !important;
  padding: 0 !important;
  line-height: 1.6;
  text-align: left !important;
}

.gov-dept-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gov-dept-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--gov-radius-full, 9999px);
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 500;
}

.gov-dept-stat-badge i {
  color: #fed7aa;
}

.gov-dept-emblem-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--gov-radius-md, 12px);
  padding: 16px;
  text-align: center;
}

.gov-dept-emblem-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.gov-dept-emblem-text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Main White Portal Card Container */
.gov-dept-main-card {
  background: #ffffff;
  border-radius: var(--gov-radius-lg, 16px);
  border: 1px solid var(--gov-border, #e2e8f0);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 24px 28px;
}

@media (max-width: 768px) {
  .gov-dept-hero-title {
    font-size: 1.6rem;
  }
  .gov-dept-main-card {
    padding: 16px 12px;
    border-radius: 12px;
  }
}

/* Filter Panel & Search (Clean Government Standard - No Horizontal Scrollbar) */
.gov-dept-filter-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--gov-radius-md, 12px);
  padding: 10px 10px;
  margin-bottom: 28px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.gov-dept-search-wrap {
  position: relative;
  width: 100%;
}

input[type="text"].gov-dept-search-input,
.gov-dept-search-input {
  width: 100% !important;
  height: 48px !important;
  padding-left: 48px !important;
  padding-right: 42px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: var(--gov-radius-md, 10px) !important;
  background: #ffffff !important;
  color: var(--gov-text-primary, #0f172a) !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}

input[type="text"].gov-dept-search-input:focus,
.gov-dept-search-input:focus {
  border-color: var(--gov-navy, #284676) !important;
  box-shadow: 0 0 0 3px rgba(40, 70, 118, 0.14) !important;
}

input[type="text"].gov-dept-search-input::placeholder,
.gov-dept-search-input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 0.92rem !important;
}

input[type="text"].gov-dept-search-input::-webkit-input-placeholder,
.gov-dept-search-input::-webkit-input-placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 0.92rem !important;
}

input[type="text"].gov-dept-search-input::-moz-placeholder,
.gov-dept-search-input::-moz-placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 0.92rem !important;
}

input[type="text"].gov-dept-search-input:-ms-input-placeholder,
.gov-dept-search-input:-ms-input-placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 0.92rem !important;
}

.gov-dept-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b !important;
  pointer-events: none;
  font-size: 1rem !important;
  z-index: 5 !important;
  display: inline-block !important;
}

.gov-dept-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 2px 6px;
  display: none;
  z-index: 5 !important;
}

.gov-dept-search-clear:hover {
  color: var(--gov-saffron, #f97316);
}

.gov-dept-select-wrap {
  position: relative;
  width: 100%;
}

.gov-dept-select-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gov-navy, #284676);
  pointer-events: none;
  font-size: 0.95rem;
  z-index: 2;
}

.gov-dept-select {
  width: 100%;
  height: 48px !important;
  padding: 10px 36px 10px 42px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: var(--gov-navy-dark, #1a2f52) !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: var(--gov-radius-md, 10px) !important;
  background-color: #ffffff !important;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

.gov-dept-select:focus {
  border-color: var(--gov-navy, #284676) !important;
  box-shadow: 0 0 0 3px rgba(40, 70, 118, 0.14) !important;
}

/* Department Section Wrapper */
.gov-dept-section {
  margin-bottom: 36px;
  scroll-margin-top: 20px;
}

.gov-dept-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.gov-dept-section-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gov-saffron, #f97316);
}

.gov-dept-section-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gov-dept-section-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--gov-radius-sm, 6px);
  background: #eef2ff;
  color: var(--gov-navy, #284676);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.gov-dept-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0 !important;
  text-align: left !important;
}

.gov-dept-section-count {
  font-size: 0.78rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--gov-text-secondary, #475569);
  padding: 3px 10px;
  border-radius: var(--gov-radius-full, 9999px);
  border: 1px solid #e2e8f0;
}

/* Clean Solid Officer Cards - Horizontal Left-Image Layout (3 Cards per Row) */
.gov-dept-card {
  background: #ffffff !important;
  border: 1px solid var(--gov-border, #e2e8f0) !important;
  border-radius: var(--gov-radius-md, 12px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  padding: 16px 16px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 15px !important;
  height: 100% !important;
  text-align: left !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease !important;
  position: relative !important;
  color: var(--gov-text-primary, #0f172a) !important;
}

.gov-dept-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
  border-color: #cbd5e1 !important;
}

.gov-dept-card-avatar-wrap {
  margin: 0 !important;
  position: relative;
  flex-shrink: 0;
}

.gov-dept-card-avatar {
  width: 90px;
  height: 114px;
  border-radius: 8px !important;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
  display: block;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gov-dept-card:hover .gov-dept-card-avatar {
  border-color: var(--gov-navy, #284676);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 70, 118, 0.12);
}

.gov-dept-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.gov-dept-card-name {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--gov-navy-dark, #1a2f52) !important;
  margin-bottom: 4px !important;
  line-height: 1.32 !important;
  word-break: break-word;
}

.gov-dept-card-desig {
  display: inline-block;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: var(--gov-navy, #284676) !important;
  background: #f0f4f8 !important;
  padding: 3px 8px !important;
  border-radius: var(--gov-radius-sm, 6px) !important;
  margin-bottom: 6px !important;
  line-height: 1.35 !important;
  word-break: break-word;
}

.gov-dept-card-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 8px 0;
}

.gov-dept-card-contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px !important;
  font-size: 0.84rem !important;
  text-align: left;
}

.gov-dept-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: var(--gov-text-secondary, #475569) !important;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease;
  word-break: break-all;
}

.gov-dept-contact-item i {
  color: var(--gov-text-muted, #94a3b8);
  font-size: 0.8rem;
}

a.gov-dept-contact-item:hover {
  color: var(--gov-navy, #284676) !important;
  text-decoration: underline !important;
}

a.gov-dept-contact-item:hover i {
  color: var(--gov-saffron, #f97316);
}

.gov-dept-contact-na {
  color: #94a3b8 !important;
  font-style: italic;
}

/* Empty State */
.gov-dept-empty-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--gov-radius-md, 12px);
  margin: 20px 0;
}

.gov-dept-empty-state i {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.gov-dept-empty-state h4 {
  color: var(--gov-navy-dark, #1a2f52);
  font-weight: 700;
  margin-bottom: 6px;
}

.gov-dept-empty-state p,
.gov-dept-empty-text {
  color: var(--gov-text-muted, #64748b);
  margin-bottom: 14px;
}

/* High Contrast Mode Support */
body.high-contrast .gov-dept-hero {
  background: #000000 !important;
  border-bottom: 3px solid #ffff00 !important;
}

body.high-contrast .gov-dept-hero-title {
  color: #ffffff !important;
}

body.high-contrast .gov-dept-hero-sub {
  color: #ffff00 !important;
}

body.high-contrast .gov-dept-stat-badge {
  background: #111111 !important;
  border-color: #ffff00 !important;
  color: #ffffff !important;
}

body.high-contrast .gov-dept-stat-badge i {
  color: #ffff00 !important;
}

body.high-contrast .gov-dept-emblem-box {
  background: #111111 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-dept-main-card {
  background: #111111 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-dept-filter-panel {
  background: #000000 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-dept-search-input,
body.high-contrast .gov-dept-select {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-dept-select-icon {
  color: #ffff00 !important;
}

body.high-contrast .gov-dept-section-title {
  color: #ffffff !important;
}

body.high-contrast .gov-dept-section-count {
  background: #222222 !important;
  color: #ffff00 !important;
}

body.high-contrast .gov-dept-card {
  background: #121212 !important;
  border-color: #333333 !important;
}

body.high-contrast .gov-dept-card:hover {
  border-color: #ffff00 !important;
}

body.high-contrast .gov-dept-card-avatar {
  border-color: #ffff00 !important;
}

body.high-contrast .gov-dept-card-name {
  color: #ffffff !important;
}

body.high-contrast .gov-dept-card-desig {
  background: #222222 !important;
  color: #ffff00 !important;
}

body.high-contrast .gov-dept-contact-item {
  color: #e2e8f0 !important;
}

body.high-contrast a.gov-dept-contact-item:hover {
  color: #ffff00 !important;
}

body.high-contrast .gov-dept-empty-state {
  background: #111111 !important;
  border-color: #ffff00 !important;
}

/* ==========================================================================
   Department Responsibilities Page Styles (GIGW 3.0 Standard)
   ========================================================================== */
.gov-resp-card {
  background: #ffffff !important;
  border: 1px solid var(--gov-border, #e2e8f0) !important;
  border-left: 4px solid var(--gov-navy, #284676) !important;
  border-radius: var(--gov-radius-md, 12px) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  padding: 16px 20px !important;
  position: relative !important;
  width: 100% !important;
}

.gov-resp-card-inner {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
}

.gov-resp-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--gov-navy, #284676);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.gov-resp-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--gov-navy-dark, #1a2f52) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* High Contrast mode for Department Responsibilities */
body.high-contrast .gov-resp-card {
  background: #121212 !important;
  border-color: #ffff00 !important;
  border-left-color: #ffff00 !important;
}

body.high-contrast .gov-resp-icon-wrap {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00;
}

body.high-contrast .gov-resp-title {
  color: #ffffff !important;
}

/* Acts and Rules Page Specific Styles */
.gov-act-year-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gov-navy, #284676);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

body.high-contrast .gov-act-year-tag {
  background: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}

/* Infographic Showcase Card */
.gov-resp-infographic-card {
  background: #ffffff;
  border: 1px solid var(--gov-border, #e2e8f0);
  border-radius: var(--gov-radius-md, 12px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  padding: 16px;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
}

.gov-resp-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid #e2e8f0;
}

.gov-resp-info-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gov-navy-dark, #1a2f52);
  margin: 0;
}

.gov-resp-info-body {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #edf2f7;
  overflow: hidden;
}

.gov-resp-info-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 850px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gov-resp-info-img:hover {
  transform: scale(1.02);
}

.gov-resp-info-footer {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--gov-text-muted, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* High contrast support for Infographic Card */
body.high-contrast .gov-resp-infographic-card {
  background: #111111 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-resp-info-header {
  border-bottom-color: #ffff00 !important;
}

body.high-contrast .gov-resp-info-header h4 {
  color: #ffffff !important;
}

body.high-contrast .gov-resp-info-body {
  background: #000000 !important;
  border-color: #ffff00 !important;
}

body.high-contrast .gov-resp-info-footer {
  color: #ffff00 !important;
}

/* ==========================================================================
   RTI Suo Motu Disclosure Page Styles (GIGW 3.0 Standard)
   ========================================================================== */
.gov-rti-card {
  background: #ffffff;
  border: 1px solid var(--gov-border, #e2e8f0);
  border-top: 3px solid var(--gov-navy, #284676);
  border-radius: var(--gov-radius-md, 12px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  transition:
    box-shadow 0.2s ease,
    border-top-color 0.2s ease;
}

.gov-rti-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-top-color: var(--gov-saffron, #f97316);
}

.gov-rti-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.gov-rti-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--gov-navy, #284676);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.gov-rti-card:hover .gov-rti-icon-wrap {
  background: var(--gov-navy, #284676);
  color: #ffffff;
}

.gov-rti-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gov-navy-dark, #1a2f52);
  margin-bottom: 6px;
  line-height: 1.45;
}

.gov-rti-sub {
  font-size: 0.82rem;
  color: var(--gov-text-muted, #64748b);
  margin-bottom: 16px;
  line-height: 1.45;
}

.gov-rti-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gov-navy, #284676);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.gov-rti-card:hover .gov-rti-btn {
  background: var(--gov-navy, #284676);
  color: #ffffff !important;
  border-color: var(--gov-navy, #284676);
}

/* High contrast support for RTI Cards */
body.high-contrast .gov-rti-card {
  background: #111111 !important;
  border-color: #ffff00 !important;
  border-top-color: #ffff00 !important;
}

body.high-contrast .gov-rti-icon-wrap {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00;
}

body.high-contrast .gov-rti-title {
  color: #ffffff !important;
}

body.high-contrast .gov-rti-sub {
  color: #e2e8f0 !important;
}

body.high-contrast .gov-rti-btn {
  background: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}
