/* =========================================================
   Premium Church Website — Public Styles
   Design: Deep Navy + Warm Gold + Ivory | Cormorant + Inter
   ========================================================= */

/* ── 1. CSS CUSTOM PROPERTIES ──────────────────────────── */
:root {
  /* Brand Colors */
  --navy-950: #080f20;
  --navy-900: #0d1f3c;
  --navy-800: #122447;
  --navy-700: #1a3360;
  --navy-600: #234b8c;
  --navy-500: #2e62b3;

  --gold-600: #9e7530;
  --gold-500: #c9a14a;
  --gold-400: #d4b06a;
  --gold-300: #e2c98e;
  --gold-100: #faf3e3;

  --ivory:    #faf8f3;
  --soft:     #f2ece0;
  --line:     #e8e0d0;
  --line-light: #f0ead9;

  --ink:      #1a2238;
  --ink-soft: #4a556b;
  --muted:    #7a869a;
  --light-blue: #eaf1fb;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(13,31,60,.06);
  --shadow-sm: 0 4px 16px rgba(13,31,60,.08);
  --shadow-md: 0 10px 32px rgba(13,31,60,.12);
  --shadow-lg: 0 24px 64px rgba(13,31,60,.18);
  --shadow-xl: 0 40px 80px rgba(13,31,60,.24);

  /* Border Radius */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-py:    100px;
  --section-py-sm: 64px;
  --section-py-xs: 48px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--gold-500); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .3px;
  margin-top: 0;
}

.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }

.container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }

/* ── 3. HEADER & NAVIGATION ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), padding .3s var(--ease);
}

.site-header.scrolled {
  background: rgba(9, 20, 42, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
  border-bottom-color: rgba(255,255,255,.07);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
  position: relative;
}

.site-header.scrolled .nav-container { padding: 14px 0; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  flex-shrink: 0;
  transition: opacity .2s;
}
.logo:hover { opacity: .85; color: var(--navy-900); }

.logo-img { height: 50px; width: auto; filter: brightness(0) invert(1); }

.logo-mark {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: grid; place-items: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
  font-family: var(--sans);
  font-weight: 500;
}

/* Nav Links */
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav > ul > li > a {
  display: inline-block;
  padding: 9px 13px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
  letter-spacing: .1px;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

.site-nav > ul > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.site-nav > ul > li > a.active {
  color: #fff;
  font-weight: 600;
}

.site-nav > ul > li > a.active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border-radius: 2px;
}

/* Donate Button */
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  font-weight: 600;
  font-size: 14px !important;
  letter-spacing: .2px;
  box-shadow: 0 6px 20px rgba(201,161,74,.35);
  border: 1px solid rgba(255,255,255,0.18) !important;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease) !important;
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,161,74,.45);
  color: #fff !important;
}

.donate-li { margin-left: 8px; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 220;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* Mobile Close Button */
.nav-close {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  color: var(--navy-900);
  position: absolute;
  top: 20px; right: 20px;
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  transition: background .2s;
}
.nav-close:hover { background: var(--ivory); }

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,31,60,.55);
  backdrop-filter: blur(4px);
  z-index: 195;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* Mobile Responsive Nav */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; }

  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh; height: 100vh;
    width: min(320px, 85vw);
    background: #fff;
    box-shadow: var(--shadow-xl);
    transform: translateX(110%);
    transition: transform .38s var(--ease-out);
    padding: 80px 28px 36px;
    z-index: 210;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .site-nav.open { transform: translateX(0); }

  .nav-close { display: flex; }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }

  .site-nav > ul > li > a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-light);
    border-radius: 0;
    font-size: 16px;
    color: var(--ink);
    text-shadow: none;
  }

  .site-nav > ul > li > a:hover {
    color: var(--navy-900);
    background: transparent;
  }

  .site-nav > ul > li > a.active {
    color: var(--gold-600);
    font-weight: 600;
  }

  .site-nav > ul > li:last-child > a { border-bottom: 0; }
  .site-nav > ul > li > a.active::after { display: none; }

  .donate-li { margin: 20px 0 0; }
  .btn-donate {
    display: flex;
    justify-content: center;
    padding: 14px 24px !important;
    font-size: 15px !important;
    border-radius: var(--radius) !important;
  }
}

