:root {
  --teal: #185FA5;
  --teal-light: #378ADD;
  --teal-pale: #E6F1FB;
  --teal-dark: #0C447C;
  --green: #0F6E56;
  --green-light: #1D9E75;
  --green-pale: #E1F5EE;
  --amber: #BA7517;
  --amber-light: #EF9F27;
  --amber-pale: #FAEEDA;
  --navy: #042C53;
  --navy-dark: #021D38;
  --blue-acc: #378ADD;
  --coral: #D85A30;
  --cream: #F5F9FD;
  --light-bg: #EBF3FC;
  --white: #ffffff;
  --dark: #1a2332;
  --body: #4a5568;
  --muted: #718096;
  --card-shadow: 0 4px 24px rgba(24, 95, 165, .09);
  --card-hover: 0 14px 42px rgba(24, 95, 165, .18);
  --radius: 14px;
  --radius-sm: 8px;
  --tr: .3s ease;
  --section-pad: 5rem 0;
}

/* ── 2. RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--tr);
}

a:hover {
  color: var(--teal-dark);
}

address {
  font-style: normal;
}

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

/* ── 2a. LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: block;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}

.section-title {
  text-align: center;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.intro-text {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── 2b. SCROLL-REVEAL ────────────────────────────────────────── */
.reveal-section,
.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal-section.visible,
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card:nth-child(2) {
  transition-delay: .1s;
}

.reveal-card:nth-child(3) {
  transition-delay: .2s;
}

.reveal-card:nth-child(4) {
  transition-delay: .3s;
}

/* Gallery fade-in (dynamically created items) */
@keyframes gFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gallery-item-fadein {
  animation: gFadeIn .5s ease both;
}

/* ── 3. EMERGENCY BANNER ──────────────────────────────────────── */
.emergency-banner {
  background: linear-gradient(90deg, #005f73, #0a9396, #005f73);
  background-size: 200% auto;
  will-change: background-position;
  animation: gradShift 5s linear infinite;
  color: var(--white);
  padding: .65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1001;
  min-height: 44px;
}

@keyframes gradShift {

  0%,
  100% {
    background-position: 0%;
  }

  50% {
    background-position: 100%;
  }
}

.emergency-banner-inner {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .88rem;
}

.eb-icon {
  font-size: 1.1rem;
  animation: shake 2s infinite;
}

@keyframes shake {

  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

.eb-cta {
  background: var(--white);
  color: var(--teal);
  font-weight: 800;
  font-size: .82rem;
  padding: .35rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: all var(--tr);
}

.eb-cta:hover {
  background: var(--amber-pale);
  color: var(--teal-dark);
}

.eb-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .75);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: .2rem .5rem;
  border-radius: 50%;
  transition: background var(--tr);
}

.eb-close:hover {
  background: rgba(255, 255, 255, .2);
  color: var(--white);
}

/* ── 4. HEADER & NAV ──────────────────────────────────────────── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 5%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--tr);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo:hover {
  color: var(--teal);
}

.navbar {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.navbar a {
  padding: .5rem .85rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  border-radius: 6px;
  transition: all var(--tr);
}

.navbar a:not(.nav-donate-btn):hover,
.navbar a.active {
  background: var(--teal-pale);
  color: var(--teal);
}

.nav-donate-btn {
  background: var(--teal) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: .55rem 1.4rem !important;
  transition: all var(--tr) !important;
}

.nav-donate-btn:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 147, 150, .35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--navy);
  padding: .3rem;
  transition: color var(--tr);
}

.mobile-menu-btn:hover {
  color: var(--teal);
}

/* Floating donate side tab */
.float-donate-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-90deg) translateX(38%);
  transform-origin: right center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white) !important;
  font-weight: 700;
  font-size: .82rem;
  padding: .6rem 1.4rem;
  border-radius: 8px 8px 0 0;
  z-index: 998;
  letter-spacing: .5px;
  box-shadow: -4px 0 18px rgba(10, 147, 150, .4);
  transition: all var(--tr);
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: 1;
  pointer-events: auto;
}

.float-donate-btn:hover {
  transform: translateY(-50%) rotate(-90deg) translateX(44%);
  box-shadow: -6px 0 28px rgba(10, 147, 150, .6);
}

