/* ===== CSS VARIABLES ===== */
:root {
  --maroon: #8B1A4A;
  --maroon-dark: #6d1339;
  --maroon-light: #a82060;
  --yellow: #E8A422;
  --yellow-dark: #c78c1a;
  --yellow-light: #FFF8E7;
  --teal: #0ea5a0;
  --teal-dark: #0d8a86;
  --teal-light: #e6f7f6;
  --dark-teal: #0B2B26;
  --pink-bg: #FFF0F3;
  --coral: #E8604C;
  --coral-light: #fef0ee;
  --dark: #1a1a1a;
  --gray: #666;
  --gray-light: #f8f8f8;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
  --font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'DM Serif Display', Georgia, serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background: var(--white);
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Keep fixed-size circular icons perfectly round inside flex/grid (never squish to a square) */
.phone-icon, .program-blob-icon, .welcome-play-btn, .vol-icon,
.volunteer-play, .campaigns-tag-icon, .campaigns-arrows button,
.news-author-icon, .feature-icon, .contact-icon-box, .step-number,
.team-social a, .footer-social a, .stat-icon {
  flex-shrink: 0;
}
.section { padding: 90px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal);
  font-size: 0.9rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 10px;
}
.section-tag i { color: var(--yellow); }
.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 400; color: var(--dark);
  margin-bottom: 16px; line-height: 1.2;
}
.section-title .highlight { color: var(--yellow); }
.section-subtitle {
  font-size: 1rem; color: var(--gray); max-width: 600px; line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); border: none; cursor: pointer;
}
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid var(--white);
  transition: all var(--transition); cursor: pointer;
}
.btn-outline:hover { background: var(--white); color: var(--maroon); }
.btn-coral {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); border: none; cursor: pointer;
}
.btn-coral:hover { background: #d04e3c; transform: translateY(-2px); }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid var(--yellow);
  transition: all var(--transition); cursor: pointer;
}
.btn-outline-dark:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--white); }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--teal-light);
  border-top-color: var(--teal);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}
.header.scrolled {
  background: var(--maroon);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0;
}
.nav-logo img {
  height: 84px; width: auto; object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: #fff;
  position: relative; padding: 6px 0; white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--yellow);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.nav-phone {
  display: flex; align-items: center; gap: 10px; color: var(--white);
  margin-left: 20px;
}
.nav-phone .phone-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--yellow);
  animation: phoneRing 1.5s ease-in-out infinite;
}
@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(12deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(8deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(0deg); }
}
.nav-phone .phone-text { display: flex; flex-direction: column; line-height: 1.3; }
.nav-phone .phone-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; }
.nav-phone .phone-number { display: block; font-size: 1rem; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: 20px; }
.nav-actions .nav-phone { margin-left: 0; }
.btn-donate-nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow) !important; color: var(--white) !important;
  padding: 11px 26px !important; border-radius: 50px !important;
  font-weight: 600 !important; border: none; white-space: nowrap;
  transition: all var(--transition);
}
.btn-donate-nav i { font-size: 0.8rem; transform: rotate(45deg); }
.btn-donate-nav:hover { background: var(--yellow-dark) !important; transform: translateY(-2px); }
.btn-donate-nav::after { display: none !important; }

/* mobile-menu extras hidden on desktop (shown only inside the slide-out menu) */
.nav-mobile-extra { display: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.1); border: none; cursor: pointer;
  padding: 8px; z-index: 1100; position: relative; border-radius: 8px;
}
.hamburger span { width: 24px; height: 2.5px; background: #fff; transition: all var(--transition); display: block !important; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  margin-top: 0;
}
.hero-slider {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slider::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; text-align: left; }
.hero-content { max-width: 620px; padding: 160px 0 80px; color: var(--white); text-align: left; margin-right: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--yellow);
  font-size: 1rem; font-weight: 500; font-style: italic;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.hero-badge i { color: var(--yellow); font-size: 1.2rem; }
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.8rem; font-weight: 400; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--yellow); }
.hero p {
  font-size: 1rem; color: rgba(255,255,255,0.85);
  line-height: 1.8; margin-bottom: 30px; max-width: 500px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
.hero-buttons .btn-yellow { padding: 16px 36px; font-size: 1rem; }
.hero-buttons .btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 16px 36px; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  transition: all var(--transition); border: none; cursor: pointer;
}
.hero-buttons .btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.hero-checks {
  display: flex; gap: 28px; margin-top: 30px;
}
.hero-checks span {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500;
}
.hero-checks i { color: var(--teal); }

.hero-parasuit {
  position: absolute; top: 20px; right: 60px; z-index: 2;
  width: 90px; height: auto; opacity: 0.6;
  animation: paraFloat 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes paraFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
  75% { transform: translateY(-20px) rotate(4deg); }
}

/* ===== WELCOME / ABOUT SECTION ===== */
.welcome-section {
  background: var(--white);
  padding: 90px 0;
}
.welcome-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.welcome-images { position: relative; min-height: 550px; }
.welcome-img-side {
  width: 160px; height: 210px; object-fit: cover;
  border-radius: 12px; border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: absolute; left: 0; top: 0; z-index: 2;
}
.welcome-img-main {
  width: 340px; height: 420px; object-fit: cover;
  border-radius: 16px; border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: absolute; left: 180px; top: 40px; z-index: 3;
}
.welcome-play-btn {
  position: absolute; left: 280px; top: 210px; z-index: 5;
  width: 70px; height: 70px; border-radius: 50%;
  background: transparent; border: 2px dashed var(--yellow);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.welcome-play-btn i { color: var(--yellow); font-size: 1.4rem; margin-left: 3px; }
.welcome-play-btn:hover { background: rgba(232,164,34,0.1); transform: scale(1.1); }
.welcome-img-bottom {
  width: 220px; height: 170px; object-fit: cover;
  border-radius: 12px; border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: absolute; left: 260px; bottom: 20px; z-index: 4;
}
.welcome-dot-grid {
  position: absolute; left: 130px; bottom: 60px; z-index: 1;
  display: grid; grid-template-columns: repeat(6, 8px); gap: 8px;
}
.welcome-dot-grid span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
}
.welcome-vertical-text {
  position: absolute; left: -10px; bottom: 40px; z-index: 2;
  writing-mode: vertical-lr; transform: rotate(180deg);
  font-size: 0.85rem; font-weight: 600;
  color: var(--dark-teal); letter-spacing: 1px;
}
.welcome-vertical-text .highlight { color: var(--yellow); }
.welcome-wave {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; align-items: center; gap: 12px;
}
.welcome-wave svg { width: 110px; height: auto; }
.welcome-wave-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow-light); color: var(--yellow);
  font-size: 0.85rem;
}
.welcome-text .section-tag { color: var(--teal); font-style: italic; }
.welcome-text .section-title { font-size: 2.6rem; }
.welcome-text .section-title .highlight { color: var(--yellow); }
.welcome-text p { color: #2d5a27; line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.welcome-features-row {
  display: flex; gap: 30px; margin: 24px 0;
}
.welcome-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.welcome-feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-size: 1.2rem; flex-shrink: 0;
}
.welcome-feature-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.welcome-feature-item p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; margin: 0; }
.welcome-checks { margin: 20px 0 28px; }
.welcome-checks li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-weight: 500; font-size: 0.95rem;
}
.welcome-checks li i { color: var(--yellow); font-size: 1rem; }
.welcome-bottom-row {
  display: flex; align-items: center; gap: 24px;
  margin-top: 28px;
}
.welcome-phone {
  display: flex; align-items: center; gap: 10px;
}
.welcome-phone .phone-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.welcome-phone .phone-label { font-size: 0.8rem; color: var(--gray); }
.welcome-phone .phone-number { font-size: 1rem; font-weight: 700; color: var(--dark); }

