    /* ---------- (Your existing CSS kept exactly as provided) ---------- */
    :root {
      --bg-dark: #020617;
      --bg-deep: #020617;
      --primary: #b91c1c;
      --primary-soft: rgba(185, 28, 28, 0.12);
      --accent: #f59e0b;
      --text-main: #111827;
      --text-muted: #6b7280;
      --card-bg: #ffffff;
      --border-subtle: rgba(148, 163, 184, 0.45);
      --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
      --radius-xl: 24px;
      --radius-full: 999px;
      --section-py: 80px;
      --transition-fast: 220ms ease-out;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      scroll-behavior: smooth;
    }

    body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
      background: radial-gradient(circle at top left, #0b1220 0%, #020617 40%, #020617 100%);
      color: var(--text-main);
    }

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

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

    #root {
      min-height: 100vh;
    }

    .page-shell {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: var(--bg-dark);
    }

    .page-main {
      flex: 1;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ===================== NAVBAR ===================== */

    .nav {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(18px);
      background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
      border-bottom: 1px solid rgba(30, 64, 175, 0.45);
    }

    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .nav-logo {
      width: 100px;
      /* height: 40px; */
      border-radius: 10%;
      overflow: hidden;
      /* border: 1px solid rgba(148, 163, 184, 0.8); */
      background: #fffef5ff;
      flex-shrink: 0;
    }

    .nav-titles {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
      color: #e5e7eb;
    }

    .nav-sub {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #9ca3af;
      white-space: nowrap;
    }

    .nav-main {
      font-family: "Playfair Display", serif;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.05em;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 18px;
      font-size: 13px;
      color: #d1d5db;
    }

    .nav-link {
      position: relative;
      cursor: pointer;
      padding-bottom: 3px;
      white-space: nowrap;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, #f97316, #ef4444, #b91c1c);
      transition: width var(--transition-fast);
    }

    .nav-link:hover::after {
      width: 18px;
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    
    /* === NAV MORE DROPDOWN === */
    .nav-more {
      position: relative;
    }

    .nav-more-btn {
      cursor: pointer;
      white-space: nowrap;
    }

    /* dropdown */
    .nav-dropdown {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      min-width: 220px;
      padding: 12px;
      border-radius: 14px;

      background: linear-gradient(
        135deg,
        rgba(20, 30, 60, 0.95),
        rgba(10, 15, 40, 0.95)
      );
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);

      box-shadow: 0 20px 50px rgba(0,0,0,0.4);
      border: 1px solid rgba(255,255,255,0.15);

      opacity: 0;
      transform: translateY(-6px);
      pointer-events: none;
      transition: all 0.25s ease;
      z-index: 1000;
    }

    .nav-dropdown .nav-link {
      display: block;
      padding: 10px 12px;
      border-radius: 8px;
    }

    .nav-dropdown .nav-link:hover {
      background: rgba(255,255,255,0.12);
    }

    .nav-divider {
      height: 1px;
      background: rgba(255,255,255,0.15);
      margin: 8px 0;
    }

    /* desktop hover */
    .nav-more:hover .nav-dropdown {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
   
    .nav-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
    }

    @media (max-width: 768px) {
      .nav-more:hover .nav-dropdown {
        opacity: 0;
        pointer-events: none;
      }

      .nav-more-btn {
        width: 100%;
      }
    }


    .btn {
      border-radius: var(--radius-full);
      border: 1px solid transparent;
      padding: 8px 18px;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all var(--transition-fast);
      white-space: nowrap;
      background: #fff;
      color: var(--text-main);
    }

   .btn-primary {
  background: linear-gradient(135deg, #f97316, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(185, 28, 28, 0.75);
  background: linear-gradient(135deg, #fb923c, #f97316, #b91c1c);
}

    .btn-outline {
      background: transparent;
      border-color: rgba(148, 163, 184, 0.9);
      color: #e5e7eb;
    }

    .btn-outline:hover {
      border-color: var(--accent);
      color: #facc15;
      background: rgba(15, 23, 42, 0.95);
    }

    .nav-menu-toggle {
      display: none;
      cursor: pointer;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.8);
      padding: 6px 10px;
      font-size: 11px;
      color: #e5e7eb;
      background: rgba(15, 23, 42, 0.9);
    }

    @media (max-width: 1024px) {
      .nav-cta .btn {
        padding-inline: 14px;
        font-size: 12px;
      }
    }

    @media (max-width: 768px) {
      .nav-inner {
        padding-inline: 16px;
      }

      .nav-links {
        display: none;
      }

      .nav-links.mobile-open {
        display: flex;
        position: absolute;
        inset: 52px 0 auto;
        background: rgba(15, 23, 42, 0.98);
        padding: 12px 20px 14px;
        border-bottom: 1px solid rgba(30, 64, 175, 0.6);
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
        z-index: 30;
      }

      .nav-cta .btn-outline {
        display: none; /* keep only main donate button on mobile */
      }

      .nav-menu-toggle {
        display: inline-flex;
      }
    }

    /* ===================== HERO ===================== */

    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: stretch;
      color: #f9fafb;
      overflow: hidden;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .hero-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-gradient {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        radial-gradient(circle at top left, rgb(75, 60, 60), transparent 55%),
        radial-gradient(circle at bottom right, rgba(35, 44, 64, 0.888), rgba(15, 23, 42, 0.871));
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: 1200px;
      margin: 0 auto;
      padding: 110px 20px 80px;
      display: grid;
      grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.6fr);
      gap: 32px;
      align-items: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 14px;
      border-radius: 999px;
      font-size: 11px;
      background: rgba(15, 23, 42, 0.9);
      /* border: 1px solid rgba(251, 191, 36, 0.9); */
      margin-bottom: 12px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
    }

    .hero-badge span:first-child {
      font-size: 16px;
    }

    .hero-heading {
      font-family: "Playfair Display", serif;
      font-size: clamp(32px, 4.4vw, 46px);
      line-height: 1.08;
      margin-bottom: 12px;
      text-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
    }

    .hero-heading span {
      background: linear-gradient(90deg, #fbbf24, #fde68a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-sub {
      font-size: 15px;
      line-height: 1.7;
      color: #e5e7eb;
      max-width: 540px;
      margin-bottom: 20px;
    }

    .hero-sub strong {
      color: #fff;
      font-weight: 600;
    }

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

    .hero-amount {
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.65);
  padding: 10px 18px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.22), transparent 55%),
    rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  min-width: 230px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.75),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: text;              /* feels like input */
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.12s ease,
    background 0.25s ease;
}

