/* ===================================================
   FAMILY NGO — Design System
   Font: Roboto | Colors: Blue #1a3d8f | Red #cc1f27 | Yellow #f5c220
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --blue:        #1a3d8f;
  --blue-dark:   #0d2460;
  --blue-light:  rgba(26,61,143,0.08);
  --red:         #cc1f27;
  --red-dark:    #a8181f;
  --red-light:   rgba(204,31,39,0.08);
  --yellow:      #f5c220;
  --yellow-light:rgba(245,194,32,0.15);
  --white:       #ffffff;
  --dark:        #111827;
  --body:        #374151;
  --muted:       #6b7280;
  --light:       #f8f9fa;
  --border:      #e5e7eb;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 87.5%; } /* 14px base — scales all rem-based text/spacing down to fit the 1000px content width */

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--blue);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.nav-logo {
  height: 40px;
  width: 40px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  padding: 2px;
  flex-shrink: 0;
}

.nav-brand-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-brand-tag {
  font-family: 'Roboto', sans-serif;
  font-size: 0.55rem;
  color: var(--yellow);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3px;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-dark);
  padding: 0.5rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
#mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
#mobile-menu a:last-child { border-bottom: none; }
#mobile-menu a:hover { color: var(--yellow); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(204,31,39,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,31,39,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--white);
  padding: 12px 26px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(26,61,143,0.3);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow);
  color: var(--dark);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-yellow:hover {
  background: #e0af10;
  transform: translateY(-2px);
}

/* ── SECTION LABELS & TITLES ── */
.label {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.label-white { color: var(--yellow); }

.heading-xl {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.heading-lg {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.heading-md {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--dark);
  line-height: 1.3;
}

.accent { color: var(--red); }
.accent-yellow { color: var(--yellow); }
.accent-blue { color: var(--blue); }

.divider {
  width: 48px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider-center { margin: 1rem auto 1.5rem; }
.divider-red { background: var(--red); }
.divider-blue { background: var(--blue); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/IMG-20250725-WA0011.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,36,96,0.97) 0%, rgba(13,36,96,0.85) 55%, rgba(13,36,96,0.3) 100%);
}

.hero-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(245,194,32,0.04) 100%);
  border-left: 3px solid rgba(245,194,32,0.12);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue);
  border-top: 4px solid var(--yellow);
}

.stat-item { text-align: center; padding: 1.75rem 1rem; }

.stat-number {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.4rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--blue);
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
}

.page-hero-content { position: relative; z-index: 2; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--yellow); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: rgba(255,255,255,0.8); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content:center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.icon-blue   { background: var(--blue-light); }
.icon-red    { background: var(--red-light); }
.icon-yellow { background: var(--yellow-light); }

/* Service card */
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  border-top: 4px solid var(--blue);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}
.service-card.red   { border-top-color: var(--red); }
.service-card.yellow { border-top-color: var(--yellow); }

/* Value card */
.value-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.75rem;
  border-left: 5px solid var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.value-card:hover { transform: translateX(5px); }
.value-card.red    { border-left-color: var(--red); }
.value-card.yellow { border-left-color: var(--yellow); }

/* Event card */
.event-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.event-card img { width: 100%; height: 220px; object-fit: cover; }
.event-card-body { padding: 1.5rem; }

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

/* Project card */
.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.project-card-img { width: 100%; height: 190px; object-fit: cover; }
.project-card-body { padding: 1.5rem; }

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
.badge-blue   { background: var(--blue-light);   color: var(--blue); }
.badge-red    { background: var(--red-light);    color: var(--red); }
.badge-yellow { background: var(--yellow-light); color: #7a6000; }
.badge-green  { background: rgba(22,163,74,0.1); color: #16a34a; }

/* ── GALLERY ── */
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}
.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* ── CTA BANNER ── */
.cta-section {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(245,194,32,0.05));
  border-left: 1px solid rgba(245,194,32,0.1);
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ── BOTTOM BAR ── */
.bottom-bar {
  background: var(--red);
  padding: 1.1rem 0;
}
.bottom-bar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}
.bottom-bar-item .bi-label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}
.bottom-bar-item .bi-sub {
  font-size: 0.72rem;
  opacity: 0.82;
  margin-top: 2px;
}
.bottom-bar-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: #0a1940;
  color: rgba(255,255,255,0.65);
  font-family: 'Roboto', sans-serif;
}
footer h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}
footer a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
  display: block;
  padding: 0.25rem 0;
}
footer a:hover { color: var(--yellow); }
.footer-divider { border-color: rgba(255,255,255,0.08); }

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-icon:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ── FORM ── */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 15px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,61,143,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── ANIMATIONS ── */
.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0;
  /* smooth decelerating ease-out (easeOutQuint) — glides into place instead of a flat linear feel */
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;   /* hint the compositor before the reveal */
  backface-visibility: hidden;       /* avoid sub-pixel flicker during the transform */
}
.fade-in       { transform: translate3d(0, 28px, 0); }
.fade-in-left  { transform: translate3d(-28px, 0, 0); }
.fade-in-right { transform: translate3d(28px, 0, 0); }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;                 /* release the compositor hint once revealed */
}

