/* ==========================================================================
   UNITY OF 100 SEVA TRUST, JAMNAGAR
   Official Web Portal Stylesheet
   Theme: Institutional, Credible, Warm Saffron & Deep Teal Palette
   ========================================================================== */

:root {
  /* Primary Saffron / Orange Accent (from Logo) */
  --saffron-50: #FFF8F0;
  --saffron-100: #FEEDD9;
  --saffron-200: #FCD8B0;
  --saffron-500: #E8842A;
  --saffron-600: #D06F18;
  --saffron-700: #B25A0F;
  --saffron-800: #8E440C;

  /* Secondary Deep Teal / Blue (from Logo) */
  --teal-50: #F0F8FA;
  --teal-100: #DCF0F4;
  --teal-500: #1E7A8C;
  --teal-600: #186675;
  --teal-700: #12515E;
  --teal-800: #0D3E48;
  --teal-900: #082930;

  /* Neutral Surface & Background Colors */
  --bg-main: #FCFBF7;         /* Warm serene off-white */
  --bg-card: #FFFFFF;         /* Crisp card background */
  --bg-subtle: #F5F7F8;       /* Institutional soft slate */
  --bg-accent-soft: #FFFBF5;  /* Subtle saffron warmth */
  --border-light: #E7ECEE;
  --border-medium: #D0D8DC;

  /* Typography Colors */
  --text-main: #182329;       /* Dignified charcoal navy */
  --text-muted: #536471;      /* Secondary text */
  --text-light: #768894;      /* Tertiary text */
  --text-white: #FFFFFF;

  /* Accents & Trust Seals */
  --gold-seal: #C98A2C;
  --gold-bg: #FDF9EE;
  --green-leaf: #2E8B57;
  --green-bg: #EBF8F0;

  /* Shadows - Calm, subtle, non-flashy */
  --shadow-xs: 0 1px 3px rgba(15, 35, 45, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 35, 45, 0.06);
  --shadow-md: 0 6px 16px rgba(15, 35, 45, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 35, 45, 0.10);
  --shadow-card: 0 4px 14px rgba(24, 35, 41, 0.05);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout Containers */
  --container-max: 1200px;
  --header-height: 80px;

  /* Fonts */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-gujarati: 'Noto Sans Gujarati', 'Gujarati Sangam MN', 'Shruti', sans-serif;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 84px;
  padding-bottom: 84px;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-badge.saffron {
  background: var(--saffron-50);
  color: var(--saffron-700);
  border-color: var(--saffron-200);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.motto-gujarati {
  font-family: var(--font-gujarati);
  font-weight: 700;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--saffron-500);
  color: var(--text-white);
  border: 1px solid var(--saffron-600);
  box-shadow: 0 2px 8px rgba(232, 132, 42, 0.25);
}

.btn-primary:hover {
  background-color: var(--saffron-600);
  box-shadow: 0 4px 14px rgba(232, 132, 42, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-500);
}

.btn-secondary:hover {
  background-color: var(--teal-500);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Official Top Notification Bar
   ========================================================================== */
.top-notice-bar {
  background-color: var(--teal-900);
  color: #E2ECEE;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-notice-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-notice-item svg {
  width: 14px;
  height: 14px;
  color: var(--saffron-500);
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-reg-tag {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--saffron-500);
  box-shadow: var(--shadow-xs);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--teal-700);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-motto-pill {
  background: var(--saffron-100);
  color: var(--saffron-800);
  font-family: var(--font-gujarati);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-700);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--saffron-500);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--text-main);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFDF8 0%, #F5F9FA 100%);
  padding: 70px 0 90px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-backdrop-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 132, 42, 0.06) 0%, rgba(30, 122, 140, 0.03) 70%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}

.hero-crest-badge .seal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--saffron-500);
  box-shadow: 0 0 0 3px rgba(232, 132, 42, 0.2);
}

.hero-crest-badge span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-800);
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--saffron-600);
  display: block;
}

/* Motto Box - Core requirement */
.hero-motto-box {
  background-color: #FFFFFF;
  border-left: 4px solid var(--saffron-500);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  width: 100%;
}

.hero-motto-gujarati {
  font-family: var(--font-gujarati);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--saffron-700);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-motto-translation {
  font-size: 0.94rem;
  color: var(--teal-800);
  font-weight: 500;
  margin-top: 4px;
  font-style: italic;
}

