:root {
  --ink: #172034;
  --muted: #5b6475;
  --paper: #fbfaf6;
  --white: #ffffff;
  --blue: #0968b8;
  --deep-blue: #063b74;
  --gold: #f1b525;
  --red: #b5312c;
  --green: #21735a;
  --line: rgba(23, 32, 52, 0.12);
  --shadow: 0 18px 50px rgba(9, 33, 67, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 56px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #304057;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: var(--white);
  color: var(--blue);
}

.nav-links a.is-active {
  background: var(--white);
  color: var(--deep-blue);
}

.translate-btn,
.primary-link,
.secondary-link {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.translate-btn {
  justify-self: end;
  min-width: 88px;
  padding: 0 18px;
  color: var(--white);
  background: var(--deep-blue);
  box-shadow: 0 10px 24px rgba(6, 59, 116, 0.23);
}

.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 78px));
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(32px, 7vw, 76px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 24, 48, 0.86), rgba(4, 24, 48, 0.54) 44%, rgba(4, 24, 48, 0.12)),
    linear-gradient(0deg, rgba(4, 24, 48, 0.7), rgba(4, 24, 48, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--white);
}

.hero-logo {
  width: 86px;
  height: 102px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 13vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.primary-link {
  color: #142033;
  background: var(--gold);
}

.secondary-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  min-height: 118px;
  padding: 28px clamp(18px, 4vw, 46px);
  background: var(--white);
}

.facts span,
.facts small {
  display: block;
}

.facts span {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
}

.facts small {
  margin-top: 7px;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 9px;
  font-size: 1.1rem;
}

.section p {
  color: var(--muted);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: end;
  gap: 16px;
}

.image-stack img,
.photo-band img,
.gallery-grid img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack img:first-child {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.image-stack img:last-child {
  aspect-ratio: 3 / 4;
  width: 100%;
  transform: translateY(30px);
}

.objectives {
  background: #edf7f4;
}

.objective-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: rgba(33, 115, 90, 0.18);
  border: 1px solid rgba(33, 115, 90, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.objective-grid article {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff5d6;
  border: 1px solid rgba(177, 129, 13, 0.2);
  font-weight: 800;
}

.photo-band {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.9fr;
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 76px) clamp(56px, 8vw, 104px);
}

.photo-band figure {
  margin: 0;
}

.photo-band img {
  width: 100%;
  height: 360px;
}

.photo-band figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.support {
  background: #f9f1ec;
}

.support-intro {
  max-width: 820px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.support-grid a {
  display: block;
  min-height: 128px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(181, 49, 44, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.support-grid a:hover,
.support-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(181, 49, 44, 0.34);
  box-shadow: 0 14px 34px rgba(181, 49, 44, 0.12);
  outline: none;
}

.support-grid strong,
.support-grid span {
  display: block;
  overflow-wrap: anywhere;
}

.support-grid strong {
  color: var(--red);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.inline-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--deep-blue);
  font-weight: 900;
}

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

.gallery-grid img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: top;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 76px);
  color: var(--white);
  background: #102036;
}

.footer div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer img {
  width: 60px;
  height: 72px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  font-weight: 800;
}

.footer address {
  display: grid;
  gap: 5px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
}

html[lang="hi"] body {
  font-family: "Nirmala UI", Mangal, Arial, Helvetica, sans-serif;
  line-height: 1.72;
}

html[lang="hi"] .hero h1 {
  margin-top: 42px;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 1.08;
}

html[lang="hi"] .hero-logo {
  width: 76px;
  height: 90px;
  margin-bottom: 28px;
}

html[lang="hi"] .hero .eyebrow {
  display: block;
  max-width: min(720px, 100%);
  margin-bottom: 0;
}

html[lang="hi"] .eyebrow,
html[lang="hi"] .section-kicker {
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

html[lang="hi"] .nav-links a,
html[lang="hi"] .translate-btn,
html[lang="hi"] .primary-link,
html[lang="hi"] .secondary-link,
html[lang="hi"] .inline-support-link {
  line-height: 1.25;
}

html[lang="hi"] .section h2 {
  line-height: 1.18;
}

html[lang="hi"] .payment-hero h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.45rem);
  line-height: 1.12;
}

html[lang="hi"] .payment-hero {
  padding-bottom: clamp(64px, 8vw, 116px);
}

.payment-page {
  background: #f4f8fb;
}

