/* ============================================================
   KINDHA CARES FOUNDATION — Global Stylesheet
   Brand: Caring for Children. Restoring Hope. Building Futures.
   ============================================================ */

/* ---------- 1. Brand Variables & Tokens ---------- */
:root {
  --primary-teal: #0F6870;
  --dark-teal: #084C52;
  --teal-700: #0a5a62;
  --teal-300: #6ba9ae;
  --teal-50: #e8f2f3;
  --gold: #E9A51A;
  --gold-600: #c98a0f;
  --gold-50: #fdf3e0;
  --green: #6BAF45;
  --green-600: #5a9537;
  --green-50: #eef6e6;
  --cream: #FFF9EF;
  --light-bg: #F7FAF9;
  --white: #FFFFFF;
  --dark: #1D2A2D;
  --gray: #5a6a6e;
  --gray-300: #b8c4c6;
  --gray-200: #dde5e6;
  --gray-100: #f1f4f4;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(29, 42, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(29, 42, 45, 0.08);
  --shadow-lg: 0 18px 48px rgba(29, 42, 45, 0.12);
  --shadow-xl: 0 28px 64px rgba(29, 42, 45, 0.16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --maxw: 1200px;
}

/* ---------- 2. Base / Reset ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-teal);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

p { color: var(--gray); }
a { color: var(--primary-teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dark-teal); }

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

::selection { background: var(--gold); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dark-teal);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout Helpers ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-cream { background: var(--cream); }
.section-light { background: var(--light-bg); }
.section-teal { background: var(--primary-teal); color: #fff; }
.section-teal h1, .section-teal h2, .section-teal h3 { color: #fff; }
.section-teal p { color: rgba(255,255,255,0.88); }

.container-narrow { max-width: 820px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.85rem;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro p { font-size: 1.08rem; }

.text-gold { color: var(--gold) !important; }
.text-green { color: var(--green) !important; }
.text-teal { color: var(--primary-teal) !important; }

/* ---------- 4. Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.7rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-600);
  color: #fff;
  border-color: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-teal {
  background: var(--primary-teal);
  color: #fff;
  border-color: var(--primary-teal);
}
.btn-teal:hover {
  background: var(--dark-teal);
  color: #fff;
  border-color: var(--dark-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}
.btn-outline:hover {
  background: var(--primary-teal);
  color: #fff;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary-teal);
  border-color: #fff;
}
.btn-lg { padding: 0.95rem 2.3rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1.2rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- 5. Navbar ---------- */
.navbar-custom {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0;
  transition: all var(--transition);
}
.navbar-custom.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-teal);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand:hover { color: var(--dark-teal); }
.brand-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.navbar-brand:hover .brand-mark { transform: scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.navbar-custom .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-teal);
  background: var(--teal-50);
}
.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.navbar-toggler { border: none; padding: 0.3rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,76,82,0.9) 0%, rgba(15,104,112,0.78) 45%, rgba(15,104,112,0.3) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.15rem; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.hero-badge {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
  color: #fff;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,165,26,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: #fff; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 620px; position: relative; z-index: 1; }
.breadcrumb-bar {
  background: rgba(0,0,0,0.12);
  padding: 0.7rem 0;
}
.breadcrumb-bar .breadcrumb {
  margin: 0;
  font-size: 0.88rem;
}
.breadcrumb-bar a { color: rgba(255,255,255,0.85); }
.breadcrumb-bar a:hover { color: #fff; }
.breadcrumb-bar .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---------- 7. Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}
.icon-teal { background: var(--teal-50); color: var(--primary-teal); }
.icon-gold { background: var(--gold-50); color: var(--gold-600); }
.icon-green { background: var(--green-50); color: var(--green-600); }

/* Program cards */
.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid var(--gray-200);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card .card-img { height: 220px; overflow: hidden; position: relative; }
.program-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-card:hover .card-img img { transform: scale(1.06); }
.program-card .card-body { padding: 1.7rem; flex: 1; display: flex; flex-direction: column; }
.program-card .card-body h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.program-card .program-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 50px; margin-bottom: 0.8rem;
}
.pill-care { background: var(--gold-50); color: var(--gold-600); }
.pill-learn { background: var(--teal-50); color: var(--primary-teal); }
.pill-protect { background: #fde8e8; color: #c0392b; }
.pill-grow { background: var(--green-50); color: var(--green-600); }
.pill-futures { background: #eef0fb; color: #4a4fb8; }

/* Story cards */
.story-card { border: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); height: 100%; }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story-card .card-img-top { height: 210px; object-fit: cover; }
.story-card .category-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.5rem;
}
.story-card .card-title { font-size: 1.2rem; }
.story-card .card-text { font-size: 0.93rem; }
.story-card .story-date { font-size: 0.82rem; color: var(--gray-300); }

