/* =========================================================
   NATIONAL HOPE FOUNDATION - MAIN STYLESHEET
   Table of contents:
   1. Reset
   2. Variables
   3. Typography
   4. Global / Utility
   5. Header & Navigation
   6. Buttons
   7. Hero
   8. Sections (generic)
   9. Cards
   10. Stats
   11. FAQ
   12. Testimonials
   13. Forms
   14. Donation page
   15. Gallery + Lightbox
   16. Footer
   17. Scroll-to-top / Toast
   18. Responsive
   19. Accessibility / reduced motion
   20. Hero / Content Slider
   21. TEAM SECTION
   ========================================================= */

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ---------- 2. VARIABLES ---------- */
:root {
  --primary-color: #144e8c;      /* deep blue - navigation & important sections */
  --primary-dark: #0d3763;
  --secondary-color: #f59300;    /* saffron/orange accent */
  --accent-color: #7a1f2b;       /* maroon - secondary accent, used sparingly */
  --dark-color: #1c2321;
  --light-color: #f6f7f4;
  --text-color: #29332f;
  --muted-color: #6b7570;
  --border-color: #e1e5e0;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(20, 30, 25, 0.08);
  --shadow-lg: 0 10px 30px rgba(20, 30, 25, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --max-width: 1200px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

/* ---------- 3. TYPOGRAPHY ---------- */
body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark-color);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-color); }
.muted { color: var(--muted-color); }

