/* ============================================================
   ROCK SOLID CHURCH — Custom Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary-orange: #ED4B1E;
  --dark-brown: #2E2320;
  --dark-navy: #1a1a2e;
  --text-dark: #1a1a1a;
  --text-medium: #555555;
  --text-light: #888888;
  --text-grey-heading: #999999;
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --border-light: #E8E8E8;
  --footer-bg: #FFFFFF;
  --section-py: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.py-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-navbar {
  background: transparent;
  transition: background 0.4s ease;
  z-index: 1000;
  transform: translateY(-100%);
  animation: navbarSlideDown 0.6s ease forwards;
}

@keyframes navbarSlideDown {
  to { transform: translateY(0); }
}

/* Scrolled: dark glass on all sizes so logo stays readable over white sections */
.site-navbar.scrolled {
  background: rgba(6, 8, 18, 0.75);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Layout wrapper */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  position: relative;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1;
}

.logo-icon-wrap {
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1.1;
}

.brand-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  line-height: 1.2;
}

/* Floating pill — absolutely centered */
.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 12, 24, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.11);
  padding: 8px 8px 8px 14px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.25);
  white-space: nowrap;
}

/* Nav links inside pill */
.nav-links-list {
  gap: 2px;
}

.nav-links-list .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 13px !important;
  border-radius: 50px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links-list .nav-link:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,0.09);
}

/* Give Online button */
.btn-give {
  background: var(--primary-orange);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
}

.btn-give:hover {
  background: #d43d14;
  transform: scale(1.02);
  color: var(--white) !important;
}