/* ---------- 8. Impact Counters ---------- */
.counter-section { background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal)); color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden; }
.counter-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(233,165,26,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.counter-box { text-align: center; padding: 1.5rem; position: relative; z-index: 1; }
.counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.counter-label { margin-top: 0.6rem; font-size: 0.95rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.counter-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2.5rem; text-align: center; font-style: italic; position: relative; z-index: 1; }

/* ---------- 9. Alternating Feature Rows ---------- */
.feature-row { display: flex; align-items: center; gap: 3rem; }
.feature-row .feature-img { flex: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feature-row .feature-img img { width: 100%; height: 480px; object-fit: cover; }
.feature-row .feature-text { flex: 1; }
.feature-row .feature-text h2 { margin-bottom: 1rem; }
.feature-row ul { list-style: none; padding: 0; margin: 1.2rem 0; }
.feature-row ul li { padding: 0.4rem 0 0.4rem 1.8rem; position: relative; color: var(--gray); }
.feature-row ul li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0.45rem;
  color: var(--green); font-size: 1.1rem;
}
@media (max-width: 767px) {
  .feature-row { flex-direction: column; gap: 1.5rem; }
  .feature-row .feature-img img { height: 260px; }
  .feature-row.reverse-mobile .feature-img { order: 2; }
}

/* ---------- 10. Value Cards ---------- */
.value-card {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .card-icon { margin: 0 auto 1.2rem; }

/* ---------- 11. Trust Section ---------- */
.trust-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); height: 100%;
  transition: transform var(--transition);
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-card .card-icon { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 0; flex-shrink: 0; }
.trust-card h4 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--dark-teal); }
.trust-card p { font-size: 0.9rem; margin: 0; }

/* ---------- 12. Donation Amount Cards ---------- */
.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; max-width: 760px; margin: 0 auto; }
.amount-card {
  background: #fff; border: 2px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center; cursor: pointer;
  transition: all var(--transition);
}
.amount-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.amount-card.selected { border-color: var(--gold); background: var(--gold-50); box-shadow: var(--shadow-sm); }
.amount-card .amount { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; color: var(--primary-teal); }
.amount-card .amount-desc { font-size: 0.82rem; color: var(--gray); margin-top: 0.3rem; }

/* ---------- 13. Forms ---------- */
.form-control, .form-select {
  border-radius: 10px;
  padding: 0.7rem 1rem;
  border-color: var(--gray-200);
  font-size: 0.97rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(15,104,112,0.15);
}
.form-label { font-weight: 600; font-size: 0.92rem; color: var(--dark); margin-bottom: 0.4rem; }
.required-mark { color: #c0392b; }
.form-text { font-size: 0.82rem; }
.is-invalid { border-color: #dc3545 !important; }
.invalid-feedback { font-size: 0.82rem; }
.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
}

/* Alert */
.alert-soft {
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  border: none;
  display: flex; align-items: center; gap: 0.7rem;
}
.alert-success-soft { background: var(--green-50); color: var(--green-600); }
.alert-error-soft { background: #fde8e8; color: #c0392b; }

/* ---------- 14. Newsletter ---------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
  color: #fff; padding: 4rem 0; border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(233,165,26,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.newsletter-section h2 { color: #fff; position: relative; z-index: 1; }
.newsletter-section p { color: rgba(255,255,255,0.88); position: relative; z-index: 1; }
.newsletter-form { display: flex; gap: 0.8rem; max-width: 520px; margin: 1.5rem auto 0; position: relative; z-index: 1; }
.newsletter-form .form-control { border: none; }
@media (max-width: 575px) { .newsletter-form { flex-direction: column; } }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
}
.footer h5 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer a { color: rgba(255,255,255,0.7); display: block; padding: 0.25rem 0; font-size: 0.93rem; }
.footer a:hover { color: var(--gold); }
.footer-brand { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-tagline { font-style: italic; color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; }
.social-icons { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
  transition: all var(--transition);
}
.social-icons a:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }
.footer-bottom-links a { display: inline; padding: 0; }
@media (max-width: 767px) { .footer-bottom-links { justify-content: flex-start; margin-top: 0.8rem; } }

/* ---------- 16. Back to Top ---------- */
.back-to-top {
  position: fixed; bottom: 25px; right: 25px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-teal); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 1000;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--dark-teal); transform: translateY(-3px); }

/* ---------- 17. Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- 18. Team / Leadership ---------- */
.team-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card .team-photo { height: 260px; background: var(--teal-50); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--teal-300); }
.team-card .team-info { padding: 1.5rem; }
.team-card h4 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.team-card .team-role { color: var(--gold-600); font-weight: 600; font-size: 0.88rem; }

