:root {
  --ink: #17211b;
  --muted: #5d6b62;
  --paper: #fffdf7;
  --soft: #f3efe4;
  --line: #ded7c6;
  --green: #2f6f4e;
  --green-dark: #1f4f37;
  --gold: #c98f2a;
  --clay: #9f5f3f;
  --mithila-red: #b63b2e;
  --mithila-blue: #245f86;
  --mithila-yellow: #e2ad33;
  --mithila-ink: #2a2119;
  --white: #ffffff;
  --shadow: 0 10px 24px rgba(28, 39, 31, 0.09);
  --shadow-strong: 0 18px 46px rgba(28, 39, 31, 0.16);
  --mithila-border: repeating-linear-gradient(
    90deg,
    var(--mithila-red) 0 12px,
    var(--mithila-yellow) 12px 24px,
    var(--green) 24px 36px,
    var(--mithila-blue) 36px 48px
  );
}

/* TODO AI floating helper */
.todo-ai-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 164px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7968f2, #5144c4);
  box-shadow: 0 14px 38px rgba(35, 27, 103, 0.34);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.todo-ai-fab:hover,
.todo-ai-fab:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(35, 27, 103, 0.42);
}

.todo-ai-fab-face {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #eaf4ff;
  box-shadow: inset 0 0 0 2px rgba(91, 74, 203, 0.12);
  animation: todo-ai-wave 2.8s ease-in-out infinite;
}

.todo-ai-fab-face img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.24);
}

.todo-ai-fab-copy strong,
.todo-ai-fab-copy small {
  display: block;
  line-height: 1.15;
}

.todo-ai-fab-copy strong { font-size: 13px; letter-spacing: 0.02em; }
.todo-ai-fab-copy small { margin-top: 3px; color: rgba(255, 255, 255, 0.8); font-size: 10px; }
.todo-ai-fab-online { position: absolute; top: 8px; left: 43px; width: 10px; height: 10px; border: 2px solid #6554d9; border-radius: 50%; background: #4de0ad; }

@keyframes todo-ai-wave {
  0%, 75%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(-8deg) scale(1.06); }
  90% { transform: rotate(7deg) scale(1.06); }
}

@media (max-width: 560px) {
  .todo-ai-fab { right: 12px; bottom: 12px; min-width: 0; padding: 7px; }
  .todo-ai-fab-copy { display: none; }
  .todo-ai-fab-face { width: 48px; height: 48px; flex-basis: 48px; }
  .todo-ai-fab-online { top: 5px; left: 43px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 253, 247, 0.9), rgba(255, 253, 247, 0.9)),
    url("mithila-pattern.svg"),
    radial-gradient(circle at 18px 18px, rgba(182, 59, 46, 0.08) 0 2px, transparent 2.5px),
    radial-gradient(circle at 48px 48px, rgba(36, 95, 134, 0.07) 0 2px, transparent 2.5px),
    linear-gradient(135deg, rgba(226, 173, 51, 0.06), transparent 34%),
    var(--paper);
  background-size: auto, 260px 260px, 66px 66px, 66px 66px, 100% 100%, auto;
  line-height: 1.65;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px clamp(16px, 3vw, 40px);
  background:
    linear-gradient(rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.96)) padding-box,
    var(--mithila-border) border-box;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222, 215, 198, 0.78);
  box-shadow: 0 8px 24px rgba(42, 33, 25, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--green-dark);
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--mithila-red) 0 28%, transparent 30%),
    conic-gradient(var(--mithila-yellow), var(--green), var(--mithila-blue), var(--mithila-red), var(--mithila-yellow));
  box-shadow: 0 0 0 6px rgba(201, 143, 42, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: #e7f0e9;
}

.service-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 28px;
}

.service-filter {
  border: 1px solid rgba(47, 111, 78, 0.24);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--green-dark);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.service-filter:hover,
.service-filter.is-active {
  color: var(--white);
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.install-app-btn {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.install-app-btn.show {
  display: inline-flex;
}

.install-app-btn:hover {
  background: var(--green);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.language-switcher select {
  max-width: 112px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  outline: none;
}

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 18px;
  color: var(--white);
  background:
    linear-gradient(90deg, var(--green-dark), #286344, var(--green-dark));
  text-align: center;
}

.announcement-bar span,
.announcement-bar a {
  font-weight: 900;
}

.announcement-bar span {
  color: #ffd991;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.announcement-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.announcement-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.announcement-bar .home-weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.announcement-bar .home-weather-badge::before,
.announcement-bar .home-weather-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}

.announcement-bar .home-weather-badge::after {
  inset: auto;
  width: 54px;
  height: 54px;
  right: -16px;
  top: -20px;
  border-radius: 999px;
}

.home-weather-badge strong {
  color: var(--white);
  font-size: 1rem;
}

.announcement-bar .home-weather-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 750;
}

.announcement-bar .home-weather-badge span {
  color: #ffd991;
  font-size: 0.7rem;
}

.weather-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.weather-scene i {
  position: absolute;
  display: block;
  pointer-events: none;
}

.weather-sun {
  width: 46px;
  height: 46px;
  right: -9px;
  top: -15px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 239, 154, 1) 0 28%, rgba(255, 198, 75, 0.7) 29% 54%, transparent 56%);
  box-shadow:
    0 0 20px rgba(255, 211, 88, 0.58),
    0 0 48px rgba(255, 211, 88, 0.22);
  opacity: 0;
  transform-origin: center;
}

.weather-cloud {
  width: 54px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14));
  filter: blur(0.2px);
  opacity: 0;
}

.weather-cloud::before,
.weather-cloud::after {
  content: "";
  position: absolute;
  bottom: 5px;
  border-radius: 50%;
  background: inherit;
}

.weather-cloud::before {
  width: 22px;
  height: 22px;
  left: 8px;
}

.weather-cloud::after {
  width: 29px;
  height: 29px;
  right: 7px;
}

.cloud-a {
  left: 34px;
  top: 8px;
}

.cloud-b {
  left: 88px;
  bottom: 7px;
  transform: scale(0.82);
  opacity: 0;
}

