/* =========================
   RESET / GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #163b7a;
  --blue-dark: #0f2c5c;
  --gold: #d2a12f;
  --gold-soft: #f5e6bf;
  --text: #1f2430;
  --muted: #5f6776;
  --white: #ffffff;
  --bg-light: #f6f7fa;
  --bg-soft: #f8f3e8;
  --border: #d8deea;
  --shadow: 0 10px 24px rgba(28, 35, 56, 0.08);
  --radius: 16px;
  --card-bg: #f8faff;
  --container: min(1180px, calc(100% - 80px));

  /* theme colors */
  --page-bg: #ffffff;
  --section-bg: #f6f7fa;
  --card-surface: #ffffff;
  --text-main: #1f2430;
  --text-soft: #5f6776;
  --input-bg: #ffffff;
  --input-border: #aab7d1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: var(--page-bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-tag,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-tag {
  color: var(--gold);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 32, 61, 0.08);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.verse-box {
  background: #f8f1df;
  border-radius: 12px;
  padding: 18px 14px;
  color: #444;
  font-style: italic;
}

.verse-box small {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
}

/* =========================
   THEME COLOR APPLICATION
========================= */
.welcome-section,
.about-section,
.about-scripture-section,
.latest-video-section,
.featured-video-section {
  background: var(--page-bg);
}

.quick-access,
.about-cards-section,
.contact-section,
.prayer-section,
.events-section,
.videos-grid-section,
.gallery-section,
.donation-section,
.payment-section {
  background: var(--section-bg);
}

.quick-card,
.about-info-card,
.contact-info-card,
.contact-form-card,
.prayer-form-card,
.prayer-info-card,
.event-page-card,
.thumbnail-card,
.scripture-card,
.event-card,
.donation-form-card,
.giving-info-card,
.payment-card,
.giving-option-card {
  background: var(--card-surface);
}

.welcome-text p,
.quick-card p,
.latest-copy p,
.event-copy p,
.about-text-card p,
.contact-info-card p,
.contact-item,
.prayer-info-card p,
.featured-video-copy p,
.event-page-text,
.thumbnail-card-content p,
.gallery-text,
.footer-about p,
.footer-contact p,
.footer-links a,
.quick-subtext,
.giving-info-card p,
.option-text p,
.payment-left p {
  color: var(--text-soft);
}

.form-group input,
.form-group textarea {
  background: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text-main);
}

/* =========================
   HEADER / NAV
========================= */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #3f1c6a !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
  z-index: 1000;
}

header.scrolled .nav-bar {
  background: transparent !important;
}

.nav-bar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  background: transparent !important;
  transition: min-height 0.3s ease;
}

header.scrolled .nav-bar {
  min-height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  background: transparent !important;
}

.logo img {
  height: 120px;
  width: auto;
  background-color: transparent !important;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.site-nav {
  margin-left: auto;
  background: transparent !important;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: transparent !important;
}

.site-nav li {
  background: transparent !important;
}

.site-nav a {
  color: #d9dfeb;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.site-nav a.active {
  color: #d9dfeb;
}

.site-nav a:hover {
  color: var(--gold);
  font-weight: 700;
}

/* hamburger */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   THEME SWITCHER
========================= */
.theme-switcher {
  position: relative;
  margin-left: 18px;
  display: block;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.theme-toggle-btn span {
  font-weight: 600;
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 180px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(20, 32, 61, 0.18);
  padding: 8px;
  display: none;
  z-index: 1300;
}

.theme-dropdown.show {
  display: block;
}

.theme-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 1rem;
  color: #151c2e;
  cursor: pointer;
}

.theme-option:hover,
.theme-option.active {
  background: #1e78c8;
  color: #ffffff;
}

/* hidden on desktop */
.mobile-theme-switcher {
  display: none;
}

/* =========================
   HERO - HOME
========================= */
.hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 55px;
  color: #ffffff;
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/image1.jpg") center 20% / cover no-repeat;
}

.hero-content {
  width: min(820px, 92%);
  padding: 30px 0;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-text {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.95);
}

/* =========================
   HERO - OTHER PAGES
========================= */
.page-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 55px;
  color: #ffffff;
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/image1.jpg") center 20% / cover no-repeat;
}