/* ---------- 19. CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--gold), var(--gold-600));
  color: var(--dark); padding: 3.5rem; border-radius: var(--radius-lg);
  text-align: center;
}
.cta-banner h2 { color: var(--dark); }
.cta-banner p { color: rgba(29,42,45,0.8); }
@media (max-width: 575px) { .cta-banner { padding: 2rem 1.5rem; } }

/* ---------- 20. Featured Story (Editorial) ---------- */
.featured-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.featured-story .fs-img {
  overflow: hidden;
  min-height: 400px;
}
.featured-story .fs-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-story:hover .fs-img img { transform: scale(1.04); }
.featured-story .fs-body {
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-story .fs-body h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.featured-story .fs-body .fs-meta { font-size: 0.82rem; color: var(--gray-300); margin-bottom: 0.5rem; }
.featured-story .fs-body .fs-excerpt { font-size: 1.05rem; color: var(--gray); margin-bottom: 1.5rem; }
@media (max-width: 767px) {
  .featured-story { grid-template-columns: 1fr; }
  .featured-story .fs-img { min-height: 240px; }
  .featured-story .fs-body { padding: 2rem 1.5rem; }
}

/* ---------- 21. Gallery ---------- */
.media-toggle {
  display: flex; gap: 0.6rem; justify-content: center; margin-bottom: 1.5rem;
}
.media-toggle-btn {
  background: #fff; border: 2px solid var(--gray-200); border-radius: 50px;
  padding: 0.55rem 1.6rem; font-size: 0.95rem; font-weight: 600; color: var(--gray);
  cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.media-toggle-btn i { font-size: 1.1rem; }
.media-toggle-btn:hover { border-color: var(--primary-teal); color: var(--primary-teal); }
.media-toggle-btn.active {
  background: var(--primary-teal); border-color: var(--primary-teal); color: #fff;
}
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filter-btn {
  background: #fff; border: 2px solid var(--gray-200); border-radius: 50px;
  padding: 0.45rem 1.2rem; font-size: 0.85rem; font-weight: 600; color: var(--gray);
  cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
}
.gallery-filter-btn:hover { border-color: var(--primary-teal); color: var(--primary-teal); }
.gallery-filter-btn.active {
  background: var(--primary-teal); border-color: var(--primary-teal); color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1;
}
.gallery-item.tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery-item.wide { aspect-ratio: 2 / 1; grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,76,82,0.85) 0%, rgba(8,76,82,0) 50%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem; color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay h4 { color: #fff; font-size: 1rem; margin-bottom: 0.2rem; }
.gallery-item .gallery-overlay p { color: rgba(255,255,255,0.8); font-size: 0.8rem; margin: 0; }
.gallery-item .gallery-zoom {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--dark-teal);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-item.hidden { display: none; }

/* Gallery masonry variant */
.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}
.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  aspect-ratio: auto;
}
.gallery-masonry .gallery-item img { height: auto; }
@media (max-width: 991px) { .gallery-masonry { columns: 3; } }
@media (max-width: 767px) { .gallery-masonry { columns: 2; } }
@media (max-width: 420px) { .gallery-masonry { columns: 1; } }

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; } }
@media (max-width: 420px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Gallery hero preview (homepage) */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.gallery-preview-grid .gp-item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.gallery-preview-grid .gp-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-preview-grid .gp-item:hover img { transform: scale(1.06); }
.gallery-preview-grid .gp-item:first-child {
  grid-column: span 2; grid-row: span 2; aspect-ratio: 16/10;
}
@media (max-width: 767px) {
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-grid .gp-item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
}

/* ---------- 22. Lightbox ---------- */
.lightbox-modal .modal-content {
  background: transparent; border: none; box-shadow: none;
}
.lightbox-modal .modal-body {
  padding: 0; position: relative;
}
.lightbox-modal .lightbox-img {
  max-width: 100%; max-height: 80vh; border-radius: var(--radius-lg); object-fit: contain;
  margin: 0 auto; display: block;
}
.lightbox-modal .lightbox-caption {
  text-align: center; color: #fff; margin-top: 1rem;
}
.lightbox-modal .lightbox-caption h4 { color: #fff; font-size: 1.1rem; }
.lightbox-modal .lightbox-caption p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.lightbox-modal .lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
  width: 44px; height: 44px; color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--transition); z-index: 10;
}
.lightbox-modal .lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-modal .lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
  width: 48px; height: 48px; color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--transition); z-index: 10;
}
.lightbox-modal .lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-modal .lightbox-prev { left: -10px; }
.lightbox-modal .lightbox-next { right: -10px; }
@media (max-width: 767px) {
  .lightbox-modal .lightbox-prev { left: 0; }
  .lightbox-modal .lightbox-next { right: 0; }
}

/* ---------- 23. Story Filters ---------- */
.story-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.story-filter-btn {
  background: #fff; border: 2px solid var(--gray-200); border-radius: 50px;
  padding: 0.45rem 1.2rem; font-size: 0.85rem; font-weight: 600; color: var(--gray);
  cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
}
.story-filter-btn:hover { border-color: var(--primary-teal); color: var(--primary-teal); }
.story-filter-btn.active {
  background: var(--primary-teal); border-color: var(--primary-teal); color: #fff;
}
.story-card.hidden { display: none; }

/* ---------- 24. Program Page Hero Variants ---------- */
.program-hero-care { background: linear-gradient(135deg, #b8730a, #E9A51A); }
.program-hero-learn { background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal)); }
.program-hero-protect { background: linear-gradient(135deg, #8b2419, #c0392b); }
.program-hero-grow { background: linear-gradient(135deg, #3d7a1f, var(--green)); }
.program-hero-futures { background: linear-gradient(135deg, #2d2d7a, #4a4fb8); }

/* ---------- 25. Impact Page ---------- */
.impact-metric-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); height: 100%;
  transition: transform var(--transition);
}
.impact-metric-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.impact-metric-card .metric-number {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--primary-teal); line-height: 1;
}
.impact-metric-card .metric-label { font-size: 0.92rem; color: var(--gray); margin-top: 0.5rem; }
.impact-metric-card .metric-icon { font-size: 2rem; color: var(--gold); margin-bottom: 0.8rem; }

.report-download {
  background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
  border-radius: var(--radius-lg); padding: 3rem; color: #fff; text-align: center;
}
.report-download h2 { color: #fff; }
.report-download p { color: rgba(255,255,255,0.85); }
.report-download .btn { margin-top: 1rem; }

/* ---------- 26. Misc Utilities ---------- */
.divider-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin: 0 0.5rem; vertical-align: middle; }
.bg-pattern {
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(15,104,112,0.06) 1px, transparent 0);
  background-size: 24px 24px;
}
.lead-text { font-size: 1.1rem; color: var(--gray); }
.placeholder-box {
  background: var(--teal-50); border: 2px dashed var(--teal-300); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; color: var(--primary-teal); font-size: 0.9rem;
}
.content-warning {
  background: #fff8e1; border-left: 4px solid var(--gold); padding: 0.9rem 1.2rem; border-radius: 8px;
  font-size: 0.85rem; color: var(--gray); margin: 1.5rem 0;
}

/* Stats row */
.stats-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.stats-row .stat-item .stat-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--primary-teal); }
.stats-row .stat-item .stat-label { font-size: 0.85rem; color: var(--gray); }

