*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a2744;
  --navy2:  #243055;
  --gold:   #c8973a;
  --gold-l: #e8b86a;
  --cream:  #f7f3ec;
  --white:  #ffffff;
  --text:   #1e2430;
  --text2:  #4a5568;
  --text3:  #718096;
  --border: rgba(200,151,58,0.25);
  --shadow: 0 4px 24px rgba(26,39,68,0.12);
  /* light-mode surface overrides (default) */
  --bg:         #f7f3ec;
  --surface:    #ffffff;
  --surface2:   #f0ece4;
  --txt:        #1e2430;
  --txt2:       #4a5568;
  --txt3:       #718096;
  --card-border: #ece8e0;
}

body.dark-mode {
  --bg:         #0f1623;
  --surface:    #1a2236;
  --surface2:   #212d44;
  --txt:        #e8e4dc;
  --txt2:       #a8b4c8;
  --txt3:       #6b7a94;
  --card-border: rgba(200,151,58,0.18);
  --cream:      #0f1623;
  --white:      #1a2236;
  --text:       #e8e4dc;
  --text2:      #a8b4c8;
  --text3:      #6b7a94;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,39,68,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,151,58,0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.nav-logo img { display: block; height: 56px; width: auto; }
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}

.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
}
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 8px 14px;
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .3px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  cursor: pointer; border: none; background: none; font-family: inherit;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold-l);
  background: rgba(200,151,58,0.12);
  text-shadow: 0 0 10px rgba(232,184,106,.4);
}
.nav-divider {
  color: rgba(232,184,106,.55);
  font-size: 14px;
  user-select: none;
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  border: none; background: none; padding: 4px;
}
.nav-hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: .2s; }