/* ===== FOUNDER SECTION ===== */
.founder-section { background: var(--white); }
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}
.founder-text .section-tag { color: var(--gray); text-transform: uppercase; letter-spacing: 2px; font-size: 0.82rem; }
.founder-text .section-title { font-size: 2.4rem; color: var(--dark); }
.founder-text p { color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.founder-image-wrapper {
  display: flex; align-items: flex-start; gap: 20px;
}
.founder-image img {
  width: 220px; height: 280px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow-lg);
}
.founder-bio { flex: 1; }
.founder-bio p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; }
.founder-name { font-weight: 700; font-size: 1.1rem; color: var(--dark); margin-top: 16px; }

/* decorative accent filling the space under the founder name */
.founder-accent {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0 20px;
}
.founder-accent-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.founder-accent i {
  color: var(--yellow); font-size: 1.3rem;
  filter: drop-shadow(0 2px 4px rgba(232,164,34,0.35));
}
.founder-values {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px;
}
.founder-value-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; color: var(--maroon);
  background: var(--pink-bg);
  border: 1px solid rgba(139,26,74,0.12);
  transition: all var(--transition);
}
.founder-value-chip i { color: var(--coral); font-size: 0.85rem; }
.founder-value-chip:nth-child(2) { color: var(--teal-dark); background: var(--teal-light); border-color: rgba(14,165,160,0.15); }
.founder-value-chip:nth-child(2) i { color: var(--teal); }
.founder-value-chip:nth-child(3) { color: var(--yellow-dark); background: var(--yellow-light); border-color: rgba(232,164,34,0.2); }
.founder-value-chip:nth-child(3) i { color: var(--yellow); }
.founder-value-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.founder-quote {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.25rem; line-height: 1.5; color: var(--maroon);
  padding-left: 22px; margin-top: 4px;
  border-left: 4px solid var(--yellow);
}

