/* ============================================
   HOPE Foundation — Main Stylesheet
   Author: UI/UX Team
   Version: 1.0
   ============================================ */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0057B8;
  --primary-hover: #004a9e;
  --green: #22C55E;
  --green-hover: #16A34A;
  --navy: #0B1D36;
  --white: #FFFFFF;
  --bg: #F7F9FC;
  --red: #DC2626;
  --gray: #5B6B7C;
  --gray-dark: #2D3A4A;
  --gray-light: #94A3B8;
  --border: #E2E8F0;
  --gradient: linear-gradient(135deg, #0057B8, #16A34A);
  --gradient-dark: linear-gradient(135deg, #0B1D36, #0057B8);
  --gradient-hover: linear-gradient(135deg, #004a9e, #15803d);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-btn: 'Montserrat', sans-serif;
  --font-stats: 'Manrope', sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--gray);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  padding-top: var(--nav-height);
}
body.home-page { padding-top: var(--nav-height); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
.text-green { color: var(--green) !important; }
.text-blue { color: var(--primary) !important; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 90px 0; position: relative; }
.section-label {
  display: inline-block;
  font-family: var(--font-btn);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .label {
  display: inline-block;
  font-family: var(--font-btn);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
}
.section-header .divider {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }
.section-cta { text-align: center; margin-top: 40px; }
.bg-light { background: var(--bg); }
.bg-dark {
  background: var(--gradient-dark);
  color: var(--white);
}
.bg-dark .section-header h2,
.bg-dark .section-header .label { color: var(--white); }
.bg-dark .section-header p { color: rgba(255,255,255,0.8); }
.bg-dark .divider { background: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(0,87,184,0.28); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 8px 24px rgba(0,87,184,0.35); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 4px 14px rgba(34,197,94,0.3); }
.btn-green:hover { background: var(--green-hover); }
.btn-secondary { background: var(--white); color: var(--primary); }
.btn-secondary:hover { box-shadow: 0 8px 30px rgba(255,255,255,0.3); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.85);
}
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); font-weight: 700; }
.btn-white:hover { background: var(--bg); color: var(--primary); }
.btn-white-solid { background: var(--white); color: var(--green-hover); font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.btn-white-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn-sm { padding: 11px 22px; font-size: 0.78rem; }
.btn-lg { padding: 16px 32px; font-size: 0.88rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  height: var(--nav-height);
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.navbar.transparent {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}
.nav-logo img {
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
.nav-logo > span { display: none; }
.nav-menu { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav-menu li { position: relative; }
.nav-menu li a {
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-dark);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-menu li a::after { display: none; }
.nav-menu li a:hover,
.nav-menu li a.active { color: var(--primary); }
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  border: 1px solid var(--border);
}
.nav-menu li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  padding: 10px 16px !important;
  color: var(--gray) !important;
  border-radius: var(--radius-xs);
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--primary) !important; }
.dropdown-icon { font-size: 0.6rem; margin-left: 2px; opacity: 0.6; }
.nav-donate {
  margin-left: 8px;
  padding: 11px 22px;
  font-size: 0.78rem;
  background: var(--green) !important;
  box-shadow: 0 4px 14px rgba(34,197,94,0.3) !important;
  flex-shrink: 0;
  border-radius: 6px;
}
.nav-donate:hover { background: var(--green-hover) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO (HOME) ===== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero-home {
  min-height: 620px;
  height: calc(100vh - var(--nav-height));
  max-height: 780px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: none;
}
.home-page .hero:hover .hero-bg { transform: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,29,54,0.88) 0%, rgba(11,29,54,0.55) 45%, rgba(0,87,184,0.25) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--white);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 50px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 720px;
  color: var(--white);
}
.hero-content .hero-subheading {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 560px;
  color: rgba(255,255,255,0.9);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.hero-stats-bar {
  position: relative;
  z-index: 3;
  background: rgba(11, 29, 54, 0.82);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  border: none;
  margin: 0;
}
.hero-stat {
  text-align: center;
  padding: 0 12px;
  position: relative;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-stat i {
  color: var(--green);
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 42px;
  background: rgba(255,255,255,0.12);
}
.hero-stat .value {
  font-family: var(--font-stats);
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}
.hero-stat .label {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 0;
  font-weight: 500;
}
/* ===== TRUSTED BY ===== */
.trusted-by { padding: 40px 0; background: var(--white); }
.trusted-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 48px;
}
.trust-logo-item {
  font-family: var(--font-btn);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-light);
  letter-spacing: 0.5px;
  opacity: 0.75;
  transition: var(--transition);
  padding: 8px 0;
  white-space: nowrap;
}
.trust-logo-item:hover { opacity: 1; color: var(--primary); }

