html {
  scroll-behavior: smooth;
}

/* ========== Scroll reveal: element-level (title + content blocks), not sections ========== */
/* Sections stay solid; only titles and content blocks animate to avoid footer flash-through */
.scroll-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal--delay-1 { transition-delay: 0.08s; }
.scroll-reveal--delay-2 { transition-delay: 0.16s; }
.scroll-reveal--delay-3 { transition-delay: 0.24s; }
.scroll-reveal--delay-4 { transition-delay: 0.32s; }
.scroll-reveal--fade {
  transform: none;
}
.scroll-reveal--fade.revealed {
  transform: none;
}

body {
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nav-blur {
  backdrop-filter: blur(16px);
}

/* ========== Header: old-style nav on top; no patch over hero, patch after scroll ========== */
.header-top {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* Over hero: very subtle transparent bar for segregation and readability */
.header-top:not(.header-scrolled) {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.header-top:not(.header-scrolled).header-over-hero--dark {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-top:not(.header-scrolled).header-over-hero--light {
  background: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-top:not(.header-scrolled).header-over-hero--arc {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
.header-top:not(.header-scrolled) .header-top__bar {
  background: transparent;
}
/* Past hero: solid patch */
.header-top.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top__brand {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.header-top__brand:hover {
  opacity: 0.9;
}

.header-top__logo-img {
  display: block;
  width: 2.25rem;
  height: auto;
  max-height: 2.75rem;
  object-fit: contain;
  filter: brightness(0);
  transition: filter 0.2s ease;
}
.header-top__logo-img:hover {
  filter: brightness(0) opacity(0.85);
}

.header-top__link {
  text-decoration: none;
  transition: color 0.2s ease;
}
.header-top__brand p {
  transition: color 0.2s ease;
}

.header-top__cta {
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.header-top__cta:hover {
  transform: translateY(-1px);
}

.header-top__hamburger {
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* Ministries dropdown */
.header-top__dropdown .header-top__dropdown-panel {
  transition: opacity 0.2s, visibility 0.2s;
}
.header-top__dropdown:hover .header-top__dropdown-panel,
.header-top__dropdown .header-top__dropdown-panel.is-open {
  display: block !important;
}
.header-top__dropdown-link {
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: 0.875rem;
}
.header-top__dropdown button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.header-top.header-over-hero--dark .header-top__dropdown-panel {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(248, 250, 252, 0.2);
}
.header-top.header-over-hero--dark .header-top__dropdown-link {
  color: rgb(248, 250, 252);
}
.header-top.header-over-hero--dark .header-top__dropdown-link:hover {
  background: rgba(248, 250, 252, 0.1);
}
.header-top.header-over-hero--dark .header-top__dropdown-link.text-accent {
  color: rgb(199, 210, 254);
}

/* Over hero (before scroll): white text; non-selected = opacity, selected = full */
.header-top:not(.header-scrolled).header-over-hero--light .header-top__brand p,
.header-top:not(.header-scrolled).header-over-hero--light .header-top__link,
.header-top:not(.header-scrolled).header-over-hero--dark .header-top__brand p,
.header-top:not(.header-scrolled).header-over-hero--dark .header-top__link {
  color: white;
}
.header-top:not(.header-scrolled).header-over-hero--light .header-top__brand p.text-slate-500,
.header-top:not(.header-scrolled).header-over-hero--dark .header-top__brand p.text-slate-500 {
  color: rgba(255, 255, 255, 0.85);
}
/* Non-selected links: reduced opacity */
.header-top:not(.header-scrolled) .header-top__link:not(.text-accent) {
  opacity: 0.75;
}
.header-top:not(.header-scrolled) .header-top__link:not(.text-accent):hover {
  opacity: 1;
}
/* Selected link: fully visible */
.header-top:not(.header-scrolled) .header-top__link.text-accent {
  opacity: 1;
}

/* Over hero + light background */
.header-top.header-over-hero--light .header-top__link:hover {
  color: white;
}
.header-top.header-over-hero--light .header-top__logo-img {
  filter: brightness(0) invert(1);
}
.header-top.header-over-hero--light .header-top__cta {
  background: white;
  color: rgb(15, 23, 42);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.header-top.header-over-hero--light .header-top__hamburger {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
.header-top.header-over-hero--light .header-top__hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}
.header-top.header-over-hero--light .header-top__link.text-accent {
  color: white;
}

/* Over hero + dark background */
.header-top.header-over-hero--dark .header-top__link:hover {
  color: white;
}
.header-top.header-over-hero--dark .header-top__logo-img {
  filter: brightness(0) invert(1);
}
.header-top.header-over-hero--dark .header-top__logo-img:hover {
  filter: brightness(0) invert(1) opacity(0.9);
}
.header-top.header-over-hero--dark .header-top__cta {
  background: white;
  color: rgb(15, 23, 42);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.header-top.header-over-hero--dark .header-top__cta:hover {
  background: rgb(248, 250, 252);
  color: rgb(15, 23, 42);
}
.header-top.header-over-hero--dark .header-top__hamburger {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
.header-top.header-over-hero--dark .header-top__hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}
.header-top.header-over-hero--dark .header-top__link.text-accent {
  color: white;
}

/* Scrolled (solid patch): always dark text/logo */
.header-top.header-scrolled .header-top__brand p,
.header-top.header-scrolled .header-top__link {
  color: rgb(15, 23, 42);
}
.header-top.header-scrolled .header-top__brand p.text-slate-500 {
  color: rgb(100, 116, 139);
}
.header-top.header-scrolled .header-top__link:hover {
  color: rgb(15, 23, 42);
}
.header-top.header-scrolled .header-top__logo-img {
  filter: brightness(0);
}
.header-top.header-scrolled .header-top__cta {
  background: #635bff;
  color: #fff;
  border: 1px solid rgba(99, 91, 255, 0.7);
}
.header-top.header-scrolled .header-top__hamburger {
  border-color: rgb(203, 213, 225);
  color: rgb(51, 65, 85);
}
.header-top.header-scrolled .header-top__hamburger:hover {
  background: rgb(241, 245, 249);
}
.header-top.header-scrolled .header-top__link.text-accent {
  color: #635bff;
}

.header-top__menu {
  transition: opacity 0.2s;
}
.header-top__menu.is-open {
  display: block;
}
.header-top__menu-link {
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.header-top__menu-cta {
  text-decoration: none;
  transition: background 0.2s;
}

.scroll-to-top {
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.scroll-to-top.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-overlay {
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.2), transparent 55%),
              radial-gradient(circle at bottom right, rgba(8, 47, 73, 0.5), transparent 60%);
}

.section-max-width {
  max-width: 1200px;
}

/* Giving page hero: Figma design – full-bleed sky, purple gradient, QR card, wave */
.giving-hero {
  background-color: #0f172a;
}
/* Pull hero under header for transparent blur (same as homepage) */
.giving-hero--under-header {
  margin-top: -11rem;
}
.giving-hero__overlay {
  background: linear-gradient(to bottom, #231864 0%, rgba(99, 169, 239, 0) 100%);
}
/* Wave: edge-to-edge; QR card extends into wave (z-20 above card z-10) */
.giving-hero__wave {
  left: 0;
  right: 0;
  width: 100%;
}
.giving-hero__wave img {
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Desktop only: wave overlaps QR card – taller wave, lower position */
@media (min-width: 768px) {
  .giving-hero__wave {
    bottom: 0 !important;
    height: 28rem !important;
  }
}

/* QR card: 236px = 28+180+28 (device 360), QR 180x180, text-top 20px, text-to-QR 16px */
.giving-qr-card {
  width: 236px;
  margin: 0 auto;
  padding: 20px 28px 28px;
  padding-bottom: 48px;
}
@media (min-width: 640px) {
  .giving-qr-card {
    padding-bottom: 48px;
  }
}
@media (min-width: 768px) {
  .giving-qr-card {
    padding-bottom: 56px;
  }
}
.giving-qr-card__title {
  margin-bottom: 16px;
}
.giving-qr-card__qr {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  overflow: hidden;
}
.giving-qr-card__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile: optimize for QR visibility – more space, larger QR, less wave overlap */
@media (max-width: 767px) {
  .giving-hero {
    min-height: 115vh !important;
  }
  .giving-hero__content {
    padding-top: 13rem !important;
    padding-bottom: 0.5rem !important;
  }
  .giving-hero__content h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .giving-hero__content p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .giving-hero__card {
    margin-top: 1rem !important;
    margin-bottom: -1rem !important;
  }
  .giving-hero__wave {
    bottom: 11rem !important;
    height: 7rem !important;
  }
  .giving-hero__white-fill {
    height: 12rem !important;
  }
}

/* Bank details: bolder, bigger on mobile for easy scanning */
@media (max-width: 639px) {
  .giving-bank-details span.text-slate-800 {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
  }
}

/* Our Impact: mobile space crunch, desktop original */
.giving-impact-section {
  margin-top: -2rem;
}
@media (min-width: 640px) {
  .giving-impact-section {
    margin-top: -2.5rem;
  }
}
@media (min-width: 768px) {
  .giving-impact-section {
    margin-top: -3rem;
  }
}
@media (max-width: 639px) {
  .giving-impact-section {
    margin-top: -10rem !important;
  }
}

/* Our Impact: mobile horizontal scroll + auto-scroll */
.impact-scroll-wrap {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.impact-scroll-wrap::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1023px) {
  .impact-scroll-wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: none;
    padding-bottom: 0.5rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .impact-track {
    flex-wrap: nowrap;
    width: max-content;
  }
}

/* Contact page: hero with optional BG image and curve */
.contact-hero {
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 35%, #eef2ff 70%, #e0e7ff 100%);
}
.contact-hero--bg-image {
  background: linear-gradient(to bottom, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 100%), url('../assets/contact%20us%20BG.webp') center top / cover no-repeat;
}
@media (max-width: 639px) {
  /* BG image and gradient only in top 360px; rest of section uses solid fill so content stays visible */
  .contact-hero--bg-image {
    background:
      linear-gradient(to bottom, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 100%) 0 0 / 100% 360px no-repeat,
      url('../assets/msite-contact-us-bg.png') center top / 100% 360px no-repeat,
      #ffffff;
  }
  .contact-hero .relative.z-10 {
    padding-bottom: 2rem;
  }
}
.contact-hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: white;
  border-radius: 2rem 2rem 0 0;
  pointer-events: none;
}

/* Contact map section and wrapper */
.contact-map-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}
.contact-map-wrap {
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 10px 20px -5px rgba(15, 23, 42, 0.1);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.contact-map-wrap:hover {
  box-shadow: 0 12px 24px -8px rgba(99, 91, 255, 0.2), 0 20px 40px -12px rgba(15, 23, 42, 0.15);
}
.contact-map-iframe {
  filter: saturate(0.88) contrast(1.03);
}
.contact-map-link:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Contact details cards */
.contact-details-section {
  background: #f8fafc;
}
.contact-card {
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease;
}
.contact-card:hover {
  border-left-color: #635bff;
}

/* Contact form card: accent top border */
.contact-form-card {
  border-top-width: 4px;
  border-top-color: #635bff;
}

/* Contact: left column – no card background (BG image shows through) */
.contact-hero__left {
  /* no background */
}

/* Contact form box: transition for shadow (Giving-style card; hover via Tailwind) */
.contact-form-box {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Contact timing items: time text hover color (reinforces Tailwind transition-colors) */
.contact-timing-item .text-2xl {
  transition: color 0.2s ease;
}

/* Contact: Topic dropdown – aligned chevron (no browser default misalignment) */
.contact-topic-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}

/* Contact form: country code dropdown – compact */
.contact-phone-country {
  min-width: 4.5rem;
  max-width: 5.5rem;
}

/* Wider container at 1366–1440px viewports for better desktop experience */
@media (min-width: 1366px) {
  .max-w-6xl {
    max-width: 80rem; /* 1280px */
  }
}
@media (min-width: 1440px) {
  .max-w-6xl {
    max-width: 88rem; /* 1408px */
  }
}

/* Main: no top gap so hero banner sits right below header + announcement */
.main-no-top-gap {
  padding-top: 0;
  margin-top: 0;
}

/* Spacer above footer: let clicks pass through so footer links work when revealed */
.serve-unveil-spacer {
  pointer-events: none !important;
  user-select: none;
}

/* Hero carousel: 94% of viewport height; full-bleed under announcement + header */
.hero-carousel--with-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 94vh;
  min-height: 94vh;
  margin-top: -11rem;
  padding-top: 0;
  overflow: hidden;
  background-color: #0f172a;
  isolation: isolate;
}
.hero-carousel--with-bg .carousel-track {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  background-color: #0f172a;
}
.hero-carousel--with-bg .carousel-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100%;
}

/* Slide 1: full-bleed ministry highlight video */
.carousel-slide--video {
  background-image: none !important;
  overflow: hidden;
}
.hero-carousel__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #0f172a;
}
.carousel-slide--video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.15) 35%,
    rgba(15, 23, 42, 0.2) 65%,
    rgba(15, 23, 42, 0.45) 100%
  );
  pointer-events: none;
}
.hero-carousel__video {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: top center;
  -webkit-object-fit: cover;
  -webkit-object-position: top center;
}

.hero-carousel__youtube-live {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: auto;
}

.carousel-slide--youtube-live::after {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.5) 0%,
    rgba(15, 23, 42, 0.25) 40%,
    rgba(15, 23, 42, 0.35) 70%,
    rgba(15, 23, 42, 0.55) 100%
  );
}
.carousel-slide--video .carousel-slide-inner {
  position: relative;
  z-index: 2;
}
.carousel-slide--video .carousel-slide-inner > p.text-xs,
.carousel-slide--video .carousel-slide-inner h1,
.carousel-slide--video .carousel-slide-inner h2,
.carousel-slide--video .carousel-slide-inner > p:not(.text-xs) {
  text-shadow:
    0 0 20px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(15, 23, 42, 0.85),
    0 0 80px rgba(15, 23, 42, 0.65),
    0 2px 6px rgba(15, 23, 42, 0.7);
}
.carousel-slide--video .carousel-slide-inner .btn-primary,
.carousel-slide--video .carousel-slide-inner .btn-outline {
  text-shadow: none;
}

/* Hero carousel navigation arrows (visible on hover / focus) */
.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.15s ease, transform 0.15s ease;
}
.hero-carousel__arrow--prev { left: 1rem; }
.hero-carousel__arrow--next { right: 1rem; }
.hero-carousel:hover .hero-carousel__arrow,
.hero-carousel:focus-within .hero-carousel__arrow {
  opacity: 1;
  pointer-events: auto;
}
.hero-carousel__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 1023px) {
  .hero-carousel__arrow { display: none !important; }
}

.carousel-slide-bg-2 { background-image: url("../assets/carousel- banner-2.webp"); }
.hero-carousel--with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 25%,
    transparent 70%,
    rgba(15, 23, 42, 0.12) 100%
  );
  pointer-events: none;
}
.hero-carousel--with-bg .mx-auto {
  position: relative;
  z-index: 1;
}