/* ── PAGE SYSTEM ── */
.page { display: none; opacity: 0; }
.page.active {
  display: block;
  animation: pageFadeIn 0.35s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile menu active item */
.mobile-menu button.nav-active,
.mobile-menu a.nav-active {
  color: var(--gold-l) !important;
  background: rgba(200,151,58,0.15) !important;
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 100px 8% 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(10,18,30,0.72) 0%, rgba(10,18,30,0.35) 60%, rgba(10,18,30,0.1) 100%),
    url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content {
  position: relative; z-index: 1; max-width: 780px;
  margin-left: 5%;
  margin-top: 60px
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 1.4vw, 17px); font-weight: 600;
  letter-spacing: 7px; text-transform: uppercase;
  color: var(--gold-l); margin-bottom: 14px; display: block; opacity: .9;
  font-style: italic;
}
.hero-acronym { display: flex; flex-direction: column; gap: 0; margin-bottom: 6px; }
.hero-acronym-row { display: flex; align-items: baseline; gap: 0; line-height: 1.0; }
.hero-acronym-letter {
  font-family: 'Cormorant SC', 'Cormorant Garamond', serif;
  font-size: clamp(100px, 15vw, 178px);
  font-weight: 700; color: #f5c518;
  line-height: .88; letter-spacing: -2px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.hero-acronym-word {
  font-family: 'Cormorant SC', 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7.5vw, 100px);
  font-weight: 700; color: white;
  line-height: .88; letter-spacing: 8px; text-transform: uppercase;
  text-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.hero-acronym-sup {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600; color: var(--gold-l); text-transform: uppercase;
  letter-spacing: 3px; line-height: 1.5;
  font-style: italic; text-align: left;
  align-self: flex-start;  /* stick to top of row */
  margin-top: 67px;        /* push down from top — increase to go lower */
  margin-left: 12px;       /* left/right spacing */
  white-space: nowrap;
}
.hero-underline {
  width: clamp(48px, 6vw, 80px); height: 4px;
  background: #3b82f6; border-radius: 2px; margin-bottom: 32px;
  margin-left: 30px;
}

/* ── SECTIONS SHARED ── */
.section {
  width: min(92%, 1400px);
  padding: 120px 40px 80px;
  margin: 0 auto;
}
.section-eyebrow {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: ''; width: 60px; height: 1px;
  background: rgba(200,151,58,.35); flex: none;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600; color: var(--navy);
  text-align: center; margin-bottom: 24px;
  padding-bottom: 20px; position: relative;
  line-height: 1.1; letter-spacing: .5px;
}
.section-title::after {
  content: '';
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 120px; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.section-body { font-size: 15px; color: var(--text2); line-height: 1.8; max-width: 680px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-style: italic; color: var(--text2);
  max-width: 900px; margin: 0 auto; text-align: center;
  letter-spacing: 0.01em; line-height: 1.8;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 32px; border-radius: 8px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  color: var(--navy); letter-spacing: .3px;
  box-shadow: 0 4px 18px rgba(200,151,58,0.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(200,151,58,0.45); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(160deg, rgba(26,39,68,0.55) 0%, rgba(15,25,50,0.45) 100%);
  padding: 120px 40px 60px;
  position: relative; overflow: visible;
}
#page-about {
  background-image: linear-gradient(to bottom, rgba(20,35,65,0.35), rgba(30,45,80,0.25)), url('../assets/images/about-us.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}
#page-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
#page-about > * {
  position: relative;
  z-index: 1;
}
#page-visit {
  background-image: linear-gradient(to bottom, rgba(20,35,65,0.35), rgba(30,45,80,0.25)), url('../assets/images/visit.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}
#page-visit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
#page-visit > * {
  position: relative;
  z-index: 1;
}
#page-ministries {
  background-image: linear-gradient(to bottom, rgba(20,35,65,0.35), rgba(30,45,80,0.25)), url('../assets/images/ministry.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}
#page-ministries::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
#page-ministries > * {
  position: relative;
  z-index: 1;
}
#page-events {
  background-image: linear-gradient(to bottom, rgba(20,35,65,0.35), rgba(30,45,80,0.25)), url('../assets/images/event.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}
#page-events::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
#page-events > * {
  position: relative;
  z-index: 1;
}
#page-events .section {
  padding-top: 48px;
}
#page-about .about-content {
  width: calc(100% - 80px);
  max-width: 100%;
  margin: 0 40px;
  padding: 60px 60px 0;
  background: transparent;
  border-radius: 0;
  border: none;
}
#page-about .timeline-section {
  background: transparent;
  width: calc(100% - 80px);
  max-width: 100%;
  margin: 0 40px;
  border-radius: 0;
  border: none;
  padding-bottom: 80px;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 60%, rgba(200,151,58,0.07) 0%, transparent 60%);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 54px); font-weight: 700; color: white; line-height: 1.1;
}
.page-hero-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 14px; max-width: 580px; line-height: 1.7; }

/* ── HOME: ABOUT STRIP ── */
.about-strip { background: white; border-top: 3px solid var(--gold); }
.about-strip-inner {
  max-width: 1100px; margin: 0 auto; padding: 72px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-strip-text .section-title { margin-bottom: 20px; }
.about-strip-text p { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 16px; }
.about-strip-text p:last-of-type { margin-bottom: 28px; }
.about-strip-visual {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}

/* ── FAMILY PHOTO SLIDESHOW ── */
.family-slideshow {
  position: absolute; inset: 0;
  border-radius: 16px; overflow: hidden;
}
.family-slideshow .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: familySlide 25s infinite;
  pointer-events: none;
  user-select: none;
}
/* Stagger each slide's animation delay — add more .slide:nth-child entries if you add more photos */
.family-slideshow .slide:nth-child(1) { animation-delay: 0s;  background-image: url('../assets/images/f1.jpg'); }
.family-slideshow .slide:nth-child(2) { animation-delay: 5s;  background-image: url('../assets/images/f2.jpg'); }
.family-slideshow .slide:nth-child(3) { animation-delay: 10s; background-image: url('../assets/images/f3.jpg'); }
.family-slideshow .slide:nth-child(4) { animation-delay: 15s; background-image: url('../assets/images/f4.jpg'); }
.family-slideshow .slide:nth-child(5) { animation-delay: 20s; background-image: url('../assets/images/f5.jpg'); }