/* Respect users who prefer no motion — show content instantly, stop decorative loops */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-left, .fade-in-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ── CHECKLIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.5;
}
.check-list li i { color: var(--yellow); margin-top: 3px; flex-shrink: 0; }
.check-list.red li i { color: var(--red); }
.check-list.blue li i { color: var(--blue); }

/* ── UTILITY ── */
.pt-nav    { padding-top: 72px; }
.bg-light  { background: var(--light); }
.bg-blue   { background: var(--blue); }
.bg-red    { background: var(--red); }
.text-muted { color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #hamburger { display: flex; }
  .nav-links  { display: none; }
  #mobile-menu.open { display: flex; }

  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .stats-bar .grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes chevron-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════
   HOME PAGE — CUSTOM REDESIGN  (additive; index.html only)
   ═══════════════════════════════════════════════════════ */

/* ── HERO (enhanced) ── */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(26,61,143,0.55), transparent 60%),
    linear-gradient(160deg, #0a1f55 0%, #0d2460 45%, #102b73 100%);
  isolation: isolate;
}

/* faint photo wash */
.home-hero__photo {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/IMG-20250725-WA0011.jpg');
  background-size: cover;
  background-position: center 28%;
  opacity: 0.14;
  mix-blend-mode: luminosity;
  z-index: -3;
}

/* dotted grid texture */
.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 75%);
  z-index: -2;
  opacity: 0.6;
}

/* sunburst rays — brand flyer motif */
.home-hero__rays {
  position: absolute;
  top: -28%;
  right: -14%;
  width: 760px;
  height: 760px;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(245,194,32,0.14) 0deg 6deg,
      transparent 6deg 18deg);
  border-radius: 50%;
  mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  animation: ray-spin 90s linear infinite;
  z-index: -2;
  pointer-events: none;
}
@keyframes ray-spin { to { transform: rotate(360deg); } }

/* drifting glow blobs */
.home-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -2;
  pointer-events: none;
}
.home-hero__glow.g1 { width: 380px; height: 380px; top: 8%;  left: -8%;  background: rgba(204,31,39,0.30);  animation: blob-a 14s ease-in-out infinite; }
.home-hero__glow.g2 { width: 320px; height: 320px; bottom: 4%; right: 12%; background: rgba(245,194,32,0.22); animation: blob-b 18s ease-in-out infinite; }
@keyframes blob-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,30px); } }
@keyframes blob-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,-36px); } }

/* eyebrow chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245,194,32,0.12);
  border: 1px solid rgba(245,194,32,0.32);
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(4px);
}
.hero-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(245,194,32,0.6);
  animation: pulse-ring 1.8s ease-out infinite;
}
.hero-chip span {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 3px;
  color: var(--yellow); text-transform: uppercase;
}

/* glass stat row */
.hero-stats {
  display: flex;
  gap: 0.6rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 110px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.hero-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(245,194,32,0.5);
  background: rgba(255,255,255,0.09);
}
.hero-stat .num {
  font-weight: 900; font-size: 1.7rem; color: var(--yellow);
  line-height: 1; letter-spacing: -1px;
}
.hero-stat .lbl {
  font-size: 0.66rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 6px;
}