/* ---------- 27. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; }
  .hero-scroll { animation: none; }
}

/* ---------- 28. Responsive Tweaks ---------- */
@media (max-width: 991px) {
  .navbar-custom .nav-link { padding: 0.7rem 1rem !important; }
  .navbar-custom .donate-nav { margin-top: 0.5rem; }
  .navbar-custom .navbar-collapse {
    background: #fff; border-radius: var(--radius); padding: 1rem; margin-top: 0.5rem;
    box-shadow: var(--shadow-md);
  }
}
@media (max-width: 767px) {
  .section { padding: 3.2rem 0; }
  .hero { min-height: 80vh; }
  .hero p { font-size: 1.05rem; }
  .feature-row .feature-img img { height: 240px; }
  .featured-story .fs-body h2 { font-size: 1.4rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 1.9rem; }
  .amount-card .amount { font-size: 1.6rem; }
}

/* ---------- 29. Founder Story Section ---------- */
.founder-story-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}
.founder-portrait {
  position: relative;
}
.founder-portrait .portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}
.founder-portrait .portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.founder-portrait .portrait-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  max-width: 200px;
}
.founder-portrait .portrait-badge small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(29,42,45,0.7);
  margin-top: 0.2rem;
}
.founder-text h2 { margin-bottom: 1.2rem; }
.founder-text .founder-attribution {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--gray-200);
}
.founder-text .founder-attribution .fa-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-teal);
}
.founder-text .founder-attribution .fa-role {
  font-size: 0.85rem;
  color: var(--gold-600);
  font-weight: 600;
}
@media (max-width: 767px) {
  .founder-story-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-portrait .portrait-badge { bottom: -10px; right: 10px; padding: 0.7rem 1rem; }
}

/* ---------- 30. Quote Section ---------- */
.quote-section {
  background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 12rem;
  color: rgba(233,165,26,0.1);
  line-height: 1;
  pointer-events: none;
}
.quote-section .quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  line-height: 1.4;
  color: #fff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.quote-section .quote-author {
  text-align: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.quote-section .quote-author .qa-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold);
}
.quote-section .quote-author .qa-role {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.2rem;
}

/* ---------- 31. Focus Area Cards ---------- */
.focus-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.focus-card .focus-img { height: 200px; overflow: hidden; position: relative; }
.focus-card .focus-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.focus-card:hover .focus-img img { transform: scale(1.06); }
.focus-card .focus-body { padding: 1.7rem; flex: 1; display: flex; flex-direction: column; }
.focus-card .focus-body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.focus-card .focus-body p { font-size: 0.93rem; }
.focus-card .focus-body .focus-list {
  list-style: none; padding: 0; margin: 0.8rem 0;
}
.focus-card .focus-body .focus-list li {
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
  font-size: 0.87rem;
  color: var(--gray);
}
.focus-card .focus-body .focus-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--green);
  font-size: 0.9rem;
}
.focus-card .focus-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  z-index: 1;
}

/* ---------- 32. Video Cards ---------- */
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
  border: 1px solid var(--gray-200);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.video-card .video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark);
}
.video-card .video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, opacity var(--transition);
}
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: 0.85; }
.video-card .video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(233,165,26,0.95);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition);
  z-index: 2;
}
.video-card:hover .video-play {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-card .video-body { padding: 1.3rem; }
.video-card .video-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.4rem;
}
.video-card .video-title { font-size: 1.1rem; margin-bottom: 0.4rem; }
.video-card .video-desc { font-size: 0.87rem; margin-bottom: 0.5rem; }
.video-card .video-duration {
  font-size: 0.78rem;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Featured video (large) */
.video-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
}
.video-featured img { width: 100%; height: 100%; object-fit: cover; }
.video-featured .vf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,76,82,0.85) 0%, rgba(8,76,82,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
}
.video-featured .vf-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(233,165,26,0.95);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition);
  cursor: pointer;
  z-index: 2;
}
.video-featured .vf-play:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-featured .vf-overlay h2 { color: #fff; }
.video-featured .vf-overlay p { color: rgba(255,255,255,0.85); }

/* Video placeholder */
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--gray);
}
.video-placeholder i { font-size: 3rem; color: var(--gray-300); margin-bottom: 1rem; }
.video-placeholder h4 { color: var(--gray); margin-bottom: 0.3rem; }
.video-placeholder p { font-size: 0.87rem; }