@keyframes familySlide {
  0%        { opacity: 0; transform: scale(1.04); }
  5%        { opacity: 1; transform: scale(1.04); }
  20%       { opacity: 1; transform: scale(1);    }
  25%       { opacity: 0; transform: scale(1);    }
  100%      { opacity: 0; transform: scale(1);    }
}
/* Dot indicators */
.slideshow-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2; pointer-events: none;
}
.slideshow-dots .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: dotPulse 25s infinite;
}
.slideshow-dots .dot:nth-child(1) { animation-delay: 0s; }
.slideshow-dots .dot:nth-child(2) { animation-delay: 5s; }
.slideshow-dots .dot:nth-child(3) { animation-delay: 10s; }
.slideshow-dots .dot:nth-child(4) { animation-delay: 15s; }
.slideshow-dots .dot:nth-child(5) { animation-delay: 20s; }

@keyframes dotPulse {
  0%, 4%   { background: rgba(255,255,255,0.4); }
  5%, 24%  { background: rgba(255,255,255,1); }
  25%, 100%{ background: rgba(255,255,255,0.4); }
}

/* ── HOME: SERVICE CARD ROW ── */
.service-row { background: var(--navy); padding: 56px 40px; }
.service-row-inner { max-width: 1100px; margin: 0 auto; }
.service-row .section-eyebrow { color: var(--gold-l); }
.service-row .section-eyebrow::after { background: rgba(200,151,58,0.2); }
.service-row .section-title { color: white; }
.service-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}
.service-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(200,151,58,0.2);
  border-radius: 14px; padding: 28px 24px;
  transition: transform .18s, border-color .18s, background .18s; cursor: pointer;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(200,151,58,0.5); background: rgba(255,255,255,0.08); }
.service-card-icon { font-size: 28px; margin-bottom: 14px; }
.service-card-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 8px; }
.service-card-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── HOME: CONTACT STRIP ── */
.contact-strip { background: var(--cream); border-top: 1px solid var(--border); }
.contact-strip-inner {
  max-width: 1100px; margin: 0 auto; padding: 72px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  align-items: center;
}

/* ── HOME: CONTACT STRIP DETAILS ── */
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.contact-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 3px; }
.contact-value { font-size: 14px; color: var(--text2); }
.contact-value a { color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-value a:hover { color: var(--gold); }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  text-decoration: none; transition: background .15s, transform .15s;
}
.social-btn:hover { background: var(--gold); transform: translateY(-2px); }

/* ── ABOUT PAGE ── */
.about-content { width: min(92%, 1400px); margin: 0 auto; padding: 0; }
.about-content::before {
  content: ''; position: absolute;
  top: -150px; right: -100px;
  width: 450px; height: 450px; border-radius: 50%;
  background: radial-gradient(rgba(200,151,58,.08), transparent 70%);
  pointer-events: none;
}
.about-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(200,151,58,.15);
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
.about-text { width: min(95%, 1000px); max-width: 850px; margin: 0 auto; text-align: center; background: transparent; border-radius: 10px; }
.about-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 2;
  color: var(--text2);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: 0.02em;
}
.about-text p em {
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
}
.about-lead {
  font-size: 20px !important;
  color: #3a4a6b !important;
}
.drop-cap {
  float: left;
  font-family: 'Playfair Display', serif;
  font-size: 5.2em;
  font-weight: 700;
  line-height: 0.72;
  margin-right: 8px;
  margin-top: 8px;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(200,151,58,0.2);
}