/* hero image collage */
.hero-collage { position: relative; }
.hero-collage__main {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-collage__main img { width: 100%; height: 500px; object-fit: cover; display: block; }
.hero-collage__sub {
  position: absolute;
  bottom: -34px; right: -28px;
  width: 168px; height: 168px;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.hero-collage__sub img { width: 100%; height: 100%; object-fit: cover; }

/* floating verse card */
.hero-verse {
  position: absolute;
  bottom: 42px; left: -34px;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  max-width: 230px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  border-left: 4px solid var(--yellow);
  animation: float 6s ease-in-out infinite;
}
.hero-verse p { font-size: 0.8rem; color: var(--dark); line-height: 1.6; font-style: italic; }
.hero-verse .ref { font-size: 0.66rem; font-weight: 700; color: var(--red); letter-spacing: 1px; margin-top: 6px; text-transform: uppercase; }

/* anniversary ring badge */
.hero-ring {
  position: absolute;
  top: -22px; left: 18px;
  width: 84px; height: 84px;
  background: var(--red);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(204,31,39,0.5);
  border: 3px solid rgba(255,255,255,0.85);
  z-index: 6;
}
.hero-ring .n { font-weight: 900; font-size: 1.5rem; color: #fff; line-height: 1; }
.hero-ring .t { font-size: 0.52rem; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 1px; }

/* curved divider into next section */
.home-hero__curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 70px;
  z-index: 2;
  display: block;
}

/* ── SCRIPTURE BAND ── */
.scripture-band {
  background: var(--red);
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0;
}
.scripture-band::before {
  content: '"';
  position: absolute;
  top: -42px; left: 24px;
  font-size: 11rem; font-weight: 900;
  color: rgba(255,255,255,0.10);
  line-height: 1; pointer-events: none;
}
.scripture-band p {
  font-size: clamp(1.05rem, 2.3vw, 1.5rem);
  color: #fff; font-weight: 500; line-height: 1.55;
  text-align: center; font-style: italic;
}
.scripture-band .ref {
  display: block; text-align: center; margin-top: 0.75rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--yellow); font-style: normal;
}

/* ── PILLAR (image) CARDS ── */
.pillar-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 22px rgba(0,0,0,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(0,0,0,0.22); }
.pillar-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  z-index: -2;
}
.pillar-card:hover img { transform: scale(1.07); }
.pillar-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,64,0.94) 0%, rgba(10,25,64,0.55) 45%, rgba(10,25,64,0.10) 100%);
  z-index: -1;
}
.pillar-card .body { padding: 1.6rem; }
.pillar-card .tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  font-size: 1.35rem; margin-bottom: 0.9rem;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
}
.pillar-card h3 { color: #fff; font-weight: 700; font-size: 1.12rem; margin-bottom: 0.45rem; }
.pillar-card p  { color: rgba(255,255,255,0.82); font-size: 0.85rem; line-height: 1.65; }
.pillar-card .more {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.9rem; font-size: 0.76rem; font-weight: 700;
  color: var(--yellow); text-transform: uppercase; letter-spacing: 1px;
}
.pillar-card .bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px; z-index: 1;
}
.pillar-card.b1 .bar { background: var(--red); }
.pillar-card.b2 .bar { background: var(--yellow); }
.pillar-card.b3 .bar { background: #16a34a; }
.pillar-card.b4 .bar { background: var(--blue); }

/* ── SECTION EYEBROW (centered) ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.85rem;
}
.eyebrow::before, .eyebrow.both::after {
  content: ''; width: 26px; height: 2px; background: var(--yellow); display: inline-block;
}

/* ── IMPACT STRIP ── */
.impact-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.impact-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(0,0,0,0.10); border-color: transparent; }
.impact-card .ico {
  width: 50px; height: 50px; margin: 0 auto 0.8rem;
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.impact-card .n { font-weight: 900; font-size: 2rem; color: var(--dark); line-height: 1; letter-spacing: -1px; }
.impact-card .l { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ── FINAL CTA (image) ── */
.home-cta {
  position: relative; overflow: hidden;
  padding: 6rem 0; isolation: isolate;
}
.home-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: url('../assets/images/IMG-20260608-WA0015.jpg');
  background-size: cover; background-position: center 35%;
}
.home-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(10,25,64,0.95) 0%, rgba(13,36,96,0.82) 55%, rgba(204,31,39,0.55) 100%);
}

/* ── RESPONSIVE (home) ── */
@media (max-width: 768px) {
  .home-hero { min-height: auto; padding: 7rem 0 5rem; }
  .home-hero__rays { width: 420px; height: 420px; top: -12%; right: -28%; }
  .hero-collage__sub { width: 120px; height: 120px; right: -10px; bottom: -24px; }
  .hero-verse { position: static; max-width: none; margin-top: 2.5rem; animation: none; }
  .hero-ring { top: -16px; left: 10px; width: 70px; height: 70px; }
  .hero-stat .num { font-size: 1.45rem; }
}