.page-hero-content {
  width: min(900px, 92%);
  margin: 0 auto;
}

.page-hero .eyebrow,
.page-hero .section-tag {
  color: #ffffff;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
  color: #ffffff;
}

.page-hero p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
}

/* Optional page hero backgrounds */
.about-hero-bg {
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/about001.png") center 20% / cover no-repeat;
}

.videos-hero-bg {
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/videos001.png") center 20% / cover no-repeat;
}

.events-hero-bg {
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/events001.png") center 20% / cover no-repeat;
}

.prayer-hero-bg {
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/prayer001.png") center 20% / cover no-repeat;
}

.contact-hero-bg {
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/contact001.png") center 20% / cover no-repeat;
}

.donate-hero-bg {
  background:
    linear-gradient(rgba(88, 28, 135, 0.58), rgba(88, 28, 135, 0.58)),
    url("../images/donate.png") center 20% / cover no-repeat;
}

/* =========================
   SHARED CONTENT
========================= */
.welcome-section {
  padding: 70px 0 50px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 48px;
  align-items: center;
}

.welcome-text h2,
.quick-access h2,
.latest-copy h2,
.event-section h2,
.about-text-card h2,
.contact-info-card h2,
.prayer-info-card h2,
.featured-video-copy h2,
.scripture-card h2,
.event-page-content h2,
.giving-info-card h2,
.section-heading h2,
.payment-left h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  margin-bottom: 14px;
  color: var(--blue);
}

.video-frame,
.featured-video-frame {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.video-frame iframe,
.featured-video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* =========================
   QUICK ACCESS
========================= */
.quick-access {
  padding: 46px 0 70px;
  text-align: center;
}

.quick-subtext {
  max-width: 560px;
  margin: 0 auto 30px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.quick-card,
.about-info-card,
.contact-info-card,
.contact-form-card,
.prayer-form-card,
.prayer-info-card,
.event-page-card,
.thumbnail-card,
.scripture-card,
.event-card,
.donation-form-card,
.giving-info-card,
.payment-card,
.giving-option-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card {
  text-align: left;
  padding: 24px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
  background: #edf1fa;
  color: var(--blue);
}

.quick-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--blue);
}

/* =========================
   LATEST VIDEO / EVENT
========================= */
.latest-video-section {
  padding: 76px 0;
}

.event-section {
  padding: 78px 0 88px;
  text-align: center;
}

.event-card {
  margin: 34px auto 0;
  width: min(930px, 100%);
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  text-align: left;
}

.event-image,
.event-page-image {
  background: linear-gradient(135deg, #edf1fa, #f8f2e6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-image {
  min-height: 260px;
  font-size: 5rem;
}

.event-copy {
  padding: 34px 34px 30px;
}

.event-label,
.event-badge,
.video-category {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.event-copy h3,
.video-card-content h3,
.about-info-card h3,
.option-text h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue);
}

.event-copy h3 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.event-meta,
.event-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   ABOUT
========================= */
.about-section {
  padding: 60px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.about-image-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-cards-section {
  padding: 50px 0 70px;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-info-card {
  padding: 28px 22px;
  text-align: center;
}

.about-card-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.about-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.about-scripture-section {
  padding: 60px 0 80px;
}

.scripture-card {
  padding: 40px 30px;
  text-align: center;
}

.scripture-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-style: italic;
}

.scripture-reference {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
}

/* =========================
   CONTACT / PRAYER / EVENTS / VIDEOS
========================= */
.contact-section,
.prayer-section,
.events-section,
.videos-grid-section {
  padding: 50px 0 80px;
}

.contact-layout,
.prayer-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 30px;
  align-items: start;
}

.contact-info-card,
.prayer-info-card {
  padding: 34px 26px;
}

.contact-icon,
.prayer-icon,
.giving-icon,
.payment-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  padding-bottom: 12px;
  border-bottom: 1px solid #e5eaf3;
}

.contact-item strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-form-card,
.prayer-form-card,
.donation-form-card {
  padding: 34px 34px 36px;
  position: relative;
}