/* ===== PROGRAMS CAROUSEL ===== */
.programs-section { padding: 90px 0; background: var(--white); position: relative; overflow: hidden; }
.programs-section .section-title { text-align: center; }
.programs-carousel-wrapper { position: relative; margin-top: 50px; }
.programs-carousel {
  display: flex; gap: 30px; overflow: hidden;
  padding: 20px 0;
}
.program-blob {
  flex: 0 0 calc(33.333% - 20px);
  text-align: center; padding: 40px 28px 34px;
  position: relative;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  border: none;
  min-height: 380px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
/* each card its own rich, well-blended colour gradient + white text */
.program-blob:nth-child(5n+1) { background: linear-gradient(150deg, #11a6a0, #0b746f); }
.program-blob:nth-child(5n+2) { background: linear-gradient(150deg, #efb23a, #d18b16); }
.program-blob:nth-child(5n+3) { background: linear-gradient(150deg, #5a6b8c, #38445d); }
.program-blob:nth-child(5n+4) { background: linear-gradient(150deg, #ec6a55, #c84634); }
.program-blob:nth-child(5n+5) { background: linear-gradient(150deg, #a8336a, #7a1f4b); }
.program-blob:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
/* Desktop: inner wrapper is a transparent passthrough (mobile restyles it into the round card) */
.program-blob-inner {
  display: contents;
}
.program-blob-icon {
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
  flex-shrink: 0;
}
/* icon circle: soft translucent white so it blends on the coloured card */
.program-blob .program-blob-icon { background: rgba(255,255,255,0.22); }
.program-blob .program-blob-icon i { color: #fff; }
.program-blob h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 12px;
  color: #fff;
}
.program-blob p {
  font-size: 0.85rem; color: rgba(255,255,255,0.92); line-height: 1.7;
  max-width: 240px;
}
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  transition: all var(--transition); border: none; z-index: 5;
}
.carousel-prev { left: -24px; background: var(--dark-teal); color: var(--white); }
.carousel-next { right: -24px; background: var(--yellow); color: var(--white); }
.carousel-nav:hover { transform: translateY(-50%) scale(1.1); box-shadow: var(--shadow-lg); }

/* Floating charity particles */
.programs-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 10;
}
.fp {
  position: absolute; top: 0; left: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ===== CAMPAIGNS / VOLUNTEER SECTION ===== */
.campaigns-section { padding: 80px 0; background: var(--white); }
.campaigns-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.campaigns-arrows { display: flex; gap: 10px; }
.campaigns-arrows button {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; border: none;
  transition: all var(--transition);
}
.campaigns-arrows .arr-dark { background: var(--dark-teal); color: var(--white); }
.campaigns-arrows .arr-yellow { background: var(--yellow); color: var(--white); }
.volunteer-cta {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  border-radius: 24px;
  overflow: hidden; min-height: 420px;
  display: flex;
  box-shadow: 0 20px 50px rgba(139,26,74,0.22);
}
.volunteer-cta-bg {
  position: absolute; inset: 0;
  background: url('../images/volunteer-bg.jpg') center/cover no-repeat;
  transform: scale(1.01);
}
/* rich on-brand gradient wash so the white text reads crisply */
.volunteer-cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(109,19,57,0.92) 0%, rgba(109,19,57,0.55) 35%, rgba(11,43,38,0.55) 65%, rgba(11,43,38,0.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
}
.volunteer-cta-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 30px;
  width: 100%; padding: 64px 56px;
}
.volunteer-left, .volunteer-right { color: var(--white); max-width: 340px; }
.volunteer-right { text-align: right; justify-self: end; }
.vol-icon-right { margin-left: auto; }
.volunteer-left .vol-icon, .volunteer-right .vol-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 18px;
}
.volunteer-left .vol-icon i, .volunteer-right .vol-icon i { font-size: 1.6rem; color: var(--yellow); }
.volunteer-left .vol-subtitle, .volunteer-right .vol-subtitle {
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; color: var(--yellow); opacity: 1; margin-bottom: 10px;
}
.volunteer-left h3, .volunteer-right h3 {
  font-family: var(--font-heading);
  font-size: 2.1rem; font-weight: 400; line-height: 1.2; margin-bottom: 24px;
  color: #fff;
}
/* clean solid play button with a soft pulsing ring */
.volunteer-play {
  position: relative;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--yellow); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
  justify-self: center; flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(232,164,34,0.5);
}
.volunteer-play::before,
.volunteer-play::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  animation: volPulse 2.4s ease-out infinite;
}
.volunteer-play::after { animation-delay: 1.2s; }
@keyframes volPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.volunteer-play i { color: #fff; font-size: 1.7rem; margin-left: 4px; }
.volunteer-play:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(232,164,34,0.65); }

/* ===== NEWS SECTION ===== */
.news-section { padding: 80px 0; background: var(--white); }
/* News carousel: horizontally scrollable / slidable */
.news-carousel-wrapper {
  position: relative; margin-top: 40px;
  /* clear margin on each side so the arrows never overlap the cards */
  padding: 0 64px;
}
.news-grid {
  display: flex; gap: 24px;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 26px 2px 30px;
  scrollbar-width: none;
}
.news-grid::-webkit-scrollbar { display: none; }
.news-card {
  flex: 0 0 calc((100% - 72px) / 4);  /* 4 cards visible on desktop */
  scroll-snap-align: start;
  background: var(--white); border-radius: 16px;
  overflow: visible; box-shadow: var(--shadow);
  transition: all var(--transition);
}
/* slide buttons sit in the clear side margins, vertically centered on the images */
.news-prev, .news-next {
  position: absolute; top: 120px; transform: translateY(-50%);
}
.news-prev { left: 6px; background: var(--dark-teal); color: var(--white); }
.news-next { right: 6px; background: var(--yellow); color: var(--white); }
.news-prev:hover, .news-next:hover { transform: translateY(-50%) scale(1.1); box-shadow: var(--shadow-lg); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img {
  position: relative; overflow: visible;
  height: 200px;
  border-radius: 16px 16px 0 0;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px 16px 0 0;
}
/* date badge straddles the bottom edge of the image (like the WordPress original) */
.news-date-badge {
  position: absolute; bottom: -26px; right: 20px;
  background: var(--yellow); color: var(--white);
  width: 58px; padding: 9px 0; border-radius: 8px;
  text-align: center; font-weight: 700; z-index: 3;
  line-height: 1.1;
  box-shadow: 0 6px 16px rgba(232,164,34,0.4);
}
.news-date-badge .day { display: block; font-size: 1.5rem; color: var(--white); }
.news-date-badge .month {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  font-weight: 600; color: var(--maroon-dark); letter-spacing: 0.5px;
}
.news-card-body { padding: 28px 20px 20px; }
.news-category { color: var(--yellow); font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; display: block; }
.news-card h3 {
  font-family: var(--font);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; line-height: 1.35;
  color: var(--dark);
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--yellow); }
.news-card-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.78rem; color: var(--gray);
  padding-top: 12px; border-top: 1px solid #eee;
}
.news-card-meta span { display: flex; align-items: center; gap: 6px; }
/* push the comments link to the far right, like the WordPress original */
.news-card-meta span:last-child { margin-left: auto; }
.news-card-meta i { color: var(--gray); font-size: 0.75rem; }
.news-see-more {
  text-align: center; margin-top: 40px;
}

/* ===== GALLERY CAROUSEL ===== */
.gallery-section { padding: 50px 0 60px; background: var(--white); overflow: hidden; }
/* small dot indicator at the top, like the WordPress original */
.gallery-dot { display: flex; justify-content: center; margin-bottom: 28px; }
.gallery-dot span {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(14,165,160,0.18);
}
.gallery-carousel-wrapper { position: relative; }
/* 3D stage that gives the slides their fanned perspective */
.gallery-stage {
  position: relative;
  perspective: 1600px;
  padding: 50px 60px;   /* extra top/bottom room so the scaled centre slide isn't clipped */
  overflow: hidden;     /* clip the extra (4th+) slides without cutting the centre slide top */
}
.gallery-carousel {
  display: flex; gap: 30px;
  transform-style: preserve-3d;
  align-items: center;
}
/* brief fade-in on each slide change so auto-slide is clearly visible */
.gallery-carousel.gallery-anim { animation: galleryFade 0.5s ease; }
@keyframes galleryFade {
  0%   { opacity: 0.55; }
  100% { opacity: 1; }
}
.gallery-slide {
  flex: 0 0 calc((100% - 60px) / 3);  /* 3 slides visible */
  position: relative;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  transition: transform var(--transition);
}
.gallery-slide img { width: 100%; height: 380px; object-fit: cover; display: block; }
/* gentle fan: side slides lean in softly and dip slightly, like the WordPress original */
.gallery-slide:nth-child(3n+1) {
  transform: perspective(1400px) rotateY(8deg) translateY(14px) scale(0.97);
  transform-origin: right center;
}
.gallery-slide:nth-child(3n+2) {
  transform: perspective(1400px) rotateY(0deg) translateY(-6px) scale(1.02);
  z-index: 3;
}
.gallery-slide:nth-child(3n+3) {
  transform: perspective(1400px) rotateY(-8deg) translateY(14px) scale(0.97);
  transform-origin: left center;
}
/* centre view button (teal circle with diagonal arrow) */
.gallery-center-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--dark-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 6; cursor: pointer;
  box-shadow: 0 12px 30px rgba(11,43,38,0.45);
  transition: transform var(--transition), background var(--transition);
}
.gallery-center-btn i { font-size: 1.6rem; transform: rotate(45deg); }
.gallery-center-btn:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--teal); }
.gallery-caption {
  text-align: center; margin-top: 34px;
  font-family: var(--font-heading);
  font-size: 1.7rem; color: var(--dark-teal); font-weight: 400;
}
/* caption fade/slide-up animation when the slide changes */
.gallery-caption.cap-in { animation: capIn 0.6s ease both; }
@keyframes capIn {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  transition: all var(--transition); border: none; z-index: 8;
}
.gallery-prev { left: 16px; background: var(--dark-teal); color: var(--white); }
.gallery-next { right: 16px; background: var(--yellow); color: var(--white); }
.gallery-nav:hover { transform: translateY(-50%) scale(1.1); box-shadow: var(--shadow-lg); }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--dark-teal); padding: 70px 0;
}
.newsletter-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.newsletter-section p { color: rgba(255,255,255,0.6); margin-bottom: 28px; font-size: 0.95rem; }
.newsletter-form {
  display: flex; gap: 0; max-width: 500px;
}
.newsletter-form input {
  flex: 1; padding: 14px 20px; border-radius: 50px 0 0 50px;
  border: none; font-size: 0.95rem; outline: none;
  background: rgba(255,255,255,0.1); color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  background: var(--yellow); color: var(--white);
  padding: 14px 28px; border-radius: 0 50px 50px 0; border: none;
  font-weight: 600; cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--yellow-dark); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-teal); color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-about p { font-size: 0.88rem; line-height: 1.8; margin-top: 14px; }
.footer-logo img {
  width: 150px; height: auto; margin-bottom: 14px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.footer h4 {
  color: var(--white); font-size: 1.15rem; margin-bottom: 20px;
  font-weight: 700;
  position: relative; padding-bottom: 14px;
}
.footer h4::after {
  content: '-- --'; position: absolute; bottom: 0; left: 0;
  color: var(--yellow); font-size: 0.9rem; letter-spacing: 2px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.88rem; transition: all var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before { content: '↗'; color: var(--yellow); font-size: 0.8rem; }
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.footer-services a::before { content: '◆'; font-size: 0.5rem; color: var(--yellow); }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px; font-size: 0.88rem;
}
.footer-contact i { color: var(--yellow); margin-top: 4px; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all var(--transition);
}
.footer-social a:hover { background: var(--yellow); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 0.85rem;
}
.footer-credit { margin-top: 6px; font-size: 0.85rem; }
.footer-credit a {
  color: var(--yellow); font-weight: 700;
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--yellow-dark); text-decoration: underline; }