/* ---------- 4. GLOBAL / UTILITY ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.section { padding: var(--space-5) 0; }
.section-alt { background: var(--light-color); }
.section-title { text-align: center; max-width: 700px; margin: 0 auto var(--space-4); }
.section-title h2 { margin-bottom: var(--space-1); }
.section-title p { color: var(--muted-color); }
.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-color, var(--primary-color));
  margin-bottom: var(--space-1);
}
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary-color);
  color: var(--white); padding: 10px 16px; z-index: 2000; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
.placeholder-note {
  background: #fff7e6; border: 1px dashed var(--secondary-color);
  color: #7a5a13; padding: var(--space-2); border-radius: var(--radius-sm);
  font-size: 0.9rem; margin-bottom: var(--space-3);
}

/* Focus visibility everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* ---------- 5. HEADER & NAVIGATION ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem var(--space-3);
  max-width: var(--max-width); margin: 0 auto;
}
.logo-block { display: flex; flex-direction: column; gap: 0; }

.logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-weight: 700; font-size: 1.05rem; color: var(--primary-dark);
}
.site-header .logo img { width: 90px; height: auto; }
.header-phone {
  font-size: 0.72rem; color: var(--muted-color); margin-left: 2px;
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 1.6rem;
}
.nav-links a {
  font-weight: 500; color: var(--text-color); position: relative;
  padding: 0.4rem 0.1rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary-color); }
.nav-links a.active {
  color: var(--primary-color);
}
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; background: var(--secondary-color); border-radius: 2px;
}
.nav-donate {
  background: var(--secondary-color);
  color: var(--dark-color) !important;
  padding: 0.60rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.nav-donate:hover { background: #ff9b10; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--dark-color); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary-color); color: var(--dark-color); }
.btn-secondary:hover { background: #d9922c; }
.btn-outline {
  background: transparent; border-color: var(--white); color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-block { width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(rgba(15,35,28,0.72), rgba(15,35,28,0.72)),
              url('../img/hero page banera.jpg') center/cover no-repeat;
  padding: var(--space-5) 0;
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.hero .container { max-width: 780px; text-align: center; margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: var(--space-2); }
.hero p { color: #eef3f0; font-size: 1.1rem; margin-bottom: var(--space-3); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.page-header {
  background: linear-gradient(rgba(15,35,28,0.78), rgba(15,35,28,0.78)),
              url('../images/hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: var(--space-4) 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 0.4rem; }
.page-header p { color: #e6ece9; }



/* ---------- 8. SECTIONS (generic content) ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- 9. CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 400px; object-fit: cover; background: var(--light-color); }
.card-body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-tag {
  display: inline-block; align-self: flex-start;
  background: rgba(27,107,82,0.1); color: var(--primary-color);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem; border-radius: 999px; text-transform: uppercase;
}
.card-impact { font-size: 0.9rem; color: var(--muted-color); }
.card-body .btn { margin-top: auto; align-self: flex-start; }

.value-card { text-align: center; padding: var(--space-3); }
.value-card .icon { font-size: 2rem; margin-bottom: 0.6rem; }
.card-body .icon { font-size: 1.7rem; margin-bottom: 0.2rem; }

/* ---------- 10. STATS ---------- */
.stats-section {
  background: var(--primary-color);
  color: var(--white);
  padding: var(--space-4) 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3); text-align: center;
}
.stat-number { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--secondary-color); }
.stat-label { color: #dfeee7; font-size: 0.95rem; margin-top: 0.3rem; }
.stats-section-green { background: #1c5c48; }

/* ---------- 11. FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem; background: var(--white); font-weight: 600; text-align: left;
}
.faq-question:hover { background: var(--light-color); }
.faq-question .icon { transition: transform 0.2s ease; font-size: 1.2rem; color: var(--primary-color); }
.faq-question[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  padding: 0 1.2rem; color: var(--muted-color);
}
.faq-answer[data-open="true"] { padding: 0 1.2rem 1.1rem; }

/* ---------- 12. TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow);
}
.testimonial-quote { font-style: italic; margin-bottom: 0.8rem; }
.testimonial-author { font-weight: 700; color: var(--primary-dark); font-size: 0.9rem; }
.testimonial-role { font-size: 0.85rem; color: var(--muted-color); }

/* ---------- 13. FORMS ---------- */
.form-section { padding: var(--space-5) 0; }
.form-card {
  max-width: 640px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow);
}
.form-card h2 { color: #fdfcfa; 
                display:flex;
                justify-content: center;
                align-items: center;
                border: 1px solid #000;
                padding: 15px;
  background-color:#6b7570;
}
.form-card h3{  color: #fdfdfd;
                display:flex;
                justify-content: center;
                align-items: center;
                border: 1px solid #000;
                padding: 15px;
  background-color:#6b7570;

}

/* ---------- 14. DONATION PAGE ---------- */
.trust-section {
  background: var(--light-color);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-top: var(--space-4);
}
.trust-section h3 { margin-bottom: 0.6rem; }
.trust-section ul { margin-top: 0.6rem; padding-left: 1.2rem; list-style: disc; }
.trust-section li { margin-bottom: 0.4rem; color: var(--muted-color); }

/* ---------- 15. GALLERY + LIGHTBOX ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: var(--space-3);
}
.filter-btn {
  display: inline-block;
  padding: 0.5rem 1rem; border: 1px solid var(--border-color);
  border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--text-color);
}
.filter-btn:hover { border-color: var(--primary-color); }
.filter-btn[aria-pressed="true"] { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-2);
}
.gallery-item {
  border: none; padding: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; position: relative; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-video .play-icon {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(13, 55, 99, 0.82); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; padding-left: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.gallery-item-video:hover .play-icon { background: var(--secondary-color); transform: scale(1.08); }
.gallery-item-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
}

.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(10, 16, 13, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 3000; padding: var(--space-3);
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-figure { max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-figure img { max-height: 75vh; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox-video {
  max-width: 90vw; max-height: 75vh; width: 100%; margin: 0 auto;
  border-radius: var(--radius-sm); background: #000; display: block;
}
.lightbox-video[hidden] { display: none; }
.lightbox-caption { color: #e9efec; margin-top: 0.7rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white); background: rgba(255,255,255,0.12);
  border-radius: 50%; width: 44px; height: 44px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- 16. FOOTER ---------- */
.site-footer {
  background: var(--dark-color);
  color: #cdd6d1;
  padding: var(--space-4) 0 var(--space-2);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3); margin-bottom: var(--space-3);
}
.footer-grid h4 { color: var(--white); margin-bottom: 0.7rem; font-size: 1rem; }
.footer-grid a { color: #cdd6d1; }
.footer-grid p { color: #cdd6d1; }
.footer-grid a:hover { color: var(--secondary-color); }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 0.7rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--primary-color); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-2);
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between;
  font-size: 0.85rem; color: #9aa59f;
}
.footer-bottom a { color: #9aa59f; }
.footer-bottom p { color: #e4e4e4; }
.footer-bottom a:hover { color: var(--secondary-color); }

/* ---------- 17. SCROLL-TO-TOP / TOAST ---------- */
.scroll-top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary-color); color: var(--white);
  font-size: 1.2rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--primary-dark); }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem 0;
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 500px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 0.9rem var(--space-3);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links a.active::after { display: none; }
  .nav-donate { display: inline-block; margin: 0.6rem var(--space-3); text-align: center; }
}