/* ===== ABOUT HOME ===== */
.about-home { background: var(--white); }
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  min-height: 420px;
}
.collage-main img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}
.collage-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.collage-side img {
  width: 100%;
  height: calc(50% - 7px);
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  flex: 1;
}
.years-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.years-badge i {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.years-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.1;
}
.years-badge span {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}
.about-home-text h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-home-text p {
  margin-bottom: 14px;
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}
.about-checklist {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-dark);
}
.about-checklist li i {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Legacy about (inner pages) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--navy); margin-bottom: 20px; line-height: 1.3; }
.about-text p { margin-bottom: 16px; color: var(--gray); line-height: 1.8; }
.about-image { position: relative; }
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  background: var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.trust-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-text h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.trust-text p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  padding: 35px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.val-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.value-card:hover .val-icon { transform: scale(1.1) rotate(-5deg); }
.value-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ===== PROGRAMS ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Single horizontal row — 8 cards like design */
.programs-grid-8 {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
#programs .container,
#causes .container {
  max-width: 1320px;
}
.program-card {
  background: var(--white);
  padding: 20px 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 0;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.programs-grid-8 .pc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,87,184,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 12px;
  transition: var(--transition);
}
.pc-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(0,87,184,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.program-card:hover .pc-icon { background: var(--primary); color: var(--white); }
.programs-grid-8 .program-card h4 {
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}
.programs-grid-8 .program-card p {
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.45;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.program-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; margin-bottom: 0; }
.program-card .learn-more { display: none; }

/* ===== IMPACT SECTION ===== */
.impact-section {
  background: var(--navy);
  padding: 80px 0;
  color: var(--white);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.impact-item {
  text-align: center;
  padding: 28px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.impact-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.impact-item::after { display: none; }
.impact-item i {
  display: block;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 12px;
}
.impact-item .value {
  font-family: var(--font-stats);
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
  color: #7DD3FC;
  background: none;
  -webkit-text-fill-color: unset;
}
.impact-item .label {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===== AMBULANCE BANNER ===== */
.ambulance-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ambulance-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center left;
}
.ambulance-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,29,54,0.55) 0%, rgba(11,29,54,0.75) 50%, rgba(11,29,54,0.9) 100%);
}
.ambulance-banner-content {
  position: relative;
  z-index: 2;
  padding: 70px 24px;
  text-align: right;
  margin-left: auto;
}
.ambulance-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.25;
}
.ambulance-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.ambulance-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ambulance-phone i {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.ambulance-phone:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== CAUSES — single horizontal row of 8 ===== */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.cause-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 10px 18px;
  text-align: center;
  transition: var(--transition);
  min-width: 0;
}
.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.cause-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.15rem;
  background: rgba(0,87,184,0.08);
  color: var(--primary);
}
.cause-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ===== STORIES + GALLERY ===== */
.stories-gallery { background: var(--white); }
.stories-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.success-stories h2,
.home-gallery h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.story-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.story-card .quote-mark {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 10px;
}
.story-card blockquote {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}
.story-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.story-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.story-author .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.story-author .role {
  font-size: 0.82rem;
  color: var(--gray-light);
}
.story-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.story-rating .score {
  font-family: var(--font-stats);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
}
.story-rating .score span { color: var(--gray-light); font-size: 0.9rem; font-weight: 500; }
.story-rating .stars { color: #F59E0B; letter-spacing: 2px; }
.story-rating .avatars { display: flex; margin-left: auto; }
.story-rating .avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
}
.story-rating .avatars span:first-child { margin-left: 0; }
.home-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.home-gallery-head h2 { margin-bottom: 0; }
.view-gallery-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.view-gallery-link:hover { color: var(--green); }
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.home-gallery-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.home-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.home-gallery-grid a:hover img { transform: scale(1.06); }

/* ===== DONATION BAR ===== */
.donation-bar {
  background: var(--green);
  padding: 0;
}
.donation-bar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 24px;
  flex-wrap: wrap;
}
.donation-bar-img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.donation-bar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.donation-bar h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  flex: 1;
  min-width: 200px;
  margin: 0;
}
.donation-amounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.donation-amt {
  min-width: 72px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.donation-amt:hover,
.donation-amt.active {
  background: var(--white);
  color: var(--green-hover);
  border-color: var(--white);
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body { padding: 22px; }
.news-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
}
.news-card .read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}
.news-card .read-more:hover { color: var(--green); }