.contact-label-box,
.prayer-label-box,
.donation-label-box {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.contact-form,
.prayer-form,
.donation-form {
  margin-top: 18px;
}

/* =========================
   DONATE PAGE
========================= */
.donation-section {
  padding: 50px 0 34px;
}

.donation-layout {
  display: grid;
  grid-template-columns: 2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.giving-info-card {
  padding: 34px 26px;
  text-align: center;
  min-height: 100%;
}

.giving-info-card h2 {
  font-size: 2.2rem;
}

.optional-giving {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.section-heading p {
  color: var(--text-soft);
  line-height: 1.6;
}

.section-icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.giving-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.giving-option-card {
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.giving-option-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.giving-radio {
  display: none;
}

.radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #8b96aa;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.giving-radio:checked + .radio-circle {
  border-color: var(--blue);
}

.giving-radio:checked + .radio-circle::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.option-icon {
  font-size: 2.2rem;
  color: var(--blue);
  flex-shrink: 0;
}

.option-text h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.option-text p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.donate-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.donate-btn:hover {
  background: #b98d25;
  transform: translateY(-1px);
}

.payment-section {
  padding: 0 0 42px;
}

.payment-card {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.payment-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-right {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.payment-right span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}

/* =========================
   FORMS
========================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--text-main);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn,
.prayer-submit-btn {
  width: 100%;
}

.form-status-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status-message.show {
  display: block;
}

.form-status-message.success {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.form-status-message.error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.form-status-message.loading {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
}

/* =========================
   EVENTS PAGE
========================= */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event-page-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
}

.event-page-image {
  min-height: 240px;
  font-size: 4.5rem;
}

.event-page-content {
  padding: 30px;
}

.event-page-content h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

/* =========================
   VIDEOS PAGE
========================= */
.featured-video-section {
  padding: 60px 0 40px;
}

.featured-video-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.videos-hero-text {
  max-width: 900px;
  color: #334155;
  font-size: 1.08rem;
}

.featured-video-frame {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(28, 35, 56, 0.12);
}

.featured-video-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  color: var(--blue);
  margin-bottom: 14px;
}

.featured-video-copy p {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.video-category-section {
  margin-bottom: 50px;
}

.category-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 20px;
  border-left: 5px solid var(--gold);
  padding-left: 14px;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.thumbnail-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.thumbnail-card:hover,
.thumbnail-card.thumbnail-hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 32px rgba(28, 35, 56, 0.16);
}

.thumbnail-image {
  position: relative;
  overflow: hidden;
  background: #111;
}

.thumbnail-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.thumbnail-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
}

.thumbnail-card-content {
  padding: 18px;
}

.thumbnail-card-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.thumbnail-card-content p {
  font-size: 0.95rem;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #3f1c6a;
  color: var(--white);
  padding-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-chip {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  padding: 16px 0 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand img {
  height: 120px;
  width: auto;
  background-color: transparent;
}

.footer-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

/* =========================
   GALLERY
========================= */
.gallery-section {
  padding: 70px 0 80px;
  text-align: center;
}

.gallery-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.gallery-text {
  max-width: 700px;
  margin: 0 auto 34px;
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(28, 35, 56, 0.08);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.lightbox.show {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
}

/* =========================
   DARK THEME
========================= */
body.theme-dark {
  --page-bg: #0f172a;
  --section-bg: #111827;
  --card-surface: #182235;
  --text-main: #f3f4f6;
  --text-soft: #c5cedd;
  --input-bg: #0f172a;
  --input-border: #334155;
}

body.theme-dark .welcome-text h2,
body.theme-dark .quick-access h2,
body.theme-dark .latest-copy h2,
body.theme-dark .event-section h2,
body.theme-dark .about-text-card h2,
body.theme-dark .contact-info-card h2,
body.theme-dark .prayer-info-card h2,
body.theme-dark .featured-video-copy h2,
body.theme-dark .scripture-card h2,
body.theme-dark .event-page-content h2,
body.theme-dark .giving-info-card h2,
body.theme-dark .section-heading h2,
body.theme-dark .payment-left h2,
body.theme-dark .quick-card h3,
body.theme-dark .about-info-card h3,
body.theme-dark .event-copy h3,
body.theme-dark .category-heading,
body.theme-dark .gallery-title,
body.theme-dark .thumbnail-card-content h3,
body.theme-dark .option-text h3,
body.theme-dark .payment-right span {
  color: #ffffff;
}

body.theme-dark .scripture-text,
body.theme-dark .form-group label {
  color: #ffffff;
}

body.theme-dark .theme-dropdown {
  background: #182235;
  border-color: #334155;
}

body.theme-dark .theme-option {
  color: #f3f4f6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .menuToggle,
  .menu-toggle {
    display: inline-flex;
  }

  /* desktop theme button hidden on mobile */
  .theme-switcher {
    display: none;
  }

  /* mobile theme block shown only on mobile */
  /* mobile theme dropdown */
.mobile-theme-switcher {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e6e6e6;
}

.mobile-theme-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: #f4f6fb;
  color: #151c2e;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-theme-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.mobile-theme-switcher.open .mobile-theme-arrow {
  transform: rotate(180deg);
}

.mobile-theme-dropdown {
  display: none;
  margin-top: 10px;
  flex-direction: column;
  gap: 10px;
}

.mobile-theme-switcher.open .mobile-theme-dropdown {
  display: flex;
}

.mobile-theme-dropdown .theme-option {
  width: 100%;
  border: none;
  background: #f4f6fb;
  color: #151c2e !important;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.98rem;
  cursor: pointer;
  opacity: 1 !important;
}

.mobile-theme-dropdown .theme-option.active {
  background: #1e78c8;
  color: #ffffff !important;
}

.mobile-theme-dropdown .theme-option:not(.active) {
  background: #f4f6fb;
  color: #151c2e !important;
}

body.theme-dark .mobile-theme-dropdown .theme-option {
  background: #f4f6fb;
  color: #151c2e !important;
}

body.theme-dark .mobile-theme-dropdown .theme-option.active {
  background: #1e78c8;
  color: #ffffff !important;
}

  .site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(320px, 92vw);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: #ffffff !important;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(20, 32, 61, 0.18);
  padding: 18px 20px 20px;
  display: none;
  z-index: 1200;
}

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
  }

  .site-nav li {
    width: 100%;
    background: transparent;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 8px 0;
    color: #151c2e;
    font-weight: 700;
  }

  .site-nav a.active {
    color: #151c2e;
  }

  .two-column,
  .about-layout,
  .about-cards-grid,
  .contact-layout,
  .prayer-layout,
  .event-card,
  .event-page-card,
  .featured-video-layout,
  .footer-grid,
  .donation-layout,
  .giving-options-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-image,
  .event-page-image,
  .about-image-card img {
    min-height: 220px;
    height: 220px;
  }

  .payment-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .giving-info-card h2 {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  .featured-video-layout {
    grid-template-columns: 1fr;
  }

  .thumbnail-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .nav-bar {
    min-height: 84px;
  }

  header.scrolled .nav-bar {
    min-height: 78px;
  }

  .logo {
    gap: 10px;
  }

  .logo img,
  .footer-brand img {
    height: 120px;
  }

  .logo-text,
  .footer-brand span {
    font-size: 0.82rem;
    max-width: 150px;
    line-height: 1.2;
    white-space: normal;
  }

  .hero,
  .page-hero,
  .donation-hero,
  .donate-hero {
    min-height: 360px;
    padding: 110px 20px 45px;
  }

  .hero-content {
    padding: 20px 0;
  }

  .hero h1,
  .page-hero h1,
  .donation-hero h1,
  .donate-hero h1 {
    font-size: 2.4rem;
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .quick-grid,
  .thumbnail-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .prayer-form-card,
  .contact-info-card,
  .prayer-info-card,
  .donation-form-card,
  .giving-info-card {
    padding: 26px 20px 24px;
  }

  .contact-label-box,
  .prayer-label-box,
  .donation-label-box {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .featured-video-copy h2,
  .category-heading,
  .event-page-content h2,
  .about-text-card h2,
  .scripture-card h2,
  .gallery-title,
  .section-heading h2,
  .giving-info-card h2,
  .payment-left h2 {
    font-size: 1.8rem;
  }

  .scripture-text {
    font-size: 1.2rem;
  }

  .gallery-card img {
    height: 220px;
  }

  .option-text h3 {
    font-size: 1.05rem;
  }

  .payment-right {
    gap: 16px;
    justify-content: flex-start;
  }

  .payment-right span {
    font-size: 1.5rem;
  }

  .lightbox-close {
    top: 12px;
    right: 20px;
    font-size: 2.4rem;
  }
}