@media (max-width: 600px) {
  .hero { min-height: 50vh; padding: var(--space-4) 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* ---------- 19. ACCESSIBILITY / REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 20. HERO / CONTENT SLIDER ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Updated widescreen aspect ratio */
  background: var(--dark-color);
}
.hero-slider-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, rgba(10, 20, 15, 0.78));
  color: var(--white);
}
.hero-slide-caption h3 { color: var(--white); margin-bottom: 0.3rem; }
.hero-slide-caption p { color: #eef3f0; font-size: 0.95rem; max-width: 640px; }

.hero-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10, 20, 15, 0.5); color: var(--white);
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background 0.2s ease;
}
.hero-slider-btn:hover { background: rgba(10, 20, 15, 0.78); }
.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

@media (max-width: 600px) {
  .hero-slider { aspect-ratio: 16 / 9; margin: 0; } /* keep same crop as larger screens so banner text/logo isn't cut off */
  .hero-slider-btn { width: 38px; height: 38px; font-size: 1.1rem; }
  .hero-slide-caption h3 { font-size: 1.05rem; }
  .hero-slide-caption p { font-size: 0.85rem; }
}

/* ---------- 22. RESPONSIVE FIXES (all-device pass) ---------- */
/* Make embedded content (e.g. the contact page map) scale instead of
   forcing a fixed pixel width that overflows on phones/tablets. */
iframe { max-width: 100%; width: 100%; height: 100%; }

/* Let the header logo block shrink/wrap instead of pushing the
   menu button off-screen on narrow phones. */
.logo-block { min-width: 0; flex: 1 1 auto; }
.logo { flex-wrap: wrap; row-gap: 0.15rem; min-width: 0; }
.logo span, .logo { overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .site-header .logo img { width: 56px; }
  .logo { font-size: 0.92rem; gap: 0.5rem; }
  .header-phone { white-space: normal; font-size: 0.68rem; }
  .nav-container { flex-wrap: wrap; row-gap: 0.4rem; }
}

/* Honeypot anti-spam field: invisible to real users, still present
   in the DOM/tab order avoidance-friendly way for bots that fill
   every field. Not display:none so basic bots can't detect-and-skip
   it via that shortcut. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- 21. TEAM SECTION ---------- */

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.team-group:last-child {
  margin-bottom: 0;
}

.team-group-title {
  font-size: 1.5rem;
  font-weight:700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.team-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--primary-color);
  min-width: 160px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.team-chip:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-dark);
}
.team-name {
  font-weight: 600;
  color: var(--white);
}
.team-role {
  font-size: 0.85rem;
  color: var(--white);
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
  .team-chip {
    min-width: 100%;
  }
}
/* =========================================================
   22. GGLS REDESIGN ADDITIONS (Aug 2026 brief)
   Nav dropdowns, mobile sticky bar, WhatsApp button,
   impact/meal/how-it-works/journey/CSR/transparency sections
   ========================================================= */

/* -- Dropdown nav -- */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 220px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 0.4rem 0; z-index: 1200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { width: 100%; }
.dropdown a {
  display: block; padding: 0.6rem 1rem; font-size: 0.92rem;
  font-weight: 500; color: var(--text-color); white-space: nowrap;
}
.dropdown a:hover { background: var(--light-color); color: var(--primary-color); }

@media (max-width: 900px) {
  .dropdown {
    display: block; position: static; box-shadow: none;
    padding-left: var(--space-2); background: var(--light-color);
  }
  .has-dropdown:hover .dropdown { display: block; }
}

