:root {
  color-scheme: light only !important;
}
html, body {
  background-color: #ffffff !important;
  color: #2d2d2d !important;
}
@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #ffffff !important;
    color: #2d2d2d !important;
  }
  .section { background-color: #ffffff !important; }
  .section-alt { background-color: #faf8f4 !important; }
  .belief-section, .gospel-section, .visit-box, .event-item {
    background-color: #ffffff !important;
  }
}

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

:root {
 --navy: #1e3054;
 --navy-dark: #152340;
 --navy-light: #2a4270;
 --gold: #c9a84c;
 --gold-light: #dfc578;
 --cream: #faf8f4;
 --warm-gray: #f2efea;
 --text: #2d2d2d;
 --text-light: #5a5a5a;
 --white: #ffffff;
 --shadow: 0 2px 20px rgba(30,48,84,0.08);
 --shadow-lg: 0 8px 40px rgba(30,48,84,0.12);
}

html { scroll-behavior: smooth; }

body {
 font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
 color: var(--text);
 background: var(--white);
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.25; }

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

a { text-decoration: none; color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ─── HEADER ─── */
.site-header {
 position: sticky; top: 0; z-index: 100;
 background: var(--white);
 border-bottom: 1px solid rgba(30,48,84,0.08);
 transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
 display: flex; align-items: center; justify-content: space-between;
 max-width: 1120px; margin: 0 auto; padding: 12px 24px;
}

.header-logo { display: flex; align-items: center; gap: 12px; }
.header-logo img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.header-logo-text { font-family: 'Lora', serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); line-height: 1.2; }
.header-logo-text span { display: block; font-size: 0.7rem; font-family: 'Source Sans 3', sans-serif; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-light); transition: color 0.2s; }
.main-nav a:hover { color: var(--navy); }

.header-ctas { display: flex; gap: 10px; }

.btn {
 display: inline-flex; align-items: center; justify-content: center;
 padding: 10px 22px; border-radius: 6px;
 font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 0.9rem;
 transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cream); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle svg { width: 28px; height: 28px; color: var(--navy); }

/* ─── HERO ─── */
.hero {
 position: relative; min-height: 520px;
 display: flex; align-items: center;
 overflow: hidden;
}
.hero-bg {
 position: absolute; inset: 0;
 background: url('img/church-building.jpg') center/cover no-repeat;
}
.hero-bg::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(135deg, rgba(21,35,64,0.78) 0%, rgba(30,48,84,0.55) 50%, rgba(30,48,84,0.35) 100%);
}
.hero-content {
 position: relative; z-index: 2;
 max-width: 1120px; margin: 0 auto; padding: 80px 24px;
 color: var(--white);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.hero p { font-size: 1.15rem; max-width: 520px; margin-bottom: 28px; opacity: 0.92; font-weight: 300; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── SERVICE STRIP ─── */
.service-strip {
 background: var(--navy);
 color: var(--white);
 padding: 18px 0;
}
.service-strip-inner {
 display: flex; align-items: center; justify-content: center;
 gap: 40px; flex-wrap: wrap; text-align: center;
}
.service-strip-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.service-strip-item svg { width: 18px; height: 18px; opacity: 0.7; flex-shrink: 0; }
.service-strip-item strong { font-weight: 600; }

/* ─── SECTIONS ─── */
.section { padding: 56px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }

.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.section-navy .section-header h2 { color: var(--white); }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }
.section-navy .section-header p { color: rgba(255,255,255,0.75); }
.section-label {
 display: inline-block; font-size: 0.75rem; font-weight: 600;
 letter-spacing: 0.12em; text-transform: uppercase;
 color: var(--gold); margin-bottom: 8px;
}

/* ─── WELCOME / MISSION ─── */
.welcome-grid {
 display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.welcome-text {
  display: flex; flex-direction: column;
}
.welcome-text h2 { font-size: 1.85rem; color: var(--navy); margin-bottom: 16px; }
.welcome-text p { margin-bottom: 16px; color: var(--text-light); font-size: 1.05rem; }
.welcome-text .btn { margin-top: auto; align-self: flex-start; }
.welcome-image { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.welcome-image img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; }

/* ─── SERMON ─── */
.sermon-card {
 display: grid; grid-template-columns: 1fr 1fr; gap: 0;
 background: var(--white); border-radius: 12px; overflow: hidden;
 box-shadow: var(--shadow-lg); max-width: 800px; margin: 0 auto;
}
.sermon-card-image { background: var(--navy-dark); display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 40px; }
.sermon-play-icon {
 width: 72px; height: 72px; border-radius: 50%;
 background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4);
 display: flex; align-items: center; justify-content: center;
 transition: all 0.3s; cursor: pointer;
}
.sermon-play-icon:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
.sermon-play-icon svg { width: 28px; height: 28px; color: var(--white); margin-left: 4px; }
.sermon-card-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.sermon-series { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.sermon-card-content h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }
.sermon-card-content p { color: var(--text-light); margin-bottom: 20px; font-size: 0.95rem; }

/* ─── EVENTS ─── */
.events-list { display: flex; flex-direction: column; gap: 16px; max-width: 700px; margin: 0 auto; }
.event-item {
 display: flex; align-items: center; gap: 24px;
 background: var(--white); padding: 24px 28px; border-radius: 10px;
 box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.event-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.event-date {
 text-align: center; min-width: 56px; flex-shrink: 0;
 padding: 10px 12px; border-radius: 8px;
 background: var(--navy); color: var(--white);
}
.event-date-month { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.event-date-day { font-size: 1.5rem; font-weight: 700; line-height: 1.1; font-family: 'Lora', serif; }
.event-info h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.event-info p { font-size: 0.88rem; color: var(--text-light); }

/* ─── PASTOR ─── */
.pastor-grid {
 display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
 max-width: 820px; margin: 0 auto;
}
.pastor-photo { width: 280px; flex-shrink: 0; }
.pastor-photo img {
 width: 100%; border-radius: 10px;
 box-shadow: var(--shadow-lg); object-fit: cover;
}
.pastor-text h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 6px; }
.pastor-role { font-size: 0.9rem; font-weight: 500; color: var(--gold); margin-bottom: 16px; }
.pastor-text p { color: var(--text-light); font-size: 1rem; margin-bottom: 12px; }

/* ─── VISIT / CONTACT ─── */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.visit-box {
 background: var(--white); padding: 40px; border-radius: 12px;
 box-shadow: var(--shadow);
}
.visit-box h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 16px; }
.visit-box p { color: var(--text-light); margin-bottom: 20px; font-size: 0.95rem; }
.visit-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--text-light); font-size: 0.95rem; }
.visit-detail svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
 width: 100%; padding: 10px 14px;
 border: 1px solid #d4d4d4; border-radius: 6px;
 font-family: 'Source Sans 3', sans-serif; font-size: 0.95rem;
 transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
 outline: none; border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ─── FOOTER ─── */