/* ---------- 33. Timeline (Founder Story) ---------- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.95rem; }

/* ---------- 34. Reality Section ---------- */
.reality-section {
  background: var(--dark);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.reality-section h2 { color: #fff; }
.reality-section p { color: rgba(255,255,255,0.8); }
.reality-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.reality-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: background var(--transition);
}
.reality-item:hover { background: rgba(255,255,255,0.1); }
.reality-item i { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.reality-item span { color: rgba(255,255,255,0.85); font-size: 0.92rem; }

/* ---------- 35. Donation Impact Cards ---------- */
.impact-donation-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: transform var(--transition);
}
.impact-donation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.impact-donation-card .idc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.impact-donation-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.impact-donation-card p { font-size: 0.9rem; }

/* ---------- 36. Donation Frequency Toggle ---------- */
.freq-toggle {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 1.5rem;
}
.freq-toggle button {
  border: none;
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  transition: all var(--transition);
}
.freq-toggle button.active {
  background: var(--primary-teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ---------- 37. Partner Logos Placeholder ---------- */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.partner-logo-placeholder {
  aspect-ratio: 3 / 2;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* ---------- 38. Story Editorial Placeholder ---------- */
.editorial-placeholder {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.editorial-placeholder .ep-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}
.editorial-placeholder p { margin: 0; font-style: italic; }

/* ---------- 39. Stat Placeholder ---------- */
.stat-placeholder {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-placeholder-bracket {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ---------- 40. Report Download ---------- */
.report-card {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.report-card:hover { border-color: var(--primary-teal); box-shadow: var(--shadow-md); }
.report-card .report-icon { font-size: 3rem; color: var(--primary-teal); margin-bottom: 1rem; }
.report-card .report-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-50);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-top: 0.5rem;
}

/* ---------- Gallery Page Tightening ---------- */
.page-hero { padding: 5.5rem 0 2.5rem; }
.page-hero p { font-size: 1rem; }
.gallery-section { padding: 3rem 0 3.5rem; }
.gallery-section .section-intro { margin-bottom: 1.5rem; }
.gallery-section .section-intro h2 { font-size: 1.6rem; }
.gallery-featured-wrap { margin-bottom: 1.5rem !important; }
.gallery-safeguarding { padding: 2.5rem 0; }
.gallery-safeguarding h2 { font-size: 1.5rem; }
.gallery-safeguarding .lead-text { font-size: 1rem; margin-bottom: 0.5rem; }
.gallery-safeguarding p { font-size: 0.9rem; }

@media (max-width: 767px) {
  .page-hero { padding: 5rem 0 2rem; }
  .gallery-section { padding: 2.5rem 0 3rem; }
  .video-featured { aspect-ratio: 16 / 9; }
  .video-featured .vf-overlay { padding: 1rem 1.2rem; }
  .video-featured .vf-overlay h2 { font-size: 1.2rem; }
  .video-featured .vf-overlay p { font-size: 0.85rem; }
  .gallery-safeguarding { padding: 2rem 0; }
}

@media (max-width: 420px) {
  .page-hero { padding: 4.5rem 0 1.5rem; }
  .gallery-section { padding: 2rem 0 2.5rem; }
}
.navbar-logo {
  height: 40px !important;
  width: auto !important;
  max-width: 110px;
  object-fit: contain;
  display: block;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
.report-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 25px 30px;
  text-align: center;
}

.report-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.report-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.report-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.report-status {
  font-size: 13px;
  margin-bottom: 8px;
}

.report-card .btn {
  font-size: 13px;
  padding: 8px 16px;
}
.portrait-frame {
  width: 300px;
  height: 400px;
  margin: 0 auto;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {

  .video-featured-main {
    height: 280px;
  }

  .featured-video-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .featured-video-content h3 {
    font-size: 1.3rem;
  }

  .featured-video-content p {
    display: none;
  }

  .video-story-row {
    grid-template-columns: 1fr;
  }

  .video-story-preview {
    height: 180px;
  }

}
.video-featured {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.video-featured iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Mobile: always show image before text */
@media (max-width: 767.98px) {
  .feature-row,
  .feature-row.reverse-mobile {
    display: flex;
    flex-direction: column;
  }

  .feature-row .feature-img,
  .feature-row.reverse-mobile .feature-img {
    order: 1;
  }

  .feature-row .feature-text,
  .feature-row.reverse-mobile .feature-text {
    order: 2;
  }

  .feature-img {
    width: 100%;
  }

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

/* WhatsApp contact icon */
.whatsapp-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  font-size: 1.25rem;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.08);
}

.whatsapp-icon i {
  line-height: 1;
}
.whatsapp-link {
  color: #25D366 !important;
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-link:hover {
  color: #128C7E !important;
  text-decoration: underline;
}
/* ==========================================
   MEDIA SHOWCASE VIDEO CARDS
   Separate from existing video cards
========================================== */

.media-showcase-section {
  width: 100%;
}

.media-showcase-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}


/* VIDEO AREA */

.media-showcase-video {
  width: 100%;
  height: 360px;
  background: #000;
  overflow: hidden;
}

.media-showcase-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* SHORT DESCRIPTION */

.media-showcase-description {
  padding: 15px 18px 17px;
}

.media-showcase-description p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #084C52;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

  .media-showcase-video {
    height: 320px;
  }

}
/* =========================================
   GALLERY - FINAL RESPONSIVE FIX
   ========================================= */

.gallery-section {
    overflow: hidden;
}

.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-item {
    position: relative;
    display: block !important;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}

.gallery-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


/* TABLET */
@media (max-width: 991px) {

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

}


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

    .gallery-section {
        overflow: visible !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .gallery-item {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        filter: none !important;
    }

    .gallery-item img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

}


/* SMALL PHONES */
@media (max-width: 420px) {

    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .gallery-item {
        aspect-ratio: 4 / 3 !important;
    }

}
/* =========================================
   GALLERY HOVER EFFECT
   ========================================= */

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
}

/* IMAGE ZOOM */
.gallery-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;

    transition:
        transform 0.45s ease,
        filter 0.45s ease !important;

    transform: scale(1);
}

/* DARK OVERLAY */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
    pointer-events: none;
}

/* ZOOM ICON */
.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--teal, #0f766e);

    font-size: 1.2rem;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    z-index: 4;
    pointer-events: none;
}

/* TEXT OVERLAY */
.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 1.2rem;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0)
    );

    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

    z-index: 3;
    pointer-events: none;
}