.hero-mission {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal-800);
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--green-leaf);
}

/* Hero Emblem Card */
.hero-emblem-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-emblem-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 24px;
}

.hero-emblem-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(232, 132, 42, 0.15);
  border: 4px solid #FFFFFF;
}

.emblem-legal-caption {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-800);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.emblem-location-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-stat-pill-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-medium);
}

.hero-stat-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 10px;
  border-radius: var(--radius-md);
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--saffron-700);
}

.hero-stat-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Section 2: About the Trust
   ========================================================================== */
.about-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.about-narrative h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-main);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-narrative p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-narrative .highlight-quote {
  background: var(--saffron-50);
  border-left: 3px solid var(--saffron-500);
  padding: 14px 18px;
  margin: 22px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: var(--saffron-800);
  font-size: 0.98rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.pillar-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: var(--radius-md);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.pillar-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* About Legal Profile Card */
.about-legal-card {
  background: linear-gradient(135deg, #FAF7EE 0%, #FFFFFF 100%);
  border: 1px solid #E2D7BE;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ECE3CE;
  margin-bottom: 20px;
}

.legal-seal-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-seal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-seal);
}

.legal-seal-icon svg {
  width: 22px;
  height: 22px;
}

.legal-card-header h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
}

.legal-card-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.legal-detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-detail-item {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
}

.legal-detail-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--teal-700);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.legal-detail-value {
  color: var(--text-main);
  font-weight: 600;
}

.legal-address-box {
  margin-top: 16px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid #E8DFCC;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
}

.legal-address-box strong {
  display: block;
  color: var(--saffron-700);
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section 3: Credibility / Registrations Strip (Trust Seals)
   ========================================================================== */
.credibility-section {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 60px 0;
}

.credibility-header {
  text-align: center;
  margin-bottom: 36px;
}

.credibility-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--teal-900);
  margin-bottom: 8px;
}

.credibility-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.seal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.seal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}

.seal-emblem {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}

.seal-card.gold .seal-emblem {
  background: var(--gold-bg);
  border-color: #F1DEC0;
  color: var(--gold-seal);
}

.seal-card.saffron .seal-emblem {
  background: var(--saffron-50);
  border-color: var(--saffron-200);
  color: var(--saffron-600);
}

.seal-emblem svg {
  width: 22px;
  height: 22px;
}

.seal-authority {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.seal-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.seal-badge-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--teal-50);
  color: var(--teal-800);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  border: 1px dashed var(--teal-500);
}

.seal-card.saffron .seal-badge-code {
  background: var(--saffron-50);
  color: var(--saffron-800);
  border-color: var(--saffron-500);
}

.seal-validity {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================================================
   Section 4: What We Do (Programs)
   ========================================================================== */
.programs-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

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

.program-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron-500);
}

.program-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--saffron-50);
  border: 1px solid var(--saffron-200);
  color: var(--saffron-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.program-card:nth-child(even) .program-icon-box {
  background: var(--teal-50);
  border-color: var(--teal-100);
  color: var(--teal-700);
}

.program-icon-box svg {
  width: 26px;
  height: 26px;
}

.program-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-700);
  margin-bottom: 8px;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
}

.program-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.program-footer-metric {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--teal-800);
  font-weight: 600;
}

.program-footer-metric span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.program-footer-metric svg {
  width: 14px;
  height: 14px;
  color: var(--saffron-500);
}

/* ==========================================================================
   Section 5: Transparency / Where Your Money Goes (Ration Kit Breakdown)
   ========================================================================== */
.transparency-section {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

.transparency-hero-callout {
  background: linear-gradient(135deg, var(--teal-900) 0%, #0F3A44 100%);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
}

.callout-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.callout-title span {
  color: var(--saffron-200);
}

.callout-desc {
  font-size: 1.02rem;
  color: #D3E4E8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.callout-total-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.callout-total-badge .amount-label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--saffron-200);
  font-weight: 600;
  margin-bottom: 4px;
}

.callout-total-badge .amount-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
}

.callout-total-badge .amount-sub {
  font-size: 0.84rem;
  color: #B4CCD1;
}

/* Itemized Table Container */
.breakdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.breakdown-table-header {
  padding: 24px 30px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.breakdown-table-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
}

.breakdown-table-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.table-responsive {
  overflow-x: auto;
}

.ration-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ration-table th {
  background: var(--bg-subtle);
  color: var(--teal-900);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-medium);
}

