:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #18202c;
  --muted: #556070;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent: #d97706;
  --maroon-dark: #2d0912;
  --maroon-mid: #4a1220;
  --gold: #f59e0b;
  --gold-light: #fde68a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Top Contact Banner */
.top-banner {
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.top-banner-phones,
.top-banner-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-banner-link {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-banner-link:hover {
  color: #fbbf24;
  text-decoration: none;
}

.top-banner-sep {
  color: #64748b;
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: clamp(1.18rem, 1.9vw, 1.48rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.05rem;
  }
}

.brand-motto {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 700;
}

.main-nav a.btn-give {
  background: var(--accent);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.main-nav a.btn-give:hover {
  background: #b45309;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero Slider */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.hero-slider {
  position: relative;
  height: clamp(380px, 62vh, 580px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-slide.active,
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.45) 65%,
    rgba(15, 23, 42, 0.25) 100%
  );
  display: flex;
  align-items: center;
}

hero-content {
  color: #ffffff;
  max-width: 780px;
}

.hero-content h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 18px rgba(15, 23, 42, 0.45);
}
.hero-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #e2e8f0;
}

/* Hero Banner Orange CTA Button (goes here, not on .slider-btn) */
.hero-content .btn-hero,
.hero-content .btn-primary {
  background: #f97316;
  border-color: #f97316;
  color: #ffffff;
  font-weight: 700;
  padding: 13px 26px;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-content .btn-hero:hover,
.hero-content .btn-primary:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.45);
}


.hero-subtitle {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #e2e8f0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  background: rgba(15, 23, 42, 0.85);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dot.active,
.slider-dot.is-active {
  width: 26px;
  background: #ffffff;
}

/* Sections & Cards */
.section {
  padding: 44px 0;
}

.verse-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.verse-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.verse-badge {
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.verse-date {
  color: var(--muted);
  font-size: 0.9rem;
}
/* Daily Scripture Verse — Distinct Font & Larger Size */
.verse-section .verse-quote,
.scripture-section .verse-quote,
.daily-verse-section .verse-quote,
#verseBody,
#dailyVerseBody {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-style: italic;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin: 16px 0 18px;
}
.verse-quote {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
}

.verse-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.verse-ref {
  color: var(--primary-dark);
  font-size: 1rem;
}

.verse-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Daily Scripture Section — Dark Maroon Theme */
.scripture-section,
.daily-verse-section,
.verse-section,
#dailyVerseSection {
  background: linear-gradient(135deg, var(--maroon-mid) 0%, var(--maroon-dark) 100%);
  color: #fdf8f6;
  padding: 56px 0;
}

.scripture-section .verse-card,
.daily-verse-section .verse-card,
.verse-section .verse-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 14px 34px rgba(18, 3, 7, 0.35);
  color: #fdf8f6;
}

.scripture-section h2,
.daily-verse-section h2,
.verse-section h2,
.verse-card h2 {
  color: #ffffff;
  margin-top: 0;
}

.verse-section .verse-badge,
.scripture-section .verse-badge,
.daily-verse-section .verse-badge {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border: 1px solid rgba(252, 211, 77, 0.35);
}

#verseDate,
#dailyVerseDate,
.verse-section .verse-date,
.scripture-section .verse-date {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#verseBody,
#dailyVerseBody,
.verse-section .verse-quote,
.scripture-section .verse-body {
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.65;
  margin: 14px 0 12px;
}

#verseRef,
#dailyVerseRef,
.verse-section .verse-ref,
.scripture-section .verse-ref {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
}

.scripture-section .btn-outline,
.daily-verse-section .btn-outline,
.verse-section .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(253, 230, 138, 0.55);
}

.scripture-section .btn-outline:hover,
.daily-verse-section .btn-outline:hover,
.verse-section .btn-outline:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
}

.scripture-section .btn-primary,
.daily-verse-section .btn-primary,
.verse-section .btn-primary {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
  font-weight: 700;
}

.scripture-section .btn-primary:hover,
.daily-verse-section .btn-primary:hover,
.verse-section .btn-primary:hover {
  background: #fbbf24;
  color: #1f050b;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Pastor's Quotes Two-Column Slider */
.pastor-quotes-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.pastor-quotes-header {
  margin-bottom: 24px;
}

.pastor-quotes-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.pastor-slider {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.pastor-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.pastor-quote-mark {
  display: block;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 6px;
}

.pastor-quote-text {
  margin: 0 0 20px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.65;
  color: #0f172a;
  font-weight: 500;
}

.pastor-quote-author strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
}

.pastor-quote-author span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2px;
}

.pastor-image-col {
  display: flex;
  justify-content: center;
}

.pastor-floating-frame {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  border: 4px solid #ffffff;
  animation: pastorFloat 5s ease-in-out infinite;
}

.pastor-floating-frame img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

@keyframes pastorFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pastor-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.pastor-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pastor-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.pastor-dot.is-active {
  width: 26px;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  flex-shrink: 0;
}

.footer-brand-text h3 {
  margin: 0;
  line-height: 1.25;
}

.footer-motto {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-top: 3px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-top: 0;
}

.site-footer a {
  color: #93c5fd;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.powered-by {
  margin: 0;
  color: #94a3b8;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background: var(--gold);
  color: #0f172a;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  color: #ffffff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

/* Responsive Styles */
@media (max-width: 860px) {
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  }

  .main-nav.open,
  .main-nav.active,
  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    min-height: 44px;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav .btn-give {
    margin: 10px 14px 12px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .top-banner-inner {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .top-banner-phones,
  .top-banner-meta {
    justify-content: center;
    font-size: 0.8rem;
  }

  .pastor-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pastor-image-col {
    order: -1;
  }

  .pastor-floating-frame {
    max-width: 280px;
  }

  .pastor-floating-frame img {
    height: 250px;
  }

  .pastor-slider-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 600px) {
  .scripture-section,
  .daily-verse-section,
  .verse-section,
  #dailyVerseSection {
    padding: 40px 0;
  }

  .scripture-section .verse-card,
  .daily-verse-section .verse-card,
  .verse-section .verse-card {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .brand {
    max-width: calc(100% - 56px);
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-motto {
    font-size: 0.7rem;
  }
}