.weather-drop {
  width: 2px;
  height: 13px;
  top: -16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(202, 239, 255, 0), rgba(173, 224, 255, 0.95));
  opacity: 0;
  transform: rotate(12deg);
}

.drop-1 { left: 12%; animation-delay: -0.1s; }
.drop-2 { left: 20%; animation-delay: -0.45s; }
.drop-3 { left: 28%; animation-delay: -0.22s; }
.drop-4 { left: 38%; animation-delay: -0.66s; }
.drop-5 { left: 47%; animation-delay: -0.34s; }
.drop-6 { left: 56%; animation-delay: -0.78s; }
.drop-7 { left: 65%; animation-delay: -0.18s; }
.drop-8 { left: 73%; animation-delay: -0.55s; }
.drop-9 { left: 82%; animation-delay: -0.28s; }
.drop-10 { left: 90%; animation-delay: -0.7s; }
.drop-11 { left: 34%; animation-delay: -0.92s; }
.drop-12 { left: 60%; animation-delay: -1.04s; }

.weather-bolt {
  width: 20px;
  height: 36px;
  right: 20px;
  top: 2px;
  opacity: 0;
  clip-path: polygon(48% 0, 20% 48%, 45% 48%, 32% 100%, 82% 38%, 54% 38%);
  background: #ffe66f;
  filter: drop-shadow(0 0 9px rgba(255, 230, 111, 0.9));
}

.weather-fog-line {
  left: 10px;
  width: 78%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.33), transparent);
  opacity: 0;
}

.fog-a { top: 16px; }
.fog-b { top: 31px; width: 65%; left: 32px; }

.weather-flake {
  width: 4px;
  height: 4px;
  top: -8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
  opacity: 0;
}

.flake-1 { left: 12%; animation-delay: -0.3s; }
.flake-2 { left: 24%; animation-delay: -1.1s; }
.flake-3 { left: 36%; animation-delay: -0.6s; }
.flake-4 { left: 48%; animation-delay: -1.5s; }
.flake-5 { left: 60%; animation-delay: -0.9s; }
.flake-6 { left: 72%; animation-delay: -1.9s; }
.flake-7 { left: 84%; animation-delay: -0.2s; }
.flake-8 { left: 42%; animation-delay: -2.2s; }
.flake-9 { left: 68%; animation-delay: -1.3s; }

.announcement-bar .home-weather-badge.weather-clear {
  border-color: rgba(255, 217, 145, 0.5);
  background: linear-gradient(135deg, rgba(255, 217, 145, 0.2), rgba(255, 255, 255, 0.09));
  box-shadow: 0 0 18px rgba(255, 217, 145, 0.16);
}

.announcement-bar .home-weather-badge.weather-clear::after {
  opacity: 0.85;
  background:
    radial-gradient(circle, rgba(255, 232, 151, 0.95) 0 22%, rgba(255, 196, 87, 0.28) 23% 48%, transparent 49%),
    conic-gradient(from 0deg, transparent 0 12deg, rgba(255, 217, 145, 0.62) 13deg 18deg, transparent 19deg 42deg);
  animation: weatherSunSpin 8s linear infinite;
}

.announcement-bar .home-weather-badge.weather-partly::before,
.announcement-bar .home-weather-badge.weather-cloudy::before {
  opacity: 1;
  background:
    radial-gradient(ellipse at 15% 72%, rgba(255, 255, 255, 0.26) 0 16%, transparent 17%),
    radial-gradient(ellipse at 38% 70%, rgba(255, 255, 255, 0.2) 0 18%, transparent 19%),
    radial-gradient(ellipse at 68% 74%, rgba(255, 255, 255, 0.18) 0 18%, transparent 19%);
  background-size: 150% 100%;
  animation: weatherCloudDrift 8s ease-in-out infinite alternate;
}

.announcement-bar .home-weather-badge.weather-partly::after {
  opacity: 0.65;
  background: radial-gradient(circle, rgba(255, 224, 130, 0.9) 0 28%, rgba(255, 224, 130, 0.24) 29% 55%, transparent 56%);
  animation: weatherPulse 2.8s ease-in-out infinite;
}

.announcement-bar .home-weather-badge.weather-fog::before {
  opacity: 0.9;
  background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(255, 255, 255, 0.18) 11px 13px, transparent 14px 22px);
  animation: weatherFog 6s linear infinite;
}