/* Adaptive contrast + opacity hierarchy: light BG → black with opacity levels */
.hero-carousel--with-bg.hero-theme-light .carousel-slide .carousel-slide-inner {
  color: rgba(0, 0, 0, 0.9);
}
.hero-carousel--with-bg.hero-theme-light .carousel-slide .carousel-slide-inner > p.text-xs {
  color: rgba(0, 0, 0, 0.6);
}
.hero-carousel--with-bg.hero-theme-light .carousel-slide .carousel-slide-inner h1 {
  color: rgba(0, 0, 0, 0.95);
}
.hero-carousel--with-bg.hero-theme-light .carousel-slide .carousel-slide-inner > p:not(.text-xs) {
  color: rgba(0, 0, 0, 0.78);
}
.hero-carousel--with-bg.hero-theme-light .carousel-slide .text-accent {
  color: rgba(67, 56, 202, 0.95);
}
.hero-carousel--with-bg.hero-theme-light .carousel-slide .btn-primary {
  background: #4338ca;
  color: #fff;
  border-color: #4338ca;
}
.hero-carousel--with-bg.hero-theme-light .carousel-slide .btn-outline {
  background: transparent;
  color: rgba(0, 0, 0, 0.9);
  border-color: rgba(0, 0, 0, 0.5);
}
.hero-carousel--with-bg.hero-theme-light .carousel-dots button {
  background: rgba(0, 0, 0, 0.35);
}
.hero-carousel--with-bg.hero-theme-light .carousel-dots button.active,
.hero-carousel--with-bg.hero-theme-light .carousel-dots button:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* Adaptive contrast + opacity hierarchy: dark BG → white with opacity levels (override Tailwind text-slate-* on slides) */
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .carousel-slide-inner {
  color: rgba(255, 255, 255, 0.9) !important;
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .carousel-slide-inner > p.text-xs {
  color: rgba(255, 255, 255, 0.65) !important;
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .carousel-slide-inner h1,
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .carousel-slide-inner h2,
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .carousel-slide-inner h3 {
  color: rgba(255, 255, 255, 0.98) !important;
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .carousel-slide-inner > p:not(.text-xs) {
  color: rgba(255, 255, 255, 0.82) !important;
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .text-accent,
.hero-carousel--with-bg.hero-theme-dark .carousel-slide p.text-accent {
  color: rgba(255, 255, 255, 0.75);
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.95);
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .btn-primary:hover {
  background: #fff;
  color: #0f172a;
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.65);
}
.hero-carousel--with-bg.hero-theme-dark .carousel-slide .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}
.hero-carousel--with-bg.hero-theme-dark .carousel-dots button {
  background: rgba(255, 255, 255, 0.4);
}
.hero-carousel--with-bg.hero-theme-dark .carousel-dots button.active,
.hero-carousel--with-bg.hero-theme-dark .carousel-dots button:hover {
  background: rgba(255, 255, 255, 0.95);
}

.hero-carousel .carousel-track {
  width: 100%;
  min-height: 100%;
}
.hero-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0s;
  padding: 0;
  box-sizing: border-box;
  background-color: #0f172a;
}
.hero-carousel--with-bg .carousel-slide {
  padding-top: 11rem; /* keep content below header/announcement */
}
.hero-carousel .carousel-slide.active {
  position: relative;
  width: 100%;
  min-height: 100%;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.45s ease;
}
/* Dots overlay bottom of banner (no light patch below) */
.carousel-dots-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(100, 116, 139, 0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dots button.active,
.carousel-dots button:hover {
  background: #635bff;
}
.carousel-dots button {
  transform: scale(1);
  transition: background 0.25s ease, transform 0.2s ease;
}
.carousel-dots button:hover {
  transform: scale(1.2);
}

/* ========== Arc Gallery Hero (About page) ========== */
.arc-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  margin-top: -3.5rem;
  padding-top: 3.5rem;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(to bottom, rgba(246,249,252,0.82) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.92) 100%),
    url('../assets/contact%20us%20BG.webp') center top / cover no-repeat;
}
.arc-hero__ring {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.arc-hero__card {
  position: absolute;
  opacity: 0;
  animation: arc-fade-in-up 0.7s ease-out forwards;
}
.arc-hero__card-inner {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.15), 0 4px 10px -4px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: #fff;
  transition: transform 0.3s ease;
}
.arc-hero__card-inner:hover {
  transform: scale(1.06);
}
.arc-hero__card-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arc-hero__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem 3rem;
  margin-top: -2.5rem;
}
@media (min-width: 640px) {
  .arc-hero__content { margin-top: -8rem; }
}
@media (min-width: 1024px) {
  .arc-hero__content { margin-top: -22rem; }
}
@media (min-width: 1280px) {
  .arc-hero__content { margin-top: -26rem; }
}
.arc-hero__fade {
  opacity: 0;
  animation: arc-fade-in 0.7s ease-out forwards;
}
@keyframes arc-fade-in-up {
  from { opacity: 0; transform: translate(-50%, 60%); }
  to   { opacity: 1; transform: translate(-50%, 50%); }
}
@keyframes arc-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== UI polish: buttons ========== */
.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.btn-outline:hover {
  transform: translateY(-1px);
  background-color: rgba(248, 250, 252, 0.8);
}
.btn-outline:active {
  transform: translateY(0);
}