.hero-amount:hover {
  border-color: rgba(250, 204, 21, 0.9);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.9),
    0 0 32px rgba(250, 204, 21, 0.35);
  transform: translateY(-1px);
}

   /* when input is focused (React adds .is-focused) */
.hero-amount.is-focused {
  border-color: rgba(250, 250, 250, 0.95);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.3), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.4), transparent 60%),
    rgba(15, 23, 42, 0.96);
}

.hero-amount span {
  opacity: 0.9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* input itself */
.hero-amount input {
  border-radius: 10px;
  border: 1px solid rgba(250, 240, 220, 0.9);
  outline: none;
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  /* width: 100px; */
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 10px;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.hero-amount input::placeholder {
  color: rgba(209, 213, 219, 0.7);
}

.hero-amount input:focus {
  border-color: rgba(251, 191, 36, 0.95);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.9),
    0 0 18px rgba(251, 191, 36, 0.5);
}

    .hero-note {
      font-size: 11px;
      color: #e5e7eb;
      opacity: 0.86;
    }

    .hero-stats-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 18px;
      font-size: 11px;
    }

    .hero-stat {
      padding: 11px 13px;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      background: rgba(15, 23, 42, 0.96);
      min-width: 160px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    }

    .hero-stat strong {
      display: block;
      font-size: 18px;
      margin-bottom: 3px;
      background: linear-gradient(90deg, #fbbf24, #fde68a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-right-card {
      background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.24), rgba(15, 23, 42, 0.98));
      border-radius: 26px;
      padding: 18px 18px 16px;
      border: 1px solid rgba(148, 163, 184, 0.9);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .hero-right-tag {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #e5e7eb;
      opacity: 0.9;
    }

    .hero-right-title {
      font-size: 14px;
      font-weight: 600;
      color: #f9fafb;
    }

    .hero-books-strip {
      display: flex;
      gap: 10px;
      margin-top: 8px;
    }

    .book-card {
      flex: 1;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
      transform-origin: center bottom;
      transition: transform 260ms ease-out, box-shadow 260ms ease-out;
    }

    .book-card:nth-child(2) {
      transform: translateY(4px) scale(0.97);
      opacity: 0.96;
    }

    .book-card:nth-child(3) {
      transform: translateY(8px) scale(0.93);
      opacity: 0.9;
    }

    .hero-right-card:hover .book-card:nth-child(1) {
      transform: translateY(-2px) scale(1.04);
      box-shadow: 0 22px 52px rgba(0, 0, 0, 0.95);
    }

    .hero-right-card:hover .book-card:nth-child(2) {
      transform: translateY(0) scale(1);
    }

    .hero-right-footer {
      font-size: 11px;
      color: #e5e7eb;
      opacity: 0.9;
    }

    .hero-ribbon {
      margin-top: 6px;
      border-radius: 999px;
      padding: 6px 11px;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(127, 29, 29, 0.96));
      color: #e5e7eb;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    @media (max-width: 960px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 96px;
        row-gap: 24px;
      }

      .hero-right-card {
        max-width: 420px;
        margin: 0 auto;
      }
    }

    @media (max-width: 768px) {
      .hero-inner {
        padding-top: 96px;
        padding-bottom: 64px;
      }
  .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-align: center;
      padding: 7px 14px;
      border-radius: 999px;
      font-size: 15px;
      background: rgba(15, 23, 42, 0.9);
      /* border: 1px solid rgba(251, 191, 36, 0.9); */
      margin-bottom: 12px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
    }
      .hero-heading {
        font-size: clamp(26px, 7vw, 32px);
      }

      .hero-sub {
        font-size: 13px;
      }

      .hero-cta-row {
        flex-direction: column-reverse;
        align-items: normal;
        max-width: 360px;
      }

      .hero-amount {
        order: -1;
        width: 100%;
      }

      .hero-stats-row {
        gap: 10px;
      }

      .hero-stat {
        min-width: 46%;
        flex: 1;
      }
    }
@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > div:first-child {
  animation: heroFade 0.7s ease-out;
}

.hero-right-card {
  animation: heroFade 0.8s ease-out;
}
/*--------- DONOR RIBBON CSS ---------*/