.announcement-bar .home-weather-badge.weather-rain {
  border-color: rgba(135, 206, 250, 0.42);
  background: linear-gradient(135deg, rgba(64, 153, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.announcement-bar .home-weather-badge.weather-rain::before {
  opacity: 0.95;
  background:
    repeating-linear-gradient(115deg, transparent 0 9px, rgba(159, 218, 255, 0.72) 10px 12px, transparent 13px 20px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  background-size: 34px 34px, 100% 100%;
  animation: weatherRain 0.72s linear infinite;
}

.announcement-bar .home-weather-badge.weather-storm {
  border-color: rgba(255, 217, 145, 0.58);
  background: linear-gradient(135deg, rgba(31, 45, 76, 0.54), rgba(255, 255, 255, 0.08));
}

.announcement-bar .home-weather-badge.weather-storm::before {
  opacity: 0.9;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 230, 128, 0.95) 37% 39%, transparent 40% 100%),
    repeating-linear-gradient(115deg, transparent 0 11px, rgba(159, 218, 255, 0.7) 12px 14px, transparent 15px 24px);
  background-size: 100% 100%, 42px 42px;
  animation: weatherStorm 1.45s steps(2, end) infinite, weatherRain 0.68s linear infinite;
}

.announcement-bar .home-weather-badge.weather-snow::before {
  opacity: 0.9;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 1.2px, transparent 1.6px);
  background-size: 22px 22px, 34px 34px;
  animation: weatherSnow 3.8s linear infinite;
}

@keyframes weatherSunSpin {
  to { transform: rotate(360deg); }
}

@keyframes weatherCloudDrift {
  from { transform: translateX(-8px); }
  to { transform: translateX(12px); }
}

@keyframes weatherPulse {
  50% { transform: scale(1.16); opacity: 0.9; }
}

@keyframes weatherFog {
  from { background-position: 0 0; }
  to { background-position: 42px 0; }
}

@keyframes weatherRain {
  from { background-position: 0 -34px, 0 0; }
  to { background-position: 0 34px, 0 0; }
}

@keyframes weatherStorm {
  0%, 55%, 100% { filter: brightness(1); opacity: 0.78; }
  58%, 62% { filter: brightness(2.6); opacity: 1; }
}

@keyframes weatherSnow {
  from { background-position: 0 -24px, 12px -40px; }
  to { background-position: 0 34px, 12px 28px; }
}

.announcement-bar .home-weather-badge.weather-clear::before,
.announcement-bar .home-weather-badge.weather-clear::after,
.announcement-bar .home-weather-badge.weather-partly::before,
.announcement-bar .home-weather-badge.weather-partly::after,
.announcement-bar .home-weather-badge.weather-cloudy::before,
.announcement-bar .home-weather-badge.weather-fog::before,
.announcement-bar .home-weather-badge.weather-rain::before,
.announcement-bar .home-weather-badge.weather-storm::before,
.announcement-bar .home-weather-badge.weather-snow::before {
  opacity: 0;
  animation: none;
}

.announcement-bar .home-weather-badge.weather-clear .weather-sun,
.announcement-bar .home-weather-badge.weather-partly .weather-sun {
  opacity: 1;
  animation: realSun 5.5s ease-in-out infinite;
}

.announcement-bar .home-weather-badge.weather-partly .cloud-a,
.announcement-bar .home-weather-badge.weather-cloudy .cloud-a,
.announcement-bar .home-weather-badge.weather-rain .cloud-a,
.announcement-bar .home-weather-badge.weather-storm .cloud-a {
  opacity: 0.78;
  animation: realCloudA 9s ease-in-out infinite alternate;
}

.announcement-bar .home-weather-badge.weather-cloudy .cloud-b,
.announcement-bar .home-weather-badge.weather-rain .cloud-b,
.announcement-bar .home-weather-badge.weather-storm .cloud-b {
  opacity: 0.55;
  animation: realCloudB 11s ease-in-out infinite alternate;
}

.announcement-bar .home-weather-badge.weather-fog .weather-fog-line {
  opacity: 1;
  animation: realFog 4.8s linear infinite;
}

.announcement-bar .home-weather-badge.weather-rain .weather-drop,
.announcement-bar .home-weather-badge.weather-storm .weather-drop {
  opacity: 1;
  animation-name: realRainDrop;
  animation-duration: 0.95s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.announcement-bar .home-weather-badge.weather-storm .weather-bolt {
  animation: realLightning 4.6s infinite;
}

.announcement-bar .home-weather-badge.weather-storm {
  animation: stormCardFlash 4.6s infinite;
}

.announcement-bar .home-weather-badge.weather-snow .weather-flake {
  opacity: 1;
  animation-name: realSnowFall;
  animation-duration: 4.2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes realSun {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.12); filter: brightness(1.16); }
}

@keyframes realCloudA {
  from { transform: translateX(-18px); }
  to { transform: translateX(32px); }
}

@keyframes realCloudB {
  from { transform: translateX(28px) scale(0.82); }
  to { transform: translateX(-22px) scale(0.82); }
}

@keyframes realFog {
  from { transform: translateX(-34px); }
  to { transform: translateX(38px); }
}

@keyframes realRainDrop {
  from { transform: translate3d(0, -18px, 0) rotate(12deg); opacity: 0; }
  18% { opacity: 1; }
  to { transform: translate3d(-11px, 68px, 0) rotate(12deg); opacity: 0; }
}

@keyframes realLightning {
  0%, 88%, 100% { opacity: 0; }
  89%, 91% { opacity: 1; }
  92% { opacity: 0.2; }
  93%, 95% { opacity: 0.95; }
}

@keyframes stormCardFlash {
  0%, 88%, 100% { box-shadow: none; }
  90%, 94% { box-shadow: inset 0 0 34px rgba(255, 238, 134, 0.22), 0 0 20px rgba(255, 238, 134, 0.16); }
}

@keyframes realSnowFall {
  from { transform: translate3d(0, -12px, 0); opacity: 0; }
  16% { opacity: 0.95; }
  to { transform: translate3d(14px, 64px, 0); opacity: 0; }
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 116px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 2px solid rgba(255, 217, 145, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 217, 145, 0.9) 0 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 18px) 18px, rgba(255, 217, 145, 0.9) 0 4px, transparent 4.5px),
    radial-gradient(circle at 18px calc(100% - 18px), rgba(255, 217, 145, 0.9) 0 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), rgba(255, 217, 145, 0.9) 0 4px, transparent 4.5px);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 17, 0.86), rgba(12, 24, 17, 0.45), rgba(12, 24, 17, 0.18)),
    linear-gradient(0deg, rgba(12, 24, 17, 0.34), rgba(12, 24, 17, 0.06));
  z-index: 1;
}

.hero-slider,
.hero-slider img,
.page-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  background: url("a.webp") center / cover no-repeat;
}

.hero-slider img,
.page-hero::before {
  object-fit: cover;
}

.hero-slider img {
  opacity: 0;
  animation: heroFade 18s infinite;
}

.hero-slider img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slider img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slider img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0%, 8%, 30% { opacity: 1; transform: scale(1.06); }
  38% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.02); }
}

