/* =====================================================
   ADHITI EDUCATION TRUST
   LUXURY FOUNDATION DESIGN SYSTEM
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

/* ================= ROOT ================= */
:root {
  --primary: #7A1E1E;
  --primary-soft: #EFE6DA;
  --background: #FAF7F2;
  --white: #FFFFFF;

  --text-main: #2E2E2E;
  --text-muted: #6F6F6F;

  --dhulomati: #C65D3B;
  --slatepencil: #3F51B5;
  --chokkhori: #2E7D32;

  --border: #E4DBCF;
  --shadow-soft: 0 12px 30px rgba(0,0,0,0.06);
  --shadow-hover: 0 22px 55px rgba(0,0,0,0.12);
}

/* ================= BASE ================= */
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.3px;
}

/* Bengali */
html[data-lang="bn"] body {
  font-family: "Noto Serif Bengali", "Noto Sans Bengali", Arial, sans-serif;
}

/* ================= LINKS ================= */
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ================= i18n ================= */
[data-en],
[data-bn] {
  display: none;
}

html:not([data-lang]) [data-en],
html[data-lang="en"] [data-en],
html[data-lang="bn"] [data-bn] {
  display: contents;
}

/* ================= NAVBAR ================= */
.navbar {
  background: linear-gradient(to right, #6a1a1a, var(--primary));
  color: white;
  padding: 20px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: white;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.logo-text {
  display: block;
  max-width: 220px;
  font-family: "Playfair Display", Georgia, serif;
  color: white;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  margin-left: 24px;
}

.navbar nav a {
  color: white;
  font-size: 13.5px;
  opacity: 0.95;
  white-space: nowrap;
}

.navbar .nav-item {
  position: relative;
}

.navbar .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar .nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
}

.navbar .nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  padding: 10px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.navbar .has-submenu:hover .nav-submenu,
.navbar .has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .nav-submenu a {
  color: var(--text-main);
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 1;
  text-decoration: none;
}

.navbar .nav-submenu a:hover,
.navbar .nav-submenu a:focus-visible {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ================= LANGUAGE TOGGLE ================= */
.lang-toggle {
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 4px;
  display: flex;
  gap: 4px;
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: white;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
}

.lang-toggle button.active {
  background: white;
  color: var(--primary);
  font-weight: 500;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 24px 120px;
}

.hero-image {
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.72),
    rgba(0,0,0,0.88)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.hero-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: 0.2px;
}

/* ===== HERO WORD REVEAL ===== */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1,
.hero p,
.cta-content h2 {
  text-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: all 0.35s ease;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 34px rgba(122,30,30,0.35);
}

.btn.primary::after {
  content: " →";
  display: inline-block;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn.primary:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(122,30,30,0.45);
  padding-right: 28px;
}

.btn.outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: white;
}

/* ================= PAGE ================= */
.page {
  max-width: 1120px;
  margin: auto;
  padding: 100px 40px;
}

.page h1 {
  font-size: 42px;
  margin-bottom: 32px;
}

.page h2 {
  font-size: 30px;
  margin: 60px 0 24px;
  color: var(--primary);
}

/* ===== SECTION TITLE — animated underline ===== */
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: var(--primary);
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-title.underline-visible::after {
  width: 60px;
}

.page p {
  font-size: 17px;
  max-width: 760px;
}

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

.faq-intro p {
  margin: 0 auto;
}

.faq-list {
  max-width: 860px;
  margin: 40px auto 0;
  display: grid;
  gap: 18px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
  background: var(--primary-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item summary:hover::after,
.faq-item summary:focus-visible::after {
  background: #f7efe5;
}

.faq-answer {
  padding: 0 28px 28px;
}

.faq-answer p {
  max-width: none;
  color: var(--text-main);
}

.faq-cta {
  text-align: center;
  padding-top: 16px;
}

.faq-cta p {
  margin: 0 auto 20px;
}

#our-reach,
#our-philosophy,
#our-approach,
#board-management,
#learning-centres,
#stories,
#camps,
#extra-curricular,
#khelaghor {
  scroll-margin-top: 96px;
}

/* ================= SECTION SUB TABS ================= */
.about-subnav,
.gallery-subnav {
  background: white;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 24px;
}

.about-subnav a,
.gallery-subnav a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 16px 22px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.about-subnav a:hover,
.about-subnav a:focus-visible,
.gallery-subnav a:hover,
.gallery-subnav a:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

/* ================= TWO COLUMN ================= */
.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.two-column img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

/* ================= CARDS ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 50px;
}

.card {
  background: linear-gradient(to bottom, #ffffff, #faf7f2);
  padding: 36px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover::before {
  transform: scaleX(1);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
  display: block;
}

.image-card img {
  height: 200px;
}

.team-card img {
  height: 260px;
}

.team-portrait-top {
  object-position: center top;
}

.team-photo-placeholder {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
}

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

.card.dhulomati { border-top: 5px solid var(--dhulomati); }
.card.slatepencil { border-top: 5px solid var(--slatepencil); }
.card.chokkhori { border-top: 5px solid var(--chokkhori); }

/* ================= GALLERY ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ================= MAP ================= */
.map-container {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.map-container iframe {
  width: 100%;
  height: 460px;
  border: none;
}

/* ================= DISTRICT INTERACTION ================= */
.district-card {
  cursor: pointer;
}

.district-card:focus-visible {
  outline: 3px solid rgba(122, 30, 30, 0.45);
  outline-offset: 4px;
}

.district-card.is-active {
  border-color: rgba(122, 30, 30, 0.45);
  box-shadow: 0 18px 48px rgba(122, 30, 30, 0.2);
}

.district-details {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 28px;
  background: #fff;
}

.district-details h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 21px;
}

.district-details ul {
  margin: 0;
  padding-left: 20px;
}

.district-details li {
  margin-bottom: 10px;
}

/* ================= FORMS ================= */
.contact-form {
  max-width: 620px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
}

/* ================= DONOR DETAILS ================= */
.donor-payment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 48px;
}