/* Circle hamburger */
.btn-hamburger-circle {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-hamburger-circle:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* Create Account */
.btn-create-account {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
  z-index: 1;
  flex-shrink: 0;
}

.btn-create-account:hover {
  color: var(--primary-orange) !important;
}

/* Right side wrapper */
.navbar-right {
  z-index: 1;
  flex-shrink: 0;
}

/* Mobile custom toggler */
.custom-toggler {
  border: none;
  background: transparent;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.custom-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.custom-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Mobile collapse menu */
.mobile-nav-inner {
  background: rgba(8,10,22,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 8px 40px 24px;
}

.mobile-nav-inner .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s ease;
}

.mobile-nav-inner .nav-link:hover {
  color: var(--primary-orange) !important;
}

@media (max-width: 991px) {
  .nav-inner { padding: 0 24px; }
  .site-navbar.scrolled {
    background: rgba(6, 8, 18, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% 0;
  background-image: url('../images/hero-bg.jpg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.65));
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  opacity: 0;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.btn-plan-visit {
  background: var(--white);
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.btn-plan-visit:hover {
  background: var(--primary-orange);
  color: var(--white) !important;
  transform: scale(1.02);
}

.btn-about-us {
  background: transparent;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.8);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-about-us:hover {
  background: var(--white);
  color: var(--text-dark) !important;
  transform: scale(1.02);
}

/* Hero bottom bar */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px 48px;
  opacity: 0;
}

.countdown-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.countdown-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.countdown-timer {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero-social-icons {
  display: flex;
  gap: 22px;
  align-items: center;
}

.social-icon {
  color: rgba(255,255,255,0.85);
  font-size: 19px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  color: var(--white);
  transform: scale(1.15);
}

/* Hero load animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero-heading.visible {
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-subtitle.visible {
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-buttons.visible {
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-bottom-bar.visible {
  animation: heroFadeIn 0.8s ease forwards;
}

/* Mobile hero */
@media (max-width: 767px) {
  .hero-heading { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-bottom-bar { padding: 20px 24px; flex-direction: column; align-items: center; gap: 16px; }
  .countdown-wrap { align-items: center; }
  .countdown-timer { font-size: 32px; }
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 14px;
  display: block;
}

.welcome-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.welcome-body {
  font-size: 17px;
  color: #3d3d3d;
  line-height: 1.9;
  margin-top: 16px;
  font-weight: 400;
  border-left: 3px solid var(--primary-orange);
  padding-left: 18px;
}

.welcome-image-wrap {
  margin-top: 20px;
}

.welcome-full-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center center;
  height: 460px;
}

@media (max-width: 767px) {
  .welcome-full-img { height: 300px; }
  .welcome-heading { font-size: 28px; }
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.mission-section {
  background: var(--off-white);
  padding-top: 40px;
  padding-bottom: 40px;
}

.mission-card-outer {
  background: var(--primary-orange);
  border-radius: 24px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.mission-wave-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mission-wave-bg svg {
  width: 100%;
  height: 100%;
}

.mission-card-outer > *:not(.mission-wave-bg) {
  position: relative;
  z-index: 1;
}

.mission-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.mission-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Mission cards */
.mission-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mission-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 20px;
  margin-bottom: 20px;
}

.mission-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mission-card-body {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

.mission-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
}

.mission-card-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Gospel subsection */
.gospel-subsection {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.gospel-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.gospel-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.gospel-body {
  font-size: 17px;
  color: rgba(255,255,255,0.95);
  line-height: 1.9;
}

.gospel-body strong {
  color: var(--white);
}

.gospel-image-wrap {
  margin: 40px -60px -80px;
}

.gospel-full-img {
  width: 100%;
  border-radius: 0 0 24px 24px;
  border: none;
  object-fit: cover;
  height: 400px;
  object-position: center 40%;
}

@media (max-width: 991px) {
  .mission-card-outer { padding: 48px 32px; }
  .mission-title { font-size: 32px; }
  .gospel-image-wrap { margin: 40px -32px -48px; }
  .gospel-full-img { border-radius: 0 0 16px 16px; }
}

@media (max-width: 767px) {
  .mission-card-outer { padding: 40px 24px; border-radius: 16px; }
  .gospel-image-wrap { margin: 32px -24px -40px; }
  .gospel-full-img { height: 240px; border-radius: 0 0 12px 12px; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #ED4B1E, #c73510, #ED4B1E);
  background-size: 300% 300%;
  animation: ctaGradientShift 6s ease infinite;
  position: relative;
  padding-top: 80px;
  padding-bottom: 60px;
}

@keyframes ctaGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-heading {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.cta-dark   { color: var(--white); }
.cta-orange {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}
.cta-grey   { color: var(--white); }

.btn-cta-plan {
  background: var(--white);
  color: var(--primary-orange) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-cta-plan:hover {
  background: var(--dark-brown);
  color: var(--white) !important;
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .cta-heading { font-size: 36px; }
}

@media (max-width: 767px) {
  .cta-heading { font-size: 26px; }
}

/* ============================================================
   VOLUNTEER SECTION
   ============================================================ */
.volunteer-section {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23888888'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.volunteer-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 24px;
  margin: 0 auto 20px;
}

.volunteer-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.volunteer-subtitle {
  font-size: 17px;
  color: var(--text-medium);
  max-width: 520px;
  margin: 0 auto;
}

/* Swiper volunteer */
.volunteerSwiper {
  padding-bottom: 40px !important;
  touch-action: pan-y;
}

.volunteerSwiper .swiper-wrapper {
  touch-action: pan-y;
}


.volunteer-slide {
  height: auto;
}

.volunteer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.volunteer-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: translateZ(0);
  will-change: transform;
}

@media (max-width: 767px) {
  .volunteer-card img { height: 180px; border-radius: 12px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .volunteer-card img { height: 220px; }
}

.volunteer-card:hover img {
  transform: scale(1.04) translateZ(0);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.volunteer-label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.volunteer-card:hover .volunteer-label {
  color: var(--primary-orange);
}

.volunteer-card--active .volunteer-label {
  color: var(--primary-orange);
  font-weight: 600;
}

.volunteer-pagination {
  bottom: 0 !important;
}

.volunteer-pagination .swiper-pagination-bullet-active {
  background: var(--primary-orange);
}


/* ============================================================
   STORIES SECTION
   ============================================================ */
.stories-outer {
  background: var(--off-white);
  padding-top: 60px;
  padding-bottom: 60px;
}

.stories-card {
  background: var(--dark-brown);
  border-radius: 24px;
  padding: 60px 48px;
}

/* Row gets a fixed base height so all flex columns have a stable anchor */
.stories-row {
  min-height: 440px;
  align-items: stretch;
}

.stories-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}

.stories-body {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 0;
}

.btn-share-story {
  background: var(--primary-orange);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-share-story:hover {
  background: #d43d14;
  transform: scale(1.02);
}

/* Story image wrappers */
.story-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.story-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  pointer-events: none;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
  display: block;
}

.story-img-wrap:hover img {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* tall image fills entire middle column */
.story-img-tall {
  flex: 1;
  min-height: 280px;
}

.story-img-half {
  flex: 1;
  min-height: 155px;
}

/* fourth image in left column grows to fill remaining space */
.story-img-fourth {
  flex: 1;
  min-height: 120px;
}

.story-caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  letter-spacing: 0.01em;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

@media (max-width: 991px) {
  .stories-card { padding: 40px 28px; border-radius: 16px; }
  .stories-heading { font-size: 32px; }
}

@media (max-width: 767px) {
  .stories-outer { padding: 40px 0; }
  .stories-card { padding: 32px 20px; border-radius: 12px; }
  .stories-row { min-height: 0; }
  .story-img-tall { min-height: 240px; }
  .story-img-half { min-height: 140px; }
  .story-img-fourth { min-height: 120px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-light);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-top {
  margin-bottom: 40px;
}

.footer-brand {
  text-decoration: none;
}

.footer-brand-name {
  color: var(--text-dark) !important;
}

.footer-brand-sub {
  color: var(--text-light) !important;
}

.btn-footer-plan {
  background: var(--text-dark);
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 2px solid var(--text-dark);
}

.btn-footer-plan:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: scale(1.02);
}

.btn-footer-login {
  background: transparent;
  color: var(--text-dark) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--text-dark);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-footer-login:hover {
  background: var(--text-dark);
  color: var(--white) !important;
  transform: scale(1.02);
}

.footer-divider {
  border-color: var(--border-light);
  margin: 0 0 40px;
}

/* Footer address */
.footer-address {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: normal;
}

.footer-address a {
  color: var(--text-medium);
}

.footer-address a:hover {
  color: var(--primary-orange);
}

/* Footer social icons */
.footer-social-icons {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* Footer columns */
.footer-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-grey-heading);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.footer-legal {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.footer-legal a {
  color: var(--text-light);
}

.footer-legal a:hover {
  color: var(--primary-orange);
}

/* ============================================================
   UTILITY / MISC
   ============================================================ */

/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #e8e8e8; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 5px; border: 2px solid #e8e8e8; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-orange); }

/* Smooth selection */
::selection {
  background: var(--primary-orange);
  color: var(--white);
}

/* ============================================================
   SERMONS SECTION
   ============================================================ */
.sermons-section {
  background: var(--off-white);
}

.sermons-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.sermons-subtitle {
  font-size: 17px;
  color: var(--text-medium);
  margin-top: 10px;
}

.sermon-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.sermon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
}

.sermon-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.sermon-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.sermon-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(237, 75, 30, 0.92);
  border: none;
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(237,75,30,0.5);
}

.sermon-card:hover .sermon-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.sermon-series-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dark-brown);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.sermon-body {
  padding: 22px 24px 24px;
}

.sermon-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.sermon-meta {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.btn-all-messages {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 34px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-all-messages:hover {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
  transform: scale(1.02);
}

/* Sermon Modal */
.sermon-modal-content {
  background: #0a0a0a;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.sermon-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sermon-modal-close:hover {
  background: rgba(255,255,255,0.28);
}

.sermon-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.sermon-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee-strip {
  background: var(--dark-brown);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0 28px;
}

.marquee-sep {
  color: var(--primary-orange);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.events-section {
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23888888'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

.events-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
}

.event-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

.event-img-wrap {
  position: relative;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.event-date-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-orange);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 54px;
}

.event-month {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.event-day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

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

.event-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.event-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.event-meta {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.event-meta:last-of-type {
  margin-bottom: 0;
}

.event-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-orange);
  margin-top: auto;
  padding-top: 18px;
  transition: opacity 0.2s ease;
}

.event-link:hover {
  opacity: 0.7;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary-orange);
  z-index: 9999;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ============================================================
   CLIP-PATH IMAGE REVEAL
   ============================================================ */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.clip-reveal.revealed {
  clip-path: inset(0 0 0% 0);
}

/* ============================================================
   WORD REVEAL
   ============================================================ */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.5s ease;
}

.word.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--dark-brown);
  padding: 64px 0;
}

.stat-item {
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .stat-number { font-size: 42px; }
  .stat-suffix { font-size: 28px; }
  .stat-item { padding: 16px 8px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   RIPPLE EFFECT
   ============================================================ */
.btn-plan-visit,
.btn-about-us,
.btn-give,
.btn-share-story,
.btn-footer-plan,
.btn-footer-login {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(237,75,30,0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: #c73510;
  box-shadow: 0 6px 24px rgba(237,75,30,0.5);
}

@media (max-width: 767px) {
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 14px; }
}

/* ============================================================
   CURSOR TRAIL (Welcome image area only)
   ============================================================ */
.cursor-trail-icon {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  animation: cursorTrailFloat 1s ease-out forwards;
  transform: translate(-50%, -50%);
  line-height: 1;
}

@keyframes cursorTrailFloat {
  0%   { opacity: 1;   transform: translate(-50%, -50%) scale(0.5); }
  35%  { opacity: 0.8; transform: translate(-50%, -120%) scale(1.1); }
  100% { opacity: 0;   transform: translate(-50%, -280%) scale(0.9); }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.preloader-logo {
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.12); opacity: 0.8; }
}

.preloader-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin: 0;
}

.preloader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--primary-orange);
  border-radius: 2px;
  animation: preloaderFill 1.3s ease-out forwards;
}

@keyframes preloaderFill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ============================================================
   FULL-SCREEN OVERLAY NAVIGATION
   ============================================================ */
.fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fs-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fs-close-btn {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fs-close-btn:hover {
  background: rgba(255,255,255,0.16);
  transform: rotate(90deg);
}

.fs-nav {
  text-align: center;
}

.fs-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-nav-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fs-overlay.active .fs-nav-item {
  opacity: 1;
  transform: translateY(0);
}

.fs-overlay.active .fs-nav-item:nth-child(1) { transition-delay: 0.1s; }
.fs-overlay.active .fs-nav-item:nth-child(2) { transition-delay: 0.16s; }
.fs-overlay.active .fs-nav-item:nth-child(3) { transition-delay: 0.22s; }
.fs-overlay.active .fs-nav-item:nth-child(4) { transition-delay: 0.28s; }
.fs-overlay.active .fs-nav-item:nth-child(5) { transition-delay: 0.34s; }
.fs-overlay.active .fs-nav-item:nth-child(6) { transition-delay: 0.40s; }

.fs-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  line-height: 1.15;
  display: inline-block;
  transition: color 0.2s ease, letter-spacing 0.3s ease;
}

.fs-nav-link:hover {
  color: var(--primary-orange);
  letter-spacing: 0.04em;
}

.fs-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s;
}

.fs-overlay.active .fs-bottom {
  opacity: 1;
  transform: translateY(0);
}

.fs-give-btn {
  font-size: 13px !important;
  padding: 12px 32px !important;
}

.fs-social {
  display: flex;
  gap: 20px;
}

.fs-social a {
  color: rgba(255,255,255,0.45);
  font-size: 18px;
  transition: color 0.2s ease;
}

.fs-social a:hover {
  color: var(--primary-orange);
}

/* ============================================================
   LIVE WATCH BADGE
   ============================================================ */
.btn-live-watch {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  transition: background 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}

.btn-live-watch:hover {
  background: rgba(237,75,30,0.15);
  border-color: var(--primary-orange);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  flex-shrink: 0;
  animation: livePulse 1.4s ease-in-out infinite;
  display: inline-block;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0.7); }
  50%       { box-shadow: 0 0 0 5px rgba(255,59,48,0); }
}

/* ============================================================
   DARK MODE TOGGLE
   ============================================================ */
.btn-dark-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.btn-dark-toggle:hover {
  background: rgba(237,75,30,0.2);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* ============================================================
   SCROLL DOWN INDICATOR
   ============================================================ */
.scroll-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.scroll-indicator.visible {
  opacity: 1;
  pointer-events: none;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(8px); }
  61%  { opacity: 0; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .scroll-indicator { bottom: 80px; }
}

/* ============================================================
   SERVICE TIMES SECTION
   ============================================================ */
.service-times-section {
  background: var(--off-white);
}

.svc-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.svc-sub {
  font-size: 17px;
  color: var(--text-medium);
  margin-top: 10px;
}

.svc-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.svc-card--featured {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.svc-card--featured .svc-icon,
.svc-card--featured .svc-day,
.svc-card--featured .svc-times,
.svc-card--featured .svc-location {
  color: rgba(255,255,255,0.95);
}

.svc-card--featured .svc-btn {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}

.svc-card--featured .svc-btn:hover {
  background: rgba(255,255,255,0.3);
}

.svc-icon {
  font-size: 32px;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.svc-day {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.svc-times {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 10px;
}

.svc-card--featured .svc-times {
  color: rgba(255,255,255,0.95);
}

.svc-location {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 28px;
  flex: 1;
}

.svc-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  border: 1.5px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  margin-top: auto;
}

.svc-btn:hover {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}

/* ============================================================
   NEXT STEPS SECTION
   ============================================================ */
.next-steps-section {
  background: var(--white);
}

.next-steps-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.next-steps-sub {
  font-size: 17px;
  color: var(--text-medium);
  margin-top: 10px;
}

.nxt-card {
  background: var(--off-white);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1.5px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nxt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: var(--primary-orange);
}

.nxt-num {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 800;
  color: rgba(237,75,30,0.30);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 20px;
  pointer-events: none;
  transition: color 0.3s ease;
}

.nxt-card:hover .nxt-num {
  color: rgba(237,75,30,0.50);
}

.nxt-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(237,75,30,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary-orange);
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.nxt-card:hover .nxt-icon {
  background: var(--primary-orange);
  color: #ffffff;
}

.nxt-title {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.nxt-body {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.nxt-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.nxt-link:hover {
  gap: 10px;
  color: var(--primary-orange);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: var(--dark-brown);
  padding: 72px 0;
}


.newsletter-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 12px;
}

.newsletter-heading {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.newsletter-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-input:focus {
  border-color: var(--primary-orange);
  background: rgba(255,255,255,0.1);
}

.newsletter-btn {
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #c73510;
  transform: scale(1.02);
}

/* Newsletter Toast */
#newsletterToast {
  background: #1e1e1e;
  color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  min-width: 300px;
}

#newsletterToast .btn-close {
  filter: invert(1);
}

/* ============================================================
   DARK MODE — Comprehensive
   ============================================================ */
[data-theme="dark"] {
  --text-dark: #f0f0f0;
  --text-medium: #b8b8b8;
  --text-light: #888888;
  --text-grey-heading: #777777;
  --white: #1e1e1e;
  --off-white: #252525;
  --border-light: #333333;
  --footer-bg: #141414;
}

[data-theme="dark"] body {
  background: #121212;
  color: #e8e8e8;
}

[data-theme="dark"] .bg-white {
  background-color: #1e1e1e !important;
}

/* Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track { background: #1a1a1a; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #444; border-color: #1a1a1a; }

/* Navbar */
[data-theme="dark"] .site-navbar.scrolled {
  background: rgba(18, 18, 18, 0.96);
}
[data-theme="dark"] .nav-pill {
  background: rgba(30,30,30,0.9);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .nav-link {
  color: rgba(255,255,255,0.85) !important;
}
[data-theme="dark"] .brand-name {
  color: #f0f0f0;
}
[data-theme="dark"] .brand-sub {
  color: rgba(255,255,255,0.5);
}
[data-theme="dark"] .btn-create-account {
  color: rgba(255,255,255,0.75) !important;
  border-color: rgba(255,255,255,0.18);
}
[data-theme="dark"] .btn-create-account:hover {
  color: rgba(255,255,255,1) !important;
  border-color: rgba(255,255,255,0.5);
}
[data-theme="dark"] .custom-toggler span {
  background: #e8e8e8;
}

/* Welcome */
[data-theme="dark"] .welcome-section {
  background: #181818 !important;
}
[data-theme="dark"] .welcome-heading {
  color: #f0f0f0;
}
[data-theme="dark"] .welcome-body {
  color: #b8b8b8;
}

/* Service Times */
[data-theme="dark"] .service-times-section {
  background: #181818;
}
[data-theme="dark"] .svc-heading {
  color: #f0f0f0;
}
[data-theme="dark"] .svc-sub {
  color: #b0b0b0;
}
[data-theme="dark"] .svc-card {
  background: #242424;
  border-color: rgba(255,255,255,0.07);
}
[data-theme="dark"] .svc-day {
  color: #f0f0f0;
}
[data-theme="dark"] .svc-location {
  color: #888;
}
[data-theme="dark"] .svc-btn {
  color: #e0e0e0;
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .svc-card--featured {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}
[data-theme="dark"] .svc-card--featured .svc-day,
[data-theme="dark"] .svc-card--featured .svc-location {
  color: rgba(255,255,255,0.95);
}

/* Sermons section */
[data-theme="dark"] .sermons-section {
  background: #181818;
}
[data-theme="dark"] .sermons-heading {
  color: #f0f0f0;
}
[data-theme="dark"] .sermons-subtitle {
  color: #b0b0b0;
}
[data-theme="dark"] .sermon-card {
  background: #242424;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
[data-theme="dark"] .sermon-title {
  color: #f0f0f0;
}
[data-theme="dark"] .btn-all-messages {
  color: #e0e0e0;
  border-color: rgba(255,255,255,0.25);
}
[data-theme="dark"] .btn-all-messages:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}

/* CTA — already orange gradient, force text white */
[data-theme="dark"] .cta-dark {
  color: #ffffff;
}
[data-theme="dark"] .cta-grey {
  color: #ffffff;
}
[data-theme="dark"] .btn-cta-plan {
  background: #ffffff;
  color: var(--primary-orange);
}

/* Events section */
[data-theme="dark"] .events-section {
  background-color: #181818 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23484848'/%3E%3C/svg%3E") !important;
}
[data-theme="dark"] .events-heading {
  color: #f0f0f0;
}
[data-theme="dark"] .event-card {
  background: #242424;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
[data-theme="dark"] .event-title {
  color: #f0f0f0;
}

/* Volunteer section */
[data-theme="dark"] .volunteer-section {
  background-color: #181818 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23484848'/%3E%3C/svg%3E") !important;
}

/* Next Steps */
[data-theme="dark"] .next-steps-section {
  background: #121212;
}
[data-theme="dark"] .next-steps-heading {
  color: #f0f0f0;
}
[data-theme="dark"] .next-steps-sub {
  color: #b0b0b0;
}
[data-theme="dark"] .nxt-card {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.07);
}
[data-theme="dark"] .nxt-title {
  color: #f0f0f0;
}
[data-theme="dark"] .nxt-body {
  color: #b0b0b0;
}

/* Stories outer */
[data-theme="dark"] .stories-outer {
  background: #121212;
}

/* Footer */
[data-theme="dark"] .site-footer {
  background: #0d0d0d;
  border-top-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .footer-brand-name {
  color: #f0f0f0 !important;
}
[data-theme="dark"] .footer-brand-sub {
  color: #888888 !important;
}
[data-theme="dark"] .footer-divider {
  border-color: rgba(255,255,255,0.07);
}
[data-theme="dark"] .footer-col-label {
  color: #666;
}
[data-theme="dark"] .footer-links a {
  color: #b0b0b0;
}
[data-theme="dark"] .footer-address,
[data-theme="dark"] .footer-address a {
  color: #888;
}
[data-theme="dark"] .footer-social {
  border-color: rgba(255,255,255,0.1);
  color: #777;
}
[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255,255,255,0.07);
}
[data-theme="dark"] .footer-legal,
[data-theme="dark"] .footer-legal a {
  color: #555;
}
[data-theme="dark"] .btn-footer-plan {
  background: #f0f0f0;
  border-color: #f0f0f0;
  color: #121212 !important;
}
[data-theme="dark"] .btn-footer-login {
  color: #e0e0e0 !important;
  border-color: rgba(255,255,255,0.2);
}
[data-theme="dark"] .btn-footer-login:hover {
  background: #f0f0f0;
  color: #121212 !important;
}

/* Hero buttons — force visible since hero BG is always dark */
[data-theme="dark"] .btn-plan-visit {
  background: #ffffff;
  color: #1a1a1a !important;
}
[data-theme="dark"] .btn-plan-visit:hover {
  background: var(--primary-orange);
  color: #ffffff !important;
}
[data-theme="dark"] .btn-about-us {
  color: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,0.65);
}
[data-theme="dark"] .btn-about-us:hover {
  background: rgba(255,255,255,0.15);
}

/* Give button — orange bg must keep white text */
[data-theme="dark"] .btn-give {
  color: #ffffff !important;
}

/* Hero section — text uses var(--white) which goes dark in dark mode */
[data-theme="dark"] .hero-heading {
  color: #ffffff;
}
[data-theme="dark"] .countdown-timer {
  color: #ffffff;
}

/* Hamburger circle — icon color uses var(--white) */
[data-theme="dark"] .btn-hamburger-circle {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}

/* Stories section — heading/share button on dark-brown card */
[data-theme="dark"] .stories-heading {
  color: #ffffff;
}
[data-theme="dark"] .btn-share-story {
  color: #ffffff !important;
}

/* Next Steps numbers — more visible in dark mode */
[data-theme="dark"] .nxt-num {
  color: rgba(237,75,30,0.28);
}
[data-theme="dark"] .nxt-card:hover .nxt-num {
  color: rgba(237,75,30,0.48);
}

/* Elements with orange background — keep text white */
[data-theme="dark"] .event-day {
  color: #ffffff;
}
[data-theme="dark"] .back-to-top {
  color: #ffffff;
}

/* Gospel section inside dark-brown mission card */
[data-theme="dark"] .gospel-heading {
  color: #ffffff;
}

/* Sermon modal close on dark modal bg */
[data-theme="dark"] .sermon-modal-close {
  color: #ffffff;
}

/* Story captions sit on images — must always be white */
[data-theme="dark"] .story-caption {
  color: #ffffff;
}

/* Full-screen overlay close button — icon uses var(--white) */
[data-theme="dark"] .fs-close-btn {
  color: rgba(255,255,255,0.9);
}

/* Nav pill link hover — var(--white) turns dark in dark mode */
[data-theme="dark"] .nav-links-list .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.09);
}

/* Hero social icon hover — var(--white) turns dark in dark mode */
[data-theme="dark"] .social-icon:hover {
  color: #ffffff;
}

/* Footer social hover — dark mode override has same specificity as :hover rule */
[data-theme="dark"] .footer-social:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: rgba(237,75,30,0.1);
}

/* ============================================================
   SMOOTH SCROLL OFFSET (fixed navbar compensation)
   ============================================================ */
#welcome, #sermons, #ministries, #events, #connect, #hero {
  scroll-margin-top: 90px;
}

/* ============================================================
   BUTTON PRESS SQUISH
   ============================================================ */
.btn-plan-visit:active,
.btn-about-us:active,
.btn-give:active,
.btn-cta-plan:active,
.btn-share-story:active,
.btn-footer-plan:active,
.btn-footer-login:active,
.btn-all-messages:active,
.svc-btn:active,
.newsletter-btn:active,
.pv-submit-btn:active,
.give-submit-btn:active {
  transform: scale(0.95) !important;
  transition: transform 0.08s ease !important;
}

/* ============================================================
   CARD TILT TRANSITION (JS-driven, needs smooth snap back)
   ============================================================ */
.sermon-card:hover,
.event-card:hover,
.nxt-card:hover,
.svc-card:hover {
  will-change: transform;
}

/* ============================================================
   PLAN A VISIT MODAL
   ============================================================ */
.pv-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
}

.pv-modal-header {
  background: var(--primary-orange);
  padding: 36px 40px 32px;
  position: relative;
}

.pv-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pv-modal-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  line-height: 1.55;
}

.pv-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pv-modal-close:hover {
  background: rgba(255,255,255,0.35);
}

.pv-modal-body {
  padding: 32px 40px 40px;
}

.pv-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-grey-heading);
  margin-bottom: 8px;
}

.pv-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-light);
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pv-input:focus {
  border-color: var(--primary-orange);
  background: var(--white);
}