/* Wrapper */
.donor-ribbon-wrapper {
  margin: 16px 0 24px;
  padding: 12px 16px;
  border-radius: 12px;
  /* 🔥 Glassmorphism */
  background: linear-gradient(
  to right bottom,
  rgba(255,255,255,0.10),
  rgba(255,255,255,0.06)
);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Heading line */
.donor-ribbon-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
  font-size: 14px;
}

.donor-ribbon-heading span {
  font-weight: 600;
}

.donor-ribbon-heading small {
  opacity: 0.8;
}

/* Marquee area */
.donor-ribbon-marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Scrolling track */
.donor-ribbon-track {
  display: inline-flex;
  gap: 18px;
  padding-right: 18px;
  animation: donorMarquee 200s linear infinite;
  }
  .donor-ribbon-marquee:hover .donor-ribbon-track {
  animation-play-state: paused;
}

/* Each donor item */
.donor-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
    background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 13px;
  white-space: nowrap;
}

/* Animation */
@keyframes donorMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .donor-ribbon-wrapper {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .donor-pill {
    font-size: 12px;
    padding: 3px 8px;
  }
}
    /* ===================== GENERIC SECTION ===================== */

  .section {
  padding: var(--section-py) 0 40px;
  background: radial-gradient(circle at top, #fdf2ff 0%, #f5fbff 30%, #eff6ff 70%, #fff7ed 100%);
}

.section.dark {
  background: #020617;
}
/* nicer subtitle */
.section-sub,
.hero-sub {
  font-size: 15px;
  color: rgba(235,235,245,0.88);
  max-width: 760px;
  margin: 0 auto 14px;
}

/* golden underline slightly wider */
.section-header::after {
  width: 92px;
  height: 3px;
  background: linear-gradient(90deg,#fbbf24,#f59e0b);
  margin-top: 12px;
}

/* card image safe area: avoid dramatic cropping by using 'object-position' control */
.leader-card img,
.book-card img,
.cause-img img,
.course-img img,
.hero-right-card img {
  object-fit: cover;
  object-position: center 38%; /* lift face areas up slightly */
  transition: transform .45s ease;
}

/* subtle hover scale for all hero / card images */
.leader-card img:hover,
.book-card img:hover,
.cause-img img:hover,
.course-img img:hover,
.hero-right-card img:hover {
  transform: scale(1.03);
}

/* card height / balanced white space to avoid single floating card problem */
.scheme-card,
.help-card,
.cause-card,
.video-card,
.leader-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

/* improved card footer spacing */
.scheme-desc,
.help-text,
.cause-body p,
.video-body p {
  margin-top: 8px;
  color: rgba(235,235,245,0.9);
}

/* smoother reveal timing for hero */
.hero-inner > div:first-child,
.hero-right-card {
  animation: heroFade 0.85s cubic-bezier(.22,.9,.15,1);
}

/* subtle focused shadow for hero right card so books stand out */
.hero-right-card {
  box-shadow: 0 30px 90px rgba(2,8,20,0.7), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* responsive niceties */
@media (max-width: 960px) {
  .section-title,
  .hero-heading { font-size: clamp(26px, 6.5vw, 36px); }
  .hero-right-card { max-width: 480px; margin: 0 auto; }
}

/* small utility: make the hero amount input visually consistent */
.hero-amount input {
  font-weight: 600;
  letter-spacing: 0.3px;
  symbols: "currencySymbol";
}
.section-header {
  text-align: center;
  margin-bottom: 26px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.section-title,
.hero-heading {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;                /* stronger on dark backgrounds */
  text-shadow: 0 8px 20px rgba(2,6,23,0.6);
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #171a20, #cdd1da);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.section-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  border-radius: 999px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #f97316, #facc15);
  opacity: 0.9;
}

/* reveal + animation */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUpSoft 0.6s ease-out;
}

/* ===== quick presets buttons in hero ===== */
.amount-presets {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.preset-btn {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 180ms ease;
  min-width: 74px;
  text-align: center;
}

.preset-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, rgba(249,115,22,0.12), rgba(239,68,68,0.06));
  border-color: rgba(249,115,22,0.24);
}

.preset-btn.active {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: white;
  box-shadow: 0 12px 28px rgba(185,28,28,0.36);
  border: none;
}
    /* ===================== SCHEMES ===================== */

.scheme-section {
  margin-top: 0; /* visually connected to hero */
  padding-top: 40px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top, #020617 0%, #020617 60%, #020617 100%);
  position: relative;
  overflow: hidden;
}
.scheme-section .section-header {
  margin-bottom: 45px; /* more space before cards */
}
.scheme-section::before {
  width: 380px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 153, 52, 0.18), transparent 70%);
  opacity: 0.45;
}
.scheme-section .section-title::after {
  content: "";
  display: block;
  width: 85px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #f9d977, #fbbf24, #d97706);
  border-radius: 999px;
}
.scheme-section .section-header {
  position: relative;
  z-index: 1;
}

.scheme-section .section-kicker {
  color: #facc15;
  letter-spacing: 0.26em;
}