.site-footer {
 background: var(--navy-dark); color: rgba(255,255,255,0.75);
 padding: 52px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 44px; width: 44px; border-radius: 50%; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-family: 'Lora', serif; font-weight: 600; color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
 border-top: 1px solid rgba(255,255,255,0.1);
 padding-top: 20px; font-size: 0.82rem; text-align: center;
 color: rgba(255,255,255,0.45);
}



/* ─── IDENTITY BANNER ─── */
.identity-banner {
 max-width: 100%;
 overflow: hidden;
 background: var(--cream);
}
.identity-banner img {
 width: 100%;
 max-height: 400px;
 object-fit: contain;
 display: block;
 margin: 0 auto;
}


/* ─── IDENTITY GRID ─── */
.identity-grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 40px;
  align-items: center;
}
.identity-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
}
.identity-text {
  padding: 16px 0;
}

/* ─── GALLERY ─── */
.gallery-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px;
}
.gallery-item {
 border-radius: 10px;
 overflow: hidden;
 position: relative;
 box-shadow: var(--shadow);
}
.gallery-item img {
 width: 100%;
 height: 260px;
 object-fit: cover;
 transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-wide { grid-column: span 2; }
.gallery-wide img { height: 320px; }
.gallery-caption {
 position: absolute; bottom: 0; left: 0; right: 0;
 background: linear-gradient(transparent, rgba(21,35,64,0.75));
 color: var(--white); padding: 24px 20px 14px;
 font-size: 0.9rem; font-weight: 500;
}



/* ─── PAGE HERO (BELIEFS) ─── */
.page-hero {
 background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
 color: var(--white);
 padding: 64px 0 52px;
 text-align: center;
 position: relative;
 overflow: hidden;
}
.page-hero::before {
 content: '';
 position: absolute; inset: 0;
 background: radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.1) 0%, transparent 60%),
 radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.page-hero::after {
 content: '\201C';
 position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
 font-family: 'Lora', serif; font-size: 18rem; color: rgba(255,255,255,0.03);
 line-height: 1; pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 14px; position: relative; }
.page-hero p { font-size: 1.15rem; opacity: 0.85; max-width: 560px; margin: 0 auto; font-weight: 300; position: relative; }
.page-hero .verse-ref {
 display: inline-block; margin-top: 20px; position: relative;
 font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
 text-transform: uppercase; color: var(--gold); opacity: 0.9;
}


.belief-section[id] {
 scroll-margin-top: 160px;
}
@media (max-width: 900px) {
 .belief-section[id] {
 scroll-margin-top: 80px;
 
  .beliefs-nav { position: relative !important; top: auto !important; }
}
}
/* ─── BELIEFS PAGE ─── */
.beliefs-nav {
 background: var(--white);
 border-bottom: 1px solid rgba(30,48,84,0.08);
 padding: 14px 0;
 position: sticky; top: 73px; z-index: 50;
 box-shadow: 0 2px 12px rgba(30,48,84,0.04);
}
.beliefs-nav-inner {
 display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}
.beliefs-nav a {
 font-size: 0.8rem; font-weight: 500; color: var(--text-light);
 padding: 6px 14px; border-radius: 20px;
 transition: all 0.25s; border: 1px solid transparent;
 white-space: nowrap;
}
.beliefs-nav a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.beliefs-content {
 max-width: 780px; margin: 0 auto;
 padding: 48px 24px 80px;
 background: var(--cream);
}