/* ===== PAGE HERO (SUBPAGES) ===== */
.page-hero {
  background: var(--dark-teal) url('../images/page-hero-bg.png') center right / cover no-repeat;
  padding: 150px 0 80px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
/* dark shadow that fades in from the left (matches the WordPress hero) */
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,43,38,0.96) 0%, rgba(11,43,38,0.82) 28%, rgba(11,43,38,0.45) 55%, rgba(11,43,38,0.30) 100%),
    linear-gradient(180deg, rgba(11,43,38,0.25), rgba(11,43,38,0.45));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 400; margin-bottom: 14px;
}
.page-hero p { font-size: 1.1rem; opacity: 0.8; max-width: 550px; margin: 0 auto 18px; }
.breadcrumb { font-size: 0.9rem; opacity: 0.6; }
.breadcrumb a { color: var(--yellow); opacity: 1; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 70px 0; text-align: center; color: var(--white);
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 400; margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem; opacity: 0.85;
  max-width: 550px; margin: 0 auto 30px; line-height: 1.8;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px;
}
.team-card {
  text-align: center; background: var(--white); border-radius: 16px;
  padding: 30px 20px; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
  border: 3px solid var(--teal-light);
}
.team-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 400; margin-bottom: 4px; }
.team-card .role { font-size: 0.85rem; color: var(--teal); font-weight: 500; }

/* ===== PROGRAMS PAGE (FULL PAGE) ===== */
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 40px;
}
.program-card {
  background: var(--white); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--teal); }
.program-card img { width: 100%; height: 200px; object-fit: cover; }
.program-card-body { padding: 24px; }
.program-card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; background: var(--teal-light); color: var(--teal);
  margin-bottom: 14px;
}
.program-card h3 {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 400;
  margin-bottom: 10px;
}
.program-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }
.program-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 0.85rem; font-weight: 600;
  color: var(--teal);
}
.program-card .read-more:hover { color: var(--yellow); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; background: var(--white);
  border-radius: 14px; box-shadow: var(--shadow);
}
.contact-info-card i {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light); color: var(--teal); font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; font-family: var(--font-heading); font-weight: 400; }
.contact-info-card p { font-size: 0.9rem; color: var(--gray); }
.contact-form {
  background: var(--white); padding: 40px;
  border-radius: 16px; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 500;
  margin-bottom: 6px; color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd;
  border-radius: 10px; font-size: 0.95rem; font-family: var(--font);
  outline: none; transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.checkbox-group label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 400; cursor: pointer;
}
.checkbox-group input[type="checkbox"] { width: auto; accent-color: var(--teal); }

/* ===== DONATE PAGE ===== */
.donate-hero {
  position: relative;
  background: var(--dark-teal) url('../images/page-hero-bg.png') center right / cover no-repeat;
  padding: 160px 0 100px; text-align: center; color: var(--white);
  overflow: hidden;
}
/* same left-fading dark shadow as the other page heroes */
.donate-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,43,38,0.96) 0%, rgba(11,43,38,0.85) 30%, rgba(11,43,38,0.55) 60%, rgba(11,43,38,0.40) 100%),
    linear-gradient(180deg, rgba(11,43,38,0.30), rgba(11,43,38,0.55));
}
.donate-hero .container { position: relative; z-index: 2; }
.donate-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem; font-weight: 400; margin-bottom: 16px;
}
.donate-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 550px; margin: 0 auto 30px; line-height: 1.8; }
.donate-steps {
  display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap;
}
.donate-step { text-align: center; }
.donate-step .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 8px;
}
.donate-step span { font-size: 0.85rem; opacity: 0.8; }
.donate-card-section { margin-top: -50px; position: relative; z-index: 3; padding-bottom: 60px; }
.donate-main-card {
  background: var(--white); border-radius: 24px;
  padding: 50px 40px; text-align: center;
  box-shadow: var(--shadow-lg); max-width: 600px; margin: 0 auto;
}
.donate-main-card h2 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 400; margin-bottom: 10px; }
.donate-main-card p { color: var(--gray); margin-bottom: 28px; line-height: 1.7; }
.donate-main-card .btn-yellow { padding: 18px 52px; font-size: 1.1rem; }
.donate-quote {
  max-width: 700px; margin: 50px auto 0; text-align: center;
  font-family: var(--font-heading); font-style: italic;
  font-size: 1.1rem; color: var(--teal); line-height: 1.8;
}
.donate-quote cite {
  display: block; margin-top: 12px; font-style: normal;
  font-family: var(--font); font-size: 0.9rem; color: var(--yellow);
  font-weight: 600;
}

/* ===== BLOG PAGE (premium cards) ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px;
}
.blog-card {
  background: var(--white); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
  border: 1px solid #f1f1f1;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(0,0,0,0.13); }
.blog-card-image {
  position: relative; height: 230px; margin: 12px 12px 0;
  border-radius: 14px; overflow: visible;
}
.blog-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px; transition: transform 0.5s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
/* date badge straddling the bottom-right of the image */
.blog-card-image .blog-date {
  position: absolute; right: 16px; bottom: -18px;
  background: var(--yellow); color: #fff; border-radius: 12px;
  width: 58px; padding: 9px 0; text-align: center; line-height: 1.05;
  box-shadow: 0 8px 18px rgba(232,164,34,0.45); z-index: 2;
}
.blog-card-image .blog-date .d { display: block; font-size: 1.45rem; font-weight: 800; }
.blog-card-image .blog-date .m { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; color: var(--maroon-dark); }
.blog-card-body { padding: 30px 24px 0; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-category, .blog-card .category {
  display: inline-block; align-self: flex-start;
  color: var(--yellow); font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--font); font-size: 1.18rem; font-weight: 700;
  margin-bottom: 14px; line-height: 1.35; color: var(--dark);
}
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--yellow); }
.blog-card > .blog-card-body > p,
.blog-card .blog-card-body p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.blog-card .blog-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.82rem; color: var(--gray);
  padding: 16px 0; margin-top: auto; border-top: 1px solid #eee;
}
.blog-card .blog-meta span { display: flex; align-items: center; gap: 7px; }
.blog-card .blog-meta span:last-child { margin-left: auto; }
.blog-card .blog-meta i { color: var(--gray); }
/* keep the old read-more link if present, but the footer meta is the premium look */
.blog-card .read-more { display: none; }

/* ===== BLOG DETAIL ===== */
.blog-detail { max-width: 800px; margin: 0 auto; }
.blog-detail img { border-radius: 16px; margin: 24px 0; }
.blog-detail h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 400; margin: 28px 0 14px; }
.blog-detail p { font-size: 1rem; color: #444; line-height: 1.9; margin-bottom: 18px; }
.blog-detail ul { margin: 14px 0 22px 24px; color: #475569; line-height: 1.8; list-style: disc; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-image-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--yellow); color: var(--white);
  padding: 10px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
}
.about-text .section-subtitle { margin-top: 10px; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px;
}
.about-feature {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.92rem;
}
.about-feature i { color: var(--teal); }

/* ===== GET INVOLVED PAGE ===== */
.involve-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px;
}
.involve-card {
  text-align: center; padding: 40px 24px;
  background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.involve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.involve-card i { font-size: 2.5rem; color: var(--yellow); margin-bottom: 16px; }
.involve-card h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 10px; }
.involve-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ===== ERROR PAGE ===== */
.error-page {
  min-height: 70vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 40px 20px;
}
.error-page h1 { font-size: 6rem; color: var(--yellow); margin-bottom: 10px; font-family: var(--font-heading); }
.error-page h2 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark); font-family: var(--font-heading); }
.error-page p { font-size: 1.1rem; color: var(--gray); margin-bottom: 30px; max-width: 500px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  border: none; cursor: pointer; font-size: 1rem;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: all var(--transition); z-index: 999;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--teal-dark); transform: translateY(-3px); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* --- Who We Are --- */
.whoweare-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 60px; align-items: center;
}
.whoweare-image img {
  width: 100%; max-width: 420px; border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}