/* ========== Feature Steps (Core Pillars, About page) ========== */
.feature-step {
  opacity: 0.3;
  transition: opacity 0.45s ease, transform 0.3s ease;
}
.feature-step.active {
  opacity: 1;
}
.feature-step__dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  background: #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.35s ease;
}
@media (min-width: 768px) {
  .feature-step__dot {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.05rem;
  }
}
.feature-step.active .feature-step__dot {
  background: #635bff;
  border-color: #635bff;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.15);
}
.feature-step.completed .feature-step__dot {
  background: #635bff;
  border-color: #635bff;
  color: #fff;
}

.feature-steps__img-wrap {
  perspective: 800px;
}
.feature-steps__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}
.feature-steps__img.entering {
  animation: fs-slide-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.feature-steps__img.exiting {
  animation: fs-slide-out 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes fs-slide-in {
  from { transform: translateY(50px) rotateX(-10deg); opacity: 0; }
  to   { transform: translateY(0) rotateX(0); opacity: 1; }
}
@keyframes fs-slide-out {
  from { transform: translateY(0) rotateX(0); opacity: 1; }
  to   { transform: translateY(-50px) rotateX(10deg); opacity: 0; }
}
.feature-steps__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, #f8fafc 0%, rgba(248,250,252,0.4) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 0.75rem 0.75rem;
}

/* ========== Ministry Gallery Slideshow (About page) ========== */
.ministry-slideshow__viewport {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 425px;
  max-height: 850px;
  overflow: hidden;
  background: #0f172a;
}
.ministry-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.04);
}
.ministry-slideshow__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.ministry-slideshow__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.2) 50%,
    rgba(15, 23, 42, 0.35) 100%
  );
}
.ministry-slideshow__text {
  position: absolute;
  bottom: 3rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  color: #fff;
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
@media (min-width: 640px) {
  .ministry-slideshow__text {
    bottom: 3.5rem;
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .ministry-slideshow__text {
    bottom: 4rem;
    padding: 0 2rem;
  }
}
.ministry-slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ministry-slideshow__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.08);
}
.ministry-slideshow__nav--prev { left: 1rem; }
.ministry-slideshow__nav--next { right: 1rem; }
@media (min-width: 640px) {
  .ministry-slideshow__nav--prev { left: 1.5rem; }
  .ministry-slideshow__nav--next { right: 1.5rem; }
}
.ministry-slideshow__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  z-index: 5;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) {
  .ministry-slideshow__counter {
    bottom: 2rem;
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .ministry-slideshow__counter {
    padding: 0 2rem;
  }
}

/* ========== Core Values (About page) ========== */
.core-values__bg-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.core-values__bg-orb--1 {
  width: 18rem;
  height: 18rem;
  top: 3rem;
  left: 2rem;
  background: rgba(99, 91, 255, 0.04);
}
.core-values__bg-orb--2 {
  width: 22rem;
  height: 22rem;
  bottom: 3rem;
  right: 2rem;
  background: rgba(99, 91, 255, 0.03);
}

.core-value-item {
  transition: transform 0.25s ease;
}
.core-value-item:hover {
  transform: translateY(-3px);
}
.core-value-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: rgba(99, 91, 255, 0.08);
  color: #635bff;
  transition: background 0.3s ease;
}
.core-value-item:hover .core-value-item__icon {
  background: rgba(99, 91, 255, 0.15);
}

