:root {
  --blue: #1a2bd8;
  --navy: #0a1170;
  --red: #e4141c;
  --gold: #c9a050;
  --ink: #14163a;
  --bg: #fbf8f1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    17px/1.7 Mukta,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
h1,
h2,
h3,
.btn,
.brand b {
  font-family: "Baloo 2", sans-serif;
  line-height: 1.2;
}
h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--navy);
}
h2 {
  color: var(--navy);
}
a {
  color: var(--blue);
}
img {
  max-width: 100%;
}
.hd {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(105deg, var(--navy) 55%, var(--red));
  border-bottom: 3px solid var(--gold);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
}
.brand img {
  height: 54px;
  border-radius: 6px;
}
.brand b {
  display: block;
  font-size: 1.05rem;
}
.brand small {
  color: var(--gold);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  align-items: center;
}
nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.92rem;
}
nav a:hover,
nav a.on {
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}
.dd {
  position: relative;
}
.dd div {
  display: none;
  position: absolute;
  right: 0;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 8px;
  min-width: 170px;
  padding: 0.3rem;
}
.dd:hover div,
.dd:focus-within div {
  display: block;
}
.dd div a {
  display: block;
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.8rem;
}
.car {
  position: relative;
  aspect-ratio: 8/3;
  max-height: 560px;
  overflow: hidden;
  background: var(--navy);
}
.sl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s;
}
.sl.on {
  opacity: 1;
}
.pv,
.nx {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  border: 0;
  background: rgba(10, 17, 112, 0.6);
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
}
.pv {
  left: 12px;
}
.nx {
  right: 12px;
}
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  translate: -50%;
  display: flex;
  gap: 8px;
}
.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: none;
  padding: 0;
}
.dots .on {
  background: var(--gold);
}
.wrap {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1.2rem;
}
.hero {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  font-size: 1.05rem;
  cursor: pointer;
}
.btn:hover {
  background: var(--navy);
}
.btn.alt {
  background: var(--blue);
}
.three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.three article {
  padding: 1.2rem;
  background: #fff;
  border-left: 6px solid var(--blue);
  border-radius: 4px;
}
.three article:nth-child(2) {
  border-color: var(--gold);
}
.three article:nth-child(3) {
  border-color: var(--red);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem;
}
.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(10, 17, 112, 0.12);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.card div {
  padding: 0.8rem 1rem;
}
.prose {
  max-width: 820px;
}
.ex {
  color: #444;
}
.meta {
  color: var(--red);
  font-weight: 600;
}
.ok {
  background: #e6f6ea;
  padding: 1rem;
  border-radius: 8px;
}
.er {
  background: #fde8e8;
  padding: 1rem;
  border-radius: 8px;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.tbl td,
.tbl th {
  padding: 0.6rem 0.8rem;
  border: 1px solid #e3dcc8;
  text-align: left;
}
.tbl th {
  background: var(--navy);
  color: #fff;
}
.frm {
  display: grid;
  gap: 1rem;
}
.frm label {
  display: grid;
  font-weight: 600;
  gap: 0.2rem;
}
input,
textarea,
select {
  font: inherit;
  padding: 0.6rem;
  border: 1px solid #bbb;
  border-radius: 8px;
  width: 100%;
}
input:focus,
textarea:focus {
  outline: 3px solid var(--gold);
}
.map {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 12px;
}
.team .mem {
  text-align: center;
  background: #fff;
  padding: 1.2rem;
  border-radius: 16px;
  border-top: 5px solid var(--red);
}
.ph img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
}
.mem h3 {
  margin: 0.6rem 0 0;
  color: var(--navy);
}
.mem p {
  margin: 0;
  font-size: 0.92rem;
}
.soc {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.6rem;
}
.soc a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.soc a:hover {
  background: var(--red);
}
.gal {
  columns: 3 220px;
  column-gap: 12px;
}
.gal a {
  display: block;
  position: relative;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.gal img,
.gal video {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}
.gal a:hover img {
  transform: scale(1.05);
}
.vid i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 2.6rem;
  color: #fff;
  background: rgba(10, 17, 112, 0.35);
}
#lb {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 8, 50, 0.92);
  display: grid;
  place-items: center;
  padding: 1rem;
}
#lb[hidden] {
  display: none;
}
#lbc {
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}
#lbc > img,
#lbc > video {
  max-height: 85vh;
  margin: auto;
  display: block;
}
#lbc iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.x {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2.4rem;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.tm {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1.3fr;
  gap: 1.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border-top: 6px solid var(--gold);
}
.tm img {
  width: 100%;
  border-radius: 12px;
}
.ft {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 4px solid var(--gold);
}
.ft img {
  height: 70px;
  border-radius: 8px;
}
.cp {
  font-size: 0.85rem;
  color: var(--gold);
}
@media (max-width: 900px) {
  .burger {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
  }
  .nav nav {
    display: flex;
  }
  .dd div {
    display: block;
    position: static;
    border: 0;
  }
  .tm {
    grid-template-columns: 1fr;
  }
  .car {
    aspect-ratio: 16/9;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
html {
  scroll-behavior: smooth;
}
section[id],
h3[id] {
  scroll-margin-top: 84px;
}
.sec:nth-of-type(odd) {
  background: #fff;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}
nav a.on {
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}
.sl[src$=".jpg"] {
  object-fit: contain;
  background: #f6efe2;
}
.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.4fr;
  gap: 2rem;
  align-items: center;
}
.sec:nth-of-type(even) .split {
  direction: rtl;
}
.sec:nth-of-type(even) .split > * {
  direction: ltr;
}
.pic img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(10, 17, 112, 0.25);
  border: 4px solid var(--gold);
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.pair img {
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.cap {
  font-size: 0.85rem;
  text-align: center;
  margin: 0.4rem 0 0;
}
.side {
  float: right;
  width: min(38%, 300px);
  margin: 0 0 1rem 1.5rem;
  border-radius: 16px;
  border: 4px solid var(--gold);
}
.noimg {
  height: 170px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--blue) 50%, var(--red) 50%);
}
.card .noimg img {
  width: auto;
  height: 110px;
  border-radius: 50%;
  object-fit: contain;
}
.vbox {
  width: 100%;
  max-height: 520px;
  border-radius: 14px;
  background: #000;
  border: 4px solid var(--gold);
}
@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
  .sec:nth-of-type(even) .split {
    direction: ltr;
  }
  .side {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
}
.lng {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-weight: 700;
}
.mg {
  margin: 1.5rem 0 0.3rem;
  color: var(--red);
}
.ml {
  columns: 2 300px;
  list-style: none;
  padding: 0;
}
.ml li {
  break-inside: avoid;
  padding: 0.35rem 0.6rem;
  background: #fff;
  margin-bottom: 6px;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
}
.ml small {
  display: block;
  color: #555;
}
#q {
  max-width: 480px;
  margin: 0.5rem 0;
}
.gal {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gal a {
  margin: 0;
  height: 100%;
}
.gal img,
.gal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal a:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gal a:nth-child(7n + 4) {
  grid-row: span 2;
}
.gal a.vid {
  grid-column: span 2;
}
.vid em {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 99px;
}
.pic img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  max-width: 340px;
  margin: 0 auto;
  display: block;
}
.clip {
  max-height: 15.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
  margin-bottom: 0.8rem;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.pair figure {
  margin: 0;
  text-align: center;
}
.pic .pair img {
  aspect-ratio: 4/5;
  max-width: none;
  width: 100%;
}
.pair figcaption small {
  display: block;
  font-size: 0.8rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.pair .soc a {
  width: 30px;
  height: 30px;
}
.soc svg {
  width: 17px;
  height: 17px;
}
.tm .soc {
  justify-content: flex-start;
}
#lb .pn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  font-size: 2.6rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 0;
  width: 52px;
  height: 70px;
  cursor: pointer;
  border-radius: 8px;
}
#lb .pn.l {
  left: 10px;
}
#lb .pn.r {
  right: 10px;
}
#lb:not(.multi) .pn {
  display: none;
}
#lbn {
  position: absolute;
  top: 16px;
  left: 20px;
  color: #fff;
}
@media (max-width: 600px) {
  .gal {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .gal a:nth-child(7n + 1),
  .gal a.vid {
    grid-column: span 2;
  }
}
[hidden] {
  display: none !important;
}
.vm {
  text-align: center;
  margin: 1.2rem 0 0;
}
.vm .btn {
  margin: 0 0.3rem;
}
.gal a.vid {
  background: linear-gradient(120deg, var(--navy), var(--red));
}
.gal a.vid video {
  pointer-events: none;
}

/* ---- v7: donate QR, volunteer steps, complaint, search ---- */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 1.5rem;
  align-items: start;
}
.upi {
  /* margin: 0; */
  text-align: center;
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 14px;
  /* padding: 0.6rem; */
}
.upi img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.upi figcaption {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.upi-pay {
  margin-top: 0.5rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.95rem;
}
@media (min-width: 801px) {
  .upi-pay {
    display: none;
  }
}
@media (max-width: 800px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }
  .upi {
    max-width: 300px;
    margin: auto;
  }
}
.steps {
  padding-left: 1.2rem;
}
.steps li {
  margin-bottom: 0.8rem;
}
.steps .btn {
  margin-top: 0.4rem;
  font-size: 0.95rem;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.note {
  font-size: 0.9rem;
  color: #555;
}
.cc {
  font-weight: 400;
  color: #555;
  text-align: right;
}
code {
  background: #eee;
  padding: 1px 6px;
  border-radius: 4px;
}
.msearch {
  display: flex;
  gap: 0.6rem;
  max-width: 560px;
  margin: 0.5rem 0;
}
.msearch input {
  flex: 1;
}
.vid-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 1px 10px;
  border-radius: 99px;
  margin-left: 0.3rem;
}
.vl li {
  border-left-color: var(--red);
}
.pv-box {
  background: #fff;
  border: 1px solid #ccd;
  border-radius: 8px;
  padding: 0.6rem;
  margin: 0.6rem 0;
}
.pv-box iframe {
  width: 100%;
  height: 640px;
  border: 0;
}
.pv-box img {
  max-width: 100%;
  height: auto;
}
.badge {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 99px;
  font-size: 0.8rem;
  background: #e8e8f5;
}
.badge.approved,
.badge.resolved {
  background: #d8f3de;
}
.badge.new {
  background: #fff1c9;
}
.badge.rejected {
  background: #fde0e0;
}
.badge.in_progress,
.badge.form_received {
  background: #dbe7ff;
}

