﻿/* Core India Movement - global design system and component styles */
:root {
  --primary: #0a2a66;
  --primary-700: #071f4d;
  --saffron: #ff9933;
  --green: #138808;
  --white: #ffffff;
  --light: #f8f9fa;
  --ink: #102033;
  --muted: #5f6f84;
  --line: #dce4ef;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --shadow: 0 18px 45px rgba(10, 42, 102, 0.12);
  --radius: 8px;
  --max: 1180px;
  --header-height: 76px;
  --font: Arial, "Helvetica Neue", sans-serif;
}

[data-theme="dark"] {
  --white: #08152c;
  --light: #0d1d39;
  --ink: #f4f7fb;
  --muted: #b9c6d8;
  --line: #21395d;
  --surface: #0f2344;
  --surface-alt: #10294f;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  min-width: 320px;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 1180;
  background: rgba(5, 17, 44, 0.42);
  backdrop-filter: blur(4px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  background: var(--saffron);
  color: #111827;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

.section.alt,
.page-hero,
.site-footer {
  background: var(--light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[data-theme="dark"] .eyebrow {
  color: #8fb7ff;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.9rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-weight: 850;
}

h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.03rem, 2vw, 1.25rem);
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  gap: 1rem;
  justify-items: center;
  color: var(--primary);
  font-weight: 800;
}

.loader-ring {
  width: 72px;
  height: 72px;
  border: 6px solid rgba(10, 42, 102, 0.16);
  border-top-color: var(--saffron);
  border-right-color: var(--green);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 239, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(8, 21, 44, 0.92);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(10, 42, 102, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

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

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  color: var(--primary);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .brand-name {
  color: #ffffff;
}

.brand-short {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.62rem;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--primary);
  background: rgba(10, 42, 102, 0.07);
}

[data-theme="dark"] .site-nav a:hover,
[data-theme="dark"] .site-nav a:focus-visible,
[data-theme="dark"] .site-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn,
.menu-toggle,
.scroll-top {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover,
.menu-toggle:hover,
.scroll-top:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 42, 102, 0.35);
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--saffron);
  color: #121826;
  box-shadow: 0 12px 24px rgba(255, 153, 51, 0.24);
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-outline.dark {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="dark"] .btn-outline.dark {
  border-color: #8fb7ff;
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 31, 77, 0.92), rgba(10, 42, 102, 0.72), rgba(10, 42, 102, 0.86)),
    url("../images/hero-bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--saffron), #ffffff, var(--green));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 920px);
  margin-inline: auto;
  padding: 64px 0 86px;
  text-align: center;
}

.hero-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.hero h1,
.hero p {
  color: #ffffff;
}

.hero p {
  max-width: 780px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-indicator::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 8px;
  background: #ffffff;
  border-radius: 8px;
  transform: translateX(-50%);
  animation: scrollDot 1.4s ease-in-out infinite;
}

.page-hero {
  position: relative;
  padding: 74px 0 50px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 153, 51, 0.16), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(19, 136, 8, 0.13), transparent 28%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  color: var(--primary);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  position: relative;
  height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(10, 42, 102, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 153, 51, 0.45);
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: rgba(10, 42, 102, 0.08);
  color: var(--primary);
  font-weight: 900;
}

[data-theme="dark"] .card-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.stats-band {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(10, 42, 102, 0.96), rgba(7, 31, 77, 0.94)),
    url("../images/hero-bg.jpg") center / cover no-repeat;
}

.stats-band h2,
.stats-band p {
  color: #ffffff;
}