.donor-qr-card,
.donor-info-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 34px;
}

.donor-qr-card h3,
.donor-info-form h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.donor-info-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.donor-name-list {
  max-width: 620px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.donor-name-list li {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--text-main);
  font-size: 16px;
  padding: 14px 18px;
}

.donor-info-form input,
.donor-info-form textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
}

/* ================= CTA ================= */
.cta {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.9)
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

/* ================= SLIDESHOW BACKDROPS ================= */
.slideshow {
  position: relative;
  overflow: hidden;
}

.slideshow-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slideshow-track .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  animation: slideFade 18s infinite;
}

.slideshow-track .slide:first-child {
  opacity: 1;
}

.slideshow-track .slide:nth-child(1) {
  background-image: var(--slide-1);
  animation-delay: 0s;
}

.slideshow-track .slide:nth-child(2) {
  background-image: var(--slide-2);
  animation-delay: 6s;
}

.slideshow-track .slide:nth-child(3) {
  background-image: var(--slide-3);
  animation-delay: 12s;
}

@keyframes slideFade {
  0%,
  28% {
    opacity: 1;
  }
  33%,
  100% {
    opacity: 0;
  }
}

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(to top, #6a1a1a, var(--primary));
  color: white;
  text-align: center;
  padding: 34px 20px;
  font-size: 14px;
}

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 1;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s ease,
    transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .navbar {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
  }

  .navbar .has-submenu {
    width: 100%;
  }

  .navbar .nav-submenu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .navbar .nav-submenu a {
    color: white;
  }

  .navbar .nav-submenu a:hover,
  .navbar .nav-submenu a:focus-visible {
    background: rgba(255,255,255,0.14);
    color: white;
  }

  .hero {
    padding: 100px 16px 80px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .page {
    padding: 70px 16px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .card {
    padding: 28px;
  }

  .donor-payment-grid {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 320px;
  }
}
/* ===== IMPACT STRIP ===== */
.impact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 70px 20px;
  text-align: center;
  flex-wrap: wrap;
}

.impact-item h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1c3c6b;
  margin-bottom: 10px;
}

.impact-item p {
  font-size: 1rem;
  opacity: 0.85;
}

/* ===== STAGGERED CARD REVEAL ===== */
.js-enabled .card-grid .card,
.js-enabled .card-grid a.card-link {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}
.js-enabled .card-grid .card.card-visible,
.js-enabled .card-grid a.card-link.card-visible {
  opacity: 1;
  transform: translateY(0);
}
/* cards already individually visible shouldn't fight card-grid stagger */
.js-enabled .card-grid .card.card-visible:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* ===== PARALLAX HERO ===== */
.hero-image .slideshow-track,
.hero-image[style] {
  will-change: transform;
}

/* ===== IMPACT NUMBERS ===== */
.impact-item h2 {
  font-family: "Playfair Display", serif;
}

/* ===== NAVBAR SCROLL SHRINK ===== */
.navbar {
  transition: padding 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* ===== LOGO AS LINK ===== */
a.logo {
  color: white;
  text-decoration: none;
}
a.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* ===== CLICKABLE PROGRAM CARDS ===== */
a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.card-link:hover {
  text-decoration: none;
}
a.card-link .card {
  cursor: pointer;
}

/* ===== PROGRAM AGE TAG (home page cards) ===== */
.program-age-tag {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 6px;
}

/* ===== STORY MODAL ===== */
.story-card {
  cursor: pointer;
}
.story-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.story-modal-overlay.open {
  display: flex;
}
.story-modal {
  background: white;
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}
.story-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  line-height: 1;
}
.story-modal img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.story-modal h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}
.story-modal p {
  font-size: 16px;
  color: var(--text-main);
}

/* ===== VIDEO SECTION ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.video-embed-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #1a1a1a;
}
.video-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  aspect-ratio: 16/9;
  background: #f0ebe3;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--border);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 24px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.social-links a:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===== CONTACT ADDRESS ===== */
.contact-address {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
}