/* ── 4. HERO SLIDER ─────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1100px;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Crystal-clear, static high-quality background — zero zoom / distortion */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Bottom gradient — ultra light shadow only behind bottom text for 100% crystal-clear image */
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 8, 20, .75) 0%,
    rgba(4, 8, 20, .30) 20%,
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
}

/* Top vignette — light transparent touch for nav readability */
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 8, 20, .35) 0%,
    transparent 18%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

/* HERO CONTENT — bottom left */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  text-align: left;
  width: 100%;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold-400);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: var(--sans);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.02;
  margin-bottom: 14px;
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
  font-weight: 700;
}

.hero-sub {
  color: rgba(255,255,255,.88);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  margin-bottom: 10px;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.hero-desc {
  color: rgba(220,228,240,.85);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-start;   /* LEFT aligned buttons */
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .3px;
  transition: all .28s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid transparent;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: 0 14px 32px rgba(201,161,74,.45);
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 20px 40px rgba(201,161,74,.55);
}

.hero-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.hero-btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
  color: #fff;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  top: 50%;
  left: 28px; right: 28px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.hero-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.22);
  pointer-events: auto;
  backdrop-filter: blur(10px);
  transition: all .25s var(--ease);
  font-size: 14px;
}

.hero-arrow:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: scale(1.1);
}

/* Hero Dots — bottom center, clean modern indicators */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: width .4s cubic-bezier(0.4, 0, 0.2, 1), background .35s ease, box-shadow .35s ease;
  flex-shrink: 0;
}

.hero-dots button:hover {
  background: rgba(255,255,255,.8);
  transform: scale(1.1);
}

.hero-dots button.active {
  width: 36px;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(201,161,74,.5);
}

/* Service times badge — bottom-right corner of hero */
.hero-service-badge {
  position: absolute;
  bottom: 50px;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.9);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .4px;
  pointer-events: none;
}

.hero-service-badge i {
  color: var(--gold-400);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-service-badge { display: none; }
}



/* ── 5. SECTION UTILITIES ────────────────────────────────── */
.section     { padding: var(--section-py) 0; }
.section-sm  { padding: var(--section-py-sm) 0; }
.section-xs  { padding: var(--section-py-xs) 0; }

.section-light { background: var(--ivory); }
.section-soft  { background: var(--soft); }

.section-dark {
  background: var(--navy-900);
  color: #e9edf6;
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p   { color: rgba(200,210,230,.85); }

/* Eyebrow */
.section-eyebrow {
  display: inline-block;
  color: var(--gold-500);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--sans);
  margin-bottom: 14px;
  position: relative;
}

/* Section title */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.12;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin-bottom: 0; }

/* Gold divider */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border-radius: 2px;
  margin: 18px auto 0;
}
.divider-left { margin-left: 0; }

/* ── 6. BUTTONS ─────────────────────────────────────────── */
.btn-primary-c {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; border: 0;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .2px;
  transition: all .28s var(--ease);
  cursor: pointer;
}
.btn-primary-c:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff; border: 0;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .2px;
  transition: all .28s var(--ease);
  cursor: pointer;
}
.btn-gold:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201,161,74,.45);
}

.btn-outline-c {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .28s var(--ease);
  cursor: pointer;
}
.btn-outline-c:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--gold-500);
  border: 2px solid var(--gold-500);
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .28s var(--ease);
  cursor: pointer;
}
.btn-outline-gold:hover {
  background: var(--gold-500);
  color: #fff;
}

/* ── 7. WELCOME / ABOUT SPLIT ───────────────────────────── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.welcome-text {}

.welcome-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--soft);
}

.welcome-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.welcome-img:hover img { transform: scale(1.03); }

/* Decorative border accent */
.welcome-img::after {
  content: '';
  position: absolute;
  left: -24px; bottom: -24px;
  width: 55%; height: 55%;
  border: 3px solid var(--gold-400);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .6;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.welcome-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.welcome-feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: var(--gold-500);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.welcome-feature h6 {
  margin: 0 0 4px;
  color: var(--navy-900);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
}

.welcome-feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 48px; }
  .welcome-img { max-width: 480px; margin: 0 auto; order: -1; }
}