.stat-card {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stat-number {
  display: block;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.founder-card {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.founder-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.pill-list li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: var(--surface-alt);
  font-weight: 800;
  font-size: 0.88rem;
}

[data-theme="dark"] .pill-list li {
  color: #ffffff;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.highlight-item {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
}

.activity-card,
.news-card,
.event-card,
.leader-card {
  overflow: hidden;
  padding: 0;
}

.activity-media,
.news-media,
.event-media {
  height: 185px;
  background:
    linear-gradient(135deg, rgba(10, 42, 102, 0.92), rgba(10, 42, 102, 0.65)),
    url("../images/hero-bg.jpg") center / cover no-repeat;
}

.activity-card:nth-child(2) .activity-media,
.news-card:nth-child(2) .news-media,
.event-card:nth-child(2) .event-media {
  background:
    linear-gradient(135deg, rgba(255, 153, 51, 0.88), rgba(10, 42, 102, 0.68)),
    url("../images/india-map.svg") center / contain no-repeat,
    var(--surface-alt);
}

.activity-card:nth-child(3) .activity-media,
.news-card:nth-child(3) .news-media,
.event-card:nth-child(3) .event-media {
  background:
    linear-gradient(135deg, rgba(19, 136, 8, 0.86), rgba(10, 42, 102, 0.76)),
    url("../images/logo.png") center / 52% no-repeat,
    var(--surface-alt);
}

.card-body {
  padding: 1.25rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 900;
}

[data-theme="dark"] .link-more {
  color: #8fb7ff;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 55%;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 153, 51, 0.24), transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 3px;
  background: linear-gradient(var(--saffron), var(--green));
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.75rem;
}

.roadmap {
  display: grid;
  gap: 1rem;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.roadmap-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--green));
  color: #ffffff;
  font-weight: 900;
}

.leader-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.leader-meta {
  color: var(--primary);
  font-weight: 800;
}

[data-theme="dark"] .leader-meta {
  color: #8fb7ff;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.social-row a svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.45rem;
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 900;
}

[data-theme="dark"] .social-row a {
  color: #ffffff;
}

.form-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.72rem 0.82rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 42, 102, 0.12);
  outline: 0;
}

.field-error {
  color: #b42318;
  min-height: 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
}

[data-theme="dark"] .field-error {
  color: #ffb4a9;
}

.form-note {
  padding: 0.9rem 1rem;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface-alt);
  font-weight: 700;
}

.success-popup {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 17, 44, 0.58);
}

.success-popup.is-visible {
  display: flex;
}

.success-dialog {
  width: min(100%, 460px);
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.membership-id {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  margin: 0.35rem 0 1rem;
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 900;
}

[data-theme="dark"] .membership-id {
  color: #ffffff;
}

.chapter-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.map-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.state-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.state-button,
.filter-btn,
.tier-btn {
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}

.state-button.is-active,
.filter-btn.is-active,
.tier-btn.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.chapter-details {
  min-height: 360px;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
}

.calendar span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 800;
}

.calendar .event-day {
  background: rgba(255, 153, 51, 0.18);
  border-color: rgba(255, 153, 51, 0.55);
  color: var(--primary);
}

[data-theme="dark"] .calendar .event-day {
  color: #ffffff;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.countdown div {
  padding: 0.9rem;
  border-radius: var(--radius);
  background: var(--surface-alt);
  text-align: center;
}

.countdown strong {
  display: block;
  color: var(--primary);
  font-size: 1.7rem;
}

[data-theme="dark"] .countdown strong {
  color: #ffffff;
}

.search-bar {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.pagination button.is-active {
  background: var(--primary);
  color: #ffffff;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.72;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(7, 31, 77, 0.9));
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 17, 44, 0.85);
}

.lightbox.is-visible {
  display: flex;
}

.lightbox-inner {
  width: min(100%, 880px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.lightbox img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000000;
}

.lightbox-caption {
  padding: 1rem;
  color: var(--ink);
  font-weight: 800;
}

.donation-tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.progress {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-alt);
}

.progress span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--green));
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.82)),
    url("../images/india-map.svg") center / contain no-repeat,
    var(--surface-alt);
  color: var(--primary);
  font-weight: 900;
  text-align: center;
}

.map-placeholder small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

[data-theme="dark"] .map-placeholder {
  background:
    linear-gradient(rgba(15, 35, 68, 0.82), rgba(15, 35, 68, 0.86)),
    url("../images/india-map.svg") center / contain no-repeat,
    var(--surface-alt);
  color: #ffffff;
}

.policy-list,
.value-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.policy-list li,
.value-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
}

.policy-list li::before,
.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 136, 8, 0.14);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 2rem;
  padding: 58px 0 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-title {
  color: var(--primary);
  font-weight: 900;
}

[data-theme="dark"] .footer-title {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--primary);
}

[data-theme="dark"] .footer-links a:hover {
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  gap: 0.55rem;
}

.newsletter-form input {
  min-width: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 800;
}

[data-theme="dark"] .footer-bottom a {
  color: #ffffff;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(10, 42, 102, 0.24);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