/* ===== DONATE NOW – SUBTLY PROMINENT ===== */
.btn.donate-now {
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 44px;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 28px rgba(122,30,30,0.32);
}
.btn.donate-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(122,30,30,0.42);
}

/* ===== QR CODE MODAL ===== */
.qr-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qr-modal-overlay.open {
  display: flex;
}
.qr-modal {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
}
.qr-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  line-height: 1;
}
.qr-modal h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary);
}
.qr-modal p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.qr-code-box {
  width: 200px;
  height: 200px;
  background: #f5f5f5;
  border-radius: 12px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  border: 2px dashed var(--border);
}
.qr-code-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* ===== IMPACT COUNT-UP ===== */
.animated-text {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* =====================================================
   DESIGN POLISH — PHASE 2
   ===================================================== */

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: var(--primary);
  color: white;
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.marquee-inner {
  display: inline-block;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-strip:hover .marquee-inner {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 40px;
  opacity: 0.9;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}
.marquee-item::before {
  content: "·";
  margin-right: 40px;
  opacity: 0.5;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== PULL QUOTE ===== */
.pull-quote-section {
  background: var(--primary-soft);
  padding: 90px 40px;
  text-align: center;
}
.pull-quote-section blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-main);
  position: relative;
}
.pull-quote-section blockquote::before {
  content: "\201C";
  font-size: 140px;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: -50px;
  left: -10px;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.pull-quote-section blockquote::after {
  content: "\201D";
  font-size: 140px;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  right: -10px;
  bottom: -88px;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.pull-quote-section cite {
  display: block;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

/* ===== INTRO PARAGRAPH (first p on a page, slightly larger) ===== */
.intro-para {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-main);
  max-width: 780px;
}

/* ===== ALTERNATING SECTION BACKGROUNDS ===== */
.section-alt {
  background: var(--primary-soft);
}

/* ===== STICKY PROGRAM NAV ===== */
.program-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.program-nav a {
  padding: 18px 40px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  letter-spacing: 0.3px;
  font-family: "Inter", sans-serif;
}
.program-nav a:hover,
.program-nav a.prog-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}
@media (max-width: 768px) {
  .program-nav a { padding: 14px 18px; font-size: 13px; }
}

/* ===== HERO SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }
.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-family: "Inter", sans-serif;
}
.scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: chevronBounce 1.5s ease infinite;
  margin-top: 2px;
}
@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* ===== GALLERY LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  background: none; border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  font-size: 28px;
  color: white;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-counter {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-family: "Inter", sans-serif;
  letter-spacing: 1px;
}

/* ===== FOOTER UPGRADE ===== */
.footer {
  background: linear-gradient(135deg, #3a0a0a 0%, #6a1a1a 60%, var(--primary) 100%);
  color: white;
  padding: 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: white;
  text-decoration: none;
}
.footer-logo:hover {
  text-decoration: none;
}
.footer-logo-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  background: white;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.footer-logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
}
.footer-tagline {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-social-links {
  display: flex;
  gap: 12px;
}
.footer-social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.footer-social-links a:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  text-decoration: none;
}

/* ===== FLOATING WHATSAPP CTA ===== */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.36);
  z-index: 2500;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.46);
  text-decoration: none;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.32);
  outline-offset: 4px;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}
.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s, opacity 0.2s;
}
.footer-col a:hover {
  color: white;
  text-decoration: none;
}
.footer-col a span {
  opacity: 0.5;
  font-size: 12px;
}
.footer-newsletter-copy {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}
.footer-newsletter-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.footer-newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}
.footer-newsletter-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}
.footer-newsletter-form button {
  align-self: flex-start;
  min-width: 124px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.footer-newsletter-form button:hover {
  transform: translateY(-1px);
  background: #f8efe8;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}
.footer-newsletter-form button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.28);
  outline-offset: 3px;
}
.footer-newsletter-note,
.footer-newsletter-status {
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  line-height: 1.5;
}
.footer-newsletter-status {
  min-height: 18px;
}
.footer-address {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 12px;
}
.footer-address strong {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.55;
}
.footer-bottom a {
  color: white;
  text-decoration: none;
}
.footer-bottom a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 768px) {
  .hero-label {
    font-size: 12px;
    letter-spacing: 0.6px;
    padding: 7px 14px;
  }
  .logo-mark {
    width: 48px;
    height: 48px;
  }
  .logo-text {
    max-width: 170px;
    font-size: 18px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px 32px;
  }
  .footer-logo-mark {
    width: 56px;
    height: 56px;
  }
  .footer-logo-text {
    font-size: 18px;
  }
  .faq-item summary {
    font-size: 20px;
    padding: 20px 20px;
  }
  .faq-answer {
    padding: 0 20px 22px;
  }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 16px 20px; }
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ===== DECORATIVE QUOTE (Voices page) ===== */
.voices-quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 180px;
  color: var(--primary);
  opacity: 0.07;
  line-height: 0.8;
  text-align: center;
  pointer-events: none;
  margin-bottom: -60px;
}