/* ===== TESTIMONIALS (legacy) ===== */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  display: none;
}
.testimonial-card.active { display: block; animation: fadeInUp 0.6s ease; }
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: 15px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-card .author { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.testimonial-card .role { font-size: 0.85rem; color: var(--gray-light); }
.testimonial-ctrls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.testimonial-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.testimonial-dot.active { background: var(--primary); width: 32px; border-radius: 6px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid-5 {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
}
.footer-brand img,
.footer-logo-link img {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}
.footer-logo-link { display: inline-block; }
.footer-brand p { font-size: 0.88rem; opacity: 0.6; line-height: 1.8; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--white); margin-bottom: 18px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  opacity: 0.55;
  transition: var(--transition);
  display: inline-block;
}
.footer-links a:hover { opacity: 1; color: var(--green); transform: translateX(4px); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.5;
}
.footer-contact li i {
  color: var(--primary);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
.footer-contact a { opacity: 1; }
.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  opacity: 0.55;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--green); opacity: 1; }
.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-links span { opacity: 0.5; }

/* ===== LEGAL DOC PAGES ===== */
.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
}
.legal-doc .legal-updated {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
}
.legal-doc h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 28px 0 12px;
}
.legal-doc p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.legal-doc ul {
  margin: 0 0 16px 1.2rem;
  list-style: disc;
  color: var(--gray);
}
.legal-doc ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 0.96rem;
}
.legal-doc a {
  color: var(--primary);
  font-weight: 600;
}
.legal-doc a:hover { color: var(--green); }
.legal-contact {
  list-style: none !important;
  margin-left: 0 !important;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px !important;
}
.legal-contact li { margin-bottom: 8px; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-nav a {
  display: inline-flex;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy) !important;
  transition: var(--transition);
}
.legal-nav a:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: rgba(0,87,184,0.04);
}
@media (max-width: 768px) {
  .legal-doc { padding: 28px 20px; }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: 0 6px 25px rgba(34,197,94,0.35);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 10px 35px rgba(34,197,94,0.45); }

/* ===== PAGE HEADER ===== */
/* ===== PAGE HEADER (inner pages — homepage vibe) ===== */
.page-header {
  padding: 90px 0 70px;
  background: var(--navy) center/cover no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,29,54,0.92) 0%, rgba(0,87,184,0.72) 55%, rgba(34,197,94,0.35) 100%);
  z-index: 0;
}
.page-header .container { position: relative; z-index: 1; width: 100%; }
.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  position: relative;
  line-height: 1.2;
}
.page-header h1 .text-green { color: var(--green) !important; }
.page-header h1 .text-blue { color: #7DD3FC !important; }
.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-top: 12px;
  position: relative;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.page-header .divider {
  width: 60px;
  height: 4px;
  background: var(--green);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: var(--transition); font-weight: 500; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--green); }

/* ===== PROGRAMS PAGE ===== */
.program-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.pd-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: var(--radius-sm);
  box-shadow: none;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.pd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pd-card .pd-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: rgba(0,87,184,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
  transition: var(--transition);
}
.pd-card:hover .pd-icon { background: var(--primary); color: var(--white); }
.pd-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.pd-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ===== INNER PAGE LAYOUTS ===== */
.inner-page .content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.inner-page .content-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  min-height: 320px;
  background: var(--border);
}
.inner-page .content-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.inner-page .content-copy h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}
.inner-page .content-copy p {
  color: #b7d1ec;
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.inner-page .content-copy .tagline {
  color: var(--green);
  font-weight: 700;
  margin: 0 0 12px;
}

/* Vision / Mission cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vm-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.vm-card .vm-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.vm-card.vision .vm-icon { background: rgba(0,87,184,0.1); color: var(--primary); }
.vm-card.mission .vm-icon { background: rgba(34,197,94,0.12); color: var(--green); }
.vm-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 800;
}
.vm-card p { color: var(--gray); line-height: 1.8; font-size: 0.95rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-img {
  height: 240px;
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-img i { font-size: 3.5rem; color: var(--gray-light); }
.team-body { padding: 24px; text-align: center; }
.team-body h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); font-weight: 800; }
.team-body .role { color: var(--primary); font-weight: 700; font-size: 0.88rem; margin: 4px 0; }
.team-body .desc { color: var(--gray-light); font-size: 0.85rem; }
.team-body .bio { color: var(--gray); font-size: 0.88rem; line-height: 1.65; margin-top: 10px; }

/* Timeline */
.timeline-item {
  display: flex;
  gap: 25px;
  padding: 20px 0 20px 30px;
  position: relative;
  border-left: 2px solid var(--border);
}
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px; top: 24px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.tl-year { font-family: var(--font-stats); font-size: 1.2rem; font-weight: 800; color: var(--primary); min-width: 80px; }
.tl-content h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.tl-content p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.feature-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }
.feature-card i { margin-right: 8px; }