.scheme-section .section-title {
  font-size: 30px;
  font-family: "Playfair Display", serif;
  background: linear-gradient(180deg, #e5c77e, #d8b769, #b48a3c);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  opacity: 0.92;
}

.scheme-section .section-sub {
  color: #e5e7eb;
}

.scheme-section .section-header::after {
  background: linear-gradient(90deg, #f97316, #facc15);
}

/* grid layout – centred & even */
.scheme-grid {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 8px;          /* NEW – small side breathing */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;                    /* a bit more space between cards */
}


/* large cards */
.scheme-card {
  --i: 0;
  border-radius: 22px;
  padding: 18px 20px 16px;
  background: radial-gradient(circle at top, #020617, #020617 65%);
  border: 1px solid rgba(148, 163, 184, 0.35);        /* cooler neutral border */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transform-origin: center;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  animation: schemeCardIn 0.55s ease-out forwards;
  animation-delay: calc(0.05s * var(--i));
  transition: transform 0.22s ease-out,
              box-shadow 0.22s ease-out,
              border-color 0.22s ease-out,
              background 0.22s ease-out;
}

/* Hover lift + glow */
.scheme-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.95);
  border-color: rgba(250, 204, 21, 0.65); /* subtle gold on hover */
  background: radial-gradient(circle at top, #030712, #020617 70%);
}
.scheme-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at top left,
    rgba(148, 163, 184, 0.18),
    transparent 65%);
  opacity: 0.55;                /* was 0.8 – softer so cards don’t “melt” */
  pointer-events: none;
}
.scheme-card.highlight {
  border-width: 1.6px;
  border-image: linear-gradient(135deg, #facc15, #f97316) 1;
  box-shadow: 0 28px 80px rgba(250, 204, 21, 0.25);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.06), rgba(15, 23, 42, 0.98)),
    radial-gradient(circle at top, #020617, #020617 65%);
  position: relative;
}

/* small ribbon */
.scheme-card.highlight::after {
  content: "Most popular";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.55);
  color: #facc15;
}

.scheme-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f97316;
  opacity: 0.9;
}
.scheme-card.highlight {
  border: 1px solid rgba(197, 153, 52, 0.65);
}
.scheme-title {
  font-size: 19px;
  font-weight: 600;
  margin-top: 4px;
}

.scheme-amount {
  font-size: 16px;
  color: #fbbf24;
  font-weight: 600;
  margin-top: 2px;
}

.scheme-desc {
  font-size: 12px;
  color: #cbd5f5;
  margin-top: 8px;
  min-height: 38px;   /* keeps heights consistent between cards */
}
.scheme-pill-tag {
  font-size: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  color: #e5e7eb;
  align-self: flex-start;
  margin-top: 10px;
  background: rgba(15, 23, 42, 0.96);
}

.scheme-cta {
  margin-top: auto;     /* 👈 this pins it to the bottom */
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #c49b32, #d1a93b, #b88622);
  color: #1c1c1c;
  box-shadow: 0 4px 14px rgba(212, 172, 67, 0.25);
}
.scheme-cta:hover {
  background: linear-gradient(135deg, #d6b24a, #e0c068, #b88622);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 172, 67, 0.40);
}

.scheme-card.highlight .scheme-cta {
  background: linear-gradient(135deg, #e8c86c, #d4b257, #a27517);
  box-shadow: 0 12px 34px rgba(212, 172, 67, 0.45);
}
/* stagger animation */
@keyframes schemeCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* responsive columns */
@media (max-width: 1100px) {
  .scheme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .scheme-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scheme-card {
    max-width: 430px;
    margin-inline: auto;
  }

  
  .scheme-section {
    padding-top: 60px;
    padding-bottom: 70px;
  }
}



    /* ===================== WHY SHASTRA DANA ===================== */
#why-shastra {
  position: relative;
  padding-top: 70px;
}

#why-shastra::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #4b5563, transparent);
  opacity: 0.7;
}

    .why-grid {
      margin-top: 18px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 18px;
    }

    .why-card {
      background: var(--card-bg);
      border-radius: 20px;
      padding: 14px 16px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .why-icon {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--primary-soft);
      font-size: 18px;
    }

    .why-title {
      font-size: 14px;
      font-weight: 600;
    }

    .why-text {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* ===================== HELP / CAUSES / VIDEOS ===================== */

   /* HOW YOUR DONATION HELPS – PREMIUM GRID */

.help-row {
  margin-top: 32px;
}

.help-track {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* cards */

@keyframes helpCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.help-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: helpCardIn 0.6s ease-out forwards;
}

/* slight stagger */
.help-card:nth-child(1) { animation-delay: 0.05s; }
.help-card:nth-child(2) { animation-delay: 0.12s; }
.help-card:nth-child(3) { animation-delay: 0.19s; }
.help-card:nth-child(4) { animation-delay: 0.26s; }

.help-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
}

.help-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  border-color: rgba(249, 115, 22, 0.65);
}

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

/* responsive breaks */

@media (max-width: 1024px) {
  .help-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .help-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-card {
    max-width: 420px;
    margin-inline: auto;
  }
}
   .help-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: radial-gradient(circle at top left, #fee2e2, #fffbeb);
  color: #b91c1c;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.45);
}

.help-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.help-text {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.7;
}

/* small pill CTAs inside cards */

.help-btn {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #ffffff;
  cursor: pointer;
  transition: 0.22s ease-out;
}

.help-card:first-child .help-btn {
  /* main one highlighted by default */
  border: none;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(248, 113, 113, 0.5);
}

.help-btn:hover {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.help-card:first-child .help-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.6);
}
  .video-grid {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;

  /* Hide scrollbar */
  scrollbar-width: visible;        /* Firefox */
}

.video-grid::-webkit-scrollbar {
  display: visible;                /* Chrome, Safari */
}