.whoweare-text .section-title { font-size: 2.6rem; margin-bottom: 18px; color: var(--dark); }
.whoweare-text .section-title .highlight { color: var(--yellow); }
.whoweare-intro { color: var(--gray); line-height: 1.9; margin-bottom: 34px; font-size: 1rem; }
.whoweare-features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.whoweare-feature { display: flex; gap: 16px; }
.ww-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow-light); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.whoweare-feature h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.whoweare-feature p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* --- Our Story --- */
.ourstory-section { background: var(--white); }
.ourstory-title {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 400;
  color: var(--coral); margin-bottom: 30px;
}
.ourstory-body { max-width: 1000px; }
.ourstory-body p { color: var(--gray); line-height: 2; margin-bottom: 22px; font-size: 1rem; }
.ourstory-body strong { color: var(--dark); font-weight: 700; }

/* --- Values (Mission & Vision) --- */
.values-section { background: var(--gray-light); }
.values-head { text-align: center; margin-bottom: 60px; }
.values-tag {
  display: block; text-transform: uppercase; letter-spacing: 2px;
  font-size: 0.8rem; font-weight: 600; color: var(--gray); margin-bottom: 12px;
}
.values-title { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 400; color: var(--dark-teal); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; max-width: 1050px; margin: 0 auto; }
.value-block { text-align: center; }
.value-icon {
  width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--dark-teal); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.value-block h3 {
  font-family: var(--font-heading); font-size: 1.7rem; font-weight: 400;
  color: var(--dark); margin-bottom: 16px;
}
.value-block p { color: var(--gray); line-height: 1.9; font-size: 0.95rem; }

/* --- CTA band --- */
.about-cta-band {
  position: relative; overflow: hidden;
  padding: 90px 0; text-align: center; color: #fff;
}
.about-cta-bg {
  position: absolute; inset: 0;
  background: var(--dark-teal) url('../images/community-1.jpg') center/cover no-repeat;
}
.about-cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,43,38,0.95) 0%, rgba(11,43,38,0.7) 50%, rgba(11,43,38,0.55) 100%);
}
.about-cta-content { position: relative; z-index: 2; }
.about-cta-tag { color: var(--yellow); font-style: italic; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 14px; }
.about-cta-tag i { margin-right: 6px; }
.about-cta-band h2 { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 400; line-height: 1.25; margin-bottom: 30px; }
.about-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.about-cta-buttons .btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all var(--transition);
}
.about-cta-buttons .btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.about-cta-buttons .btn-teal i, .about-cta-buttons .btn-yellow i { font-size: 0.8rem; transform: rotate(45deg); }

/* --- Key Members --- */
.members-section { background: var(--white); }
.members-title { text-align: center; margin-bottom: 50px; }
.members-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.member-card {
  position: relative; background: var(--gray-light);
  border-radius: 12px;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-photo {
  position: relative; width: 100%; aspect-ratio: 1/1.15; overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.member-card:hover .member-photo img { transform: scale(1.05); }
/* dark overlay that fades in on hover */
.member-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,43,38,0) 30%, rgba(11,43,38,0.55) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.member-card:hover .member-photo::after { opacity: 1; }
/* social icons — hidden, slide in from the right on hover */
.member-socials {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 3;
}
.member-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--dark-teal);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  opacity: 0; transform: translateX(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}
.member-socials a:hover { background: var(--yellow); color: #fff; }
.member-card:hover .member-socials a { opacity: 1; transform: translateX(0); }
.member-card:hover .member-socials a:nth-child(1) { transition-delay: 0.05s; }
.member-card:hover .member-socials a:nth-child(2) { transition-delay: 0.10s; }
.member-card:hover .member-socials a:nth-child(3) { transition-delay: 0.15s; }
.member-card:hover .member-socials a:nth-child(4) { transition-delay: 0.20s; }
.member-info { position: relative; padding: 18px 20px 22px; }
.member-info h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; line-height: 1.3; }
.member-info p { font-size: 0.85rem; color: var(--gray); }
/* + button straddles the photo/info divider at the bottom-right (like the WordPress original) */
.member-info .member-plus {
  position: absolute; right: 16px; top: -19px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--dark-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all var(--transition); z-index: 6;
}
/* + rotates into an × on hover (like the WordPress original) */
.member-card:hover .member-plus { background: var(--yellow); transform: rotate(45deg); }
.members-more { text-align: center; margin-top: 46px; }
.members-more .btn-yellow i { font-size: 0.8rem; transform: rotate(45deg); }

/* --- Gallery strip (auto-scrolling marquee) --- */
.about-gallery { width: 100%; overflow: hidden; }
.about-gallery-track {
  display: flex; width: max-content;
  animation: galleryScroll 40s linear infinite;
}
.about-gallery-track img {
  width: 300px; height: 240px; object-fit: cover; display: block; flex-shrink: 0;
}
.about-gallery:hover .about-gallery-track { animation-play-state: paused; }
/* translate by exactly half the track (one full set of images) for a seamless loop */
@keyframes galleryScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PROGRAMS LISTING PAGE
   ============================================================ */
.programs-intro { text-align: center; padding: 80px 0 10px; }
.programs-intro .prog-tag {
  text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.8rem;
  font-weight: 600; color: var(--gray); margin-bottom: 12px; display: block;
}
.programs-intro h2 {
  font-family: var(--font-heading); font-weight: 400;
  font-size: 2.8rem; color: var(--dark-teal); line-height: 1.2;
}
.programs-list { padding: 60px 0 90px; background: var(--gray-light); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.prog-item {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.prog-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-item-img { position: relative; height: 240px; overflow: hidden; }
.prog-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prog-item:hover .prog-item-img img { transform: scale(1.06); }
.prog-item-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--yellow); color: #fff;
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.prog-item-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.prog-item-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.prog-item-body p { font-size: 0.92rem; color: var(--gray); line-height: 1.7; margin-bottom: 22px; flex: 1; }
.prog-readmore {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  color: var(--dark-teal); font-weight: 600; font-size: 0.9rem;
  padding-bottom: 4px; border-bottom: 2px solid var(--yellow);
  transition: gap var(--transition), color var(--transition);
}
.prog-readmore i { font-size: 0.8rem; transition: transform var(--transition); }
.prog-readmore:hover { color: var(--yellow); }
.prog-readmore:hover i { transform: translateX(4px); }
@media (max-width: 1024px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } .programs-intro h2 { font-size: 2.3rem; } }
@media (max-width: 768px)  { .prog-grid { grid-template-columns: 1fr; } .programs-intro { padding: 55px 0 5px; } .programs-intro h2 { font-size: 2rem; } }

/* ============================================================
   PROGRAM DETAIL PAGES (educational-support, elderly-care, etc.)
   ============================================================ */
.pd-section { padding: 80px 0; background: var(--white); }
.pd-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.pd-lead {
  font-size: 1.1rem; color: var(--gray); line-height: 1.9;
  margin-bottom: 40px; padding-left: 18px; border-left: 4px solid var(--yellow);
}
.pd-block { margin-bottom: 38px; }
.pd-block h2 {
  font-family: var(--font-heading); font-weight: 400;
  font-size: 1.9rem; color: var(--coral); margin-bottom: 18px;
}
.pd-list { list-style: none; padding: 0; margin: 0; }
.pd-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0; font-size: 0.96rem; color: #444; line-height: 1.6;
}
.pd-list li i { color: var(--teal); margin-top: 4px; flex-shrink: 0; }
.pd-list li strong { color: var(--dark); }