.ration-table th:first-child,
.ration-table td:first-child {
  width: 70px;
  text-align: center;
}

.ration-table td {
  padding: 14px 24px;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.ration-table tr:hover {
  background-color: var(--bg-accent-soft);
}

.ration-table tr:last-child td {
  border-bottom: none;
}

.item-gujarati {
  font-family: var(--font-gujarati);
  color: var(--teal-700);
  font-size: 0.86rem;
  margin-left: 6px;
}

.item-qty-badge {
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.item-cost {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.ration-table-footer {
  background: var(--saffron-50);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--saffron-500);
  font-weight: 700;
}

.ration-table-footer .total-label {
  font-size: 1.05rem;
  color: var(--saffron-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ration-table-footer .total-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--saffron-700);
}

.transparency-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.transparency-footnote svg {
  width: 18px;
  height: 18px;
  color: var(--teal-600);
  flex-shrink: 0;
}

/* ==========================================================================
   Section 6: Our Team / Trustees & Executive Leadership
   ========================================================================== */
.team-section {
  background-color: #FAFBFB;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.team-section svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
}

/* Category Filter Bar */
.team-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.team-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}

.team-filter-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  background: var(--teal-50);
}

.team-filter-btn.active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(18, 81, 94, 0.28);
}

.team-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-main);
  transition: all 0.25s ease;
}

.team-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Leadership Trust Highlights Bar */
.team-highlights-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 36px;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.team-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
}

.team-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-highlight-icon svg {
  width: 20px;
  height: 20px;
}

.team-highlight-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.team-highlight-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

/* Member Card */
.member-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 35, 45, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.25s ease, opacity 0.25s ease;
  opacity: 1;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(15, 35, 45, 0.12);
  border-color: rgba(30, 122, 140, 0.35);
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--saffron-500));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.member-card:hover::before {
  opacity: 1;
}

.member-card.is-hidden {
  display: none !important;
}

/* Member Photo Box - Re-framed to exact 413x531 portrait aspect ratio */
.member-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 413 / 531;
  background: #EAEFF1;
  overflow: hidden;
  display: block;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
  display: block;
}

.member-card:hover .member-photo {
  transform: scale(1.04);
}

.member-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 62, 72, 0.6) 0%, rgba(13, 62, 72, 0.1) 25%, transparent 40%);
  pointer-events: none;
}

/* Role Badges */
.member-role-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.member-role-badge svg {
  width: 13px;
  height: 13px;
}

.badge-pramukh {
  background: linear-gradient(135deg, #B25A0F, #E8842A);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-executive {
  background: linear-gradient(135deg, #12515E, #1E7A8C);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.badge-trustee {
  background: linear-gradient(135deg, #8E440C, #D06F18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Category Pill (Top Right) */
.member-category-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-800);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}

/* Member Content */
.member-content {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.member-name {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.32;
}

.member-titles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.member-designation {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal-700);
}

.member-gujarati-title {
  font-family: var(--font-gujarati);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--saffron-700);
  background: var(--saffron-50);
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid var(--saffron-200);
}

.member-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  align-self: flex-start;
}

.member-portfolio svg {
  width: 12px;
  height: 12px;
  color: var(--teal-600);
  flex-shrink: 0;
}

.member-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.member-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.73rem;
}

.trust-entity-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-600);
  font-weight: 600;
}

.trust-entity-tag svg {
  width: 12px;
  height: 12px;
}

.trust-city-tag {
  color: var(--text-light);
  font-weight: 500;
}

/* Governance & Integrity Commitment Card */
.team-governance-card {
  background: linear-gradient(135deg, #F0F8FA 0%, #FFFFFF 100%);
  border: 1.5px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
}

.governance-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 122, 140, 0.3);
}

.governance-icon-badge svg {
  width: 26px;
  height: 26px;
}

.governance-info {
  flex-grow: 1;
}

.governance-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 4px;
}

.governance-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.governance-actions {
  flex-shrink: 0;
}

/* ==========================================================================
   Section 7: Photo Gallery (Activity Showcase)
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

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

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-image-box {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background-color: #EEE;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image-box img {
  transform: scale(1.03);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 41, 48, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.gallery-caption {
  padding: 16px 20px;
}

.gallery-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Gallery Filter Tabs */
.gallery-filter-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 1px 3px rgba(15, 35, 45, 0.04);
}