.pv-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.pv-submit-btn {
  width: 100%;
  padding: 15px;
  margin-top: 24px;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pv-submit-btn:hover {
  background: #c73510;
}

.pv-success {
  padding: 60px 40px;
  text-align: center;
  display: none;
}

.pv-success-icon {
  font-size: 64px;
  color: var(--primary-orange);
  margin-bottom: 20px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

.pv-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pv-success-body {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Dark mode — Plan a Visit modal */
[data-theme="dark"] .pv-modal-content {
  background: #1e1e1e;
}
[data-theme="dark"] .pv-input {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.1);
  color: #f0f0f0;
}
[data-theme="dark"] .pv-input:focus {
  background: #333;
  border-color: var(--primary-orange);
}
[data-theme="dark"] .pv-success-title {
  color: #f0f0f0;
}
[data-theme="dark"] .pv-success-body {
  color: #b0b0b0;
}

/* ============================================================
   GIVE ONLINE MODAL
   ============================================================ */
.give-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
}

.give-modal-header {
  background: var(--dark-brown);
  padding: 32px 36px 28px;
  position: relative;
}

.give-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.give-modal-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.give-modal-body {
  padding: 28px 36px 36px;
}

.give-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-grey-heading);
  margin-bottom: 12px;
}

.give-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.give-amount-btn {
  padding: 12px 6px;
  border-radius: 10px;
  border: 1.5px solid var(--border-light);
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.give-amount-btn:hover,
.give-amount-btn--active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}