/* -- WhatsApp floating button -- */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 950;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.whatsapp-float:hover { background: #1ebe5b; }
.footer-whatsapp {
  width: auto !important; border-radius: 999px !important; padding: 0 0.9rem;
  background: #25D366 !important; color: var(--white) !important;
  font-size: 0.85rem; font-weight: 700;
}
.footer-whatsapp:hover { background: #1ebe5b !important; }

/* -- Mobile sticky Donate/Volunteer bar -- */
.mobile-sticky-bar { display: none; }
@media (max-width: 640px) {
  .mobile-sticky-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 940;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  }
  .mobile-sticky-bar a {
    flex: 1; text-align: center; padding: 0.85rem 0.5rem;
    font-weight: 700; font-size: 0.95rem;
  }
  .msb-donate { background: var(--secondary-color); color: var(--dark-color); }
  .msb-volunteer { background: var(--primary-color); color: var(--white); }
  /* keep floating buttons clear of the sticky bar on mobile */
  .whatsapp-float { bottom: 76px; }
  .scroll-top-btn { bottom: 76px; }
  body { padding-bottom: 52px; }
}

/* -- Impact stats (redesigned, deep-blue band) -- */
.impact-section { background: var(--primary-color); color: var(--white); padding: var(--space-4) 0; }
.impact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3); text-align: center;
}
.impact-grid .stat-number { color: var(--secondary-color); }
.impact-grid .stat-label { color: #e7eefc; font-size: 0.92rem; margin-top: 0.3rem; }

/* -- ₹35 = One Meal tiers -- */
.meal-tiers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--space-2); margin: var(--space-3) 0 var(--space-4);
}
.meal-tier {
  background: var(--white); border: 2px solid var(--border-color);
  border-radius: var(--radius); padding: var(--space-3) var(--space-2);
  text-align: center; transition: border-color 0.2s ease, transform 0.2s ease;
}
.meal-tier:hover { border-color: var(--secondary-color); transform: translateY(-3px); }
.meal-tier .amount { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); }
.meal-tier .meals { color: var(--muted-color); font-size: 0.88rem; margin-top: 0.2rem; }

/* -- 6-card "Our Sewa" grid, explicit 3-per-row -- */
.card-grid-3col {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3);
}
@media (max-width: 900px) { .card-grid-3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid-3col { grid-template-columns: 1fr; } }

/* -- How the Sewa Works (5-step flow) -- */
.steps-flow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2);
  text-align: center; counter-reset: step;
}
.steps-flow .step { position: relative; padding: var(--space-2); }
.steps-flow .step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--secondary-color);
  color: var(--dark-color); font-weight: 800; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 0.6rem;
}
.steps-flow .step-arrow {
  display: none;
}
@media (min-width: 821px) {
  .steps-flow .step:not(:last-child)::after {
    content: "→"; position: absolute; right: -0.6rem; top: 14px;
    color: var(--border-color); font-size: 1.4rem;
  }
}
@media (max-width: 820px) {
  .steps-flow { grid-template-columns: 1fr; }
}

/* -- Our Journey timeline -- */
.journey-timeline {
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center;
}
.journey-year {
  flex: 1 1 160px; max-width: 200px; text-align: center;
  border-top: 4px solid var(--secondary-color); padding-top: 0.8rem;
}
.journey-year .year { font-size: 1.3rem; font-weight: 800; color: var(--primary-color); }
.journey-year p { font-size: 0.9rem; color: var(--muted-color); margin-top: 0.3rem; }

/* -- CSR / Transparency teaser badges -- */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: var(--space-3) 0;
}
.badge-pill {
  background: var(--light-color); border: 1px solid var(--border-color);
  border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 700; font-size: 0.85rem;
  color: var(--primary-dark);
}
.button-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }

/* -- Today's Sewa strip -- */
.today-sewa-banner {
  background: var(--light-color); border: 1px dashed var(--secondary-color);
  border-radius: var(--radius); padding: var(--space-2) var(--space-3);
  text-align: center; font-weight: 600; margin-bottom: var(--space-3);
}

/* ---------- 22. SPIRIT QUOTE BANNER ---------- */
.spirit-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-5) 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 55%, #0a2c4d 100%);
  isolation: isolate;
}
.spirit-glow {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245, 147, 0, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 100%, rgba(245, 147, 0, 0.08), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.spirit-section .container { position: relative; z-index: 1; max-width: 760px; }
.spirit-mark {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 0.5;
  color: var(--secondary-color);
  opacity: 0.55;
  margin-bottom: 0.4rem;
}
.spirit-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.45;
  color: var(--white);
  letter-spacing: 0.01em;
}
.spirit-divider {
  width: 90px;
  height: 2px;
  margin: var(--space-3) auto;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  position: relative;
}
.spirit-divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--secondary-color);
}
.spirit-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
}
@media (max-width: 600px) {
  .spirit-section { padding: var(--space-4) 0; }
}