.gallery-filter-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  background: var(--teal-50);
}

.gallery-filter-btn.active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(18, 81, 94, 0.25);
}

/* Donor Amount Gold Badge */
.donor-amount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #B25A0F 0%, #E8842A 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(178, 90, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card.is-hidden {
  display: none !important;
}

.gallery-card.is-collapsed {
  display: none !important;
}

.gallery-image-box {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #F0F4F6;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image-box img {
  transform: scale(1.04);
}

/* Gallery Expandable / See More Button */
.gallery-see-more-wrap {
  margin-top: 36px;
  text-align: center;
}

.btn-see-more-photos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #0D3E48;
  border: 2px solid #1E7A8C;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 122, 140, 0.12);
  transition: all 0.25s ease;
}

.btn-see-more-photos:hover {
  background: #1E7A8C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 122, 140, 0.22);
}

.btn-see-more-photos svg {
  transition: transform 0.3s ease;
}

.btn-see-more-photos.is-expanded svg {
  transform: rotate(180deg);
}

/* Authentic Ration Kit Photo Showcase in Transparency Section */
.ration-kit-photo-showcase {
  margin: 20px 24px;
  background: linear-gradient(135deg, #F0F8FA 0%, #FFFFFF 100%);
  border: 1.5px solid #DCF0F4;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 4px 14px rgba(13, 62, 72, 0.05);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ration-kit-photo-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 62, 72, 0.1);
  border-color: #1E7A8C;
}

.kit-showcase-img-box {
  position: relative;
  flex: 0 0 220px;
  height: 145px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.kit-showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ration-kit-photo-showcase:hover .kit-showcase-img-box img {
  transform: scale(1.04);
}

.kit-photo-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(14, 41, 48, 0.88);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.kit-zoom-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(232, 132, 42, 0.95);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
}

.kit-showcase-text h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0D3E48;
  margin-bottom: 6px;
}

.kit-showcase-text p {
  font-size: 0.86rem;
  color: #4A6572;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 680px) {
  .ration-kit-photo-showcase {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .kit-showcase-img-box {
    flex: none;
    height: 180px;
    width: 100%;
  }
}

/* Official Trust Charter & Resolution Showcase */
.charter-showcase-box {
  margin-top: 48px;
  background: linear-gradient(135deg, #F0F8FA 0%, #FFFFFF 100%);
  border: 1.5px solid #DCF0F4;
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
}

.charter-doc-frame {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 10px 25px rgba(13, 62, 72, 0.12);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.charter-doc-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(13, 62, 72, 0.2);
}

.charter-doc-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.charter-zoom-pill {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(13, 62, 72, 0.92);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.charter-content h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--teal-900);
  margin-bottom: 6px;
}

.charter-subtitle {
  font-size: 0.92rem;
  color: var(--teal-700);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.charter-points-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.charter-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

.charter-point-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.charter-motto-strip {
  background: var(--saffron-50);
  border: 1px solid var(--saffron-200);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-gujarati);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--saffron-800);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Lightbox Modal */
.image-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 32, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.image-lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-dialog {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #111;
}

.image-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.image-lightbox-caption {
  margin-top: 14px;
  color: #FFFFFF;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 700px;
  line-height: 1.45;
}

/* ==========================================================================
   Section 8: Donate (Primary Recurring Flow + Fallback Bank/QR)
   ========================================================================== */
.donate-section {
  background: linear-gradient(180deg, #F8FAF8 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.donate-layout-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Primary Donation Multi-Step Box */
.donation-portal-card {
  max-width: 620px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.portal-header-bar {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: #FFFFFF;
  padding: 24px 30px;
  position: relative;
}

.portal-header-bar h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.portal-header-bar p {
  font-size: 0.92rem;
  color: #D3E7EB;
}

/* Stepper Bar */
.stepper-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 30px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-light);
}

.step-indicator.active {
  color: var(--teal-800);
}

.step-indicator.completed {
  color: var(--green-leaf);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border-medium);
  color: #FFFFFF;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-indicator.active .step-num {
  background: var(--teal-700);
}

.step-indicator.completed .step-num {
  background: var(--green-leaf);
}

.stepper-divider {
  flex-grow: 1;
  height: 1px;
  background: var(--border-medium);
  margin: 0 12px;
}

/* Step 1: Donor & Amount Details Form */
.donation-body {
  padding: 30px;
}

.impact-highlight-pill {
  background: var(--saffron-50);
  border: 1px solid var(--saffron-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.impact-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--saffron-500);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.impact-pill-icon svg {
  width: 18px;
  height: 18px;
}

.impact-pill-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--saffron-800);
  line-height: 1.4;
}