.hero-content,
.page-hero > div {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-content {
  margin-left: clamp(18px, 8vw, 112px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mithila-red);
  box-shadow: 12px 0 0 var(--mithila-yellow);
}

.eyebrow::after {
  background: var(--green);
  box-shadow: 12px 0 0 var(--mithila-blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-content > p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px dashed rgba(255, 217, 145, 0.52);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 700;
}

.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.btn {
  padding: 12px 22px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  box-shadow: 0 10px 22px rgba(47, 111, 78, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 28px rgba(31, 79, 55, 0.24);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

.btn-outline {
  color: var(--green-dark);
  background: var(--white);
  border-color: rgba(47, 111, 78, 0.28);
  box-shadow: none;
}

.btn-outline:hover {
  color: var(--white);
  background: var(--green-dark);
}

.text-link {
  color: var(--green-dark);
}

.text-link::after {
  content: ">";
  margin-left: 8px;
}

.section,
.stats {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.identity-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  margin-top: -28px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--line), var(--line)) padding-box,
    var(--mithila-border) border-box;
  box-shadow: var(--shadow-strong);
}

.identity-band div {
  position: relative;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 20%, rgba(182, 59, 46, 0.08) 0 20px, transparent 21px),
    var(--white);
}

.identity-band span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.identity-band strong {
  display: block;
  line-height: 1.35;
}

.express-promo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding-inline: max(18px, calc((100% - 1160px) / 2));
  background:
    linear-gradient(rgba(255, 253, 247, 0.9), rgba(255, 253, 247, 0.9)),
    url("mithila-pattern.svg"),
    radial-gradient(circle at 30px 30px, rgba(182, 59, 46, 0.12) 0 3px, transparent 3.5px),
    radial-gradient(circle at 58px 58px, rgba(36, 95, 134, 0.1) 0 3px, transparent 3.5px),
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(237, 246, 239, 0.9)),
    radial-gradient(circle at 16% 24%, rgba(201, 143, 42, 0.18), transparent 32%),
    radial-gradient(circle at 88% 84%, rgba(47, 111, 78, 0.16), transparent 28%);
  background-size: auto, 260px 260px, 88px 88px, 88px 88px, auto, auto, auto;
  border-block: 10px solid transparent;
  border-image: var(--mithila-border) 10;
}

.express-promo-copy {
  max-width: 560px;
}

.express-promo-copy h2 {
  max-width: 620px;
}

.express-promo-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.express-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.express-promo-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.express-photo {
  position: absolute;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(28, 39, 31, 0.16);
}

.express-photo-main {
  right: 6%;
  top: 8%;
  width: min(72%, 460px);
  height: 280px;
}

.express-photo-small {
  left: 2%;
  top: 34%;
  width: min(42%, 250px);
  height: 190px;
}

.express-photo-wide {
  right: 0;
  bottom: 2%;
  width: min(58%, 360px);
  height: 150px;
}

.express-promo-stamp {
  position: absolute;
  left: 18%;
  top: 7%;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 14px;
  color: var(--white);
  background: var(--green-dark);
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(28, 39, 31, 0.18);
  text-align: center;
}

.express-promo-stamp strong {
  font-size: 1.85rem;
  line-height: 1;
}

.express-promo-stamp span {
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stat-card:hover {
  border-color: rgba(47, 111, 78, 0.24);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.stat-card strong {
  display: block;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.split-section,
.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.text-section p,
.showcase-content p,
.mini-list p {
  color: var(--muted);
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - 1160px) / 2));
  background: var(--soft);
}

.quick-links-section {
  padding-top: 20px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quick-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, rgba(182, 59, 46, 0.9), rgba(226, 173, 51, 0.9), rgba(47, 111, 78, 0.85)) border-box;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(182, 59, 46, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(226, 173, 51, 0.2) 0 32%, transparent 34%),
    conic-gradient(from 45deg, transparent 0 12.5%, rgba(47, 111, 78, 0.18) 12.5% 25%, transparent 25% 37.5%, rgba(182, 59, 46, 0.18) 37.5% 50%, transparent 50% 62.5%, rgba(36, 95, 134, 0.18) 62.5% 75%, transparent 75% 100%);
}

.quick-card:hover {
  border-color: rgba(47, 111, 78, 0.38);
  box-shadow: var(--shadow-strong);
  transform: translateY(-5px);
}

.quick-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-finder-section {
  padding-top: 18px;
}

.service-finder {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 30px);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--mithila-border) border-box;
  box-shadow: var(--shadow);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.search-box input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  outline: none;
}

.search-box input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(47, 111, 78, 0.58);
  box-shadow: 0 0 0 4px rgba(47, 111, 78, 0.12);
}

.service-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.service-result-card {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-result-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-result-card h3 {
  margin: 6px 0 8px;
}

.service-result-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.service-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.notice-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, rgba(182, 59, 46, 0.55), rgba(226, 173, 51, 0.55), rgba(47, 111, 78, 0.55)) border-box;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card::before,
.notice-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px dashed rgba(182, 59, 46, 0.22);
  border-radius: 6px;
}

.feature-card:hover {
  border-color: rgba(47, 111, 78, 0.36);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-card div {
  padding: 22px;
}

.feature-card p,
.notice-card p {
  color: var(--muted);
}

.service-tab-card {
  background:
    linear-gradient(#ffffff, #f3fbf5) padding-box,
    linear-gradient(135deg, rgba(47, 111, 78, 0.72), rgba(226, 173, 51, 0.58)) border-box;
}

.service-tab-card img {
  object-position: center;
}

.service-badge {
  display: inline-grid;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #16472d;
  background: #ddf4e5;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vasudha-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.vasudha-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.vasudha-photo-placeholder {
  width: 100%;
  min-height: 520px;
  background: var(--soft);
  border-right: 1px dashed var(--line);
}

.vasudha-poster-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.vasudha-poster {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  color: var(--green-dark);
  background:
    linear-gradient(rgba(255, 253, 247, 0.84), rgba(255, 248, 226, 0.78)),
    url("mithila-pattern.svg") center / 260px 260px,
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 248, 226, 0.72)),
    url("vasudha-kendra-poster-bg.webp") center / cover;
  border-right: 2px solid var(--mithila-red);
  isolation: isolate;
}

.vasudha-poster::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 3px double rgba(182, 59, 46, 0.72);
  border-radius: 8px;
}

.poster-badge {
  align-self: flex-start;
  padding: 8px 14px;
  color: var(--white);
  background: var(--mithila-red);
  border: 2px solid #ffd991;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
}