.video-grid > * {
  min-width: 260px;
  scroll-snap-align: start;
}

    .video-card {
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      background: var(--card-bg);
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
    }

    .video-thumb {
      position: relative;
      padding-bottom: 56.25%;
      overflow: hidden;
    }

    .video-thumb iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    .video-body {
      padding: 10px 12px 11px;
      font-size: 12px;
    }

    .video-body h3 {
      font-size: 13px;
      margin-bottom: 2px;
    }

    .video-body p {
      font-size: 11px;
      color: var(--text-muted);
    }

    .causes-grid {
        margin-top: 20px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
    }
    
.causes-grid > * {
  min-width: 240px;            /* from your grid minmax */
  flex: 0 auto auto;              /* prevent shrinking */
}

    .cause-card {
      border-radius: 20px;
      overflow: hidden;
      background: var(--card-bg);
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
    }

    .cause-img {
      height: 190px;
      overflow: hidden;
    }

    .cause-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 260ms ease-out;
    }

    .cause-card:hover .cause-img img {
      transform: scale(1.05);
    }

    .cause-body {
      padding: 12px 14px 13px;
      font-size: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .cause-body h3 {
      font-size: 14px;
    }

    .cause-body p {
      font-size: 11px;
      color: var(--text-muted);
    }

    .cause-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      margin-top: 4px;
    }

    .badge-soft {
      font-size: 10px;
      padding: 4px 9px;
      border-radius: 999px;
      background: rgba(239, 68, 68, 0.08);
      color: #b91c1c;
      border: 1px solid rgba(239, 68, 68, 0.35);
    }

    /* ===================== BOOKS ===================== */

    .books-row {
      margin-top: 20px;
      overflow-x: auto;
      padding-bottom: 8px;
    }

    .books-track {
      display: flex;
      gap: 16px;
      min-width: max-content;
      justify-content: center;
    }

    .book-item {
      width: 140px;
      flex-shrink: 0;
      text-align: center;
      font-size: 11px;
    }

    .book-cover-wrap {
      perspective: 900px;
      margin-bottom: 6px;
    }

    .book-cover {
      position: relative;
      width: 100%;
      padding-bottom: 145%;
      transform-style: preserve-3d;
      transition: transform 260ms ease-out, box-shadow 260ms ease-out;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 16px 30px rgba(15, 23, 42, 0.4);
    }

    .book-cover img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .book-item:hover .book-cover {
      transform: rotateY(-12deg) translateY(-4px);
      box-shadow: 0 22px 45px rgba(15, 23, 42, 0.55);
    }

    .book-title {
      font-weight: 500;
      margin-bottom: 4px;
    }

    .book-btn {
      font-size: 10px;
      padding: 5px 10px;
    }

    /* ===================== JIVADAYA INTRO ===================== */

    .split-layout {
      margin-top: 24px;
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.1fr);
      gap: 24px;
      align-items: center;
    }

    .split-panel {
      background: var(--card-bg);
      border-radius: 24px;
      padding: 18px 18px 16px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      font-size: 13px;
    }

    .split-panel h3 {
      font-size: 16px;
      margin-bottom: 6px;
    }

    .split-panel p {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .split-badge {
      font-size: 11px;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 6px;
    }

    .temple-bg {
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      min-height: 240px;
      background: radial-gradient(circle at top, rgba(185, 28, 28, 0.18), transparent 65%), url("assets/images/NVCCTEMPLEPNG.png") center/cover no-repeat;
    }

    .temple-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.32));
    }

    .temple-caption {
      position: absolute;
      inset: auto 16px 16px;
      color: #f9fafb;
      font-size: 11px;
    }

    .temple-caption h3 {
      font-size: 15px;
      margin-bottom: 2px;
    }

    @media (max-width: 960px) {
      .split-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* ===================== LEADERS ===================== */
/* ===================== LEADERS (FINAL) ===================== */

/* — GRID — */
.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr; /* Left | Featured | Right */
  gap: 28px;
  margin-top: 45px;
  align-items: start;
}

/* — SIDE COLUMNS — */
.leaders-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* — COMMON CARD — */
.leader-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  transition: 0.35s;
}
.leader-card:hover {
  transform: translateY(-4px);
}

/* Image inside cards */
.leader-img {
  height: 190px;
  overflow: hidden;
}
.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}
.leader-card:hover .leader-img img {
  transform: scale(1.05);
}

/* Text inside cards */
.leader-content {
  padding: 16px 20px 20px;
}
.leader-content h3 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 6px;
}
.leader-content p {
  font-size: 12px;
  opacity: 0.78;
  margin-bottom: 10px;
}
.leader-content a {
  font-size: 12px;
  font-weight: 600;
  color: #b91c1c;
}

/* ===================== FEATURED – PRABHUPADA ===================== */
.leader-card.featured {
  position: relative;
  background: #000;
  border-radius: 28px;
  min-height: 520px;
}

/* Top image fixed height */
.leader-card.featured .leader-img {
  height: 310px;
}

/* Darker image for readability */
.leader-card.featured .leader-img img {
  object-fit: cover;
  filter: brightness(90%);
}

/* Content sits inside black part – overlay */
.leader-card.featured .leader-content {
  position: absolute;
  bottom: 32px;      /* Controls vertical placement */
  left: 32px;
  right: 32px;
  color: #fff;
}

/* Featured text styling */
.leader-card.featured h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.leader-card.featured p {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.92;
}
.leader-card.featured a {
  color: #ffd464;
}