.float-donate-btn i {
  transform: rotate(90deg);
}

/* ── 5. HERO ──────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 2rem 7rem;
  min-height: 95vh;
  position: relative;
  overflow: hidden;
}

/* ── 5a. HERO SLIDESHOW ───────────────────────────────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
  will-change: transform;
}

.hero-slide.exiting {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0) translateY(0);
  }

  100% {
    transform: scale(1.12) translateX(-1%) translateY(-1%);
  }
}

.hero-slideshow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 30, 40, 0.72) 0%,
      rgba(10, 30, 40, 0.48) 50%,
      rgba(10, 147, 150, 0.18) 100%);
  z-index: 1;
}

/* Slide nav arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, transform .25s;
  outline: none;
}

.slide-arrow:hover {
  background: rgba(10, 147, 150, 0.7);
  border-color: #0a9396;
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow.prev {
  left: 18px;
}

.slide-arrow.next {
  right: 18px;
}

/* Slide dots */
.slide-dots {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.slide-dot.active {
  background: #0a9396;
  border-color: #0a9396;
  transform: scale(1.35);
}

/* Slide caption tag */
.slide-caption-tag {
  position: absolute;
  bottom: 155px;
  right: 28px;
  z-index: 10;
  background: rgba(10, 147, 150, 0.82);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: .04em;
  transition: opacity .5s;
  max-width: 240px;
  text-align: right;
}

/* Slide progress bar */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #0a9396, #38b2b5);
  z-index: 10;
  width: 0%;
  transition: width linear;
}

/* ── 5b. HERO WAVE OVERLAY                                        ──
   FIX: was declared twice — once with position:absolute (hero section)
   and again with position:relative (slideshow section). Merged into
   the single correct rule: absolute-positioned, sits above slideshow. */
.hero-wave-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px;
  pointer-events: none;
  z-index: 2;
  /* above slideshow overlay (z-index:1) */
}

.hero-wave-overlay svg {
  width: 100%;
  height: 100%;
}

/* ── 5c. HERO CONTENT                                             ──
   FIX: was declared twice — once with z-index:1 (hero section) and
   again with z-index:2 (slideshow section). Merged: keep all original
   properties and use z-index:2 so text sits above the slide overlay. */
.hero-content {
  max-width: 1000px;
  animation: fadeUp .9s ease both;
  position: relative;
  z-index: 2;
  /* above .hero-slideshow-overlay (z-index:1) */
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  letter-spacing: 1px;
}

.eyebrow-badge {
  background: rgba(10, 147, 150, .35);
  border: 1px solid rgba(10, 147, 150, .7);
  color: #b2f2ee;
  padding: .28rem .9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .78rem;
}

.eyebrow-divider {
  color: rgba(255, 255, 255, .3);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.highlight {
  color: #a8e6cf;
  font-style: italic;
}

.highlight-sub {
  color: var(--amber-light);
  font-size: .75em;
  font-style: normal;
  font-weight: 400;
  display: block;
  letter-spacing: 1px;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: .9;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero-desc {
  font-size: 1rem;
  opacity: .82;
  max-width: 800px;
  margin: 0 auto;
}

.hero-desc a {
  color: var(--amber-light);
  text-decoration: underline;
}

/* CTA Buttons */
.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: all var(--tr);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 6px 22px rgba(10, 147, 150, .4);
}

.cta-button.primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(10, 147, 150, .55);
  color: var(--white);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border-color: rgba(255, 255, 255, .7);
  backdrop-filter: blur(4px);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-3px);
}

.cta-button.outline {
  background: transparent;
  color: var(--amber-light);
  border-color: var(--amber-light);
}

.cta-button.outline:hover {
  background: var(--amber-light);
  color: var(--navy);
  transform: translateY(-3px);
}

.pulse-btn {
  animation: pulseTeal 2.5s infinite;
  will-change: box-shadow;
}

@keyframes pulseTeal {

  0%,
  100% {
    box-shadow: 0 6px 22px rgba(10, 147, 150, .4);
  }

  50% {
    box-shadow: 0 6px 36px rgba(10, 147, 150, .7);
  }
}