/* ── TIMELINE ── */
.timeline-section {
  padding: 100px 8%;
  background: transparent;

}
.timeline-section h2 {
  text-align: center; font-size: 3rem; margin-bottom: 20px;
  color: var(--navy); font-family: 'Playfair Display', serif;
}
.timeline-section .section-header p {
  max-width: 850px; margin: 0 auto 60px; text-align: center; color: var(--text2); line-height: 1.8;
}
.timeline { width: min(90%, 900px); margin: 64px auto 0; }
.timeline-items { position: relative; padding-left: 40px; }
.timeline-items::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,151,58,.2));
}
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -38px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.timeline-event { font-size: 16px; line-height: 1.9; color: var(--text2); }
.timeline-event strong {
  display: block; margin-bottom: 4px;
  font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy);
}

/* ── MINISTRIES PAGE ── */
.ministries-grid { max-width: 1100px; margin: 0 auto; padding: 72px 40px; }
.ministries-intro { font-size: 15px; color: var(--text2); line-height: 1.8; max-width: 720px; margin-bottom: 52px; text-align: center; margin-left: auto; margin-right: auto; }
.ministry-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ministry-card {
  background: rgba(255,255,255,0.82); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,39,68,0.08); border: 1px solid #ece8e0;
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.ministry-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,39,68,0.14); }
.ministry-card-top { height: 8px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.ministry-card-body { padding: 28px 24px; }
.ministry-card-icon { font-size: 30px; margin-bottom: 14px; }
.ministry-card-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.ministry-card-desc { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ── ONLINE SERVICE ── */
.online-service-section { background: rgba(26,39,68,0.6); padding: 64px 40px; }
.online-service-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.online-service-inner .section-eyebrow { color: var(--gold-l); }
.online-service-inner .section-eyebrow::after { background: rgba(200,151,58,0.2); }
.online-service-inner .section-title { color: white; margin-bottom: 8px; }
.online-service-inner .section-body { color: rgba(255,255,255,0.6); margin: 0 auto 32px; text-align: center; }
.yt-embed-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 14px; border: 1px solid rgba(200,151,58,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.yt-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.yt-sub-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 11px 22px; border-radius: 8px; text-decoration: none;
  background: #ff0000; color: white; font-size: 13px; font-weight: 600;
  transition: opacity .15s;
}
.yt-sub-btn:hover { opacity: .85; }

/* ── VISIT PAGE ── */
.visit-content { max-width: 1100px; margin: 0 auto; padding: 72px 40px; }
.visit-grid { display: flex; flex-direction: column; gap: 40px; }
.visit-grid > div > p { text-align: center; }
.visit-verse {
  background: white; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0;
  padding: 28px 28px 28px 24px; margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(26,39,68,0.07);
}
.visit-verse blockquote {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic;
  color: var(--navy); line-height: 1.6; margin-bottom: 10px;
}
.visit-verse cite { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: .8px; font-style: normal; }
.visit-info-card {
  background: white; border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 16px rgba(26,39,68,0.08); border: 1px solid #ece8e0;
}
.visit-info-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 20px; }
.visit-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.visit-detail-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.visit-detail-label { font-size: 11px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.visit-detail-value { font-size: 14px; color: var(--text2); line-height: 1.6; }
.map-placeholder { margin-top: 28px; border-radius: 12px; overflow: hidden; border: 1px solid #ece8e0; height: 420px; }
.map-placeholder iframe { width: 100%; height: 100%; border: none; }


/* ── MOBILE NAV ── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(26,39,68,0.98); flex-direction: column;
  padding: 80px 32px 40px; gap: 8px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  display: block; padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 16px; font-weight: 500; background: none;
  text-align: left; cursor: pointer; font-family: 'Inter', sans-serif;
}

/* ── LEADERS PAGE ── */
#page-leaders {
  background-image:
    linear-gradient(to bottom, rgba(210,225,240,0.82) 0%, rgba(195,215,235,0.88) 100%),
    url('../assets/images/leaders.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #c8daea;
  filter: saturate(0.9);
}
#page-leaders .section-body {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

  /* NAV */
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* HERO — same positioning concept as desktop, just scaled down */
  .hero { padding: 90px 8% 48px; }
  .hero-content { margin-left: 5%; margin-top: 20px; max-width: 100%; }
  .hero-eyebrow { font-size: clamp(10px, 2.8vw, 13px); letter-spacing: 5px; margin-bottom: 10px; }
  /* letter : word kept at 2:1 ratio, same as desktop (15vw : 7.5vw) */
  .hero-acronym-letter { font-size: clamp(50px, 15vw, 60px); }
  .hero-acronym-word   { font-size: clamp(25px, 8vw, 30px); letter-spacing: 4px; }
  /* sup margin-top scaled proportionally from desktop (67px at 178px letter ≈ 20px at ~50px letter) */
  .hero-acronym-sup    { font-size: 8px; margin-top: 20px; margin-left: 0px; letter-spacing: 2px; }
  .hero-underline      { width: clamp(28px, 5vw, 48px); margin-left: 8px; margin-bottom: 0; }
  .hero-acronym-letter[style] {
  margin-left: 4px !important;
}
  /* SECTIONS */
  .section { padding: 48px 20px; }
  .section-body { white-space: normal !important; }
  .page-hero { padding: 96px 20px 40px; }
  .page-hero-sub { white-space: normal !important; max-width: 100%; }

  /* HOME: ABOUT STRIP */
  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px;
  }

  /* HOME: SERVICE CARDS — collapse to 1 column */
  .service-row, .online-service-section { padding: 48px 20px; }
  .service-cards { grid-template-columns: 1fr; }

  /* HOME: CONTACT STRIP — override inline grid style */
  .contact-strip-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 48px 20px;
  }

  /* ABOUT PAGE — prevent horizontal scroll */
  #page-about { overflow-x: hidden; }

  #page-about .about-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 32px 20px 0;
    box-sizing: border-box;
  }
  #page-about .timeline-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 20px 48px;
    box-sizing: border-box;
  }

  /* About text — constrain fully to container */
  .about-text {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }
  .about-text p { word-break: break-word; overflow-wrap: break-word; }

  /* Drop cap — remove float on mobile so it doesn't push text sideways */
  .drop-cap {
    float: left;
    font-size: 3.2em;
    line-height: 0.72;
    margin-right: 6px;
    margin-top: 6px;
  }

  /* Section separator — tighten padding so it doesn't push the page wide */
  #page-about .about-content > div[style*="padding: 0 40px"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Timeline — keep within bounds */
  .timeline { width: 100%; max-width: 100%; }
  .timeline-items { padding-left: 32px; }
  .timeline-event strong { font-size: 17px; word-break: break-word; }

  /* FIX background-attachment: fixed on iOS (causes blank backgrounds) */
  #page-about,
  #page-visit,
  #page-ministries,
  #page-events,
  #page-leaders {
    background-attachment: scroll;
  }

  /* LEADERS PAGE — collapse 4-column grids to 2 */
  #page-leaders .section > div[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* VISIT — bible verse */
  .visit-verse blockquote { text-align: center !important; font-size: 17px; }
  .visit-verse cite { padding-right: 20px !important; }

  /* MINISTRIES & VISIT */
  .ministries-grid, .visit-content { padding: 40px 20px; }
  .ministry-cards { grid-template-columns: 1fr; }

  /* VISIT — map height */
  .map-placeholder { height: 280px; }

  /* TIMELINE */
  .timeline { width: 100%; }
  .timeline-section { padding: 48px 0; }
}

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader img {
  width: 90px; height: auto;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
#page-loader.done {
  opacity: 0;
  visibility: hidden;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.92); }
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; bottom: 32px; right: 28px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-l);
  border: 1px solid rgba(200,151,58,0.35);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.15s;
}
#back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#back-to-top:hover { background: var(--gold); color: var(--navy); }