.core-values__image-wrap {
  max-width: 16rem;
}
.core-values__image-border {
  position: absolute;
  inset: -0.6rem;
  border: 3px solid rgba(99, 91, 255, 0.12);
  border-radius: 1rem;
  z-index: -1;
  transition: border-color 0.4s ease;
}
.core-values__image-wrap:hover .core-values__image-border {
  border-color: rgba(99, 91, 255, 0.25);
}
.core-values__float-dot {
  position: absolute;
  border-radius: 9999px;
  z-index: -1;
}
.core-values__float-dot--1 {
  width: 3rem;
  height: 3rem;
  top: -1rem;
  right: -1.5rem;
  background: rgba(99, 91, 255, 0.07);
}
.core-values__float-dot--2 {
  width: 4rem;
  height: 4rem;
  bottom: -1.5rem;
  left: -2rem;
  background: rgba(99, 91, 255, 0.05);
}

/* ========== Cards: pillars, ministries, testimonials ========== */
.card-pillar,
.card-ministry,
.card-testimonial {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-pillar:hover,
.card-ministry:hover,
.card-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.12), 0 4px 8px -4px rgba(15, 23, 42, 0.06);
  border-color: rgba(99, 91, 255, 0.25);
}

.card-testimonial {
  border-left: 3px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, border-left-color 0.25s ease;
}
.card-testimonial:hover {
  border-left-color: #635bff;
}

/* ========== Our Core Pillars: gradient title + connected frame ========== */
.pillars-title-gradient {
  letter-spacing: -0.01em;
}
.pillars-frame {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.96),
      rgba(248, 250, 252, 0.92)
    );
}