/* Hero mini stats */
.hero-mini-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: 1.2rem 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hms-item {
  text-align: center;
  padding: .5rem 2rem;
  flex: 1;
  min-width: 110px;
}

.hms-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--amber-light);
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}

.hms-item>span:nth-child(2) {
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .8);
  vertical-align: super;
}

.hms-label {
  display: block;
  font-size: .74rem;
  color: rgba(255, 255, 255, .72);
  margin-top: .2rem;
  font-weight: 500;
}

.hms-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
}

.impact-ticker {
  margin-top: 1rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  min-height: 1.2em;
  text-align: center;
}

.impact-ticker span {
  animation: tickFade .5s ease;
}

@keyframes tickFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── 6. TRUST BAR ─────────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(135deg, var(--navy-dark), #1a3a4a);
  padding: 1rem 2rem;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.5rem;
  color: rgba(255, 255, 255, .88);
  font-size: .85rem;
  font-weight: 500;
}

.trust-badge i {
  color: var(--amber-light);
  font-size: 1rem;
}

.trust-badge strong {
  color: var(--white);
}

.trust-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, .15);
  flex-shrink: 0;
}

/* ── 7. OUR WORK / PROGRAMS ───────────────────────────────────── */
.section-work {
  padding: var(--section-pad);
  background: var(--cream);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border-top: 5px solid var(--card-accent, var(--teal));
  transition: transform var(--tr), box-shadow var(--tr);
}

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

.program-card-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.program-card-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
}

.program-overlay-tag {
  background: rgba(10, 147, 150, .88);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
}

.program-card-body {
  padding: 1.5rem;
}

.program-card-body h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin: .7rem 0 .5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.program-card-body p {
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: .95rem;
}

.program-tag {
  display: inline-block;
  color: var(--white);
  padding: .28rem .9rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.program-list {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0;
}

.program-list li {
  padding: .38rem 0 .38rem 1.6rem;
  position: relative;
  color: var(--dark);
  font-size: .92rem;
  border-bottom: 1px solid #f5f5f5;
}

.program-list li:last-child {
  border-bottom: none;
}

.program-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--check-color, var(--teal));
  font-weight: 700;
}

/* Impact stats block */
.impact-stats {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a3a4a 100%);
  padding: 4rem 2.5rem;
  border-radius: var(--radius);
  margin: 3.5rem 0 0;
  text-align: center;
}

.impact-stats h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  font-family: 'Playfair Display', serif;
}

.impact-stats .section-label {
  color: var(--amber-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  transition: transform var(--tr), background var(--tr);
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  color: var(--white);
}

.stat-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: .2rem;
  font-family: 'Poppins', sans-serif;
}

.stat-plus {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  margin-top: .4rem;
}

/* ── 8. PARTNERS / CSR ────────────────────────────────────────── */
.section-partners {
  padding: var(--section-pad);
  background: var(--white);
}

.marquee-wrapper {
  overflow: hidden;
  background: var(--teal-pale);
  border-top: 1px solid rgba(10, 147, 150, .2);
  border-bottom: 1px solid rgba(10, 147, 150, .2);
  padding: 1.2rem 0;
  margin: 2.5rem 0 3rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 2.5rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  white-space: nowrap;
  border-right: 1px solid rgba(10, 147, 150, .2);
}

.marquee-item i {
  color: var(--teal);
  font-size: 1rem;
}

.csr-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.csr-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border-bottom: 4px solid var(--teal);
  transition: transform var(--tr), box-shadow var(--tr);
  text-align: center;
}

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

.csr-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.csr-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

.csr-card p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.csr-link {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--tr);
  padding-bottom: 2px;
}

.csr-link:hover {
  border-color: var(--teal);
}

/* ── 9. GALLERY ───────────────────────────────────────────────── */
.section-gallery {
  padding: var(--section-pad);
  background: var(--light-bg);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: .5rem 1.3rem;
  border: 2px solid var(--teal);
  background: var(--white);
  color: var(--teal);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: .85rem;
  transition: all var(--tr);
  font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 147, 150, .3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  background: #dde;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--tr), box-shadow var(--tr);
}

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

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--tr);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 2.2rem;
  background: rgba(10, 147, 150, .65);
  opacity: 0;
  transition: opacity var(--tr);
}

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