.frequency-switch-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.freq-btn {
  padding: 11px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.2s ease;
}

.freq-btn.active {
  border-color: var(--teal-600);
  background: var(--teal-50);
  color: var(--teal-800);
}

.freq-badge {
  font-size: 0.68rem;
  background: var(--saffron-500);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

.form-group-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.amount-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.amount-btn {
  padding: 12px 8px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  text-align: center;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.amount-btn:hover {
  border-color: var(--teal-500);
}

.amount-btn.active {
  border-color: var(--saffron-500);
  background: var(--saffron-50);
  color: var(--saffron-800);
}

.amount-btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.custom-amount-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.custom-currency-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.custom-amount-input {
  width: 100%;
  padding: 12px 14px 12px 34px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(30, 122, 140, 0.12);
}

.donor-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.donor-fields-grid .full-span {
  grid-column: span 2;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.field-label span.req {
  color: #DC2626;
}

.field-label span.opt {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.78rem;
}

.field-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 2px rgba(30, 122, 140, 0.1);
}

.field-input.has-error {
  border-color: #DC2626 !important;
  background-color: #FFF8F8 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
}

.field-error-text {
  display: none;
  font-size: 0.76rem;
  color: #DC2626;
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.3;
}

.field-error-text.visible {
  display: block;
}

.tax-benefit-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tax-benefit-notice svg {
  width: 18px;
  height: 18px;
  color: var(--teal-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.proceed-donate-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ==========================================================================
   Step 2: Payment Gateway Checkout (Razorpay / Cashfree UPI Autopay Modal)
   ========================================================================== */
.step-container {
  display: none;
}

.step-container.active {
  display: block;
}

.gateway-checkout-box {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gateway-header {
  background: #0B2530;
  color: #FFFFFF;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gateway-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

.gateway-brand svg {
  width: 20px;
  height: 20px;
  color: var(--saffron-500);
}

.gateway-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.gateway-body {
  padding: 24px;
}

.mandate-summary-banner {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.mandate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.mandate-row:last-child {
  margin-bottom: 0;
}

.mandate-row.total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-900);
  border-top: 1px dashed var(--teal-500);
  padding-top: 8px;
  margin-top: 8px;
}

.upi-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.upi-app-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.upi-app-option:hover,
.upi-app-option.selected {
  border-color: var(--teal-600);
  background: var(--teal-50);
}

.upi-app-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.94rem;
}

.upi-app-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #FFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--teal-800);
}

.gateway-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Step 3: Official Confirmation & Receipt Download
   ========================================================================== */
.receipt-wrapper {
  background: #FFFFFF;
  border: 2px solid #E2D7BE;
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.receipt-top-emblem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #C98A2C;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.receipt-org-info h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-main);
}

.receipt-org-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.receipt-stamp {
  border: 1.5px solid var(--green-leaf);
  color: var(--green-leaf);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  transform: rotate(-3deg);
  letter-spacing: 0.05em;
}

.receipt-details-table {
  width: 100%;
  margin-bottom: 18px;
}

.receipt-details-table td {
  padding: 6px 0;
  font-size: 0.88rem;
}

.receipt-details-table td.label {
  color: var(--text-muted);
  width: 40%;
}

.receipt-details-table td.val {
  font-weight: 600;
  color: var(--text-main);
}

.receipt-footer-tax-note {
  background: var(--gold-bg);
  border: 1px solid #ECE3CE;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #694C11;
  line-height: 1.45;
  margin-bottom: 20px;
}

.receipt-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Secondary / Fallback Bank Details & QR Card
   ========================================================================== */
.bank-transfer-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
}

.bank-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.bank-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FFEFE5;
  border: 1px solid #FFD3B5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C84B00;
}

.bank-logo-icon svg {
  width: 24px;
  height: 24px;
}

.bank-header h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--text-main);
  line-height: 1.25;
}