.give-custom-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  background: var(--off-white);
  padding: 0 16px;
  transition: border-color 0.2s ease;
}

.give-custom-wrap:focus-within {
  border-color: var(--primary-orange);
}

.give-dollar {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-right: 4px;
  flex-shrink: 0;
}

.give-custom-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.give-custom-input::placeholder {
  color: var(--text-light);
}

.give-custom-input::-webkit-outer-spin-button,
.give-custom-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.give-funds {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.give-fund-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
}

.give-fund-option input[type="radio"] {
  accent-color: var(--primary-orange);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.give-submit-btn {
  width: 100%;
  padding: 15px;
  margin-top: 28px;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.give-submit-btn:hover {
  background: #c73510;
}

.give-secure {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin: 12px 0 0;
}

/* Dark mode — Give modal */
[data-theme="dark"] .give-modal-content {
  background: #1e1e1e;
}
[data-theme="dark"] .give-amount-btn {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.1);
  color: #e0e0e0;
}
[data-theme="dark"] .give-amount-btn--active,
[data-theme="dark"] .give-amount-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}
[data-theme="dark"] .give-custom-wrap {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .give-custom-input {
  color: #f0f0f0;
}
[data-theme="dark"] .give-fund-option {
  color: #b0b0b0;
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-fab {
  position: fixed;
  bottom: 32px;
  right: 100px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: 0 4px 20px rgba(237,75,30,0.45);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.2s ease;
}

.chatbot-fab:hover {
  transform: scale(1.1);
  background: #c73510;
}

.chatbot-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(237,75,30,0.4);
  animation: chatPulse 2.4s ease-in-out 4;
}

@keyframes chatPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0; }
}