.poster-panel {
  margin-top: auto;
  padding: 22px;
  background: rgba(255, 253, 247, 0.96);
  border: 3px double rgba(42, 33, 25, 0.48);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(28, 39, 31, 0.18);
  text-align: center;
}

.poster-panel p,
.poster-panel h3,
.poster-panel span,
.poster-panel strong {
  display: block;
  margin: 0;
}

.poster-panel p {
  color: var(--clay);
  font-weight: 900;
}

.poster-panel h3 {
  margin: 6px 0 10px;
  color: var(--green-dark);
  font-size: clamp(1.75rem, 3.5vw, 3.15rem);
  line-height: 1.12;
}

.poster-panel span {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.poster-panel strong {
  margin-top: 8px;
  color: var(--clay);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.poster-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.poster-services span {
  padding: 9px 10px;
  background: rgba(255, 246, 216, 0.94);
  border: 1px solid rgba(182, 59, 46, 0.28);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.vasudha-poster {
  justify-content: flex-start;
  gap: 18px;
  padding: 0;
  color: #0a2380;
  background: #ffffff;
  border: 1px solid #d8d8d8;
}

.vasudha-poster::before {
  inset: auto;
  left: -110px;
  top: -40px;
  width: 330px;
  height: 330px;
  z-index: 0;
  background: radial-gradient(circle at 54% 52%, #ffffff 0 35%, #0d9bd4 36% 59%, transparent 60%),
    conic-gradient(from 18deg, #ee770f 0 34%, transparent 34% 58%, #079440 58% 82%, transparent 82%);
  border: 0;
  border-radius: 50%;
}

.poster-topbar,
.poster-brand-row,
.poster-main,
.poster-services {
  position: relative;
  z-index: 1;
}

.poster-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px 0 28px;
  color: #111111;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 800;
}

.poster-brand-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px 0 170px;
}

.poster-vasudha-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 72px;
  color: #222222;
  background: radial-gradient(circle at 44% 40%, #f7d52a 0 24%, #1c7bc1 25% 52%, transparent 53%),
    #ffffff;
  border: 2px solid rgba(238, 119, 15, 0.34);
  border-radius: 50%;
  font-weight: 900;
}

.poster-csc {
  color: #0a4a8f;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-align: center;
}

.poster-kendra {
  color: #079440;
  font-size: clamp(1.45rem, 3.2vw, 2.55rem);
  font-weight: 900;
  white-space: nowrap;
}

.poster-main {
  display: grid;
  justify-items: end;
  gap: 6px;
  padding: 6px 24px 0 155px;
  text-align: right;
}

.poster-main p,
.poster-main span,
.poster-main strong,
.poster-main em {
  display: block;
  margin: 0;
  font-style: normal;
  font-weight: 900;
  line-height: 1.05;
}

.poster-main p {
  color: #0500e8;
  font-size: clamp(3.8rem, 8vw, 7.4rem);
}

.poster-main span {
  color: #109bd3;
  font-size: clamp(2.1rem, 4.6vw, 4.45rem);
}

.poster-main strong {
  color: #ef2029;
  font-size: clamp(2.25rem, 5.2vw, 4.85rem);
}

.poster-main em {
  color: #15125f;
  font-size: clamp(1.55rem, 3.2vw, 2.9rem);
}

.vasudha-poster .poster-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 20px 20px 170px;
}

.vasudha-poster .poster-services span {
  color: #0a4a8f;
  background: #f4fbff;
  border-color: rgba(13, 155, 212, 0.28);
}

.vasudha-content {
  padding: clamp(24px, 4vw, 42px);
}

.vasudha-content h3 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.vasudha-content p {
  color: var(--muted);
}

.online-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.online-services-list li {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 34px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.35;
}

.online-services-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.service-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--green-dark);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-contact-card h3 {
  margin: 4px 0 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.service-contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.service-contact-card .eyebrow {
  color: var(--gold);
}

.govt-portal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), #315f43);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.govt-portal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.govt-portal-card p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.govt-portal-card .eyebrow {
  color: #ffd991;
}

.portal-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.portal-feature-list li {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.govt-portal-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.48);
}

.service-provider-profile {
  display: flex;
  align-items: center;
  gap: 18px;
}

.provider-photo {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  object-fit: cover;
  object-position: center 28%;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.service-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.online-map-section {
  margin-top: 38px;
}

.pnb-poster-wrap {
  margin-bottom: 24px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pnb-poster-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: var(--white);
}

.rural-vasudha-poster {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  color: var(--green-dark);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 248, 226, 0.72)),
    url("vasudha-kendra-poster-bg.webp") center / cover;
  border-right: 1px solid var(--line);
  isolation: isolate;
}

.rural-vasudha-poster::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 2px solid rgba(47, 111, 78, 0.34);
  border-radius: 8px;
}

.rural-poster-badge {
  align-self: flex-start;
  padding: 8px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
}