/* ═══════════════════════════════════════════════════════
   INNER PAGES — shared components + redesigned banner
   (about / projects / goals / volunteer / events / contact)
   ═══════════════════════════════════════════════════════ */

/* ── PAGE BANNER (redesign) ── */
.page-hero {
  position: relative;
  padding: 9.5rem 0 6rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(760px 460px at 82% -25%, rgba(26,61,143,0.65), transparent 60%),
    linear-gradient(160deg, #0a1f55 0%, #0d2460 50%, #102b73 100%);
}
/* dotted texture + soft yellow glow */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 320px at 88% 8%, rgba(245,194,32,0.10), transparent 60%),
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px);
  background-size: auto, 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(120deg, #000 0%, transparent 80%);
}
/* yellow bottom accent */
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue));
  z-index: 1;
}
.page-hero h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0.4rem auto 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ── SECTION EYEBROW / TITLE / DIVIDER ── */
.section-tag {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -0.5px;
}
.section-title span { color: var(--red); }

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}
.section-divider.left { margin-left: 0; margin-right: 0; }

/* ── FEATURE CARD (about / volunteer) ── */
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-top: 4px solid var(--blue);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}
.feature-card.red-top { border-top-color: var(--red); }
.feature-card.yellow-top { border-top-color: var(--yellow); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon.icon-blue   { background: var(--blue-light);   color: var(--blue); }
.feature-icon.icon-red    { background: var(--red-light);    color: var(--red); }
.feature-icon.icon-yellow { background: var(--yellow-light); color: #7a6000; }

/* ── CTA BANNER (inner pages) ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(600px 380px at 85% -30%, rgba(204,31,39,0.35), transparent 60%),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

/* ── FOOTER BOTTOM-BAR (inner-page markup variant) ── */
.bottom-bar-item .icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.bottom-bar-item .label {
  font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px; line-height: 1;
}
.bottom-bar-item .sublabel {
  font-size: 0.72rem; opacity: 0.82; margin-top: 2px;
}

@media (max-width: 768px) {
  .page-hero { padding: 8rem 0 4.5rem; }
}

/* ═══════════════════════════════════════════════════════
   BLOG  (blog.html + blog-detail.html)
   ═══════════════════════════════════════════════════════ */

/* meta row: date · author · read time */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.blog-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.blog-meta i { color: var(--red); }

/* blog card (extends .project-card look) */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.blog-card .thumb { position: relative; overflow: hidden; height: 210px; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .thumb .cat {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--red); color: #fff; padding: 4px 10px; border-radius: 4px;
}
.blog-card .pad { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 {
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.12rem;
  color: var(--blue); line-height: 1.35; margin-bottom: 0.6rem;
}
.blog-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.blog-card .read {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px;
}

/* featured post */
.featured-post {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 44px rgba(0,0,0,0.10);
}
.featured-post img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* ── ARTICLE (detail page) ── */
.article-cover {
  width: 100%; height: 440px; object-fit: cover;
  border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,0.18); display: block;
}
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { color: var(--body); line-height: 1.95; margin-bottom: 1.5rem; font-size: 1.04rem; }
.article-body h2 {
  font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 1.6rem;
  color: var(--dark); margin: 2.6rem 0 1rem; letter-spacing: -0.3px;
}
.article-body h3 {
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.2rem;
  color: var(--blue); margin: 2rem 0 0.75rem;
}
.article-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin: 0 0 1.5rem; }
.article-body ul li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--body); line-height: 1.7; font-size: 1rem; }
.article-body ul li i { color: var(--yellow); margin-top: 6px; flex-shrink: 0; }
.article-body blockquote {
  border-left: 4px solid var(--yellow);
  background: var(--light);
  padding: 1.3rem 1.6rem; border-radius: 0 10px 10px 0;
  margin: 2rem 0; font-style: italic; color: var(--dark); font-size: 1.1rem; line-height: 1.7;
}
.article-body blockquote cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--red); letter-spacing: 1px; }
.article-body figure img { width: 100%; border-radius: 12px; margin: 0.5rem 0; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.article-body figure figcaption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 0.6rem; }

/* author / share strip */
.author-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.5rem 0; margin: 2.5rem 0;
}
.author-strip .who { display: flex; align-items: center; gap: 0.9rem; }
.author-strip .avatar {
  width: 50px; height: 50px; border-radius: 50%; background: var(--blue);
  color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