.gallery-overlay h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1rem;
}

.gallery-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
}


/* =========================================
   HOVER
   ========================================= */

.gallery-item:hover img {
    transform: scale(1.08) !important;
    filter: brightness(0.8);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   KEYBOARD ACCESSIBILITY
   ========================================= */

.gallery-item:focus-visible {
    outline: 3px solid var(--gold, #d4a72c);
    outline-offset: 3px;
}

.gallery-item:focus-visible img {
    transform: scale(1.08) !important;
}

.gallery-item:focus-visible::after {
    opacity: 1;
}

.gallery-item:focus-visible .gallery-zoom,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* =========================================
   MOBILE
   ========================================= */

/*
   Phones do not have real hover.
   Keep the images normal and let tapping
   open your existing lightbox.
*/

@media (max-width: 767px) {

    .gallery-item:hover img {
        transform: none !important;
        filter: none;
    }

    .gallery-item:hover::after {
        opacity: 0;
    }

    .gallery-item:hover .gallery-zoom {
        opacity: 0;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 0;
        transform: translateY(15px);
    }
}
/* =========================================
   HOMEPAGE GALLERY
   CLEAN EDITORIAL GRID
   ========================================= */

.home-photo-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 16px;
    width: 100%;
}


/* ALL PHOTO BOXES */

.home-photo {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #e9e4dc;
    isolation: isolate;
}


/* FEATURED IMAGE
   Takes the entire left side */

.home-photo-main {
    grid-column: 1;
    grid-row: 1 / 3;
}


/* IMAGE 2 */

.home-photo:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}


/* IMAGE 3 */

.home-photo:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}


/* IMAGE 4 */

.home-photo:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}


/* IMAGE 5 */

.home-photo:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}


/* IMAGES */

.home-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* SUBTLE OVERLAY */

.home-photo::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        transparent 55%
    );

    opacity: 0;
    transition: opacity 0.35s ease;

    pointer-events: none;
    z-index: 1;
}


/* LABEL */

.home-photo-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;

    z-index: 2;

    opacity: 0;
    transform: translateY(10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.home-photo-overlay span {
    display: inline-block;

    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* HOVER */

.home-photo:hover img {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.home-photo:hover::after {
    opacity: 1;
}

.home-photo:hover .home-photo-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991px) {

    .home-photo-grid {
        grid-template-columns: 1.3fr 1fr;
        grid-template-rows: 260px 220px 220px;
    }

    .home-photo-main {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .home-photo:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .home-photo:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .home-photo:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }

    .home-photo:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .home-photo-grid {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;

        gap: 10px;
    }


    /* Featured image */

    .home-photo-main {
        grid-column: 1 / -1;
        grid-row: auto;

        aspect-ratio: 16 / 10;
    }


    /* Remaining images */

    .home-photo:nth-child(2),
    .home-photo:nth-child(3),
    .home-photo:nth-child(4),
    .home-photo:nth-child(5) {
        grid-column: auto;
        grid-row: auto;

        aspect-ratio: 1 / 1;
    }


    /* Disable hover enlargement on phones */

    .home-photo:hover img {
        transform: none;
        filter: none;
    }

    .home-photo:hover::after {
        opacity: 0;
    }

    .home-photo:hover .home-photo-overlay {
        opacity: 0;
        transform: translateY(10px);
    }

}


/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media (max-width: 420px) {

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

    .home-photo-main,
    .home-photo:nth-child(2),
    .home-photo:nth-child(3),
    .home-photo:nth-child(4),
    .home-photo:nth-child(5) {
        grid-column: 1;
        aspect-ratio: 4 / 3;
    }
}

/* =========================================
   SIMPLE VIDEO CARD
   ========================================= */

.simple-video-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.simple-video-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}


/* VIDEO */

.simple-video-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    background: #fffefe;
}

.simple-video-frame iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* DESCRIPTION */

.simple-video-description {
    padding: 16px 18px 18px;
}


/* LABEL */