@media (max-width: 480px) {
  .welcome-features { grid-template-columns: 1fr; }
}

/* ── 8. STATS BAR ───────────────────────────────────────── */
.stats-bar {
  background: var(--navy-900);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(255,255,255,.12);
}

.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--gold-400); }

.stat-label {
  color: rgba(200,210,235,.7);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
}

/* ── 9. SCRIPTURE BOX ───────────────────────────────────── */
.scripture-box {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #fff;
  padding: 72px 60px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scripture-box::before {
  content: '\201C';
  position: absolute;
  font-family: var(--serif);
  font-size: 20rem;
  top: -60px; left: 30px;
  color: rgba(201,161,74,.08);
  line-height: 1;
  pointer-events: none;
}

.scripture-box::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(201,161,74,.05);
  bottom: -100px; right: -60px;
}

.scripture-box blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.scripture-box cite {
  color: var(--gold-400);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-transform: uppercase;
  font-family: var(--sans);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .scripture-box { padding: 48px 28px; }
}

/* ── 10. VISION / MISSION CARDS ─────────────────────────── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  background: #fff;
  padding: 44px 38px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
}

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

.vm-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: var(--gold-100);
  color: var(--gold-500);
  display: grid; place-items: center;
  font-size: 1.55rem;
  margin-bottom: 22px;
}

.vm-card h3 {
  font-size: 1.75rem;
  margin-bottom: 14px;
  color: var(--navy-900);
}

.vm-card p { color: var(--ink-soft); line-height: 1.8; margin: 0; }

@media (max-width: 700px) { .vm-grid { grid-template-columns: 1fr; } }

/* ── 11. MINISTRY CARDS ─────────────────────────────────── */
.ministry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-light);
  transition: all .38s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ministry-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}

.ministry-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--soft);
  position: relative;
}

.ministry-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.ministry-card:hover .ministry-img img { transform: scale(1.08); }

.ministry-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  display: grid; place-items: center;
  font-size: 1.45rem;
  box-shadow: var(--shadow-md);
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  border: 4px solid #fff;
  transition: transform .3s var(--ease);
}

.ministry-card:hover .ministry-icon { transform: scale(1.1) rotate(-5deg); }

.ministry-body {
  padding: 20px 24px 28px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ministry-body h4 {
  font-size: 1.3rem;
  margin: 16px 0 10px;
  color: var(--navy-900);
}

.ministry-body p {
  color: var(--ink-soft);
  font-size: 14px;
  flex-grow: 1;
  line-height: 1.7;
  margin: 0 0 16px;
}

.ministry-link {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: center;
  transition: gap .2s var(--ease), color .2s;
}

.ministry-link:hover { color: var(--navy-700); gap: 10px; }

/* ── 12. LEADERSHIP CARDS ───────────────────────────────── */
.leader-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-light);
  transition: all .35s var(--ease);
  height: 100%;
}

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

.leader-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--soft);
  position: relative;
}

.leader-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease);
}

.leader-card:hover .leader-photo img { transform: scale(1.06); }

.leader-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,60,.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.leader-card:hover .leader-photo-overlay { opacity: 1; }

.leader-body {
  padding: 22px 22px 26px;
  text-align: center;
}

.leader-body h5 {
  margin: 0 0 4px;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.leader-position {
  color: var(--gold-600);
  font-size: 11.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--sans);
  margin-bottom: 12px;
}

.leader-bio {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.leader-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.leader-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--navy-700);
  display: grid; place-items: center;
  font-size: 13px;
  transition: all .25s var(--ease);
}

.leader-social a:hover {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

/* ── 13. EVENT CARDS ────────────────────────────────────── */
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-light);
  transition: all .35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.event-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--soft);
  position: relative;
}

.event-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.event-card:hover .event-img img { transform: scale(1.06); }

.event-date {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 66px;
  box-shadow: var(--shadow-md);
}

.event-date .day {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--serif);
}

.event-date .mon {
  display: block;
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 3px;
  font-weight: 600;
}