/* Emergency / phone panels */
.emergency-panel {
  background: var(--navy);
  color: white;
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.emergency-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,87,184,0.4), rgba(34,197,94,0.2));
}
.emergency-panel > * { position: relative; z-index: 1; }
.emergency-panel .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
  font-weight: 600;
}
.emergency-panel .phone {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 8px 0;
}
.emergency-panel .phone a { color: var(--white); }
.emergency-panel .phone i { color: var(--green); margin-right: 10px; }

/* Steps box */
.steps-box {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 36px 30px;
  color: white;
}
.steps-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.step-item:last-child { margin-bottom: 0; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.step-item strong { display: block; margin-bottom: 2px; }
.step-item span { opacity: 0.85; font-size: 0.9rem; line-height: 1.5; }

/* Bank / donate details */
.bank-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  color: white;
}
.bank-box h4 {
  font-family: var(--font-heading);
  margin-bottom: 14px;
  font-weight: 800;
}
.bank-box p { margin-bottom: 8px; font-size: 0.95rem; opacity: 0.9; }
.bank-box strong { color: var(--white); opacity: 1; }

/* Forms */
.hope-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 680px;
  margin: 0 auto;
}
.hope-form .form-group { margin-bottom: 18px; }
.hope-form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.hope-form input,
.hope-form textarea,
.hope-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  background: var(--bg);
  color: var(--gray-dark);
}
.hope-form input:focus,
.hope-form textarea:focus,
.hope-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,87,184,0.12);
  background: var(--white);
}
.hope-form textarea { min-height: 120px; resize: vertical; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-block { margin-bottom: 22px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.contact-block h4 i { color: var(--primary); width: 18px; }
.contact-block p,
.contact-block a {
  color: var(--gray);
  line-height: 1.75;
  padding-left: 28px;
  font-size: 0.92rem;
}
.contact-block a:hover { color: var(--primary); }
.contact-map iframe {
  border: 0;
  border-radius: var(--radius-sm);
  width: 100%;
  min-height: 260px;
}

/* Gallery */
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
}
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,54,0.75), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-weight: 600; font-size: 0.88rem; }
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.gallery-filter {
  padding: 10px 22px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-btn);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray);
  letter-spacing: 0.3px;
}
.gallery-filter.active,
.gallery-filter:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* FAQ */
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question:hover { background: var(--bg); }
.faq-question i { color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.active .faq-answer { max-height: 320px; padding: 0 22px 20px; }
.faq-answer p { color: var(--gray); line-height: 1.75; font-size: 0.95rem; }

/* Volunteer bits */
.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--gray-dark);
  font-weight: 600;
}
.vol-opp-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 0.92rem;
}
.vol-opp-list li:last-child { border-bottom: none; }

/* Service tags (disaster) */
.service-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.service-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.service-tag:hover { border-color: var(--green); box-shadow: var(--shadow); }
.service-tag i { color: var(--green); }

/* Shared page CTA strip */
.page-cta {
  background: var(--green);
  padding: 40px 0;
}
.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  flex: 1;
  min-width: 220px;
}
.page-cta p {
  color: rgba(255,255,255,0.9);
  margin: 6px 0 0;
  font-size: 0.95rem;
  max-width: 480px;
}
.page-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.page-cta.navy { background: var(--navy); }

/* QR / donate image helpers */
.donate-qr {
  /* width: 180px;
  height: 180px; */
  object-fit: contain;
  margin: 16px auto 0;
  display: block;
  background: var(--white);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
#csrOppList li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .inner-page .content-split,
  .vm-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-cta-inner { flex-direction: column; text-align: center; }
  .page-cta p { margin-left: auto; margin-right: auto; }
  .page-cta-actions { justify-content: center; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .page-header { padding: 70px 0 50px; min-height: 220px; }
}