.gallery-item-content {
  padding: .7rem 1rem;
  background: var(--white);
}

.gallery-item-content p {
  margin: 0;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
  line-height: 1.4;
}

.loading-msg {
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 3rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .94);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 92%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
  animation: zoomIn .35s ease both;
}

@keyframes zoomIn {
  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--tr), transform var(--tr);
}

.lightbox-close:hover {
  color: var(--teal-light);
  transform: scale(1.15);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ccc;
  text-align: center;
  font-size: 1rem;
  max-width: 80%;
}

/* ── 10. TESTIMONIALS ─────────────────────────────────────────── */
.section-testimonials {
  padding: var(--section-pad);
  background: linear-gradient(155deg, var(--navy-dark) 0%, #0f2027 60%, #1a3a2a 100%);
  position: relative;
  overflow: hidden;
}

.section-testimonials::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 3%;
  font-size: 20rem;
  color: rgba(10, 147, 150, .06);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 2.2rem;
  margin: 0;
  position: relative;
  transition: transform var(--tr), background var(--tr);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .1);
}

.testimonial-quote {
  font-size: 5rem;
  color: var(--teal-light);
  opacity: .4;
  line-height: .8;
  font-family: 'Playfair Display', serif;
  margin-bottom: .5rem;
}

.testimonial-card p {
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author cite {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-style: normal;
  font-size: .95rem;
}

.testimonial-author span {
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
}

.testimonial-stars {
  color: var(--amber-light);
  font-size: 1.1rem;
  margin-top: 1rem;
  letter-spacing: 2px;
}

/* ── 11. NEWS ─────────────────────────────────────────────────── */
.section-news {
  padding: var(--section-pad);
  background: var(--cream);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--tr), box-shadow var(--tr);
}

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

.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .8rem;
  border-radius: 50px;
  letter-spacing: .5px;
}

.news-card-body {
  padding: 1.5rem;
}

.news-date {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-card-body h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .7rem;
  line-height: 1.4;
}

.news-card-body p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.news-link {
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--tr);
  padding-bottom: 2px;
}

.news-link:hover {
  border-color: var(--teal);
}

/* ── 12. ABOUT & CONTACT ──────────────────────────────────────── */
.section-about {
  padding: var(--section-pad);
  background: var(--light-bg);
}

.about-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.about-content h3,
.contact-details h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: .8rem;
  font-weight: 700;
}

.about-content hr {
  border: none;
  border-top: 1px solid #ece8e2;
  margin: 1.8rem 0;
}

.why-list {
  list-style: none;
  padding: 0;
  margin-top: .8rem;
}

.why-list li {
  padding: .4rem 0;
  color: var(--dark);
  line-height: 1.6;
  font-size: .95rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--body);
  font-size: .95rem;
}

.contact-list i {
  font-size: 1.1rem;
  color: var(--teal);
  margin-top: 3px;
  width: 20px;
  flex-shrink: 0;
}

.contact-form-wrap {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ece8e2;
}

.contact-form-wrap h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: .35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .93rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 147, 150, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 95px;
}