/* ========== Our Ministries (ministries-grid card layout: tech-enabled and visitor-first) ========== */
/* Row 1-2: Card 1 & 2 top, Card 3 spans 2 rows, Card 4 under 1 & 2 | Row 3: Card 5 & 6 (50% each) */
.ministries-grid__eyebrow {
  letter-spacing: 0.2em;
}
.ministries-grid__title em {
  font-style: italic;
  font-weight: 500;
}
.ministries-grid__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .ministries-grid__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: minmax(340px, auto) minmax(340px, auto) minmax(340px, auto);
    gap: 1.6rem;
  }
  .ministries-grid__card--1 { grid-column: 1 / span 2; grid-row: 1; }
  .ministries-grid__card--2 { grid-column: 3 / span 2; grid-row: 1; }
  .ministries-grid__card--3 { grid-column: 5 / span 2; grid-row: 1 / span 2; min-height: 720px; }
  .ministries-grid__card--4 { grid-column: 1 / span 4; grid-row: 2; }
  .ministries-grid__card--5 { grid-column: 1 / span 3; grid-row: 3; }
  .ministries-grid__card--6 { grid-column: 4 / span 3; grid-row: 3; }
}
.ministries-grid__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 2.4rem;
  border-radius: 1rem;
  min-height: 320px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 768px) {
  .ministries-grid__card--1,
  .ministries-grid__card--2,
  .ministries-grid__card--4,
  .ministries-grid__card--5,
  .ministries-grid__card--6 {
    min-height: 340px;
  }
}
.ministries-grid__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.15);
}
.ministries-grid__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}
/* Full BG images with gradient overlay for text readability */
.ministries-grid__card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ministries-grid__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 0;
}
.ministries-grid__card > * {
  position: relative;
  z-index: 1;
}
.ministries-grid__card--1 { background-image: url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=1200&q=80"); }
.ministries-grid__card--1 .ministries-grid__icon { background: rgba(255, 255, 255, 0.25); color: white; }
.ministries-grid__card--1 h3,
.ministries-grid__card--1 p { color: white !important; }
.ministries-grid__card--2 { background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80"); }
.ministries-grid__card--2 .ministries-grid__icon { background: rgba(255, 255, 255, 0.25); color: white; }
.ministries-grid__card--2 h3,
.ministries-grid__card--2 p { color: white !important; }
.ministries-grid__card--3 { background-image: url("https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&w=1200&q=80"); }
.ministries-grid__card--3 .ministries-grid__icon { background: rgba(255, 255, 255, 0.25); color: white; }
.ministries-grid__card--3 h3,
.ministries-grid__card--3 p { color: white !important; }
.ministries-grid__card--4 { background-image: url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=1200&q=80"); }
.ministries-grid__card--4 .ministries-grid__icon { background: rgba(255, 255, 255, 0.25); color: white; }
.ministries-grid__card--4 h3,
.ministries-grid__card--4 p { color: white !important; }
.ministries-grid__card--5 { background-image: url("https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&w=1200&q=80"); }
.ministries-grid__card--5 .ministries-grid__icon { background: rgba(255, 255, 255, 0.25); color: white; }
.ministries-grid__card--5 h3,
.ministries-grid__card--5 p { color: white !important; }
.ministries-grid__card--6 { background-image: url("https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=1200&q=80"); }
.ministries-grid__card--6 .ministries-grid__icon { background: rgba(255, 255, 255, 0.25); color: white; }
.ministries-grid__card--6 h3,
.ministries-grid__card--6 p { color: white !important; }
.ministries-grid__card:hover h3 {
  color: rgb(199, 210, 254) !important;
}
/* Arrow: always visible on mobile, show on hover on desktop */
.ministries-grid__arrow {
  transition: opacity 0.2s ease;
  color: white !important;
}
@media (min-width: 768px) {
  .ministries-grid__arrow {
    opacity: 0;
  }
  .ministries-grid__card:hover .ministries-grid__arrow {
    opacity: 1;
  }
}

/* ========== Serve With Us: blue left only, white to right and bottom ========== */

/* plus-sign divider grid */
.serve-grid-wrapper {
  position: relative;
  overflow: hidden;
}
.serve-grid-wrapper::before,
.serve-grid-wrapper::after {
  content: "";
  position: absolute;
  background: rgba(148, 163, 184, 0.28);
  pointer-events: none;
}
.serve-grid-wrapper::before {
  /* vertical line */
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 1px;
  transform: translateX(-0.5px);
}
.serve-grid-wrapper::after {
  /* horizontal line */
  left: 18px;
  right: 18px;
  top: 50%;
  height: 1px;
  transform: translateY(-0.5px);
}
@media (max-width: 639px) {
  .serve-grid-wrapper::before,
  .serve-grid-wrapper::after {
    display: none;
  }
}

/* ========== New Here (Figma-aligned layout, 8px grid, site palette) ========== */
.new-here-section {
  --new-here-space: 8px;
  --new-here-radius: 16px;
  --new-here-accent: #635bff;
  --new-here-reveal: 0;
}
.new-here-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: calc(var(--new-here-space) * 6) calc(var(--new-here-space) * 4);
}
@media (min-width: 640px) {
  .new-here-container {
    padding-left: calc(var(--new-here-space) * 6);
    padding-right: calc(var(--new-here-space) * 6);
  }
}
@media (min-width: 768px) {
  .new-here-container {
    padding-top: calc(var(--new-here-space) * 8);
    padding-bottom: calc(var(--new-here-space) * 8);
  }
}
@media (min-width: 1024px) {
  .new-here-container {
    padding-left: calc(var(--new-here-space) * 8);
    padding-right: calc(var(--new-here-space) * 8);
  }
}

.new-here-grid {
  display: grid;
  gap: calc(var(--new-here-space) * 5);
}
@media (min-width: 1024px) {
  .new-here-grid {
    grid-template-columns: 2fr 1fr;
    gap: calc(var(--new-here-space) * 10);
    align-items: end;
  }
}

.new-here-left {
  min-width: 0;
}
.new-here-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--new-here-accent);
  margin: 0 0 calc(var(--new-here-space) * 2);
}
.new-here-intro {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
  text-indent: 2rem;
  background: linear-gradient(
    to bottom,
    rgb(15, 23, 42) 0%,
    rgb(15, 23, 42) calc(var(--new-here-reveal) * 100%),
    rgb(148, 163, 184) calc(var(--new-here-reveal) * 100%),
    rgb(148, 163, 184) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 767px) {
  .new-here-intro {
    font-size: 1.75rem;
    text-indent: 1.5rem;
  }
}

/* Testimonial card (no fixed height; reduced padding for content) */
.new-here-card {
  border-radius: var(--new-here-radius);
  border: 1px solid rgb(226, 232, 240);
  background: rgb(248, 250, 252);
  padding: calc(var(--new-here-space) * 2.5);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
@media (min-width: 640px) {
  .new-here-card {
    padding: calc(var(--new-here-space) * 3);
  }
}
.new-here-card .card-testimonial,
.new-here-card .card-testimonial:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  border-left-color: transparent;
}
.new-here-testimonial-quote {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(71, 85, 105);
  margin: calc(var(--new-here-space) * 1.5) 0 0;
}
.new-here-testimonial-footer {
  display: flex;
  align-items: center;
  gap: calc(var(--new-here-space) * 2);
}
.new-here-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #fce7f3;
}
.new-here-testimonial-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  display: block;
}
.new-here-testimonial-role {
  font-size: 0.75rem;
  color: rgb(100, 116, 139);
  margin: 2px 0 0;
}

.new-here-carousel__track {
  position: relative;
  overflow: hidden;
}
.new-here-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.new-here-carousel__slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.new-here-carousel__dots {
  margin-top: calc(var(--new-here-space) * 2.5);
  display: flex;
  justify-content: flex-start;
  gap: 4px;
}
.new-here-carousel__dot {
  cursor: pointer;
  border: none;
  padding: 0;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgb(203, 213, 225);
  transition: background 0.2s ease;
}
.new-here-carousel__dot.active,
.new-here-carousel__dot:hover {
  background: var(--new-here-accent);
}