/* ===================== MOBILE ===================== */
@media(max-width: 900px) {
  .leaders-grid {
    grid-template-columns: 1fr;
  }

  /* Prabhupada first */
  .leader-card.featured {
    order: -1;
    min-height: auto;
  }

  .leader-card.featured .leader-img {
    height: auto;
  }

  .leader-card.featured .leader-content {
    position: static;
    padding: 16px 20px 20px;
    color: #fff;
  }
}

    /* ===================== COURSES ===================== */

    .course-grid {
      margin-top: 22px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 16px;
    }

    .course-card {
      border-radius: 20px;
      overflow: hidden;
      background: var(--card-bg);
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
    }

    .course-img {
      height: 160px;
      overflow: hidden;
    }

    .course-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 260ms ease-out;
    }

    .course-card:hover .course-img img {
      transform: scale(1.05);
    }

    .course-body {
      padding: 11px 13px 13px;
      font-size: 12px;
    }

    .course-body h3 {
      font-size: 14px;
      margin-bottom: 4px;
    }

    .course-body p {
      font-size: 11px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .course-link {
      font-size: 11px;
      color: var(--primary);
      font-weight: 500;
    }

    /* ===================== TESTIMONIALS ===================== */

    .t-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .t-head {
      text-align: center;
      margin-bottom: 18px;
    }

    .t-kicker {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .t-head h2 {
      font-family: "Playfair Display", serif;
      font-size: 22px;
      margin-bottom: 4px;
    }

    .t-sub {
      font-size: 12px;
      color: var(--text-muted);
    }

    .t-scroll {
      margin-top: 18px;
      display: flex;
      gap: 14px;
      overflow-x: auto;
      padding-bottom: 4px;
    }

    .t-card {
      min-width: 260px;
      max-width: 300px;
      background: var(--card-bg);
      border-radius: 18px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
      padding: 12px 13px;
      font-size: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .t-text {
      font-size: 11px;
      color: var(--text-main);
    }

    .t-footer {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
    }

    .t-avatar {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      object-fit: cover;
    }

    .t-meta {
      font-size: 11px;
    }

    .t-role {
      color: var(--text-muted);
      font-size: 10px;
    }

    /* ===================== FLOATING ACTIONS ===================== */

    .floating-shell {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 50;
      display: none;
      flex-direction: column;
      gap: 16px;
      align-items: flex-end;
    }

    .floating-socials {
      display: none;
      flex-direction: column;
      gap: 8px;
    }

    .floating-main-buttons {
      display: none;
      flex-direction: column;
      gap: 8px;
    }

    .floating-btn {
      display: none;
      align-items: center;
      justify-content: center;
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      color: #fff;
      background: linear-gradient(135deg, #ef4444, #b91c1c);
      border: 1px solid rgba(248, 250, 252, 0.3);
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.45);
      cursor: pointer;
      gap: 6px;
      transition: transform 220ms ease-out, box-shadow 220ms ease-out;
      white-space: nowrap;
    }

    .floating-btn.secondary {
      background: linear-gradient(135deg, #4b5563, #111827);
    }

    .floating-btn:hover {
      transform: translateY(-2px) scale(1.01);
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.6);
    }

    .social-circle {
      width: 38px;
      height: 38px;
      border-radius: 999px;
      display: none;
      align-items: center;
      justify-content: center;
      background: white;
      border: 1px solid rgba(148, 163, 184, 0.6);
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
      color: #b91c1c;
      cursor: pointer;
      transition: transform 220ms ease-out, box-shadow 220ms ease-out, background 180ms;
    }

    .social-circle:hover {
      transform: translateY(-1px) scale(1.03);
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
      background: radial-gradient(circle at top left, #f97316, #b91c1c);
      color: white;
    }

   @media (max-width: 768px) {
  .floating-shell {
    bottom: 14px;
    right: 10px;
    gap: 10px;
  }

  /* hide floating quick donate on mobile – hero & navbar are enough */
  .floating-btn-donate {
    display: none;
  }

  /* keep WhatsApp but make it a bit smaller */
  .floating-btn-whatsapp {
    padding-inline: 12px;
    font-size: 11px;
  }

  .social-circle {
    width: 34px;
    height: 34px;
  }
}
.donate-form-embed {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  padding: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
}

.donate-form-embed iframe {
  width: 100%;
  height: 540px;
  border-radius: 16px;
  border: none;
  background: radial-gradient(circle at top, #fdf2ff 0%, #f5fbff 30%, #eff6ff 70%, #fff7ed 100%);
}

@media (max-width: 768px) {
  .donate-form-embed iframe {
    height: 640px;
  }
}
    /* ===================== DONATE MODAL ===================== */
/* ===================== DONATE MODAL ===================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  backdrop-filter: blur(6px);
}

/* MAIN MODAL BOX */
.modal-box {
  width: min(1080px, 94%);
  height: min(100vh, 700px);        /* 🔴 KEY: give it a proper height */
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;          /* header + body */
}

/* HEADER */
.modal-header {
  padding: 10px 12px 8px;
  color: #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  background: linear-gradient(
    to right,
    rgba(185, 28, 28, 0.9),
    rgba(15, 23, 42, 0.95)
  );
}

.modal-close {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-size: 11px;
  padding: 3px 9px;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  cursor: pointer;
}

/* BODY WITH IFRAME */
.modal-body {
  position: relative;
  flex: 1;                          /* take all remaining height */
  padding: 6px;

  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 1)
  );

  display: flex;
  align-items: center;
  justify-content: center;
   overflow-y: auto;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(30, 64, 175, 0.9);
  background: #020617;
}

/* MOBILE TWEAKS */
@media (max-width: 640px) {
  .modal-box {
    width: calc(100% - 5px);   /* side margins */
    max-height: 85vh;           /* never full screen */
    margin: 12px auto;
    border-radius: 18px;
     }
}


    /* ===================== FOOTER ===================== */

    .footer {
      background: #020617;
      color: #9ca3af;
      padding: 30px 0 30px;
      margin-top: 40px;
      border-top: 1px solid rgba(31, 41, 55, 0.9);
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.5fr);
      gap: 24px;
      font-size: 11px;
    }

    .footer-brand h2 {
      font-size: 17px;
      color: #e5e7eb;
      margin-bottom: 4px;
    }

    .footer-brand .tagline {
      font-size: 11px;
      color: #fbbf24;
      margin-bottom: 6px;
    }

    .footer-links h3,
    .footer-contact h3 {
      font-size: 12px;
      color: #e5e7eb;
      margin-bottom: 6px;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 2px;
    }

    .footer-links a {
      color: #e5e7eb;
      font-size: 11px;
    }

    .footer-links a:hover {
      color: #f97316;
    }

    .footer-contact a {
      color: #f9fafb;
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 12px auto 0;
      padding: 0 20px;
      border-top: 1px solid rgba(55, 65, 81, 0.8);
      padding-top: 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: space-between;
      font-size: 11px;
    }

    .footer-bottom a {
      color: #9ca3af;
    }

    .footer-bottom a:hover {
      color: #f97316;
    }

    @media (max-width: 960px) {
      .footer-inner {
        grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
      }
    }

    @media (max-width: 768px) {
      .footer-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* tighter vertical rhythm for mid sections */
#why.section,
#videos.section,
#causes.section,
#courses.section,
#testimonials.section {
  padding-top: 60px;
  padding-bottom: 60px;
}
/* 3D preview + modal CSS (drop into your CSS) */
.mini-3d-preview {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid rgba(255,255,255,0.03);
  background: #06060a;
}
.mini-3d-preview:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.preview-iframe { width:100%; height:100%; border:0; display:block; background:#000; }
.mini-3d-preview .overlay {
  position: absolute;
  bottom: 18px;
  right: 18px;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(16,16,16,0.6));
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(4px);
}

/* Modal */
.modal-backdrop { 
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.72); z-index: 240; padding: 24px; transition: opacity .18s ease;
}
.modal-hidden { display: none; opacity: 0; pointer-events: none; }
.modal-box.modal-gallery-box {
  width: min(1200px, 96%);
  height: min(86vh, 920px);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
  background: #000;
}
.modal-box.modal-gallery-box iframe { width:100%; height:100%; border:0; background: #000; }

/* Big close button */
.modal-close.big {
  position: absolute; top: 12px; right: 12px; z-index: 5; border: none; 
  background: rgba(255,255,255,0.06); color: #fff; padding:10px 12px; border-radius: 10px;
  font-size: 16px; cursor: pointer;
}
.modal-close.big:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }

/* Responsive */
@media (max-width: 900px) {
  .mini-3d-preview { height: 260px; border-radius: 12px; }
  .modal-box.modal-gallery-box { width: 96%; height: 92vh; border-radius: 10px; }
}
:root {
  --book-thickness: 26px;
}

/* Section wrapper */
.book-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Top header line (sub text + arrows) */
.book-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.book-gallery-title-sub {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.8);
  letter-spacing: 0.03em;
}

.book-gallery-arrows {
  display: flex;
  gap: 10px;
}

/* Glassy arrow buttons */
.book-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.75), rgba(15, 23, 42, 0.98));
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(15, 23, 42, 0.15);
  color: #e5e7eb;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.book-arrow-btn:hover {
  transform: translateY(-1px) scale(1.05);
  border-color: rgba(250, 204, 21, 0.9);
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.9), rgba(30, 64, 175, 1));
  box-shadow:
    0 0 20px rgba(250, 204, 21, 0.4),
    0 10px 24px rgba(15, 23, 42, 0.5);
}

/* Main glass container */
.book-gallery-glass {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.35), transparent 65%),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

/* Light border ring / decoration */
.book-gallery-glass::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  pointer-events: none;
}

/* Horizontal scroll row */
.book-gallery {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 6px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.8) transparent;
}

.book-gallery::-webkit-scrollbar {
  height: 6px;
}

.book-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.book-gallery::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.85);
  border-radius: 999px;
}

/* Single book item */
.book-item {
  flex: 0 0 210px;
  scroll-snap-align: center;
  text-align: center;
}

/* 3D book container */
.book-3d {
  width: 200px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
  perspective: 1000px;
  margin: 0 auto;
}

.book-3d:hover {
  transform: rotateY(30deg) translateY(-4px);
  box-shadow:
    0 24px 45px rgba(15, 23, 42, 0.45),
    0 0 30px rgba(250, 204, 21, 0.45);
}

/* Faces */
.book-face {
  position: absolute;
  top: 0;
  height: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.book-face.front {
  width: 100%;
  z-index: 2;
  border-radius: 10px 2px 2px 10px;
  overflow: hidden;
  background: #111827;
}

.book-face.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Spine */
.book-face.left {
  width: var(--book-thickness);
  height: 100%;
  right: 100%;
  transform-origin: right;
  transform: rotateY(-90deg);
  border-radius: 4px 0 0 4px;
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.35);
}

/* Title & button */
.book-title {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  line-height: 1.3;
}