/* ── 13. DONATE ───────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, #0f2027 100%);
  color: var(--white);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.donate-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
}

.donate-wave-top svg {
  width: 100%;
  height: 100%;
}

.quick-donate {
  text-align: center;
  margin-bottom: 2.5rem;
}

.qd-label {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.qd-amounts {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.qd-btn {
  background: rgba(255, 255, 255, .08);
  border: 2px solid rgba(255, 255, 255, .2);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: .7rem 1.2rem;
  cursor: pointer;
  transition: all var(--tr);
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  line-height: 1.3;
  font-weight: 700;
  font-size: 1rem;
}

.qd-btn span {
  display: block;
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
  font-weight: 400;
}

.qd-btn:hover,
.qd-popular,
.qd-btn.qd-selected {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 147, 150, .45);
}

.donation-progress-wrap {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.dpm-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: .6rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .75);
  flex-wrap: wrap;
  gap: .5rem;
}

.dpm-labels strong {
  color: var(--amber-light);
  font-size: 1rem;
}

.dpm-bar-track {
  height: 14px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50px;
  overflow: hidden;
}

.dpm-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--amber-light));
  border-radius: 50px;
  transition: width 1.8s cubic-bezier(.22, 1, .36, 1);
}

.dpm-donors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-top: .8rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  flex-wrap: wrap;
}

.dpm-donors-avatars {
  display: flex;
}

.dpm-donors-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--white);
  margin-left: -8px;
  font-weight: 700;
}

.dpm-donors-avatars span:first-child {
  margin-left: 0;
  background: var(--teal);
}

.dpm-donors-avatars span:nth-child(2) {
  background: var(--green);
}

.dpm-donors-avatars span:nth-child(3) {
  background: var(--blue-acc);
}

.dpm-donors-avatars span:nth-child(4) {
  background: var(--amber);
}

.dpm-caption {
  margin-top: .8rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}

.donation-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.donation-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  color: var(--dark);
}

.donation-card-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.donation-card-header h4 {
  margin: 0;
  font-size: 1.05rem;
}

.donation-card-header i {
  font-size: 1.2rem;
}

.qr-code-section {
  padding: 1.5rem;
  text-align: center;
}

.qr-code-section img {
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
}

.qr-code-section p {
  margin: .5rem 0;
  font-size: .95rem;
}

.upi-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.upi-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.bank-details {
  list-style: none;
  padding: 1.2rem 1.5rem;
  margin: 0;
}

.bank-details li {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .9rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.bank-details li:last-child {
  border-bottom: none;
}

.bank-details span {
  color: var(--muted);
}

.transparency-info {
  background: rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .12);
}

.transparency-info h3 {
  margin-top: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
}

.transparency-info p {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
}

.details-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.details-list li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
}

.details-list li:last-child {
  border-bottom: none;
}

.donation-breakdown {
  margin-top: 1.8rem;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .1);
}

.donation-breakdown h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.breakdown-row {
  margin-bottom: .9rem;
}

.breakdown-row-label {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .35rem;
}

.breakdown-bar {
  height: 8px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50px;
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(.22, 1, .36, 1);
  width: 0%;
}

/* ── 14. VOLUNTEER ────────────────────────────────────────────── */
.section-volunteer {
  padding: var(--section-pad);
  background: linear-gradient(155deg, var(--teal-pale) 0%, var(--green-pale) 100%);
  position: relative;
  overflow: hidden;
}

.volunteer-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(10, 147, 150, .07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(46, 125, 50, .07) 0%, transparent 50%);
  pointer-events: none;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.volunteer-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.volunteer-info .highlight {
  color: var(--teal);
  font-style: italic;
}

.volunteer-info p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.volunteer-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.vp-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.vp-item i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.volunteer-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(10, 147, 150, .1);
  border-top: 5px solid var(--teal);
}

.volunteer-form-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

/* ── 15. FAQ ──────────────────────────────────────────────────── */
.section-faq {
  padding: var(--section-pad);
  background: var(--white);
}

.faq-grid {
  max-width: 820px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid #e2ebe9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--tr);
}

.faq-item[open] {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(10, 147, 150, .1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: .98rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  user-select: none;
}

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

.faq-question i {
  flex-shrink: 0;
  color: var(--teal);
  transition: transform var(--tr);
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-item[open] .faq-question {
  color: var(--teal);
}

.faq-answer {
  padding: 0 1.4rem 1.2rem;
  border-top: 1px solid #f0f0f0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease;
  max-height: 0;
  opacity: 0;
}

.faq-answer p {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.85;
}

.faq-answer a {
  color: var(--teal);
  font-weight: 600;
}

/* ── 16. MISSION ──────────────────────────────────────────────── */
.section-mission {
  padding: var(--section-pad);
  background: var(--cream);
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--body);
}

.mission-content h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
}

.sdg-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.sdg-list li {
  padding: .7rem 0 .7rem 1.5rem;
  border-bottom: 1px solid #ece8e2;
  position: relative;
  font-size: .95rem;
}

.sdg-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
}

.sdg-list li:last-child {
  border-bottom: none;
}