/* Footer: services + CTA */
.new-here-footer {
  margin-top: calc(var(--new-here-space) * 6);
  padding-top: calc(var(--new-here-space) * 5);
  border-top: 1px solid rgb(226, 232, 240);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--new-here-space) * 4);
}
.new-here-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--new-here-space) * 4);
}
.new-here-service-block {
  margin: 0;
}
.new-here-service-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  margin: 0;
}
.new-here-service-time {
  font-size: 0.8125rem;
  color: rgb(71, 85, 105);
  margin: 4px 0 0;
}
.new-here-divider {
  width: 1px;
  height: 2rem;
  background: rgb(226, 232, 240);
}
.new-here-cta {
  margin-left: auto;
  border-radius: 9999px;
  background: rgb(27, 36, 51);
  color: #fff;
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.new-here-cta:hover {
  background: rgb(15, 23, 42);
  color: #fff;
}

/* ========== Sermon block ========== */
.card-sermon {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-sermon:hover {
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.1);
  border-color: rgba(99, 91, 255, 0.2);
}

/* ========== Latest Sermon carousel ========== */
/* Padding on all sides so card shadows (bottom + right) are not clipped */
.latest-sermon-carousel-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 40px 40px 64px 40px;
}
.latest-sermon-viewport {
  width: calc(100% - 80px);
  margin: 0 40px;
  overflow: visible;
}
.latest-sermon-track {
  display: flex;
  flex-wrap: nowrap;
  min-width: max-content;
  will-change: transform;
  padding: 0 28px;
  box-sizing: content-box;
  transition: transform 0.3s ease-out;
}
/* Slightly smaller card so 3 fit and card 3 is not cropped; shadows have room via wrap/viewport */
.latest-sermon-card {
  display: block;
  flex-shrink: 0;
  width: 340px;
  min-width: 340px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, border-color 0.25s ease;
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
/* Cover image: slightly smaller height to match smaller card */
.latest-sermon-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
  width: 340px;
  height: 440px;
}
.latest-sermon-card__img {
  display: block;
  vertical-align: top;
  border-radius: 1.25rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.latest-sermon-card__info {
  border-radius: 0 0 1.25rem 1.25rem;
  margin: 0;
  margin-top: 0;
}
.latest-sermon-card:hover {
  /* Soft, lifted shadow per design: diffused and visible around the whole card */
  box-shadow:
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    0 10px 20px -4px rgba(0, 0, 0, 0.08),
    0 24px 48px -12px rgba(0, 0, 0, 0.12);
  border-color: rgba(15, 23, 42, 0.12);
}
.latest-sermon-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}
.latest-sermon-card:hover .latest-sermon-card__overlay {
  background: rgba(0, 0, 0, 0.5);
}
.latest-sermon-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.latest-sermon-card__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.92);
}
.latest-sermon-card:hover .latest-sermon-card__play {
  opacity: 1;
}
.latest-sermon-arrow {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* ========== Announcement: same subtle bar as header, spans under announcement too ========== */
.announce-banner {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.announce-banner.announce-banner--over-dark {
  background: rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.announce-banner.announce-banner--over-light {
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.announce-banner[data-hidden="true"] {
  display: none;
}
.announce-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  border: 1px solid rgba(99, 91, 255, 0.35);
  background: linear-gradient(135deg, #c7d2fe 0%, #e0e7ff 50%, #eef2ff 100%);
  padding: 0.4rem 2.25rem 0.4rem 1rem;
  margin: 0;
  box-shadow: 0 1px 2px rgba(99, 91, 255, 0.08);
}
.announce-banner__title {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgb(30, 41, 59);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.announce-banner__btn {
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid rgba(99, 91, 255, 0.5);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(30, 41, 59);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.announce-banner__btn:hover {
  background: #fff;
  border-color: rgba(99, 91, 255, 0.6);
  color: rgb(15, 23, 42);
}

.announce-banner--live .announce-banner__inner {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(135deg, #fecaca 0%, #fee2e2 45%, #fef2f2 100%);
}

.announce-banner__live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #ef4444;
  flex-shrink: 0;
  animation: announce-live-pulse 1.5s ease-in-out infinite;
}

@keyframes announce-live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.announce-banner__btn-text {
  white-space: nowrap;
}
.announce-banner__close {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: rgb(67, 56, 202);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.announce-banner__close:hover {
  color: rgb(49, 46, 129);
}
.announce-banner__close svg {
  display: block;
}

/* ========== Nav links ========== */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #635bff;
  transition: width 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ========== Section styling ========== */
.section-label {
  letter-spacing: 0.18em;
  transition: letter-spacing 0.2s ease;
}
.section-content {
  animation: sectionFadeIn 0.6s ease backwards;
}
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger children for grid sections */
.section-stagger > * {
  animation: sectionFadeIn 0.5s ease backwards;
}
.section-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.section-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.section-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.section-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.section-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.section-stagger > *:nth-child(6) { animation-delay: 0.3s; }

/* ========== Serve list ========== */
.serve-list li {
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  border-radius: 0.25rem;
  margin-left: -0.25rem;
  padding-left: 0.25rem;
}
.serve-list li:hover {
  background-color: rgba(241, 245, 249, 0.8);
  padding-left: 0.5rem;
}

/* ========== Footer (fixed reveal on scroll) ========== */
.footer-reveal {
  min-height: 100vh;
  pointer-events: auto;
}

/* Fixed-footer pages: lift shell above main but pass clicks through except the links band */
body.footer-in-view.has-fixed-footer .footer-reveal {
  z-index: 20 !important;
  pointer-events: none;
}

body.footer-in-view.has-fixed-footer .footer-reveal .footer-links-panel,
body.footer-in-view.has-fixed-footer .footer-reveal .footer-links-panel a,
body.footer-in-view.has-fixed-footer .footer-reveal .footer-links-panel button {
  pointer-events: auto;
}

/* Standard (non-fixed) footers: ensure links sit above overlapping main when visible */
body.footer-in-view:not(.has-fixed-footer) .footer-reveal {
  z-index: 20 !important;
}

body.footer-in-view:not(.has-fixed-footer) .footer-reveal,
body.footer-in-view:not(.has-fixed-footer) .footer-reveal a,
body.footer-in-view:not(.has-fixed-footer) .footer-reveal button {
  pointer-events: auto;
}
.footer-reveal .footer-bg {
  object-fit: cover;
  object-position: center;
}
.footer-reveal .footer-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.65) 40%,
    rgba(2, 6, 23, 0.92) 100%
  );
  pointer-events: none; /* allow clicks to pass through to footer links */
}

body.footer-in-view .article-action-dock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.footer-in-view .article-action-dock > * {
  pointer-events: none;
  animation: none;
}

.article-takeaways + #article-quiz {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
}

#article-quiz {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
}

/* ========== Footer link hover ========== */
.footer-link {
  transition: color 0.2s ease;
}

/* ========== Carousel slide content subtle motion ========== */
.hero-carousel .carousel-slide.active .carousel-slide-inner {
  animation: slideContentIn 0.55s ease 0.08s backwards;
}
@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Announcement bar: mobile icon button (≤360px) ========== */
.announce-banner__btn-icon {
  display: none;
}
@media (max-width: 360px) {
  .announce-banner__btn-text {
    display: none;
  }
  .announce-banner__btn-icon {
    display: inline-flex;
  }
  .announce-banner__btn {
    padding: 0.35rem;
    min-width: 2rem;
    min-height: 2rem;
    justify-content: center;
    align-items: center;
  }
  .announce-banner__inner {
    padding: 0.35rem 2rem 0.35rem 0.75rem;
    gap: 0.35rem;
  }
  .announce-banner__title {
    font-size: 0.75rem;
    gap: 0.5rem;
  }
  .announce-banner__btn-icon {
    display: inline-flex;
  }
}

/* ========== Testimonials carousel (mobile) ========== */
.testimonials-carousel__viewport {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonials-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.testimonials-carousel__track {
  padding: 0 0.5rem;
}
.testimonials-dot.active {
  background-color: rgb(99, 91, 255);
  transform: scale(1.2);
}

/* ========== Mobile spacing optimization ========== */
@media (max-width: 767px) {
  /* Section containers: consistent horizontal padding (20px) */
  section .mx-auto.max-w-6xl {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  /* Section vertical padding: balanced for mobile */
  #latest-sermon .mx-auto.max-w-6xl {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  /* Meet Pastor, Testimonials & other slate-50 sections */
  section.border-b.bg-slate-50 > .mx-auto.max-w-6xl {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  /* Pillars section: reduce outer padding on mobile */
  section.border-b.bg-slate-50.py-16 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  #latest-sermon .latest-sermon-carousel-wrap {
    margin-top: 1.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  #latest-sermon .latest-sermon-viewport {
    width: 100%;
    margin: 0;
  }
  #latest-sermon .latest-sermon-card {
    width: 280px;
    min-width: 280px;
  }
  #latest-sermon .latest-sermon-card__thumb {
    width: 280px;
    height: 360px;
  }
  #latest-sermon .latest-sermon-header {
    gap: 0.75rem;
  }
  /* Testimonials */
  .section-stagger.grid.gap-6 {
    gap: 1rem;
  }
  .card-testimonial {
    padding: 1.25rem;
  }
  /* Ministries */
  .ministries-grid__grid {
    margin-top: 2rem;
    gap: 0.75rem;
  }
  .ministries-grid .mx-auto.max-w-6xl {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  /* Serve section */
  .serve-with-us__panel {
    padding: 2rem 1.25rem;
  }
  .serve-with-us .serve-content-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }
  .serve-left-content {
    max-width: 100%;
    min-width: 0;
  }
  .serve-left-content .mt-7.inline-flex:not(.serve-quote) {
    max-width: 100%;
  }
  .serve-grid-wrapper > div {
    padding: 1rem 0 1rem 0;
  }
  /* Hero carousel */
  .carousel-slide-inner {
    padding: 2rem 1rem;
  }
  /* New Here section */
  .new-here-container {
    padding: 2rem 1.25rem;
  }
  .new-here-intro {
    font-size: 1.125rem !important;
    line-height: 1.6;
  }
  .new-here-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .new-here-cta {
    margin-left: 0;
    align-self: flex-start;
  }
  /* Core pillars: independent cards on mobile, no outer container */
  .pillars-frame {
    display: contents;
    margin-top: 0 !important;
  }
  .pillars-frame .grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .pillars-frame .grid .card-pillar {
    width: 100%;
    min-height: 200px !important;
    flex: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }
  .card-pillar .pillars-card__content {
    padding: 1.25rem !important;
  }
  .card-pillar .pillars-card__content .flex-shrink-0 img {
    height: 56px !important;
    max-width: 88px !important;
  }
  .card-pillar .pillars-card__content .flex-shrink-0 {
    margin-bottom: 0;
  }
  .card-pillar .pillars-card__content > .mt-auto {
    padding-top: 0.5rem !important;
  }
  /* Serve: 1 column, purple as frame (12px) on left, right, top – no margin */
  .serve-with-us {
    margin: 0;
    padding: 12px 12px 0 12px;
  }
  .serve-with-us .serve-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  .serve-with-us__grid {
    max-width: 20rem;
    padding-left: 0;
    padding-right: 0;
  }
  .serve-grid-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .serve-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .serve-grid > div,
  .serve-grid-card {
    padding: 0.75rem 0 0.75rem 0 !important;
  }
  .serve-quote {
    padding: 1rem 1.25rem !important;
    line-height: 1.6;
    max-width: 20rem !important;
  }
  .serve-content-inner h2 {
    margin-top: 0.25rem !important;
  }
  .serve-grid .aspect-[5/4] {
    height: 4.5rem !important;
  }
  .serve-grid p.text-sm {
    font-size: 0.8125rem;
  }
  .serve-grid .text-xs {
    font-size: 0.6875rem;
  }
  /* Footer CTA */
  .footer-reveal .flex.flex-1.flex-col {
    padding: 2.5rem 1rem;
  }
}

/* ═══════════════════════════════════════════
   Marquee Hero
   ═══════════════════════════════════════════ */
.marquee-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -3.5rem;
  padding-top: 3.5rem;
  background:
    linear-gradient(to bottom, rgba(246,249,252,0.85) 0%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.94) 100%),
    url('../assets/contact%20us%20BG.webp') center top / cover no-repeat;
}