.rural-poster-panel {
  margin-top: auto;
  padding: 22px;
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(47, 111, 78, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(28, 39, 31, 0.18);
  text-align: center;
}

.rural-poster-panel p,
.rural-poster-panel h3,
.rural-poster-panel span,
.rural-poster-panel strong {
  display: block;
  margin: 0;
}

.rural-poster-panel p {
  color: var(--clay);
  font-weight: 900;
}

.rural-poster-panel h3 {
  margin: 6px 0 10px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.12;
}

.rural-poster-panel span {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.rural-poster-panel strong {
  margin-top: 8px;
  color: var(--clay);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.rural-poster-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rural-poster-services span {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(47, 111, 78, 0.2);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-toolbar h2 {
  margin-bottom: 8px;
}

.gallery-toolbar p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-upload-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 18px 24px;
  align-items: start;
  margin-bottom: 28px;
  padding: 24px;
  background: #f8fbf5;
  border: 1px solid rgba(47, 111, 78, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-community-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  background: #f8fbf5;
  border: 1px solid rgba(47, 111, 78, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-upload-copy h2 {
  margin-bottom: 8px;
}

.gallery-upload-copy h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.gallery-upload-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-upload-fields {
  display: grid;
  gap: 12px;
}

.gallery-upload-fields input,
.gallery-upload-fields textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(47, 111, 78, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.gallery-upload-fields textarea {
  resize: vertical;
}

.upload-photo-picker {
  display: grid;
  gap: 3px;
  padding: 16px;
  border: 1px dashed rgba(47, 111, 78, 0.48);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--white);
  cursor: pointer;
}

.upload-picker-title {
  font-weight: 900;
}

.upload-picker-detail {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.upload-preview {
  display: grid;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 78, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.upload-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.gallery-community-actions h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.gallery-community-actions p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-upload-copy p:last-child,
.upload-status {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-action-buttons,
.gallery-upload-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-upload-fields input[type="file"],
.gallery-upload-actions input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.upload-status {
  grid-column: 1 / -1;
  padding-top: 2px;
  font-weight: 700;
}

.upload-status.is-success {
  color: var(--green-dark);
}

.upload-status.is-error {
  color: #a43c26;
}

.uploaded-gallery-slot {
  border-style: solid;
  border-color: rgba(204, 134, 49, 0.44);
}

.uploaded-photo-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(34, 85, 58, 0.9);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.gallery-counter {
  min-width: 150px;
  padding: 18px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  text-align: center;
}

.gallery-counter strong,
.gallery-counter span {
  display: block;
}

.gallery-counter strong {
  font-size: 2.2rem;
  line-height: 1;
}

.gallery-counter span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.gallery-slot {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  border: 1px dashed rgba(47, 111, 78, 0.32);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.gallery-grid img:hover {
  filter: saturate(1.08) contrast(1.03);
}

.uploaded-photo-card {
  position: relative;
  margin: 0;
}

.uploaded-photo-card img {
  display: block;
}

.uploaded-photo-name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  overflow: hidden;
  color: var(--white);
  background: rgba(31, 79, 55, 0.88);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-slot img {
  height: 100%;
  min-height: 220px;
  border-radius: 0;
}

.gallery-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.gallery-placeholder strong {
  color: var(--green-dark);
}

.gallery-placeholder span {
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-slot.has-photo .gallery-placeholder {
  display: none;
}

.gallery-slot.is-empty {
  display: block;
}

.gallery-preview {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.showcase-image {
  position: relative;
}

.showcase-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.medal-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 13px 16px;
  color: var(--green-dark);
  background: rgba(255, 248, 232, 0.94);
  border: 1px solid rgba(201, 143, 42, 0.45);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(28, 39, 31, 0.2);
  font-weight: 900;
  text-align: center;
}

.showcase-content {
  padding: clamp(6px, 2vw, 24px);
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mini-list p {
  margin: 0;
  padding: 16px;
  background:
    radial-gradient(circle at 18px 18px, rgba(226, 173, 51, 0.12) 0 4px, transparent 4.5px),
    var(--soft);
  border-left: 4px solid var(--mithila-red);
  border-radius: 8px;
}

.medal-highlight {
  background: #fff8e8 !important;
  border-left-color: var(--clay) !important;
}

.timeline-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - 1160px) / 2));
  background:
    linear-gradient(rgba(19, 38, 27, 0.9), rgba(19, 38, 27, 0.9)),
    url("mithila-pattern.svg"),
    radial-gradient(circle at 26px 26px, rgba(255, 217, 145, 0.11) 0 3px, transparent 3.5px),
    linear-gradient(135deg, #13261b, #203f2d);
  background-size: auto, 260px 260px, 76px 76px, auto;
  color: var(--white);
}

.timeline-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 217, 145, 0.32);
  border-radius: 8px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline span {
  display: inline-block;
  margin-bottom: 14px;
  color: #ffd991;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.leadership-section {
  padding-top: 0;
}

.leadership-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background:
    radial-gradient(circle at 34px 34px, rgba(255, 217, 145, 0.12) 0 4px, transparent 4.5px),
    linear-gradient(135deg, var(--green-dark), #2d5d43);
  background-size: 88px 88px, auto;
  border: 2px solid rgba(255, 217, 145, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.leadership-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.leader-cards {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.leader-cards article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.leadership-panel > * {
  min-width: 0;
}

.leader-cards span {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffd991;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leader-cards p {
  margin-bottom: 4px;
}

.notice-list {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-list {
  max-width: 880px;
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--green-dark);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.notice-publisher {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto 34px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice-publisher h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.notice-publisher p:not(.eyebrow),
.notice-status {
  color: var(--muted);
}

.notice-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.notice-form label {
  display: grid;
  gap: 6px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.notice-form input,
.notice-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
  outline: none;
}

.notice-form input:focus,
.notice-form textarea:focus {
  border-color: rgba(47, 111, 78, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.12);
}

.notice-form textarea {
  resize: vertical;
}

.full-field,
.notice-form-actions,
.notice-status {
  grid-column: 1 / -1;
}

.notice-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notice-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.notice-status.success {
  color: var(--green-dark);
}

.notice-status.error {
  color: #9d2f22;
}

.notice-card {
  padding: 26px;
}

.notice-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notice-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.visitor-note-card {
  border-color: rgba(47, 111, 78, 0.34);
  background: #f8fcf6;
}

.highlight-notice {
  border-color: rgba(201, 143, 42, 0.45);
  background: #fff8e8;
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 6px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--mithila-border) border-box;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.contact-grid p {
  margin: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-grid strong,
.contact-grid span,
.contact-grid a {
  display: block;
}

.contact-grid strong {
  color: var(--green-dark);
}

.contact-grid span,
.contact-grid a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-grid a:hover {
  color: var(--green-dark);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.contact-actions .btn {
  min-width: 128px;
}

.connect-section {
  position: relative;
  overflow: hidden;
}

.connect-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(193, 138, 45, 0.34);
  border-radius: 28px;
  pointer-events: none;
}

.connect-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  gap: 18px;
}

.connect-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(193, 138, 45, 0.24);
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 229, 0.78)),
    url("mithila-pattern.svg");
  background-size: auto, 190px;
  box-shadow: 0 18px 45px rgba(31, 79, 55, 0.1);
}

.connect-card-primary {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 79, 55, 0.94), rgba(122, 36, 47, 0.9)),
    url("mithila-pattern.svg");
  background-size: auto, 220px;
}

.connect-card span {
  color: var(--maroon);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.connect-card-primary span,
.connect-card-primary p {
  color: rgba(255, 255, 255, 0.82);
}

.connect-card h3,
.connect-card p {
  margin: 0;
}

.connect-card h3 {
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.connect-card-primary h3 {
  color: var(--white);
}

.connect-card p {
  color: var(--muted);
  line-height: 1.7;
}

.connect-card .btn {
  margin-top: auto;
}

.social-link-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.social-link-row a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 900;
}

.qr-card {
  grid-column: span 2;
}

.qr-link {
  display: block;
  width: min(190px, 100%);
  border: 10px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31, 79, 55, 0.12);
}

.qr-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-url {
  max-width: 340px;
  overflow-wrap: anywhere;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.copy-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--green-dark);
  font-weight: 900;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  border-bottom: 10px solid transparent;
  border-image: var(--mithila-border) 10;
}

.page-hero::before {
  content: "";
  background-image: url("a.webp");
  background-position: center;
}

.about-hero::before {
  background-image: url("c.webp");
}

.services-hero::before {
  background-image: url("school-service.webp");
}

.online-services-hero::before {
  background-image: url("bank-service.webp");
}

.gallery-hero::before {
  background-image: url("7.webp");
}

.notice-hero::before {
  background-image: url("10.webp");
}

.content-page .section {
  padding-block: 46px;
}

.text-section {
  max-width: 860px;
}

.site-footer {
  padding: 46px 18px 24px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(rgba(31, 79, 55, 0.88), rgba(23, 58, 42, 0.92)),
    url("mithila-pattern.svg"),
    radial-gradient(circle at 24px 24px, rgba(255, 217, 145, 0.12) 0 3px, transparent 3.5px),
    linear-gradient(135deg, var(--green-dark), #173a2a);
  background-size: auto, 260px 260px, 72px 72px, auto;
  border-top: 10px solid transparent;
  border-image: var(--mithila-border) 10;
}

.site-footer p {
  margin: 0;
}

.footer-grid {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 30px;
  margin: 0 auto 30px;
}

.footer-grid h2,
.footer-grid h3 {
  color: var(--white);
}

.footer-grid h2 {
  font-size: 1.7rem;
}

.footer-grid a {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-grid a:hover {
  color: #ffd991;
}

.footer-bottom {
  width: min(1160px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-like-panel {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 auto 22px;
  padding: 20px;
  color: var(--mithila-ink);
  background:
    linear-gradient(rgba(255, 246, 216, 0.94), rgba(255, 246, 216, 0.94)),
    url("mithila-pattern.svg") center / 220px 220px;
  border: 3px double rgba(255, 217, 145, 0.82);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.site-like-panel strong,
.site-like-panel p {
  display: block;
}

.site-like-panel strong {
  color: var(--mithila-red);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.site-like-panel p {
  max-width: 660px;
  margin-top: 4px;
  color: #5a4033;
}

.like-eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--mithila-red), #d45a3a);
  border: 2px solid #ffd991;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(182, 59, 46, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.site-like-button span[aria-hidden="true"] {
  color: #ffd991;
  font-size: 1.1rem;
}

.site-like-count {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.9rem;
}

.site-like-button.is-liked {
  color: var(--green-dark);
  background: linear-gradient(135deg, #ffd991, #fff7d6);
}

.site-like-button.is-liked .site-like-count {
  border-left-color: rgba(31, 79, 55, 0.24);
}

.copyright {
  text-align: center;
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  white-space: nowrap;
}

.developer-credit strong {
  color: #ffd991;
}

.developer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 9, 0.88);
}

.lightbox.show {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

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

  .connect-card-primary,
  .qr-card {
    grid-column: 1 / -1;
  }
}

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

  .qr-card {
    grid-column: auto;
  }

  .connect-card {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .language-switcher {
    margin-left: auto;
  }

  .install-app-btn.show {
    margin-left: auto;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .stats,
  .card-grid,
  .services-grid,
  .service-results,
  .vasudha-card,
  .gallery-grid,
  .contact-grid,
  .contact-panel,
  .express-promo-section,
  .split-section,
  .showcase-section,
  .identity-band,
  .quick-grid,
  .timeline,
  .notice-publisher,
  .leadership-panel,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .announcement-bar {
    flex-wrap: wrap;
  }

  .gallery-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-upload-panel {
    grid-template-columns: 1fr;
  }

  .gallery-community-actions {
    grid-template-columns: 1fr;
  }

  .gallery-action-buttons,
  .gallery-upload-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 11px 14px;
    gap: 9px;
  }

  .brand {
    font-size: 1rem;
  }

  .language-switcher {
    order: 4;
    flex: 1 1 160px;
    width: auto;
    min-width: 0;
    padding: 8px 10px;
    justify-content: space-between;
    border-radius: 8px;
  }

  .install-app-btn.show {
    order: 3;
    flex: 1 1 160px;
    min-height: 40px;
    margin-left: 0;
    padding: 9px 12px;
  }

  .language-switcher select {
    max-width: 104px;
  }

  .announcement-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    text-align: left;
  }

  .announcement-bar .home-weather-badge {
    margin-top: 7px;
  }

  .hero {
    min-height: 590px;
  }

  .hero::before {
    inset: 10px;
    border-radius: 12px;
  }

  .hero-content {
    width: min(100% - 44px, 920px);
    margin-left: auto;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-meta {
    margin-top: 20px;
  }

  .hero-actions,
  .center {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .gallery-upload-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section,
  .stats {
    width: min(100% - 28px, 1160px);
    padding-block: 54px;
  }

  .identity-band {
    margin-top: -18px;
  }

  .stats,
  .card-grid,
  .services-grid,
  .service-results,
  .gallery-grid,
  .contact-grid,
  .contact-panel,
  .express-promo-section,
  .split-section,
  .showcase-section,
  .identity-band,
  .quick-grid,
  .timeline,
  .notice-publisher,
  .notice-form,
  .contact-form,
  .leadership-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .site-like-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-like-button {
    width: 100%;
  }

  .page-hero {
    min-height: 370px;
  }

  .express-promo-section {
    padding-top: 60px;
  }

  .express-promo-art {
    min-height: 520px;
  }

  .express-photo-main {
    width: 76%;
    height: 260px;
  }

  .express-photo-small {
    top: 42%;
    width: 52%;
  }

  .express-photo-wide {
    width: 70%;
  }

  .vasudha-photo {
    min-height: 260px;
    max-height: 360px;
  }

  .vasudha-photo-placeholder {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px dashed var(--line);
  }

  .vasudha-poster-image {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pnb-poster-image {
    max-height: none;
  }

  .rural-vasudha-poster {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rural-poster-services {
    grid-template-columns: 1fr;
  }

  .vasudha-poster {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .vasudha-poster::before {
    left: -170px;
    top: -60px;
  }

  .poster-topbar {
    flex-direction: column;
    gap: 0;
    padding-left: 18px;
  }

  .poster-brand-row {
    grid-template-columns: 1fr;
    justify-items: end;
    padding: 0 18px 0 120px;
    text-align: right;
  }

  .poster-vasudha-mark {
    display: none;
  }

  .poster-main {
    padding: 10px 18px 0 76px;
  }

  .poster-main p {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
  }

  .poster-main span {
    font-size: clamp(1.55rem, 8vw, 2.5rem);
  }

  .poster-main strong {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .vasudha-poster .poster-services {
    grid-template-columns: 1fr 1fr;
    margin: auto 18px 18px;
  }

  .poster-services {
    grid-template-columns: 1fr;
  }

  .service-contact-card {
    grid-template-columns: 1fr;
  }

  .govt-portal-card {
    grid-template-columns: 1fr;
  }

  .portal-actions {
    justify-content: stretch;
  }

  .portal-actions .btn {
    width: 100%;
  }

  .service-provider-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .provider-photo {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .service-contact-actions {
    justify-content: stretch;
  }

  .service-contact-actions .btn {
    width: 100%;
  }

  .online-services-list {
    grid-template-columns: 1fr;
  }

  .map-frame {
    height: 320px;
  }
}
/* Local Lucide icon system */
.site-nav a,
.gallery-nav a,
.btn,
.text-link,
.back-link,
.service-filter,
.site-like-button,
.upload-button,
.footer-links a,
.social-link-row a,
.official-links a,
.feature-card h3,
.service-card h3,
.notice-card h3,
.contact-card h3,
.connect-card h3,
.govt-portal-card h3,
.online-services-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-weather-icon {
  width: 22px;
  height: 22px;
  color: #ffd991;
  flex: 0 0 auto;
}

svg.lucide {
  flex: 0 0 auto;
}

.site-nav svg,
.gallery-nav svg,
.menu-toggle svg,
.btn svg,
.text-link svg,
.back-link svg,
.service-filter svg,
.site-like-button svg,
.upload-button svg,
.footer-links svg,
.social-link-row svg,
.official-links svg {
  width: 17px;
  height: 17px;
}

.card-icon {
  width: 21px;
  height: 21px;
  color: var(--green);
}

.service-list-icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* Premium Lagma identity header */
.site-header {
  padding: 14px 24px;
  border-bottom: 3px solid #d4a017;
  background: linear-gradient(135deg, #063b26, #0f5c3a);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.site-header .brand {
  gap: 14px;
  color: #fff8dc;
}

.brand::before {
  display: none;
}

.site-logo {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  color: #fff8dc;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.brand-copy small {
  color: #f3cf72;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-header .site-nav a {
  color: rgba(255, 248, 220, 0.82);
}

.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current="page"] {
  color: #fff8dc;
  background: rgba(212, 160, 23, 0.22);
}

.site-header .menu-toggle {
  border-color: rgba(243, 207, 114, 0.55);
  color: #fff8dc;
  background: rgba(255, 255, 255, 0.1);
}

.site-header .install-app-btn {
  color: #063b26;
  background: #f3cf72;
}

.site-header .language-switcher {
  border-color: rgba(243, 207, 114, 0.5);
  color: #fff8dc;
  background: rgba(255, 255, 255, 0.1);
}

.site-header .language-switcher select {
  color: #fff8dc;
}

.site-header .language-switcher option {
  color: #1d2e23;
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .site-logo {
    width: 52px;
    height: 52px;
    padding: 3px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .site-header .site-nav {
    background: #073f29;
    border-color: rgba(243, 207, 114, 0.38);
  }

  .site-nav a {
    min-height: 46px;
    gap: 10px;
    padding: 11px 12px;
  }

  .site-nav a svg,
  .menu-toggle svg {
    width: 20px;
    height: 20px;
  }

  .btn,
  .text-link,
  .service-filter,
  .site-like-button {
    gap: 7px;
  }

  .btn svg,
  .text-link svg,
  .service-filter svg,
  .site-like-button svg {
    width: 18px;
    height: 18px;
  }

  .feature-card h3,
  .service-card h3,
  .notice-card h3,
  .contact-card h3,
  .connect-card h3,
  .govt-portal-card h3 {
    align-items: flex-start;
    gap: 9px;
  }

  .card-icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .online-services-list li {
    min-height: 50px;
    gap: 10px;
    padding: 11px 12px;
  }

  .online-services-list li::before {
    display: none;
  }

  .service-list-icon {
    width: 20px;
    height: 20px;
  }

  .announcement-bar .home-weather-badge {
    display: grid;
    grid-template-columns: 24px auto auto;
    width: 100%;
    min-height: 46px;
    gap: 8px;
    padding: 9px 11px;
  }

  .home-weather-icon {
    width: 24px;
    height: 24px;
  }

  .announcement-bar .home-weather-badge small {
    justify-self: end;
  }
}
