/* ================================================================
   Rivercrest Global Foundation — Main Stylesheet
   Brand: Navy #1a2d52 | Gold #f0a500 | River Blue #4da6c8
   Fonts: Playfair Display (headings) + DM Sans (body)
   ================================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy: #1a2d52;
  --navy-deep: #0f1e38;
  --navy-light: #243a68;
  --gold: #f0a500;
  --gold-light: #f7c54b;
  --gold-pale: #fef3d5;
  --river: #4da6c8;
  --river-light: #a8d8ea;
  --river-pale: #e8f5fb;
  --white: #ffffff;
  --off-white: #f7f4ef;
  --text-dark: #1a1a2e;
  --text-body: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
  --transition: 0.3s ease;
  --navbar-h: 76px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  padding-top: var(--navbar-h);
}

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

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.display-serif {
  font-family: "Playfair Display", serif;
}
.text-gold {
  color: var(--gold) !important;
}
.text-navy {
  color: var(--navy) !important;
}
.text-river {
  color: var(--river) !important;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 500;
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  transition: all var(--transition);
}
.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 165, 0, 0.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  border: 2px solid var(--navy);
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  transition: all var(--transition);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  font-weight: 500;
  transition: all var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 0.55rem 1.6rem;
  font-weight: 500;
  transition: all var(--transition);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Section Utilities ──────────────────────────────────────── */
.section-pad {
  padding: 80px 0;
}
.section-pad-sm {
  padding: 56px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-tag::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title span {
  color: var(--gold);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem 0 2rem;
}
.divider-gold.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.bg-navy-deep {
  background: var(--navy-deep) !important;
}
.bg-navy {
  background: var(--navy) !important;
}
.bg-off-white {
  background: var(--off-white) !important;
}
.bg-river-pale {
  background: var(--river-pale) !important;
}
.bg-gold-pale {
  background: var(--gold-pale) !important;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-rgf {
  background: rgba(10, 22, 48, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: var(--navbar-h);
}
.navbar-rgf.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-img {
  border-radius: 8px;
  object-fit: cover;
}

.navbar-rgf .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.45rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.navbar-rgf .nav-link:hover,
.navbar-rgf .nav-link.active {
  color: var(--gold) !important;
  background: rgba(240, 165, 0, 0.08);
}

/* Mobile toggler custom icon */
.toggler-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  cursor: pointer;
}
.toggler-icon span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-collapse {
  background: var(--navy-deep);
}
@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
  }
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, rgba(10, 22, 48, 0.85));
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .italic-gold {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-mouse::after {
  content: "";
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-down 1.8s ease-in-out infinite;
}
@keyframes scroll-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(8px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ── Honeypot (spam prevention — must stay off-screen) ──────── */
.form-hp { position:absolute; left:-9999px; top:0; width:1px; height:1px; overflow:hidden; opacity:0; }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--navy-deep);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(240, 165, 0, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
}
.page-hero-title span {
  color: var(--gold);
  font-style: italic;
}
.breadcrumb-item {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb-item.active {
  color: var(--gold);
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: var(--gold);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card-rgf {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
  height: 100%;
}
.card-rgf:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 165, 0, 0.2);
}
.card-rgf .card-img-wrap {
  overflow: hidden;
  height: 220px;
}
.card-rgf .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-rgf:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-rgf .card-body {
  padding: 1.5rem;
}
.card-rgf .card-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.card-rgf .card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.card-rgf .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.card-rgf .card-title a:hover {
  color: var(--gold);
}
.card-rgf .card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.card-read-more:hover {
  color: var(--gold);
  gap: 10px;
}

/* ── Programme Cards ─────────────────────────────────────────── */
.programme-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.programme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 165, 0, 0.2);
}
.programme-card:hover::before {
  transform: scaleX(1);
}

.programme-icon {
  width: 64px;
  height: 64px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.programme-card:hover .programme-icon {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ── Impact Section ─────────────────────────────────────────── */
.impact-section {
  background: var(--navy-deep);
  color: var(--white);
}
.impact-section .section-title {
  color: var(--white);
}

.impact-card {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.impact-card:last-child {
  border-right: none;
}
.impact-num {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.impact-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.06em;
}
.impact-icon {
  font-size: 2rem;
  color: rgba(240, 165, 0, 0.35);
  margin-bottom: 0.75rem;
}

/* ── Scripture Quote ─────────────────────────────────────────── */
.scripture-section {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
}
.scripture-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}
.scripture-ref {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  font-family: "DM Sans", sans-serif;
  color: var(--gold);
  margin-top: 1rem;
  letter-spacing: 0.08em;
}

/* ── Team / Board Cards ─────────────────────────────────────── */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 165, 0, 0.2);
}
.team-photo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-pale);
  transition: border-color var(--transition);
}
.team-card:hover .team-photo-wrap {
  border-color: var(--gold);
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-control-rgf {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition);
}
.form-control-rgf:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
  outline: none;
}
.form-label-rgf {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

/* ── Gallery filter buttons ──────────────────────────────────── */
.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: #fff;
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.gallery-filter-btn.active .gallery-filter-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.gallery-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #f3f4f6;
  color: var(--text-muted);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}
/* Show zoom + scale only on real pointer devices */
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.08);
  }
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
}
/* Hide overlay completely on touch/mobile screens */
@media (max-width: 767px) {
  .gallery-overlay {
    display: none;
  }
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 1;
}
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}
.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}
.lightbox-counter {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--navy-deep) 0%,
    var(--navy-light) 100%
  );
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(240, 165, 0, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-section .section-title {
  color: var(--white);
}

/* ── Donate Page ─────────────────────────────────────────────── */
.donate-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.donate-amount-btn {
  padding: 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.donate-amount-btn:hover,
.donate-amount-btn.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy-deep);
}

/* ── Volunteer Section ───────────────────────────────────────── */
.volunteer-role-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
}
.volunteer-role-card:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.volunteer-role-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
}

.footer-wave {
  line-height: 0;
  margin-bottom: -2px;
}
.footer-wave svg {
  display: block;
  width: 100%;
}

.footer-body {
  padding: 60px 0 0;
}

.footer-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
}
.footer-brand-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-heading {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: "DM Sans", sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}
.footer-contact-list i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact-list a:hover {
  color: var(--gold);
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition);
  font-size: 0.95rem;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

.footer-scripture {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
}
.scripture-ref {
  color: var(--gold);
  font-style: normal;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  margin-left: 0.5rem;
}

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-credit {
  color: var(--gold);
  opacity: 0.7;
}

/* ── Animations ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Whatsapp FAB ────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-fab-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.3;
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination-rgf .page-link {
  color: var(--navy);
  border-color: var(--border);
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
}
.pagination-rgf .page-link:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy);
}
.pagination-rgf .page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* ── Misc ────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Testimonials carousel ──────────────────────────────────── */
.testi-outer {
  overflow: hidden;
  width: 100%;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.75rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(10,22,48,0.10);
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testi-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}
.testimonial-quote-icon {
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 0.75rem;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 1px;
}