.bank-header span {
  font-size: 0.78rem;
  color: var(--teal-700);
  font-weight: 600;
}

.bank-fields-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bank-field-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-field-text {
  display: flex;
  flex-direction: column;
}

.bank-field-text .b-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bank-field-text .b-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: monospace;
}

.copy-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--teal-50);
  border-color: var(--teal-500);
}

.copy-btn.copied {
  background: var(--green-leaf);
  color: #FFFFFF;
  border-color: var(--green-leaf);
}

/* QR Code Display */
.qr-display-container {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.qr-code-img {
  width: 190px;
  height: 190px;
  margin: 0 auto 12px;
  border-radius: var(--radius-sm);
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.qr-scan-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.qr-supported-apps {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.whatsapp-assist-box {
  background: #E8F7EE;
  border: 1px solid #C4EBD2;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #1A5930;
}

.whatsapp-assist-box svg {
  width: 22px;
  height: 22px;
  color: #25D366;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 9: Contact & Footer
   ========================================================================== */
.contact-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-column h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.contact-info-column p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.contact-info-card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .card-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-card h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--teal-800);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.94rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.contact-form-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form-box h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.contact-form-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.contact-cta-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: center !important;
  width: 100%;
}

.contact-form-group {
  margin-bottom: 16px;
}

.contact-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  resize: vertical;
  min-height: 110px;
}

.contact-form-group textarea:focus {
  outline: none;
  border-color: var(--teal-600);
}

/* Main Site Footer */
.site-footer {
  background: #0D1E25;
  color: #BAC7CC;
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
}

.footer-brand-col .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--saffron-500);
}

.footer-brand-col h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.25;
}

.footer-motto-callout {
  font-family: var(--font-gujarati);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--saffron-500);
  margin-bottom: 12px;
}

.footer-brand-col p {
  font-size: 0.85rem;
  color: #97A9B0;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.86rem;
  color: #97A9B0;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--saffron-500);
}

.footer-legal-print-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #8C9EA5;
}

.footer-legal-print-box strong {
  color: #E2ECEE;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: #6C818A;
}

/* ==========================================================================
   Sticky Bottom Quick-Donate Bar (Mobile & Responsive)
   ========================================================================== */
.sticky-donate-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 12px 24px;
  z-index: 990;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-donate-bar.visible {
  display: block;
  transform: translateY(0);
}

.sticky-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-bar-motto {
  font-family: var(--font-gujarati);
  font-weight: 700;
  color: var(--saffron-700);
  font-size: 0.98rem;
}