/* ---- v8: header always on one line, required stars, password eye, status badges ---- */
.hd {
  flex-wrap: nowrap;
}
.brand {
  flex: 0 0 auto;
  min-width: 0;
}
nav a {
  white-space: nowrap;
}
.dd > a {
  white-space: nowrap;
}
@media (min-width: 1241px) {
  .hd {
    padding: 0.45rem 0.8rem;
    gap: 0.6rem;
  }
  .brand img {
    height: 48px;
  }
  .brand b {
    font-size: 0.95rem;
    line-height: 1.15;
  }
  .brand small {
    font-size: 0.78rem;
  }
  nav {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-end;
  }
  nav a {
    padding: 0.35rem clamp(0.3rem, 0.55vw, 0.6rem);
    font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  }
  .lng {
    padding: 0.2rem 0.6rem;
    margin-left: 0.3rem;
  }
}
@media (max-width: 1240px) {
  .brand {
    flex: 1 1 auto;
  }
  .burger {
    display: block;
    flex: 0 0 auto;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    flex-wrap: nowrap;
  }
  .nav nav {
    display: flex;
  }
  .dd div {
    display: block;
    position: static;
    border: 0;
  }
}
.rq {
  color: #e4141c;
  font-style: normal;
  font-weight: 700;
  margin-left: 0.2rem;
  display: inline;
  float: none;
  clear: none;
}
.eye {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid #bbb;
  border-radius: 8px;
  padding: 0.25rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
  margin-top: -0.4rem;
  justify-self: start;
}
.eye:hover {
  background: #eef;
}
@media (max-width: 480px) {
  .brand small {
    display: none;
  }
  .brand img {
    height: 44px;
  }
  .brand b {
    font-size: 0.9rem;
  }
}
.eye svg {
  width: 20px;
  height: 20px;
}
.req-note {
  font-size: 0.9rem;
  color: #555;
}
.frm .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .frm .row2 {
    grid-template-columns: 1fr;
  }
}
.badge.rejected,
.badge.closed {
  background: #fde0e0;
}
.badge.deleted {
  background: #ddd;
}
.idcards img {
  max-width: 100%;
  border: 1px solid #bbb;
  border-radius: 8px;
  margin: 0.4rem 0;
}
.mailbody {
  width: 100%;
  height: 260px;
  border: 1px solid #ccd;
  border-radius: 6px;
  background: #fff;
}

.dash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}
.dcard {
  background: #fff;
  border: 1px solid #ccd;
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--ink);
  display: grid;
}
.dcard b {
  font-size: 1.8rem;
  color: var(--navy);
}
.dcard.hot {
  border-left-color: var(--red);
}
.dcard.hot b {
  color: var(--red);
}