.marquee-hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
  padding-bottom: 12rem;
  margin-top: -20vh;
}

.marquee-hero__tagline {
  display: inline-block;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #635bff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(12px);
}

.marquee-hero__title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #0f172a;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .marquee-hero__title { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .marquee-hero__title { font-size: 3rem; }
}

.marquee-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
}

.marquee-hero__desc {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #475569;
  opacity: 0;
  transform: translateY(12px);
}
@media (min-width: 640px) {
  .marquee-hero__desc { font-size: 1rem; }
}

.marquee-hero__cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.625rem 1.75rem;
  border-radius: 9999px;
  background: #635bff;
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
  transition: background 0.2s, transform 0.15s;
  opacity: 0;
  transform: translateY(12px);
}
.marquee-hero__cta:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}
.marquee-hero__cta:active {
  transform: scale(0.97);
}

/* Strip at the bottom */
.marquee-hero__strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 36%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.marquee-hero__track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-hero__img {
  flex-shrink: 0;
  width: 10rem;
  aspect-ratio: 3/4;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  rotate: var(--rot, 0deg);
}
.marquee-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Entrance animation states */
.marquee-hero__tagline.is-visible,
.marquee-hero__desc.is-visible,
.marquee-hero__cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-hero__word.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive */
@media (min-width: 768px) {
  .marquee-hero__strip { height: 40%; }
  .marquee-hero__img { width: 13rem; }
}
@media (max-width: 639px) {
  .marquee-hero__content { padding-bottom: 8rem; margin-top: -10vh; }
  .marquee-hero__img { width: 8rem; }
  .marquee-hero__strip { height: 30%; }
}