.video-label {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 7px;

    color: var(--primary-teal, #14756f);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.video-label i {
    font-size: 0.85rem;
}


/* TITLE */

.simple-video-description h4 {
    margin: 0 0 6px;

    color: var(--dark-teal, #E9A51A);

    font-family:
        var(--font-heading,
        "Playfair Display",
        serif);

    font-size: 1.2rem;

    line-height: 1.3;
}


/* SMALL DESCRIPTION */

.simple-video-description p {
    margin: 0;

    color: #687370;

    font-size: 0.84rem;

    line-height: 1.6;
}


/* MOBILE */

@media (max-width: 767px) {

    .simple-video-card {
        border-radius: 15px;
    }

    .simple-video-description {
        padding: 15px 16px 17px;
    }

    .simple-video-description h4 {
        font-size: 1.1rem;
    }

    .simple-video-description p {
        font-size: 0.82rem;
    }

}
/* =========================================
   DONATION METHODS
   ========================================= */

.donation-options-section {
    background: #fff;
}

.donation-options-section .section-intro {
    max-width: 760px;
    margin: 0 auto 45px;
}


/* CARD */

.donation-method-card {
    height: 100%;
    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid rgba(20, 117, 111, 0.12);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.donation-method-card:hover {
    transform: translateY(-7px);

    border-color: rgba(20, 117, 111, 0.3);

    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.10);
}


/* ICON */

.donation-icon {
    width: 58px;
    height: 58px;

    margin: 24px 24px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(20, 117, 111, 0.10);

    color: var(--primary-teal, #14756f);

    font-size: 1.5rem;
}

.donation-icon-paypal {
    color: #1266a8;
    background: rgba(18, 102, 168, 0.10);
}

.donation-icon-airtel {
    color: #d71920;
    background: rgba(215, 25, 32, 0.10);
}

.donation-icon-bank {
    color: var(--dark-teal, #123f3b);
    background: rgba(18, 63, 59, 0.10);
}

.donation-icon-worldremit {
    color: #14756f;
    background: rgba(20, 117, 111, 0.10);
}

.donation-icon-gold {
    color: var(--gold, #c49a3a);
    background: rgba(196, 154, 58, 0.12);
}


/* CONTENT */

.donation-card-content {
    padding: 18px 24px 25px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.donation-method-label {
    color: var(--primary-teal, #14756f);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    margin-bottom: 5px;
}

.donation-card-content h3 {
    margin: 0 0 10px;

    font-family: var(
        --font-heading,
        "Playfair Display",
        serif
    );

    color: var(--dark-teal, #123f3b);

    font-size: 1.45rem;
}

.donation-card-content p {
    color: var(--gray, #687370);

    font-size: 0.9rem;

    line-height: 1.65;

    margin-bottom: 20px;
}


/* PAYMENT DETAILS */

.payment-details {
    background: #f7f9f8;

    border-radius: 12px;

    padding: 13px 15px;

    margin-bottom: 15px;
}

.payment-detail-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 7px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    font-size: 0.8rem;
}

.payment-detail-row:last-child {
    border-bottom: 0;
}

.payment-detail-row span {
    color: #7b8582;
}

.payment-detail-row strong {
    color: var(--dark-teal, #123f3b);

    text-align: right;

    word-break: break-word;
}

.payment-note {
    display: block;

    color: #8a9390;

    font-size: 0.72rem;

    line-height: 1.5;

    margin-bottom: 15px;
}


/* BUTTON */

.donation-card-content .btn {
    margin-top: auto;

    border-radius: 10px;

    padding: 11px 16px;

    font-weight: 600;
}


/* COMING SOON */

.donation-coming-soon {
    position: relative;
}

.coming-soon-badge {
    display: inline-flex;

    align-items: center;

    width: fit-content;

    padding: 5px 10px;

    margin-bottom: 7px;

    border-radius: 30px;

    background: rgba(196, 154, 58, 0.13);

    color: #98721f;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.donation-coming-soon .donation-icon {
    color: var(--gold, #c49a3a);

    background: rgba(196, 154, 58, 0.12);
}

.donation-coming-soon .btn:disabled {
    opacity: 0.75;

    cursor: not-allowed;
}


/* TRUST NOTE */

.donation-trust-note {
    max-width: 800px;

    margin: 40px auto 0;

    padding: 18px 22px;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    border-radius: 14px;

    background: #f5f8f7;

    border: 1px solid rgba(20, 117, 111, 0.10);
}

.donation-trust-note > i {
    color: var(--primary-teal, #14756f);

    font-size: 1.4rem;

    flex-shrink: 0;
}

.donation-trust-note strong {
    display: block;

    color: var(--dark-teal, #123f3b);

    margin-bottom: 3px;
}

.donation-trust-note p {
    margin: 0;

    color: #737e7b;

    font-size: 0.8rem;

    line-height: 1.5;
}


/* MOBILE */

@media (max-width: 767px) {

    .donation-options-section .section-intro {
        margin-bottom: 30px;
    }

    .donation-method-card {
        border-radius: 16px;
    }

    .donation-icon {
        width: 52px;
        height: 52px;

        margin: 20px 20px 0;

        font-size: 1.3rem;
    }

    .donation-card-content {
        padding: 16px 20px 21px;
    }

    .donation-card-content h3 {
        font-size: 1.3rem;
    }

    .payment-detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .payment-detail-row strong {
        text-align: left;
    }

    .donation-trust-note {
        padding: 15px;

        margin-top: 30px;
    }

}
/* =========================================
   CHILD-FOCUSED IMPACT COUNTERS
========================================= */

.impact-section {
  position: relative;
  overflow: hidden;
}

/* Card */
.impact-metric-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 245px;
  padding: 30px 24px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20, 40, 70, 0.06);
  box-shadow: 0 12px 35px rgba(20, 40, 70, 0.08);
  text-align: center;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
  isolation: isolate;
}

/* Friendly hover */
.impact-metric-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 45px rgba(20, 40, 70, 0.13);
}

/* Decorative background blob */
.impact-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 42% 58% 65% 35%;
  top: -65px;
  right: -55px;
  z-index: -1;
  opacity: 0.15;
  transform: rotate(25deg);
}

.impact-blue .impact-decoration {
  background: #39a9e8;
}

.impact-yellow .impact-decoration {
  background: #f7c948;
}

.impact-green .impact-decoration {
  background: #5fcf97;
}

.impact-orange .impact-decoration {
  background: #ff9f68;
}

/* Icon */
.metric-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  transform: rotate(-4deg);
}

.impact-blue .metric-icon {
  color: #1687c9;
  background: #e4f5ff;
}

.impact-yellow .metric-icon {
  color: #c99500;
  background: #fff5cc;
}

.impact-green .metric-icon {
  color: #269866;
  background: #e2f8ed;
}

.impact-orange .metric-icon {
  color: #e56d32;
  background: #ffeadf;
}

/* Number */
.stat-placeholder {
  position: relative;
  display: block;
  margin-bottom: 5px;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #17324d;
}

/* Label */
.metric-label {
  max-width: 180px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
  color: #617386;
}

/* Little playful dots */
.metric-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.metric-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.impact-blue .metric-dots span {
  background: #39a9e8;
}

.impact-yellow .metric-dots span {
  background: #f7c948;
}

.impact-green .metric-dots span {
  background: #5fcf97;
}

.impact-orange .metric-dots span {
  background: #ff9f68;
}

/* Verification note */
.impact-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 0.82rem;
  font-style: italic;
  color: #8795a3;
}

.impact-note i {
  font-size: 0.95rem;
  color: #5fcf97;
}

/* Mobile */
@media (max-width: 575.98px) {
  .impact-metric-card {
    min-height: 220px;
    padding: 25px 15px;
    border-radius: 23px;
  }

  .metric-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 15px;
    font-size: 1.3rem;
  }

  .stat-placeholder {
    font-size: 2.35rem;
  }

  .metric-label {
    font-size: 0.85rem;
  }
}
/* =========================
   FUNDRAISING PROJECT CARDS
========================== */

.fundraising-card {
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fundraising-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* Image */

.fundraising-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.fundraising-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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


/* Text */

.fundraising-content {
  padding: 30px 28px;
  text-align: center;
}

.fundraising-content h3 {
  margin-bottom: 18px;
}

.fundraising-content p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.fundraising-content p:last-child {
  margin-bottom: 0;
}


/* Mobile */

@media (max-width: 767px) {

  .fundraising-image {
    height: 220px;
  }

  .fundraising-content {
    padding: 25px 22px;
  }

}
/* =========================================================
   GALLERY LIGHTBOX FIX
   Does not change the gallery design.
   Fixes mobile double-tap zoom and modal backdrop issues.
   ========================================================= */

.lightbox-modal {
  touch-action: manipulation;
}

.lightbox-modal .modal-dialog,
.lightbox-modal .modal-content,
.lightbox-modal .modal-body {
  touch-action: manipulation;
}

.lightbox-modal .lightbox-close,
.lightbox-modal .lightbox-nav {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-modal .lightbox-img {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Make sure a closed lightbox never leaves its backdrop behind */
body:not(.modal-open) .modal-backdrop {
  display: none !important;
}

/* Make sure the page returns to normal after closing */
body:not(.modal-open) {
  overflow: auto !important;
  padding-right: 0 !important;
}
.donation-method-card .coming-soon-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 50px;
  background: #f5f1e8;
  color: #8a6d32;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.simple-video-frame {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.simple-video-frame iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}@media (max-width: 767.98px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    main,
    section,
    .container,
    .row {
        max-width: 100%;
    }

    .row {
        --bs-gutter-x: 1.5rem;
    }

    [data-aos],
    .reveal {
        transform: none !important;
    }
}@media (max-width: 767.98px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .reveal {
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }
}@media (max-width: 767.98px) {
    input,
    textarea,
    select,
    .form-control {
        font-size: 16px !important;
    }
}
@media (max-width: 767.98px) {

    /* Keep the page content centered */
    .container,
    .container-fluid {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Prevent Bootstrap rows from becoming wider than the screen */
    .row {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Cards stay within the available mobile width */
    .card-soft,
    .focus-card,
    .impact-metric-card,
    .impact-donation-card,
    .media-showcase-card,
    .simple-video-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    /* Forms */
    .newsletter-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .newsletter-form input,
    .newsletter-form button,
    .form-control {
        max-width: 100%;
        box-sizing: border-box;
    }
}
/* =========================================
   TIKTOK VIDEO FRAME
   ========================================= */

.tiktok-frame {
  width: 100%;
  min-height: 520px;
  background: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.tiktok-frame .tiktok-embed {
  margin: 0 !important;
  width: 100% !important;
  max-width: 605px !important;
  min-width: 0 !important;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767.98px) {

  .tiktok-frame {
    width: 100%;
    min-height: 520px;
  }

  .tiktok-frame .tiktok-embed {
    width: 100% !important;
    min-width: 0 !important;
  }

}