/* donation widget */
.pd-donate {
  position: sticky; top: 100px;
  background: var(--gray-light); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow);
}
.pd-donate-img { height: 230px; overflow: hidden; }
.pd-donate-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-donate-body { padding: 26px 26px 30px; }
.pd-goal-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.pd-goal-row .lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); }
.pd-goal-row .val { font-weight: 700; color: var(--dark); }
.pd-progress { height: 8px; border-radius: 50px; background: #e3e3e3; overflow: hidden; margin: 6px 0 22px; }
.pd-progress span { display: block; height: 100%; background: var(--yellow); border-radius: 50px; }
.pd-stats { display: flex; gap: 30px; margin-bottom: 24px; }
.pd-stat .lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); display: block; margin-bottom: 2px; }
.pd-stat .amt { font-size: 1.2rem; font-weight: 700; color: var(--dark-teal); }
.pd-donate .btn-donate-full {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--teal); color: #fff;
  padding: 15px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: all var(--transition);
}
.pd-donate .btn-donate-full:hover { background: var(--teal-dark); transform: translateY(-2px); }
.pd-impact {
  margin-top: 16px; font-size: 0.9rem; color: var(--gray);
  font-style: italic; line-height: 1.6; text-align: center;
}
.pd-other { background: var(--gray-light); padding: 70px 0; }
.pd-other h2 { text-align: center; font-family: var(--font-heading); font-weight: 400; font-size: 2rem; color: var(--dark-teal); margin-bottom: 40px; }
.pd-other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pd-other-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.pd-other-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pd-other-card img { width: 100%; height: 130px; object-fit: cover; }
.pd-other-card span { display: block; padding: 16px 18px; font-weight: 700; font-size: 0.95rem; color: var(--dark); }