.belief-section {
 margin-bottom: 32px;
 padding: 32px 36px;
 border-radius: 12px;
 border: 1px solid rgba(30,48,84,0.06);
 background: var(--white);
 box-shadow: 0 1px 8px rgba(30,48,84,0.04);
 transition: box-shadow 0.3s, transform 0.3s;
}
.belief-section:hover {
 box-shadow: 0 4px 20px rgba(30,48,84,0.08);
 transform: translateY(-2px);
}
.belief-section:last-child { margin-bottom: 0; }

.belief-heading {
 display: flex; align-items: center; gap: 14px;
 margin-bottom: 16px;
 padding-bottom: 14px;
 border-bottom: 2px solid var(--gold);
}

.belief-icon {
 display: inline-flex; align-items: center; justify-content: center;
 width: 42px; height: 42px; border-radius: 10px;
 background: var(--navy);
 flex-shrink: 0;
}
.belief-icon svg {
 width: 22px; height: 22px;
}

.belief-section h2 {
 font-size: 1.45rem; color: var(--navy); margin: 0;
}

.belief-section p {
 color: var(--text-light); font-size: 1.02rem; margin-bottom: 12px; line-height: 1.75;
}

.belief-section .scripture {
 display: inline-block;
 background: linear-gradient(135deg, var(--cream) 0%, #eee9df 100%);
 color: var(--navy);
 font-size: 0.82rem; font-weight: 600;
 padding: 5px 14px; border-radius: 20px;
 margin-top: 4px; margin-right: 6px; margin-bottom: 4px;
 font-style: italic;
 border: 1px solid rgba(30,48,84,0.08);
 transition: all 0.2s;
}
.belief-section .scripture:hover {
 background: var(--navy); color: var(--white);
 border-color: var(--navy);
}


.verse-expanded {
 display: block;
 margin: 8px 0;
 padding: 12px 16px;
 background: var(--cream);
 border-left: 3px solid var(--gold);
 border-radius: 0 6px 6px 0;
 font-size: 0.92rem;
 line-height: 1.65;
 color: var(--text);
 font-style: italic;
 animation: verseSlide 0.2s ease;
}
.verse-active {
 background: var(--navy) !important;
 color: var(--white) !important;
 border-color: var(--navy) !important;
}
@keyframes verseSlide {
 from { opacity: 0; transform: translateY(-4px); }
 to { opacity: 1; transform: translateY(0); }
}


/* ─── EVENTS TWO-COL ─── */
.events-two-col {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 32px;
}
.events-col-title {
 font-family: 'Lora', serif;
 font-size: 1.15rem;
 font-weight: 600;
 color: var(--navy);
 margin-bottom: 16px;
 display: flex;
 align-items: center;
 gap: 10px;
 padding-bottom: 12px;
 border-bottom: 2px solid var(--gold);
}
.events-col .event-item {
 margin-bottom: 12px;
}
.events-col .event-item:last-child {
 margin-bottom: 0;
}





.gospel-cta-box {
  background-color: #1e3054 !important;
  color: #ffffff !important;
  border: none;
  text-align: center;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 20px;
}
.gospel-cta-box p {
  color: rgba(255,255,255,0.9) !important;
}
@media (prefers-color-scheme: dark) {
  .gospel-cta-box {
    background-color: #1e3054 !important;
  }
}


.ministry-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.ministry-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(30,48,84,0.08);
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
 .main-nav { display: none; }
 .mobile-toggle { display: block; }
 .header-ctas { display: none; }
 .welcome-grid, .visit-grid, .pastor-grid, .sermon-card, .footer-grid { grid-template-columns: 1fr; }
 .pastor-photo { width: 100%; max-width: 320px; margin: 0 auto; }
 .sermon-card-image { min-height: 180px; }
 .hero { min-height: 420px; }
 .hero-content { padding: 60px 24px; }
 .section { padding: 56px 0; }
 .service-strip-inner { gap: 20px; flex-direction: column; }
 .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ministry-gallery img { height: 150px; }
 .gallery-wide { grid-column: span 1; }
 .gallery-wide img, .gallery-item img { height: 160px; }
 .events-two-col { grid-template-columns: 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  
 #scriptureMinistryPage [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* mobile nav overlay */
.mobile-nav {
 display: none; position: fixed; inset: 0; z-index: 200;
 background: var(--white);
 flex-direction: column; padding: 80px 32px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid var(--warm-gray); color: var(--navy); font-weight: 500; }
.mobile-nav-close {
 position: absolute; top: 16px; right: 20px;
 background: none; border: none; cursor: pointer;
}
.mobile-nav-close svg { width: 32px; height: 32px; color: var(--navy); }
.mobile-nav-ctas { margin-top: 32px; display: flex; gap: 12px; }


.mobile-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1e3054;
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  align-self: center;
  min-width: 200px;
  border: none;
}
.mobile-watch-btn:hover {
  background-color: #2a4270;
}
.mobile-nav-ctas { margin-top: 32px; }

/* fade-in on scroll */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