.event-body {
  padding: 24px 24px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-body h4 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--navy-900);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.event-meta i {
  color: var(--gold-500);
  width: 16px;
  margin-right: 4px;
}

.event-body p {
  color: var(--ink-soft);
  font-size: 14px;
  flex-grow: 1;
  line-height: 1.7;
  margin: 0;
}

.event-featured {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  font-size: 10.5px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  align-self: flex-start;
}

.event-past { opacity: .75; }

/* ── 14. SERMONS ────────────────────────────────────────── */
/* Featured Sermon */
.sermon-featured {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
}

.sermon-featured-media {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
  min-height: 380px;
}

.sermon-featured-media iframe,
.sermon-featured-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}

.sermon-featured-info {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sermon-featured-info h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 14px;
  line-height: 1.2;
}

.sermon-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.sermon-featured-meta i { color: var(--gold-500); margin-right: 5px; }

@media (max-width: 900px) {
  .sermon-featured { grid-template-columns: 1fr; }
  .sermon-featured-media { min-height: 240px; }
  .sermon-featured-info { padding: 32px 28px; }
}

/* Sermon Cards */
.sermon-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-light);
  transition: all .35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.sermon-thumb {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--soft);
  overflow: hidden;
}

.sermon-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.sermon-card:hover .sermon-thumb img { transform: scale(1.06); }

.sermon-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(13,31,60,.2);
  transition: background .25s;
}

.sermon-card:hover .sermon-play { background: rgba(13,31,60,.45); }

.sermon-play-btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #fff;
  display: grid; place-items: center;
  padding-left: 5px;
  box-shadow: var(--shadow-md);
  font-size: 1.2rem;
  transition: transform .3s var(--ease);
}

.sermon-card:hover .sermon-play-btn { transform: scale(1.1); }

.sermon-featured-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold-500);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.sermon-body {
  padding: 22px 22px 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sermon-body h5 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--navy-900);
  line-height: 1.35;
}

.sermon-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.sermon-meta i { color: var(--gold-500); margin-right: 4px; }

.sermon-scripture {
  display: inline-block;
  background: var(--light-blue);
  color: var(--navy-700);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.sermon-body p {
  color: var(--ink-soft);
  font-size: 13.5px;
  flex-grow: 1;
  line-height: 1.7;
  margin: 0;
}

/* Sermon search bar */
.sermon-search-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
  border: 1px solid var(--line-light);
}

.sermon-search-bar .form-control,
.sermon-search-bar .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 11px 16px;
  font-size: 14.5px;
  flex: 1;
  min-width: 160px;
}

.sermon-search-bar .form-control:focus,
.sermon-search-bar .form-select:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(35,75,140,.1);
  outline: none;
}

/* ── 15. GALLERY ────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filter {
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 500;
  font-size: 13.5px;
  transition: all .22s var(--ease);
  font-family: var(--sans);
}

.gallery-filter:hover {
  border-color: var(--gold-400);
  color: var(--gold-600);
  background: var(--gold-100);
}

.gallery-filter.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

/* Masonry gallery */
.gallery-grid {
  columns: 4 240px;
  gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--soft);
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s var(--ease);
}

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

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,31,60,.88) 100%);
  opacity: 0;
  transition: opacity .32s var(--ease);
  display: flex; align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h6 {
  margin: 0 0 2px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.gallery-overlay span {
  font-size: 11.5px;
  color: var(--gold-400);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ── 16. TESTIMONIALS ───────────────────────────────────── */
.testimonial-slider-wrap {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 28px;
  transition: transform .5s var(--ease-out);
}

.testimonial-card {
  background: #fff;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.testimonial-quote-mark {
  position: absolute;
  top: 18px; left: 28px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold-300);
  line-height: 1;
  user-select: none;
}

.testimonial-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.65;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-300);
}

.testimonial-author h6 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-900);
}

.testimonial-author small {
  color: var(--gold-600);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: all .25s var(--ease);
}

.testimonial-dots button.active {
  background: var(--gold-500);
  width: 28px;
  border-radius: 5px;
}

/* ── 17. CTA SECTIONS ───────────────────────────────────── */
/* Prayer CTA */
.prayer-cta {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  padding: var(--section-py-sm) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.prayer-cta::before,
.prayer-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(201,161,74,.07);
}