@media (max-width: 1024px) {
  .pd-layout { grid-template-columns: 1fr; gap: 40px; }
  .pd-donate { position: static; max-width: 480px; }
  .pd-other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pd-section { padding: 55px 0; }
  .pd-block h2 { font-size: 1.6rem; }
  .pd-other-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.ct-section { padding: 80px 0; background: var(--white); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.ct-left h2 { font-family: var(--font-heading); font-weight: 400; font-size: 2.8rem; color: var(--dark-teal); margin-bottom: 18px; }
.ct-left h2 .highlight { color: var(--yellow); }
.ct-intro { color: var(--gray); line-height: 1.9; margin-bottom: 36px; }
.ct-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; margin-bottom: 36px; }
.ct-info { display: flex; gap: 14px; }
.ct-info-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow-light); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ct-info h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.ct-info p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.ct-info a { color: var(--gray); transition: color var(--transition); }
.ct-info a:hover { color: var(--yellow); }
.ct-socials { display: flex; gap: 10px; margin-top: 4px; }
.ct-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #e0e0e0; color: var(--dark-teal); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all var(--transition); }
.ct-socials a:hover { background: var(--yellow); border-color: var(--yellow); color: #fff; transform: translateY(-3px); }
.ct-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ct-image img { width: 100%; height: 280px; object-fit: cover; display: block; }

/* form card */
.ct-form-card { background: var(--white); border-radius: 22px; padding: 44px 40px; box-shadow: 0 20px 55px rgba(0,0,0,0.09); border: 1px solid #f0f0f0; }
.ct-form-card h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.9rem; color: var(--dark); margin-bottom: 8px; }
.ct-form-note { font-size: 0.85rem; color: var(--gray); margin-bottom: 26px; line-height: 1.6; }
.ct-form-note span { color: var(--coral); }
.ct-field { position: relative; margin-bottom: 18px; }
.ct-field input, .ct-field textarea {
  width: 100%; padding: 15px 46px 15px 18px; border: none;
  background: var(--gray-light); border-radius: 12px;
  font-family: inherit; font-size: 0.95rem; color: var(--dark);
  transition: box-shadow var(--transition), background var(--transition);
}
.ct-field textarea { resize: vertical; min-height: 130px; padding-top: 16px; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--yellow); }
.ct-field > i { position: absolute; right: 18px; top: 17px; color: #b8b8b8; font-size: 0.95rem; }
.ct-field textarea ~ i { top: 16px; }
.ct-submit { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: #fff; padding: 15px 34px; border-radius: 50px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all var(--transition); }
.ct-submit i { font-size: 0.8rem; transform: rotate(45deg); }
.ct-submit:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ct-map { line-height: 0; }
.ct-map iframe { filter: grayscale(0.2); display: block; }
@media (max-width: 1024px) {
  .ct-grid { grid-template-columns: 1fr; gap: 44px; }
  .ct-left h2 { font-size: 2.3rem; }
}
@media (max-width: 768px) {
  .ct-info-grid { grid-template-columns: 1fr; gap: 22px; }
  .ct-form-card { padding: 34px 24px; }
}

/* ============================================================
   DONATION PAGE (custom builder)
   ============================================================ */
.dn-section { padding: 80px 0; background: var(--white); }
.dn-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 40px; align-items: start; }
.dn-tag { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; font-weight: 600; color: var(--yellow); margin-bottom: 12px; }
.dn-left > h2 { font-family: var(--font-heading); font-weight: 400; font-size: 2.4rem; color: var(--dark-teal); margin-bottom: 14px; }
.dn-intro { color: var(--gray); line-height: 1.8; margin-bottom: 28px; }
/* frequency toggle */
.dn-freq { display: inline-flex; background: var(--gray-light); border-radius: 50px; padding: 5px; margin-bottom: 26px; }
.dn-freq-btn { border: none; background: transparent; padding: 10px 28px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; color: var(--gray); cursor: pointer; transition: all var(--transition); }
.dn-freq-btn.active { background: var(--dark-teal); color: #fff; }
/* preset amounts */
.dn-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dn-amt { text-align: left; padding: 16px 18px; border-radius: 14px; border: 2px solid #e6e6e6; background: #fafafa; cursor: pointer; transition: all var(--transition); }
.dn-amt span { display: block; font-size: 1.3rem; font-weight: 800; color: var(--dark); font-family: var(--font-heading); }
.dn-amt small { display: block; font-size: 0.72rem; color: var(--gray); margin-top: 4px; line-height: 1.3; }
.dn-amt:hover { border-color: var(--yellow); }
.dn-amt.active { border-color: var(--yellow); background: var(--yellow-light); }
.dn-amt.active span { color: var(--yellow-dark); }
.dn-custom { display: flex; align-items: center; margin-top: 16px; border: 2px solid var(--yellow); border-radius: 14px; overflow: hidden; max-width: 280px; }
.dn-custom .dn-cur { padding: 0 16px; font-size: 1.3rem; font-weight: 700; color: var(--yellow-dark); background: var(--yellow-light); align-self: stretch; display: flex; align-items: center; }
.dn-custom input { flex: 1; border: none; padding: 14px 16px; font-size: 1.1rem; font-weight: 600; outline: none; }
/* right summary card */
.dn-right { position: sticky; top: 100px; background: var(--white); border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid #f0f0f0; }
.dn-summary { background: linear-gradient(160deg, var(--dark-teal), #08201c); color: #fff; padding: 28px 30px; text-align: center; }
.dn-summary span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.65); }
.dn-summary strong { display: block; font-family: var(--font-heading); font-size: 2.6rem; line-height: 1.1; margin: 4px 0; }
.dn-summary small { color: var(--yellow); font-weight: 600; text-transform: capitalize; }
.dn-form { padding: 28px 30px 32px; }
.dn-field { margin-bottom: 16px; }
.dn-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.dn-field label span { color: var(--coral); }
.dn-field input { width: 100%; padding: 12px 16px; border: 1.5px solid #e2e2e2; border-radius: 10px; font-family: inherit; font-size: 0.92rem; background: #fafafa; transition: all var(--transition); }
.dn-field input:focus { outline: none; border-color: var(--yellow); background: #fff; box-shadow: 0 0 0 3px rgba(232,164,34,0.12); }
.dn-paylabel { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin: 6px 0 10px; }
.dn-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.dn-pay-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border: 2px solid #e6e6e6; border-radius: 12px; cursor: pointer; transition: all var(--transition); font-size: 0.82rem; font-weight: 600; color: var(--gray); }
.dn-pay-opt i { font-size: 1.5rem; color: var(--gray); transition: color var(--transition); }
.dn-pay-opt input { position: absolute; opacity: 0; }
.dn-pay-opt.active { border-color: var(--yellow); background: var(--yellow-light); color: var(--dark); }
.dn-pay-opt.active i { color: var(--yellow-dark); }
.dn-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--yellow); color: #fff; padding: 16px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer; transition: all var(--transition); }
.dn-submit:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dn-secure { text-align: center; font-size: 0.8rem; color: var(--gray); margin-top: 14px; }
.dn-secure i { color: #28a745; }
/* how it works */
.dn-how { background: var(--gray-light); }
.dn-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.dn-step { text-align: center; }
.dn-step-num { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--dark-teal); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; font-family: var(--font-heading); }
.dn-step h4 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; }
.dn-step p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }
@media (max-width: 1024px) {
  .dn-grid { grid-template-columns: 1fr; gap: 36px; }
  .dn-right { position: static; max-width: 480px; }
  .dn-steps { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .dn-left > h2 { font-size: 2rem; }
  .dn-amounts { grid-template-columns: 1fr 1fr; }
  .dn-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   GET INVOLVED PAGE
   ============================================================ */
.gi-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.gi-tag {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: 0.78rem; font-weight: 600; color: var(--yellow); margin-bottom: 12px;
}
.gi-tag.light { color: var(--yellow); }
.gi-head h2 { font-family: var(--font-heading); font-weight: 400; font-size: 2.5rem; color: var(--dark-teal); margin-bottom: 14px; }
.gi-head p { color: var(--gray); line-height: 1.8; }
.gi-ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gi-way {
  background: var(--white); border-radius: 16px; padding: 38px 30px;
  text-align: center; box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid #f0f0f0;
}
.gi-way:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gi-way-icon {
  width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--yellow-light); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.gi-way h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.gi-way p { font-size: 0.92rem; color: var(--gray); line-height: 1.7; }

/* form section */
.gi-form-section { padding: 90px 0; background: var(--gray-light); }
.gi-form-wrap {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.gi-form-aside {
  background: linear-gradient(160deg, var(--dark-teal), #08201c);
  color: #fff; padding: 50px 44px;
  display: flex; flex-direction: column;
}
.gi-form-aside h2 { font-family: var(--font-heading); font-weight: 400; font-size: 2rem; margin-bottom: 16px; }
.gi-form-aside > p { color: rgba(255,255,255,0.8); line-height: 1.8; font-size: 0.95rem; margin-bottom: 26px; }
.gi-benefits { list-style: none; padding: 0; margin: 0 0 auto; }
.gi-benefits li { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.gi-benefits li i { color: var(--yellow); }
.gi-aside-contact { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.gi-aside-contact i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.gi-aside-contact span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); }
.gi-aside-contact a { display: block; font-weight: 700; color: #fff; font-size: 1.05rem; }

.gi-form { padding: 46px 44px; }
.gi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gi-field { margin-bottom: 18px; }
.gi-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.gi-field label span { color: var(--coral); }
.gi-field label .gi-opt { color: var(--gray); font-weight: 400; font-size: 0.78rem; }
.gi-field input, .gi-field textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #e2e2e2;
  border-radius: 10px; font-family: inherit; font-size: 0.92rem; color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition); background: #fafafa;
}
.gi-field input:focus, .gi-field textarea:focus {
  outline: none; border-color: var(--yellow); background: #fff;
  box-shadow: 0 0 0 3px rgba(232,164,34,0.12);
}
.gi-field textarea { resize: vertical; min-height: 84px; }
/* chip-style multi-select (compact) */
.gi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gi-chip { position: relative; cursor: pointer; }
.gi-chip input { position: absolute; opacity: 0; pointer-events: none; }
.gi-chip span {
  display: inline-block; padding: 8px 16px; border-radius: 50px;
  border: 1.5px solid #e2e2e2; background: #fafafa;
  font-size: 0.82rem; font-weight: 500; color: var(--gray);
  transition: all var(--transition);
}
.gi-chip:hover span { border-color: var(--yellow); color: var(--dark); }
.gi-chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.gi-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--gray); margin: 4px 0 22px; cursor: pointer; }
.gi-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--yellow); flex-shrink: 0; }
.gi-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; background: var(--yellow); color: #fff;
  padding: 15px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: all var(--transition);
}
.gi-submit:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

@media (max-width: 1024px) {
  .gi-ways-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .gi-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .gi-head h2 { font-size: 2rem; }
  .gi-form-aside, .gi-form { padding: 36px 26px; }
  .gi-row { grid-template-columns: 1fr; gap: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-title { font-size: 2.2rem; }
  .hero h1 { font-size: 3rem; }
  .welcome-grid, .founder-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-vertical-text,
  .welcome-wave { display: none !important; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { flex: 0 0 calc((100% - 24px) / 2); }  /* 2 cards on tablet */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .program-blob { flex: 0 0 calc(50% - 15px); }
  .nav-phone { display: none; }
  /* About page */
  .whoweare-grid { grid-template-columns: 1fr; gap: 40px; }
  .whoweare-image img { max-width: 100%; }
  .values-grid { gap: 40px; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero { margin-top: 0; }
  .nav { padding: 8px 0; }
  .nav-logo img { height: 60px; width: auto; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: 280px; max-width: 85vw; background: var(--maroon);
    flex-direction: column; align-items: flex-start;
    padding: 80px 24px 40px; gap: 0;
    transform: translateX(100%); transition: transform 0.4s, visibility 0.4s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    overflow-y: auto; z-index: 1050;
    visibility: hidden;            /* truly hidden when closed (no swipe-to-reveal) */
  }
  .nav-links.active { transform: translateX(0); visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 14px 0; color: #fff !important;
    font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a.active, .nav-links a:hover { color: var(--yellow) !important; }
  .nav-links li:last-of-type a { border-bottom: none; }
  /* ---- enhanced mobile menu extras (donate + contact) ---- */
  .nav-mobile-extra { display: block; width: 100%; margin-top: 18px; }
  .nav-mobile-extra .nm-donate {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--yellow); color: #fff !important;
    padding: 13px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(232,164,34,0.4);
  }
  .nav-mobile-extra .nm-donate i { font-size: 0.8rem; transform: rotate(45deg); }
  .nm-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); }
  .nm-contact a, .nm-contact div { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,0.85) !important; font-size: 0.85rem; padding: 8px 0; border: none !important; }
  .nm-contact i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
  .nm-socials { display: flex; gap: 10px; margin-top: 14px; }
  .nm-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; padding: 0; border: none !important; transition: background var(--transition); }
  .nm-socials a:hover { background: var(--yellow); }
  /* hide the phone + donate cluster from the top bar on mobile (it crowds the header).
     The hamburger menu handles navigation (Donation is already a menu item). */
  .nav-actions { display: none; }
  /* clearly-visible hamburger on every page (incl. transparent homepage header) */
  .hamburger {
    display: flex; margin-left: auto;
    background: var(--maroon); padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  }
  .hamburger span { background: #fff; }
  /* hero: fill the mobile viewport, content clears the fixed header */
  .hero { min-height: 100vh; min-height: 100dvh; padding: 0; }
  .hero-content { padding: 130px 0 80px; max-width: 100%; }
  .hero h1 { font-size: 2.2rem; line-height: 1.18; }
  .hero p { font-size: 0.95rem; }
  .hero-badge { font-size: 0.9rem; }
  /* stronger, even overlay so white text is readable over any slide on mobile */
  .hero-slider::after { background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65)); }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn-yellow, .hero-buttons .btn-teal { width: 100%; justify-content: center; }
  .hero-parasuit { display: none; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.9rem; }
  /* Mobile: SWIPEABLE carousel showing exactly ONE card at a time */
  .programs-carousel {
    flex-direction: row; gap: 0;
    overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    scrollbar-width: none;
  }
  .programs-carousel::-webkit-scrollbar { display: none; }
  .program-blob {
    /* full-width snap slot = exactly ONE card visible at a time */
    flex: 0 0 100%; width: 100%; margin: 0;
    scroll-snap-align: center; scroll-snap-stop: always;
    /* visible round card centred inside the full-width slot */
    background: transparent !important; border: none; padding: 0;
    min-height: 0; aspect-ratio: auto; overflow: visible;
  }
  .program-blob .program-blob-inner {
    width: 86vw; max-width: 360px; margin: 0 auto;
    aspect-ratio: 1 / 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 30px 34px; overflow: hidden;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }
  /* each card its own rich, well-blended colour gradient + white text */
  .program-blob:nth-child(5n+1) .program-blob-inner { background: linear-gradient(150deg, #11a6a0, #0b746f); }
  .program-blob:nth-child(5n+2) .program-blob-inner { background: linear-gradient(150deg, #efb23a, #d18b16); }
  .program-blob:nth-child(5n+3) .program-blob-inner { background: linear-gradient(150deg, #5a6b8c, #38445d); }
  .program-blob:nth-child(5n+4) .program-blob-inner { background: linear-gradient(150deg, #ec6a55, #c84634); }
  .program-blob:nth-child(5n+5) .program-blob-inner { background: linear-gradient(150deg, #a8336a, #7a1f4b); }
  .program-blob h3 { color: #fff; }
  .program-blob p { color: rgba(255,255,255,0.92); }
  /* icon circle: soft translucent white so it blends on the coloured card */
  .program-blob .program-blob-icon { background: rgba(255,255,255,0.22) !important; }
  .program-blob .program-blob-icon i { color: #fff; }
  .program-blob h3 { font-size: 1.3rem; margin: 4px 0 10px; }
  .program-blob p {
    font-size: 0.9rem; line-height: 1.5;
    /* clamp to fit the round card so no card stretches taller than the others */
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .program-blob-icon { width: 76px; height: 76px; margin-bottom: 14px; }
  .program-blob-icon i { font-size: 1.85rem; color: #fff; }
  /* slide buttons: centered, SIDE BY SIDE on one row below the carousel */
  .programs-carousel-wrapper {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    row-gap: 22px; column-gap: 14px;
  }
  .programs-carousel { order: 1; flex: 0 0 100%; width: 100%; }
  .carousel-nav {
    order: 2; display: inline-flex; position: static; transform: none;
    width: 52px; height: 52px;
  }
  .carousel-nav:hover { transform: scale(1.1); }
  /* News carousel on mobile: exactly ONE card at a time */
  .news-grid { padding: 26px 0 30px; }
  .news-card { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  /* news slide buttons: centered side-by-side below the cards */
  .news-carousel-wrapper {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    row-gap: 20px; column-gap: 14px;
    padding: 0;
  }
  .news-grid { order: 1; flex: 0 0 100%; width: 100%; }
  .news-prev, .news-next {
    order: 2; position: static; transform: none;
    width: 52px; height: 52px;
  }
  .news-prev:hover, .news-next:hover { transform: scale(1.1); }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: 2.2rem; }
  /* About page mobile */
  .whoweare-features { grid-template-columns: 1fr; gap: 22px; }
  .whoweare-text .section-title { font-size: 2.1rem; }
  .ourstory-title { font-size: 2.1rem; }
  .values-grid { grid-template-columns: 1fr; gap: 44px; }
  .values-title { font-size: 2rem; }
  .about-cta-band h2 { font-size: 2rem; }
  .members-grid { grid-template-columns: 1fr; }
  .about-gallery-track img { width: 200px; height: 170px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-radius: 50px; }
  .newsletter-form button { border-radius: 50px; }
  .form-row { grid-template-columns: 1fr; }
  .donate-steps { gap: 20px; }
  .donate-main-card { padding: 35px 24px; }
  .welcome-images { min-height: 350px; }
  .welcome-img-main { width: 260px; height: 320px; left: 100px; }
  .welcome-img-side { width: 130px; height: 170px; }
  .welcome-vertical-text,
  .welcome-wave { display: none !important; }
  .welcome-dot-grid {
    left: 40px;
    top: auto;
    bottom: -30px;
    transform: none;
    z-index: 0;
  }
  .welcome-features-row { flex-direction: column; gap: 16px; }
  .contact-form { padding: 28px 20px; }
  .volunteer-cta { min-height: 0; border-radius: 18px; }
  .volunteer-cta-content {
    grid-template-columns: 1fr; gap: 30px;
    text-align: center; padding: 48px 24px;
  }
  .volunteer-left, .volunteer-right { text-align: center; max-width: 100%; justify-self: center; }
  .volunteer-left .vol-icon, .volunteer-right .vol-icon,
  .vol-icon-right { margin-left: auto; margin-right: auto; }
  .volunteer-left h3, .volunteer-right h3 { font-size: 1.7rem; margin-bottom: 18px; }
  .volunteer-left .btn-primary, .volunteer-right .btn-yellow { display: inline-flex; }
  .volunteer-play { order: -1; justify-self: center; margin: 0 auto; }
  .campaigns-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* mobile gallery: one flat slide at a time, no 3D tilt */
  .gallery-stage { perspective: none; padding: 10px 16px; }
  .gallery-carousel { gap: 0; }
  .gallery-slide { flex: 0 0 100%; transform: none !important; }
  .gallery-slide img { height: 280px; }
  .gallery-center-btn { width: 66px; height: 66px; }
  .gallery-center-btn i { font-size: 1.3rem; }
  .gallery-caption { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-yellow,
  .hero-buttons .btn-teal { width: 100%; justify-content: center; }
  .hero-checks { flex-direction: column; gap: 10px; }
  .team-grid { grid-template-columns: 1fr; }
  .welcome-images { min-height: 300px; }
  .welcome-img-main { width: 200px; height: 260px; left: 80px; }
  .welcome-img-side { width: 110px; height: 150px; }
  .welcome-img-bottom { width: 160px; height: 130px; left: 160px; }
  .welcome-dot-grid {
    left: 40px;
    top: auto;
    bottom: -30px;
    transform: none;
    z-index: 0;
  }
  .founder-image-wrapper { flex-direction: column; }
  .founder-image img { width: 100%; height: auto; }
}