/* ── 17. FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: #bbb;
  padding: 4rem 5% 0;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--teal);
}

.footer-col p {
  color: #c0c0c0;
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: .5rem;
}

.footer-col strong {
  color: #d4d4d4;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: .6rem;
}

.footer-col a {
  color: #c0c0c0;
  transition: color var(--tr);
  font-size: .9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col i {
  color: var(--teal-light);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-size: .9rem;
  transition: background var(--tr), transform var(--tr);
}

.social-links a:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.5rem 0 2rem;
  text-align: center;
  font-size: .85rem;
  color: #999;
}

.footer-bottom a {
  color: var(--teal-light);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  z-index: 999;
  transition: transform var(--tr), box-shadow var(--tr);
  will-change: box-shadow;
  animation: pWA 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, .7);
}

@keyframes pWA {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .75);
  }
}

/* ── 18. NUDGE BAR ────────────────────────────────────────────── */
.nudge-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: linear-gradient(90deg, var(--navy-dark) 0%, #0f2027 50%, #1a3a2a 100%);
  color: var(--white);
  padding: .75rem 1.5rem;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .3);
}

.nudge-bar.nudge-visible {
  transform: translateY(0);
}

.nudge-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nudge-icon {
  font-size: 1.4rem;
  will-change: transform;
  animation: heartbeat 1.4s ease infinite;
  flex-shrink: 0;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.25);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }
}

.nudge-text {
  font-size: .92rem;
  color: rgba(255, 255, 255, .9);
  flex: 1;
  min-width: 180px;
}

.nudge-text strong {
  color: var(--amber-light);
}

.nudge-cta {
  background: var(--teal);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem 1.4rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: background var(--tr), transform var(--tr);
  flex-shrink: 0;
}

.nudge-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.nudge-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 .3rem;
  transition: color var(--tr);
  flex-shrink: 0;
}

.nudge-close:hover {
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════
   19. RESPONSIVE
   FIX: the original had TWO separate @media (max-width:768px) blocks.
   Both are merged here into a single block.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  html {
    scroll-padding-top: 70px;
  }

  .donation-container,
  .about-contact-grid,
  .volunteer-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-grid {
    padding: 2rem;
  }

  .float-donate-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 0;
  }

  /* Emergency banner */
  .emergency-banner-inner {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }

  .eb-close {
    top: .6rem;
    right: .8rem;
    font-size: 1.2rem;
  }

  /* Header / nav */
  .header {
    flex-wrap: wrap;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    text-align: center;
    gap: .2rem;
    padding: .8rem 0;
    order: 3;
    border-top: 1px solid #f0f0f0;
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    border-radius: 0;
    padding: .8rem 1rem;
  }

  .nav-donate-btn {
    margin: .5rem 1rem !important;
    border-radius: 8px !important;
    font-size: .92rem !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Layout */
  .container {
    padding: 0 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-mini-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hms-divider {
    width: 40px;
    height: 1px;
  }

  .hms-item {
    padding: .5rem 1rem;
  }

  /* Slideshow controls */
  .slide-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .slide-dots {
    bottom: 160px;
  }

  .slide-caption-tag {
    display: none;
  }

  /* Trust bar */
  .trust-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .trust-badge {
    flex-shrink: 0;
  }

  /* Grids → single column */
  .programs-grid,
  .stats-grid,
  .csr-cards,
  .testimonials-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Volunteer */
  .volunteer-perks {
    grid-template-columns: 1fr;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .filter-btn {
    font-size: .8rem;
    padding: .45rem 1rem;
  }

  /* Donate */
  .qd-amounts {
    gap: .5rem;
  }

  .qd-btn {
    padding: .6rem .9rem;
    font-size: .9rem;
  }

  .dpm-labels {
    font-size: .8rem;
  }

  .donation-container {
    grid-template-columns: 1fr;
  }

  /* Floating WhatsApp */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 1.2rem;
    right: 1.2rem;
  }
}

/* ── 20. PRINT & REDUCED MOTION ───────────────────────────────── */
@media print {

  .header,
  .whatsapp-float,
  .float-donate-btn,
  .emergency-banner,
  .lightbox,
  #gallery,
  .cta-section,
  .section-volunteer,
  .nudge-bar {
    display: none !important;
  }

  body {
    font-size: 11pt;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .marquee-track {
    animation: none;
  }
}