.chatbot-fab-icon,
.chatbot-fab-close {
  font-size: 22px;
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot-fab-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.chatbot-fab.open .chatbot-fab-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}

.chatbot-fab.open .chatbot-fab-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Chat panel */
.chat-panel {
  position: fixed;
  bottom: 104px;
  right: 24px;
  width: 360px;
  max-height: 540px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 60px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1049;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Panel header */
.chat-panel-header {
  background: var(--dark-brown);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-panel-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-panel-logo svg {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.chat-panel-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.chat-panel-status {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.chat-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  flex-shrink: 0;
}

.chat-panel.open .chat-online-dot {
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.chat-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.chat-close-btn:hover {
  background: rgba(255,255,255,0.22);
}

/* Messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.12) transparent;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
  border-radius: 2px;
}

.chat-bubble {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.chat-bubble-bot {
  background: var(--off-white);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid var(--border-light);
}

.chat-bubble-user {
  background: var(--primary-orange);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: 64px;
  flex-shrink: 0;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaaaaa;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Action button */
.chat-action-btn {
  align-self: flex-start;
  padding: 9px 20px;
  border-radius: 50px;
  background: transparent;
  border: 1.5px solid var(--primary-orange);
  color: var(--primary-orange);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chat-action-btn:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

/* Quick replies */
.chat-quick-replies {
  padding: 12px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  min-height: 58px;
}

.chat-reply-chip {
  padding: 7px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border-light);
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.chat-reply-chip:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}

/* Dark mode — chatbot */
[data-theme="dark"] .chat-panel {
  background: #1e1e1e;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
}

[data-theme="dark"] .chat-bubble-bot {
  background: #2a2a2a;
  color: #f0f0f0;
  border-color: rgba(255,255,255,0.07);
}

[data-theme="dark"] .chat-typing {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.07);
}

[data-theme="dark"] .chat-typing span {
  background: #666;
}

[data-theme="dark"] .chat-quick-replies {
  border-top-color: rgba(255,255,255,0.07);
}

[data-theme="dark"] .chat-reply-chip {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.1);
  color: #e0e0e0;
}

[data-theme="dark"] .chat-reply-chip:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}

[data-theme="dark"] .chat-action-btn {
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

[data-theme="dark"] .chat-action-btn:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

[data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
}

/* Mobile — full width panel slides from bottom */
@media (max-width: 480px) {
  .chat-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 75vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(40px) scale(1);
  }

  .chat-panel.open {
    transform: translateY(0) scale(1);
  }

  .chatbot-fab {
    right: 20px;
    bottom: 20px;
  }
}

/* ============================================================
   BIBLE VERSE OF THE DAY
   ============================================================ */
.verse-section {
  background: #faf7f4;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.verse-section::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--primary-orange);
  border-radius: 2px;
  pointer-events: none;
}


.verse-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.verse-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.verse-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0 0 16px;
  border: none;
  padding: 0;
}

.verse-ref {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  font-style: normal;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .verse-text { font-size: 18px; }
  .verse-section { padding: 36px 20px; }
}

/* Dark mode */
[data-theme="dark"] .mission-section {
  background: #181818;
}

[data-theme="dark"] .verse-section {
  background: #161616;
  border-color: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 100px rgba(237,75,30,0.18);
}

[data-theme="dark"] .verse-text { color: #e8e8e8; }

/* ============================================================
   REDUCED MOTION — accessibility + battery
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Marquee stops completely */
  .marquee-track { animation: none !important; }
}