@media (max-width: 768px) {
  #back-to-top { bottom: 20px; right: 16px; width: 40px; height: 40px; font-size: 20px; }
}

/* ── VERSE OF THE DAY ── */
.votd-strip {
  background: var(--navy);
  padding: 72px 40px;
  border-top: 1px solid rgba(200,151,58,0.2);
  border-bottom: 1px solid rgba(200,151,58,0.2);
}
.votd-inner {
  max-width: 780px;
  margin: 0 auto;
}
.votd-card {
  margin-top: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,151,58,0.3);
  border-radius: 16px;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
}
.votd-card::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px;
  color: rgba(200,151,58,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.votd-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  letter-spacing: .4px;
  padding: 24px 0;
}
.votd-spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(200,151,58,0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.votd-content {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.votd-ornament {
  color: var(--gold);
  font-size: 16px;
  opacity: .7;
}
.votd-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  border: none;
  padding: 0;
  margin: 0;
  max-width: 640px;
}
.votd-ref {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.votd-link {
  display: inline-block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: .5px;
  transition: color .2s;
  margin-top: 4px;
}
.votd-link:hover { color: var(--gold-l); }
.votd-error {
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  padding: 24px 0;
  gap: 8px;
}
@media (max-width: 600px) {
  .votd-card { padding: 36px 28px; }
  .votd-strip { padding: 56px 20px; }
}

/* ── DARK MODE TOGGLE ── */
#theme-toggle {
  position: fixed; bottom: 82px; right: 28px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-l);
  border: 1px solid rgba(200,151,58,0.35);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
#theme-toggle:hover { background: var(--gold); color: var(--navy); transform: scale(1.08); }
body.dark-mode #theme-toggle { background: var(--surface2); border-color: rgba(200,151,58,0.4); }
@media (max-width: 768px) {
  #theme-toggle { bottom: 70px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
}

/* dark mode: body bg + surfaces */
body.dark-mode { background: var(--bg); color: var(--txt); }
body.dark-mode .about-strip        { background: var(--surface); }
body.dark-mode .section            { background: var(--bg); }
body.dark-mode .contact-strip      { background: var(--navy2); }
body.dark-mode .votd-strip         { background: #0d1520; }
body.dark-mode .service-row        { background: var(--navy); }

/* Cards in dark mode */
body.dark-mode #page-leaders [style*="background:white"],
body.dark-mode #page-about [style*="background:white"],
body.dark-mode #page-events [style*="background:white"],
body.dark-mode #page-visit [style*="background:white"] {
  background: var(--surface) !important;
  border-color: var(--card-border) !important;
  color: var(--txt) !important;
}
body.dark-mode p,
body.dark-mode .section-body,
body.dark-mode .about-lead { color: var(--txt2); }

/* ── LIVE STREAM SECTION ── */
.live-strip {
  background: var(--navy);
  padding: 72px 40px;
  border-top: 1px solid rgba(200,151,58,0.15);
}
.live-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.live-inner .section-eyebrow { justify-content: center; }
.live-inner .section-title   { color: white; text-align: center; margin-bottom: 10px; }
.live-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 40px;
  letter-spacing: .3px;
}

.live-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.live-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid rgba(200,151,58,0.3);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  font-size: 13px; font-weight: 600;
  letter-spacing: .4px; cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.live-tab:hover   { background: rgba(200,151,58,0.12); color: var(--gold-l); }
.live-tab.active  { background: rgba(200,151,58,0.18); color: var(--gold-l); border-color: var(--gold); }
.live-tab svg     { flex-shrink: 0; }

.live-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(200,151,58,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  background: #000;
}
.live-embed-wrapper::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}
.live-embed-wrapper iframe {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  border: none;
}
.live-embed-panel { display: none; }
.live-embed-panel.active { display: block; }

.live-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: .4px;
}
.live-note a { color: var(--gold); text-decoration: none; }
.live-note a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .live-strip  { padding: 56px 16px; }
  .live-tabs   { flex-direction: column; align-items: center; }
  .live-tab    { width: 220px; justify-content: center; }
}