.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: clamp(46px, 8vw, 96px) clamp(18px, 5vw, 76px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 59, 116, 0.94), rgba(9, 104, 184, 0.75)),
    url("assets/site/hero-building.jpg") center / cover;
}

.payment-hero h1 {
  max-width: 840px;
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.payment-hero p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.payment-hero > img {
  width: clamp(120px, 16vw, 210px);
  max-height: 240px;
  height: auto;
  align-self: start;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.payment-section {
  position: relative;
  z-index: 2;
  scroll-margin-top: 92px;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 76px);
}

.payment-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.qr-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: #eef6ff;
  border: 1px solid rgba(9, 104, 184, 0.16);
}

.qr-panel strong {
  color: var(--muted);
}

.qr-image {
  width: min(330px, 78vw);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  border: 10px solid var(--white);
  box-shadow: inset 0 0 0 2px rgba(23, 32, 52, 0.14);
}

.qr-placeholder {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: min(300px, 78vw);
  aspect-ratio: 1;
  padding: 18px;
  background: var(--white);
  border: 10px solid var(--white);
  box-shadow: inset 0 0 0 2px rgba(23, 32, 52, 0.2);
}

.qr-placeholder span {
  background: #172034;
  min-width: 0;
}

.qr-placeholder span:nth-child(2n),
.qr-placeholder span:nth-child(5n),
.qr-placeholder span:nth-child(11n) {
  background: transparent;
}

.qr-placeholder span:nth-child(1),
.qr-placeholder span:nth-child(2),
.qr-placeholder span:nth-child(3),
.qr-placeholder span:nth-child(7),
.qr-placeholder span:nth-child(13),
.qr-placeholder span:nth-child(19),
.qr-placeholder span:nth-child(20),
.qr-placeholder span:nth-child(21),
.qr-placeholder span:nth-child(34),
.qr-placeholder span:nth-child(35),
.qr-placeholder span:nth-child(36),
.qr-placeholder span:nth-child(30),
.qr-placeholder span:nth-child(24) {
  background: #172034;
}

.upi-details h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.upi-id-box {
  display: grid;
  gap: 7px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid var(--line);
}

.upi-id-box span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.upi-id-box strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  overflow-wrap: anywhere;
}

.payment-link {
  color: #142033;
  background: var(--gold);
}

.payment-note {
  margin: 18px 0 0;
  color: var(--muted);
}

.compact-support {
  position: relative;
  z-index: 2;
  margin-top: clamp(24px, 4vw, 56px);
  padding-top: clamp(46px, 6vw, 70px);
}

html[lang="hi"] .compact-support {
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: clamp(72px, 8vw, 116px);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .facts,
  .two-column,
  .section-heading-row,
  .support-grid,
  .gallery-grid,
  .payment-hero,
  .payment-card,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band img {
    height: 320px;
  }

  .footer address {
    justify-self: start;
  }

  .payment-hero > img {
    justify-self: start;
    order: -1;
  }
}

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

  .brand span {
    display: none;
  }

  .translate-btn {
    min-width: 76px;
    padding: 0 12px;
  }

  .hero {
    min-height: 690px;
    padding: 28px 18px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4, 24, 48, 0.92), rgba(4, 24, 48, 0.2)),
      linear-gradient(90deg, rgba(4, 24, 48, 0.64), rgba(4, 24, 48, 0.1));
  }

  .hero h1 {
    font-size: clamp(4.2rem, 21vw, 6rem);
  }

  html[lang="hi"] .hero h1 {
    margin-top: 34px;
    font-size: clamp(3rem, 15vw, 4.65rem);
    line-height: 1.12;
  }

  html[lang="hi"] .hero-logo {
    width: 68px;
    height: 82px;
    margin-bottom: 24px;
  }

  html[lang="hi"] .payment-hero h1 {
    font-size: clamp(2rem, 9.8vw, 3.35rem);
    line-height: 1.16;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .objective-grid,
  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:last-child {
    transform: none;
  }

  .support-grid {
    gap: 10px;
  }

  .gallery-grid img {
    height: 360px;
  }

  .footer div {
    align-items: flex-start;
  }

  .payment-hero {
    padding: 34px 18px;
  }

  .payment-hero h1 {
    font-size: clamp(2.4rem, 13vw, 4.5rem);
    line-height: 1.04;
  }

  .payment-card {
    padding: 14px;
  }

  .qr-panel {
    padding: 14px;
  }

  .qr-placeholder {
    gap: 6px;
    padding: 14px;
  }
}