.sticky-bar-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Print Stylesheet
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    border: none;
  }
  .receipt-buttons-row, .sticky-donate-bar, .main-header, .top-notice-bar {
    display: none !important;
  }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .donate-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .top-notice-bar {
    display: none;
  }
  .header-container {
    height: 70px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-medium);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    gap: 4px;
    z-index: 1001;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-link {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover,
  .nav-link.active {
    background: var(--teal-50);
    color: var(--teal-700);
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
  }
  .hero-section {
    padding: 44px 0 54px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-badges {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-motto-box {
    padding: 18px 20px;
  }
  .section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .credibility-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .transparency-hero-callout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-info-column h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  .contact-info-column p {
    font-size: 0.92rem;
    margin-bottom: 18px;
  }
  .contact-cards-stack {
    gap: 12px;
    margin-bottom: 18px;
  }
  .contact-info-card {
    padding: 12px 14px;
    gap: 12px;
  }
  .contact-info-card a {
    word-break: break-all;
  }
  .contact-form-box {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .contact-form-box h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .contact-form-box p {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }
  .contact-cta-btn {
    white-space: normal !important;
    word-break: break-word !important;
    width: 100%;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
    line-height: 1.35;
    text-align: center !important;
  }
  .donation-portal-card {
    border-radius: var(--radius-lg);
  }
  .portal-header-bar {
    padding: 14px 16px;
  }
  .portal-header-bar h3 {
    font-size: 1.18rem;
    margin-bottom: 2px;
  }
  .portal-header-bar p {
    font-size: 0.8rem;
  }
  .stepper-nav {
    display: none;
  }
  .donation-body {
    padding: 16px 14px;
  }
  .form-group-label {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  .frequency-switch-group {
    margin-bottom: 12px;
    gap: 8px;
  }
  .freq-btn {
    padding: 8px 8px;
    font-size: 0.84rem;
  }
  .impact-highlight-pill {
    padding: 8px 12px;
    margin-bottom: 12px;
    gap: 10px;
  }
  .impact-pill-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }
  .impact-pill-text {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .amount-selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
  }
  .amount-btn {
    padding: 8px 4px;
    font-size: 0.95rem;
  }
  .amount-btn small {
    font-size: 0.68rem;
    margin-top: 2px;
  }
  .custom-amount-wrapper {
    margin-bottom: 12px;
  }
  .custom-amount-input {
    padding: 8px 12px 8px 28px;
  }
  .donor-fields-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px !important;
  }
  .donor-fields-grid .full-span {
    grid-column: span 1;
  }
  .field-label {
    font-size: 0.76rem;
    margin-bottom: 3px;
  }
  .field-input {
    padding: 8px 10px;
  }
  .trust-features-strip {
    padding: 8px 12px !important;
    margin-bottom: 12px !important;
    gap: 4px !important;
    font-size: 0.76rem !important;
  }
  #monthly-auth-container {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }
  .proceed-donate-btn,
  #open-razorpay-btn {
    padding: 12px 14px;
    font-size: 0.94rem;
  }
  .field-input,
  .custom-amount-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"] {
    font-size: 16px !important;
  }
  /* =========================================================================
     Responsive Mobile Ration Kit Table Card-Row Layout (<= 768px)
     ========================================================================= */
  .table-responsive {
    overflow-x: visible;
    width: 100%;
  }

  .ration-table {
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .ration-table thead {
    display: none; /* Hide rigid horizontal headers on mobile */
  }

  .ration-table tbody {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .ration-table tr {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    grid-template-areas:
      "num name cost"
      ".   qty  ."
      ".   desc desc";
    column-gap: 12px;
    row-gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    background: #FFFFFF;
    transition: background-color 0.2s ease;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
  }

  .ration-table tr:nth-child(even) {
    background-color: #F8FAFB;
  }

  .ration-table tr:hover {
    background-color: var(--bg-accent-soft);
  }

  .ration-table tr:last-child {
    border-bottom: none;
  }

  /* Cell 1: Index Number Badge */
  .ration-table td:nth-child(1) {
    grid-area: num;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--teal-50);
    color: var(--teal-800);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0;
    border: none;
    align-self: start;
    margin-top: 2px;
    flex-shrink: 0;
  }

  /* Cell 2: Item Name (English & Gujarati) */
  .ration-table td:nth-child(2) {
    grid-area: name;
    padding: 0;
    border: none;
    font-size: 0.94rem;
    line-height: 1.35;
    color: var(--text-main);
  }

  .ration-table td:nth-child(2) strong {
    font-weight: 700;
    color: var(--teal-950);
  }

  .ration-table td:nth-child(2) .item-gujarati {
    font-size: 0.85rem;
    color: var(--teal-700);
    margin-left: 4px;
    display: inline-block;
  }

  /* Cell 3: Quantity Badge */
  .ration-table td:nth-child(3) {
    grid-area: qty;
    padding: 0;
    border: none;
  }

  .ration-table td:nth-child(3) .item-qty-badge {
    font-size: 0.76rem;
    padding: 3px 9px;
    border-radius: 4px;
    background: #E8F4F7;
    color: var(--teal-900);
    font-weight: 600;
    display: inline-block;
  }

  /* Cell 4: Nutrition / Purpose Description */
  .ration-table td:nth-child(4) {
    grid-area: desc;
    padding: 2px 0 0 0;
    border: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  /* Cell 5: Unit Cost */
  .ration-table td:nth-child(5),
  .ration-table td.item-cost {
    grid-area: cost;
    padding: 0;
    border: none;
    text-align: right;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--saffron-700);
    align-self: start;
    white-space: nowrap;
  }

  .breakdown-table-header {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .breakdown-table-header h4 {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .breakdown-table-header p {
    font-size: 0.82rem;
  }

  .ration-kit-photo-showcase {
    margin: 14px 14px 18px;
  }

  .ration-table-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--saffron-50);
  }

  .ration-table-footer .total-label {
    font-size: 0.92rem;
    color: var(--saffron-800);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
  }

  .ration-table-footer .total-label svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }

  .ration-table-footer .total-val {
    font-size: 1.45rem;
    color: var(--saffron-700);
    font-weight: 800;
    white-space: nowrap;
  }

  .transparency-footnote {
    padding: 12px 16px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .transparency-footnote svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .sticky-donate-bar.visible {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .charter-showcase-box {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .charter-doc-frame {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .brand-logo-img {
    width: 44px;
    height: 44px;
  }
  .brand-title {
    font-size: 0.94rem;
  }
  .brand-subtitle {
    font-size: 0.72rem;
  }
  .brand-motto-pill {
    display: none;
  }
  .header-cta-group #header-donate-btn,
  .header-cta-group .btn {
    display: none;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-lead {
    font-size: 0.95rem;
  }
  .hero-motto-box {
    padding: 14px 16px;
  }
  .hero-motto-gujarati {
    font-size: 1.25rem;
  }
  .credibility-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .team-filter-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .team-filter-btn {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
  .freq-btn {
    font-size: 0.84rem;
    padding: 8px 4px;
  }
  .freq-badge {
    font-size: 0.62rem;
    padding: 1px 4px;
    margin-left: 3px;
  }
  .impact-highlight-pill {
    padding: 8px 10px;
    gap: 8px;
  }
  .impact-pill-text {
    font-size: 0.78rem;
  }
  .btn-donate-submit {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  .auth-checkbox-label {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gallery-image-box {
    height: 250px;
  }
  .gallery-caption {
    padding: 10px 12px;
  }
  .gallery-caption h4 {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }
  .gallery-caption p {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .donor-amount-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }
  .gallery-badge {
    font-size: 0.62rem;
    padding: 3px 7px;
    top: 8px;
    left: 8px;
  }
  .gallery-filter-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  .policy-card {
    padding: 22px 16px;
  }
  .policy-page-header {
    padding: 36px 0 26px;
  }
  .policy-page-header h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .amount-btn {
    padding: 8px 4px;
    font-size: 0.82rem;
  }
  .sticky-bar-sub {
    display: none;
  }
  .ration-table tr {
    padding: 12px;
    column-gap: 8px;
  }
  .ration-table td:nth-child(2) {
    font-size: 0.88rem;
  }
  .ration-table td.item-cost {
    font-size: 1.05rem;
  }
  .ration-table-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   In-Page Gateway Modals
   ========================================================================== */
.custom-gateway-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 38, 48, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.custom-gateway-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  animation: gatewayPop 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-medium);
  margin: auto;
}

.custom-gateway-dialog-header {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes gatewayPop {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   Static Policy Pages & Content Container
   ========================================================================== */
.policy-page-header {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 100%);
  color: #FFFFFF;
  padding: 60px 0 45px;
  text-align: center;
}

.policy-page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.policy-page-header p {
  font-size: 1rem;
  color: #D3E7EB;
  max-width: 680px;
  margin: 0 auto;
}

.policy-content-section {
  padding: 50px 0 80px;
  background: var(--bg-body);
}

.policy-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.7;
}

.policy-card h2, .policy-card h3 {
  font-family: var(--font-serif);
  color: var(--teal-900);
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-card h2:first-child, .policy-card h3:first-child {
  margin-top: 0;
}

.policy-card p {
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.policy-card ul, .policy-card ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.policy-card li {
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.96rem;
}

.neutral-avatar-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--teal-100) 0%, var(--teal-200) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal-800);
}

.neutral-avatar-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.7;
}

.neutral-avatar-placeholder span {
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 8px;
  color: var(--teal-900);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================================
   Toast Notification Popup (Corner Alert)
   ========================================================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 32px);
  pointer-events: none;
}

.toast-notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #10B981;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-notification.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-notification.toast-success {
  border-left-color: #10B981;
}

.toast-notification.toast-error {
  border-left-color: #EF4444;
}

.toast-notification.toast-info {
  border-left-color: #0D9488;
}

.toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px 0;
}

.toast-message {
  font-size: 0.82rem;
  color: #4B5563;
  line-height: 1.4;
  margin: 0;
}

.toast-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
}

.toast-close-btn:hover {
  color: #374151;
}

@media (max-width: 480px) {
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}




/* Autopay Authorization Checkbox Alert Highlight */
@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.auth-highlight-error {
  animation: authShake 0.4s ease-in-out;
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}