.prayer-cta::before {
  width: 500px; height: 500px;
  top: -200px; left: -150px;
}

.prayer-cta::after {
  width: 400px; height: 400px;
  bottom: -180px; right: -100px;
}

.prayer-cta > .container { position: relative; z-index: 1; }

.prayer-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.prayer-cta p {
  color: rgba(200,210,235,.85);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* General CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #fff;
  padding: 72px 60px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before,
.cta-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(201,161,74,.08);
}

.cta-box::before { width: 220px; height: 220px; top: -80px; left: -70px; }
.cta-box::after  { width: 320px; height: 320px; bottom: -140px; right: -100px; }

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(210,220,235,.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Donation CTA variant */
.cta-box-gold {
  background: linear-gradient(135deg, #9e7530, #c9a14a);
}

.cta-box-gold .cta-box::before,
.cta-box-gold .cta-box::after {
  background: rgba(255,255,255,.08);
}

@media (max-width: 768px) {
  .cta-box { padding: 52px 28px; }
}

/* ── 18. FORMS ──────────────────────────────────────────── */
.form-card {
  background: #fff;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
}

.form-card label {
  font-weight: 600;
  color: var(--ink);
  font-size: 13.5px;
  margin-bottom: 7px;
  display: block;
}

.form-card .form-control,
.form-card .form-select {
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-family: var(--sans);
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26,51,96,.1);
  outline: none;
}

.form-card .form-control::placeholder { color: var(--muted); }

.form-card .form-check-input:checked {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
}

@media (max-width: 768px) {
  .form-card { padding: 30px 22px; }
}

/* ── 19. PAGE HEADERS (inner pages) ─────────────────────── */
.page-header {
  background: var(--navy-950);
  color: #fff;
  padding: 168px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Animated radial gradient base */
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 60%, rgba(201,161,74,.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(30,60,120,.35) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 50% 110%, rgba(201,161,74,.08) 0%, transparent 55%),
    linear-gradient(160deg, #080f22 0%, #0d1f3c 50%, #091226 100%);
  z-index: 0;
}

/* Gold shimmer line at bottom */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,161,74,.0) 10%,
    rgba(201,161,74,.7) 40%,
    rgba(255,215,100,.9) 50%,
    rgba(201,161,74,.7) 60%,
    rgba(201,161,74,.0) 90%,
    transparent 100%
  );
  z-index: 3;
}

.page-header > .container { position: relative; z-index: 2; }

/* Decorative geometric ring — top right */
.page-header-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,161,74,.12);
  pointer-events: none;
  z-index: 1;
}

/* Cross pattern overlay */
.page-header-cross {
  position: absolute;
  z-index: 1;
  opacity: .04;
  pointer-events: none;
  color: #fff;
  font-size: 320px;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

/* Floating animated orb — gold */
.page-header-orb1 {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(201,161,74,.22), transparent 65%);
  top: -120px; left: -80px;
  animation: orbFloat1 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.page-header-orb2 {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(30,80,180,.25), transparent 65%);
  bottom: -60px; right: -40px;
  animation: orbFloat2 10s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-16px, 16px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-header-orb1,
  .page-header-orb2 { animation: none; }
}

/* Dot-grid pattern */
.page-header-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
}

/* Angled bottom clip */
.page-header-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.page-header-wave svg { display: block; width: 100%; height: 100%; }

/* Typography */
.page-header h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 16px;
  text-shadow: 0 6px 32px rgba(0,0,0,.35);
  letter-spacing: -.5px;
  line-height: 1.05;
}

.page-header .page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-400);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--sans);
  margin-bottom: 14px;
}

.page-header .page-eyebrow::before,
.page-header .page-eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}

.page-header .breadcrumb {
  justify-content: center;
  margin: 0;
  background: rgba(255,255,255,.05);
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,.65);
  font-size: 13px;
  font-family: var(--sans);
}

.page-header .breadcrumb-item a:hover { color: var(--gold-400); }
.page-header .breadcrumb-item.active  { color: var(--gold-300); font-weight: 600; }

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.3);
  content: '/';
}