/* ═══════════════════════════════════════════
   Gallery Hover Carousel (GHC)
   ═══════════════════════════════════════════ */
.ghc__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.ghc__nav:hover:not(:disabled) { background: #f1f5f9; }
.ghc__nav:disabled { opacity: 0.35; cursor: default; }

.ghc__viewport {
  overflow: hidden;
  margin: 0 -0.75rem;
}

.ghc__track {
  display: flex;
  gap: 1.5rem;
  padding: 0 0.75rem;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  user-select: none;
}
.ghc__track.is-dragging { cursor: grabbing; transition: none; }

.ghc__card {
  flex: 0 0 calc(85% - 1.5rem);
  max-width: 22rem;
  text-decoration: none;
  color: inherit;
  display: block;
}

.ghc__card-inner {
  position: relative;
  width: 100%;
  height: 24rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ghc__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ghc__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ghc__card-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  transition: background 0.4s;
}

.ghc__card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.ghc__card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.ghc__card-summary {
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}

/* Hover: zoom image */
.ghc__card:hover .ghc__card-img img,
.ghc__card:focus-within .ghc__card-img img {
  transform: scale(1.06);
}
.ghc__card:hover .ghc__card-fade,
.ghc__card:focus-within .ghc__card-fade {
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

/* Responsive */
@media (min-width: 640px) {
  .ghc__card { flex: 0 0 calc(50% - 1.5rem); max-width: 22rem; }
}
@media (min-width: 768px) {
  .ghc__card { flex: 0 0 calc(33.333% - 1.5rem); }
  .ghc__card-inner { height: 26rem; }
  .ghc__card-title { font-size: 1.125rem; }
  .ghc__card-summary { font-size: 0.875rem; }
}
@media (min-width: 1024px) {
  .ghc__card { flex: 0 0 calc(25% - 1.5rem); max-width: none; }
}

/* ═══════════════════════════════════════════
   Impact Section — image carousel + stats
   ═══════════════════════════════════════════ */
.impact-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 88/36;
  background: #0f172a;
}
.impact-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.impact-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.impact-carousel__slide.is-active {
  opacity: 1;
}
.impact-carousel__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

/* Arrows */
.impact-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.25s, background 0.15s, transform 0.15s;
}
.impact-carousel__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.impact-carousel__arrow--prev { left: 0.75rem; }
.impact-carousel__arrow--next { right: 0.75rem; }

/* Desktop: show on hover */
.impact-carousel:hover .impact-carousel__arrow,
.impact-carousel:focus-within .impact-carousel__arrow {
  opacity: 1;
}
/* Mobile: always visible */
@media (max-width: 767px) {
  .impact-carousel__arrow { opacity: 1; width: 2rem; height: 2rem; }
}

/* Counter / pagination */
.impact-carousel__counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

@media (max-width: 639px) {
  .impact-carousel { aspect-ratio: 4/3; border-radius: 1rem; }
}

/* What We Do: big intro paragraph (mirrors homepage new-here-intro) */
.wwd-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 768px) {
  .wwd-top { grid-template-columns: 65% 1fr; gap: 2.5rem; }
}
.wwd-top__right {
  align-self: end;
}

.wwd-intro {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-indent: 1.5rem;
}
@media (min-width: 768px) {
  .wwd-intro { font-size: 2rem; text-indent: 2rem; }
}
@media (max-width: 479px) {
  .wwd-intro { font-size: 1.125rem; line-height: 1.6; text-indent: 1rem; }
}

.wwd-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.wwd-bullets li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}
.wwd-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #16a34a;
}

/* GHC card meta line (schedule info) */
.ghc__card-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}
.ghc__card-meta svg { flex-shrink: 0; opacity: 0.7; }

/* ═══════════════════════════════════════════
   Testimonial Carousel (inside CTA section)
   ═══════════════════════════════════════════ */
.testi-carousel {
  position: relative;
  overflow: hidden;
}
.testi-carousel__track {
  position: relative;
  min-height: 14rem;
}
.testi-carousel__card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.testi-carousel__card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.testi-carousel__quote {
  color: #635bff;
  margin-bottom: 0.5rem;
}
.testi-carousel__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}
.testi-carousel__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.testi-carousel__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #635bff;
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-carousel__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
}
.testi-carousel__role {
  font-size: 0.6875rem;
  color: #94a3b8;
}
.testi-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
}
.testi-carousel__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testi-carousel__dot.is-active {
  background: #635bff;
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════
   CTA Gradient Section
   ═══════════════════════════════════════════ */
.cta-gradient {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}
.cta-gradient__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #2d1b69, #11998e,
    #8e2de2, #4a00e0,
    #0f3460, #e94560,
    #134e5e, #71b280,
    #1a2a6c, #b21f1f,
    #2d1b69, #11998e
  );
  background-size: 600% 600%;
  animation: cta-grad-flow 20s ease infinite;
}
@keyframes cta-grad-flow {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}
.cta-gradient__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════
   Social Pill buttons
   ═══════════════════════════════════════════ */
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(99, 91, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.social-pill:hover {
  transform: translateY(-1px);
}
.social-pill[aria-label="Facebook"]:hover {
  border-color: #1877f2;
  color: #1877f2;
  background: #e8f0fe;
}
.social-pill[aria-label="YouTube"]:hover {
  border-color: #ff0000;
  color: #ff0000;
  background: #fff0f0;
}
.social-pill[aria-label="Instagram"]:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: #fce4ec;
}

/* Dark variant (on gradient bg) */
.social-pill--dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}
.social-pill--dark:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   Ministry Navigation Cards
   ═══════════════════════════════════════════ */
.ministry-nav-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s, transform 0.25s;
}
.ministry-nav-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.ministry-nav-card__img {
  width: 100%;
  height: 12rem;
  overflow: hidden;
}
.ministry-nav-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ministry-nav-card:hover .ministry-nav-card__img img {
  transform: scale(1.05);
}
.ministry-nav-card__body {
  padding: 1.25rem;
}

/* Mobile: Explore Other Ministries — eyebrow, title, learn more only; no image or description */
@media (max-width: 767px) {
  .ministry-nav-card__img {
    display: none;
  }
  .ministry-nav-card__body p.text-slate-500 {
    display: none;
  }
  .ministry-nav-card__body {
    padding: 1rem 1.25rem;
  }
}