.book-btn {
  margin-top: 6px;
  padding: 7px 16px;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 79, 34, 0.4);
  background: linear-gradient(135deg, #f97316, #ef4444, #b91c1c);
  color: #f9fafb;
  cursor: pointer;
  box-shadow:
    0 10px 20px rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(191, 219, 254, 0.7);
  transition:
    transform 0.16s ease,
    box-shadow 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.book-btn.glass {
  background: linear-gradient(135deg, #f97316, #ef4444, #b91c1c);
}

.book-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.9);
  box-shadow:
    0 14px 30px rgba(30, 64, 175, 0.55),
    0 0 32px rgba(250, 204, 21, 0.45);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .book-gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .book-gallery-title-sub {
    font-size: 0.85rem;
  }
  .book-item {
    flex: 0 0 170px;
  }
  .book-3d {
    width: 170px;
    height: 255px;
  }
}

@media (max-width: 480px) {
  .book-gallery-glass {
    padding: 14px 14px 16px;
  }
  .book-gallery {
    gap: 18px;
  }
  .book-title {
    font-size: 0.88rem;
  }
}

/* ===== Campaign Teaser Section ===== */
.section-campaign-teaser {
  padding: 60px 0;
  position: relative;
}

.campaign-teaser-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  transition: all 0.3s ease;
}

.campaign-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.campaign-teaser-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.campaign-teaser-card .meta {
  flex: 1;
}

.campaign-teaser-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
}

.campaign-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.campaign-teaser-card p {
  color: #718096;
  font-size: 16px;
  line-height: 1.7;
  margin: 16px 0 0;
}

.campaign-teaser-card p strong {
  color: #ff6b35;
  font-weight: 600;
}

.campaign-teaser-card .cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.campaign-teaser-card .btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-block;
  white-space: nowrap;
}

.campaign-teaser-card .btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.campaign-teaser-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.campaign-teaser-card .btn-outline {
  background: white;
  color: #ff6b35;
  border: 2px solid #ff6b35;
}

.campaign-teaser-card .btn-outline:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-2px);
}

.campaign-teaser-card .btn:not(.btn-primary):not(.btn-outline) {
  background: transparent;
  color: #4ecdc4;
  padding: 14px 16px;
}

.campaign-teaser-card .btn:not(.btn-primary):not(.btn-outline):hover {
  color: #ff6b35;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-campaign-teaser {
    padding: 40px 0;
  }

  .campaign-teaser-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
    text-align: center;
  }

  .campaign-teaser-card img {
    max-width: 180px;
    margin: 0 auto;
  }

  .campaign-teaser-card h3 {
    font-size: 24px;
    justify-content: center;
  }

  .campaign-teaser-card .meta > div:first-child {
    flex-direction: column;
    gap: 8px !important;
  }

  .campaign-teaser-card p {
    font-size: 15px;
  }

  .campaign-teaser-card .cta {
    flex-direction: column;
    width: 100%;
  }

  .campaign-teaser-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .campaign-badge {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .campaign-teaser-card {
    padding: 24px 16px;
  }

  .campaign-teaser-card h3 {
    font-size: 20px;
  }

  .campaign-teaser-card img {
    max-width: 150px;
  }
}

/* 1. Reset the Outer Wrapper to be INVISIBLE */
.hero-right-card {
  background: transparent !important; /* Forces transparency */
  border: none !important;            /* Removes the grey line */
  box-shadow: none !important;        /* Removes the outer shadow */
  padding: 0;                         /* Remove extra spacing if not needed */
  display: flex;
  justify-content: center; /* Centers the card if it's smaller than the column */
  align-items: center;
}

/* 2. The Main Glass Card */
.yajna-card-container {
  /* DARK GLASS BACKGROUND */
  background: rgba(12, 12, 12, 0.75); /* Slightly darker for better text contrast */
  backdrop-filter: blur(16px);        /* Stronger blur for smoother look */
  -webkit-backdrop-filter: blur(16px);
  
  /* Single, clean Gold Border */
  border: 1px solid rgba(255, 215, 0, 0.2); 
  
  border-radius: 20px;
  overflow: hidden;
  
  /* Premium Shadow to separate it from the background */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); 
  width: 100%;
  max-width: 550px; /* Kept it compact */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover Effect */
.yajna-card-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 215, 0, 0.5); /* Border glows brighter on hover */
}

/* --- Image Section --- */
.yajna-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
}

.yajna-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Fades out slightly at the bottom to blend with the card */
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* --- Tag --- */
.yajna-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6); /* Darker backing for readability */
  color: #fbbf24; 
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px; /* Slightly squarer corners look more technical/modern */
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* --- Content Section --- */
.yajna-content {
  padding: 10px 25px 30px; /* Reduced top padding since image fades in */
}

.yajna-title {
  font-family: serif; 
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f6e05e; /* Pure gold color */
  text-shadow: 0 4px 12px rgba(0,0,0,0.5); /* Text pops off the dark bg */
}

.yajna-description {
  color: #a0aec0; /* Cool grey */
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* --- Button (Matched to your Donate Orange) --- */
.yajna-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  
  /* Gradient matching your Orange "Donate Now" button */
  background: linear-gradient(135deg, #FF6B4A 0%, #FF416C 100%);
  
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 10px 20px -5px rgba(255, 65, 108, 0.4);
  transition: all 0.3s ease;
}

.yajna-register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(255, 65, 108, 0.6);
  filter: brightness(1.1);
}