/* ── 20. LOCATION SECTION ───────────────────────────────── */
.location-info h4 {
  color: var(--navy-900);
  font-size: 1.55rem;
  margin-bottom: 20px;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--ink-soft);
}

.location-list li:last-child { border-bottom: 0; }

.location-list .loc-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: var(--gold-500);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/11;
}

.location-map iframe,
.location-map img {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

/* ── 21. DONATION PAGE ──────────────────────────────────── */
.giving-reason-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-light);
  text-align: center;
  transition: all .35s var(--ease);
  height: 100%;
}

.giving-reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.giving-reason-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--navy-700);
  display: grid; place-items: center;
  font-size: 1.65rem;
}

.giving-reason-card h4 {
  color: var(--navy-900);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.giving-reason-card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

.bank-details-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  overflow: hidden;
}

.bank-details-card .bdc-header {
  background: var(--navy-900);
  padding: 22px 30px;
  color: #fff;
}

.bank-details-card .bdc-header h4 {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
}

.bank-details-card .bdc-body { padding: 28px 30px; }

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  gap: 16px;
}

.bank-detail-row:last-child { border-bottom: 0; }

.bank-detail-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  flex-shrink: 0;
  min-width: 140px;
}

.bank-detail-value {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

.bank-detail-value code {
  background: var(--light-blue);
  color: var(--navy-700);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 13.5px;
}

/* ── 22. FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--navy-950);
  color: #b8c6d8;
  padding-top: 80px;
}

.footer-top {}

.footer-brand {}

.footer-logo { height: 56px; margin-bottom: 12px; }
.footer-brand .logo-mark { width: 56px; height: 56px; }

.footer-church-name {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 14px 0 4px;
}

.footer-tagline {
  color: var(--gold-400);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-about {
  color: rgba(184,198,216,.75);
  font-size: 13.5px;
  line-height: 1.75;
}

.site-footer h5 {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(184,198,216,.8);
  font-size: 13.5px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-links a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
  opacity: .5;
  flex-shrink: 0;
  transition: opacity .2s;
}

.footer-links a:hover { color: var(--gold-400); padding-left: 3px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13.5px;
}

.footer-contact .fc-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(201,161,74,.12);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact a { color: rgba(184,198,216,.8); }
.footer-contact a:hover { color: var(--gold-400); }
.footer-contact span { color: rgba(184,198,216,.8); }

.footer-social { display: flex; gap: 10px; margin: 16px 0 22px; }

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(184,198,216,.8);
  display: grid; place-items: center;
  font-size: 14px;
  transition: all .27s var(--ease);
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #fff;
  transform: translateY(-4px);
}

.btn-donate-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold-500);
  color: var(--gold-400);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .25s var(--ease);
}

.btn-donate-outline:hover {
  background: var(--gold-500);
  color: #fff;
}

.footer-service-times {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(201,161,74,.1);
  border: 1px solid rgba(201,161,74,.2);
  color: var(--gold-300);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 60px;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(184,198,216,.55);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-admin-link {
  color: rgba(184,198,216,.35);
  font-size: 12px;
  transition: color .2s;
}

.footer-admin-link:hover { color: var(--gold-400); }

/* ── 23. LIGHTBOX ───────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,15,32,.96);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}

.lightbox-close:hover { background: rgba(255,255,255,.2); }

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
}

/* ── 24. EMPTY STATE ────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-soft);
}

.empty-state i {
  font-size: 3.2rem;
  color: var(--gold-300);
  margin-bottom: 18px;
  opacity: .7;
  display: block;
}

.empty-state h5 {
  color: var(--ink);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.empty-state p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ── 25. ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-slide::after,
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ── 26. MISC UTILITIES ─────────────────────────────────── */
.text-gold  { color: var(--gold-500); }
.text-navy  { color: var(--navy-900); }
.text-muted-c { color: var(--muted); }
.bg-ivory   { background: var(--ivory); }

/* Pagination */
.pagination .page-link {
  color: var(--navy-700);
  border-color: var(--line);
  border-radius: var(--radius-sm) !important;
  margin: 0 3px;
  padding: 8px 14px;
  font-weight: 500;
}
.pagination .page-item.active .page-link {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.pagination .page-link:hover {
  background: var(--ivory);
  color: var(--navy-900);
}

/* Alerts — public forms */
.alert {
  border-radius: var(--radius);
  border: 0;
  padding: 14px 18px;
}

/* Toast helper */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.toast-msg {
  background: var(--navy-900);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  animation: fadeUp .3s var(--ease-out);
}

.toast-msg.success { background: #166534; }
.toast-msg.error   { background: #991b1b; }

/* ── 27. RESPONSIVE BREAKPOINTS ─────────────────────────── */
@media (max-width: 1280px) {
  .container { max-width: 1140px; }
}

@media (max-width: 1100px) {
  :root {
    --section-py: 80px;
    --section-py-sm: 56px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-py: 65px;
    --section-py-sm: 48px;
    --section-py-xs: 40px;
  }

  .gallery-grid { columns: 3 180px; }
  .hero { height: 85vh; min-height: 520px; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --section-py-sm: 40px;
    --section-py-xs: 32px;
  }

  .hero { height: 80vh; min-height: 480px; }
  .hero-controls { left: 14px; right: 14px; }
  .hero-arrow { width: 44px; height: 44px; font-size: 13px; }

  .section-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }

  .gallery-grid { columns: 2 140px; }

  .scripture-box { padding: 44px 24px; }
  .scripture-box blockquote { font-size: 1.25rem; }

  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-item + .stat-item::before { display: none; }

  .vm-grid { grid-template-columns: 1fr; }

  .page-header { padding: 130px 0 60px; }
  .page-header h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .page-header-orb1 { width: 220px; height: 220px; }
  .page-header-orb2 { width: 180px; height: 180px; }
}

@media (max-width: 576px) {
  :root {
    --section-py: 48px;
    --section-py-sm: 36px;
  }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-btn { padding: 13px 24px; font-size: 14px; }

  .gallery-grid { columns: 1; }

  .section-head { margin-bottom: 40px; }
  .section-sub  { margin-bottom: 0; font-size: .98rem; }

  .cta-box { padding: 44px 20px; }
  .form-card { padding: 26px 18px; }

  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 414px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-btn { width: 100%; justify-content: center; max-width: 300px; }
}

/* ── 28. PRINT ──────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .hero-controls, .hero-dots { display: none; }
  .hero { height: auto; min-height: 0; }
}

/* ── 29. SCROLL TO TOP BUTTON ───────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(201,161,74,.4);
  z-index: 400;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  box-shadow: 0 12px 32px rgba(201,161,74,.55);
  transform: translateY(-3px);
}

/* ── 30. READ PROGRESS BAR ─────────────────────────────── */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  z-index: 500;
  width: 0%;
  transition: width .1s linear;
}

/* ── 31. ENHANCED CARD HOVERS ────────────────────────────── */
.ministry-card,
.leader-card,
.event-card,
.sermon-card {
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}

.ministry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(13,31,60,.16);
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13,31,60,.14);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13,31,60,.14);
}

.sermon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13,31,60,.14);
}

/* ── 32. SECTION TRANSITION DIVIDERS ─────────────────────── */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ── 33. HERO CONTENT FIX ─────────────────────────────── */
/* Ensure hero text always sits above the gradient overlays */
.hero-content {
  z-index: 3 !important;
}

/* ── 34. PAGE HEADER WAVE COLOR MATCH ─────────────────── */
/* Wave uses the page background colour - auto-match with a variable */
.page-header-wave path {
  fill: #ffffff; /* matches the default site background */
}

/* If next section is ivory/soft, change fill */
.page-header + .section-light .page-header-wave path,
.page-header + .section-soft .page-header-wave path {
  fill: var(--ivory);
}

/* ── 35. GALLERY ITEM CURSOR ────────────────────────────── */
.gallery-item { cursor: zoom-in; }

/* ── 36. CUSTOM SCROLLBAR (Webkit) ────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--navy-700), var(--navy-900));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* ── 37. SELECTION COLOR ────────────────────────────────── */
::selection {
  background: rgba(201,161,74,.25);
  color: var(--navy-900);
}

