/* ==========================================================================
   Word of Life Faith Church Kids Academy — Stylesheet
   Palette: Royal Blue, Navy, Gold, plus bold coral/teal/purple/rose/sky accents
   Fonts: Poppins (headings), Inter (body) — modern, bold, non-serif
   ========================================================================== */

:root {
  --navy: #0a1c46;
  --navy-deep: #060f2b;
  --royal-blue: #15316f;
  --royal-blue-light: #2447a8;
  --violet: #5b3fc4;

  --gold: #d4af37;
  --gold-light: #f4cc61;
  --gold-deep: #a8842a;

  --coral: #ff6b4a;
  --coral-deep: #e0502f;
  --teal: #14b8a6;
  --teal-deep: #0d8f81;
  --purple: #7c5cfc;
  --purple-deep: #6440e0;
  --rose: #f2557a;
  --rose-deep: #d63963;
  --sky: #2f80ed;
  --sky-deep: #1c63c4;

  --white: #ffffff;
  --cream: #f9f6ef;
  --cream-dark: #efe7d4;
  --ink: #1a2033;
  --ink-soft: #4b5169;

  --font-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-soft: 0 10px 30px rgba(10, 28, 70, 0.10);
  --shadow-strong: 0 24px 60px rgba(6, 15, 43, 0.4);
  --shadow-card: 0 20px 48px rgba(10, 28, 70, 0.18);
  --transition: 0.3s ease;
}

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

.container {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2;
}
.container.narrow { max-width: 780px; }
.container.narrow-wide { max-width: 900px; }

.section { padding: 100px 0; position: relative; overflow: hidden; }
.text-center { text-align: center; }
.center-text { margin-left: auto; margin-right: auto; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-weight: 700;
  font-size: 0.78rem; color: var(--gold-deep); margin: 0 0 12px;
}
.eyebrow.gold-text, .gold-text { color: var(--gold); }

.pill-badge {
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(255,107,74,0.2));
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold-light); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 26px;
}
.pill-badge-light { color: var(--white); background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 6px;
}
.section-title.light-title { color: var(--white); }

.text-gold-grad {
  background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-divider {
  width: 74px; height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--coral));
  margin: 22px 0 28px; border-radius: 4px;
}
.gold-divider.center { margin-left: auto; margin-right: auto; }
.gold-divider.light { background: linear-gradient(90deg, var(--gold), var(--coral)); }

.lead-text { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }
.lead-text.light-text { color: rgba(255,255,255,0.88); }
.body-text { color: var(--ink-soft); font-size: 1.02rem; }
.body-text.light-text { color: rgba(255,255,255,0.85); }

.note-text {
  font-size: 0.92rem; color: var(--ink-soft); font-style: normal;
  opacity: 0.85; max-width: 680px;
}
.note-text.light-note { color: rgba(255,255,255,0.75); }
.note-text.small-note { max-width: none; margin-top: 14px; }

/* ============ Decorative Blobs ============ */
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: 0.35; z-index: 0; pointer-events: none;
}
.blob-gold { width: 360px; height: 360px; background: var(--gold); top: -100px; right: -80px; }
.blob-teal { width: 300px; height: 300px; background: var(--teal); bottom: -80px; left: -60px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; padding: 16px 34px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.3px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: 2px solid transparent; text-align: center; font-family: var(--font-head);
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-sm { padding: 11px 24px; font-size: 0.88rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--coral));
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(255, 107, 74, 0.35);
}
.btn-gold:hover { box-shadow: 0 18px 36px rgba(255, 107, 74, 0.45); }

.btn-outline-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-navy:hover { background: var(--royal-blue-light); }

.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-full { width: 100%; }

/* ============ Header / Navigation ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(10, 28, 70, 0.85); backdrop-filter: blur(10px);
  transition: background var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid rgba(212,175,55,0);
}
.site-header.scrolled {
  background: rgba(6, 15, 43, 0.97);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  border-bottom-color: rgba(212,175,55,0.25);
}

.navbar {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { color: var(--gold); display: flex; align-items: center; flex-shrink: 0; }
.brand-mark img { height: 46px; width: auto; display: block; }
.footer-brand .brand-mark img { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.brand-sub { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 26px; }
.nav-link {
  color: rgba(255,255,255,0.88); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 6px 0; transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 11px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
/*
  Real photo of the Word of Life Faith Church worship team ministering
  (assets/images/hero-bg.jpg), with a bold navy/violet/gold duotone gradient overlay.
*/
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(125deg, rgba(6,15,43,0.88) 0%, rgba(20,41,107,0.82) 45%, rgba(91,63,196,0.72) 100%),
    url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  isolation: isolate;
  padding: 150px 0 130px;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(6,15,43,0.15) 0%, rgba(6,15,43,0.55) 75%, rgba(6,15,43,0.92) 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.hero-glow-gold { width: 380px; height: 380px; background: rgba(212,175,55,0.35); top: -100px; right: -60px; }
.hero-glow-coral { width: 300px; height: 300px; background: rgba(255,107,74,0.3); bottom: -60px; left: 10%; }
.hero-glow-teal { width: 260px; height: 260px; background: rgba(20,184,166,0.25); top: 30%; right: 20%; }

.hero-content { position: relative; z-index: 2; text-align: left; max-width: 780px; }
.hero-title { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin: 0 0 14px; }
.hero-tagline {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 22px;
}
.hero-subtitle { color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 560px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-welcome {
  color: rgba(255,255,255,0.78); font-size: 0.96rem; max-width: 520px; margin: 0;
  border-left: 3px solid var(--gold); padding-left: 16px;
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  background: linear-gradient(180deg, var(--gold), var(--coral)); border-radius: 2px;
  transform: translateX(-50%); animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 6px; }
}

/* ============ Floating Quick Info Card ============ */
.quick-card {
  position: relative; z-index: 10; margin-top: -74px; margin-bottom: 40px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px;
  padding: 28px 34px;
  border-top: 5px solid var(--gold);
}
.quick-card-icon {
  width: 62px; height: 62px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--coral));
  color: var(--navy-deep); display: flex; align-items: center; justify-content: center;
}
.quick-card-body h2 { font-size: 1.2rem; margin-bottom: 6px; }
.quick-card-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.quick-card-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.quick-card-link { font-weight: 700; font-size: 0.9rem; color: var(--navy); white-space: nowrap; transition: color var(--transition); }
.quick-card-link:hover { color: var(--coral-deep); }

/* ============ Welcome / Icon Grid Section ============ */
.welcome-section { background: var(--cream); padding-top: 60px; }
.welcome-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.welcome-text .btn { margin-top: 8px; }

.value-icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.icon-tile {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius);
  padding: 26px 22px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.icon-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
}
.icon-gold { background: rgba(212,175,55,0.16); color: var(--gold-deep); }
.icon-coral { background: rgba(255,107,74,0.16); color: var(--coral-deep); }
.icon-teal { background: rgba(20,184,166,0.16); color: var(--teal-deep); }
.icon-purple { background: rgba(124,92,252,0.16); color: var(--purple-deep); }
.icon-rose { background: rgba(242,85,122,0.16); color: var(--rose-deep); }
.icon-sky { background: rgba(47,128,237,0.16); color: var(--sky-deep); }
.icon-tile h3 { font-size: 1.02rem; margin-bottom: 8px; }
.icon-tile p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ============ About Section ============ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-image { position: relative; }
.about-image-glow {
  position: absolute; inset: -18px; z-index: 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold), var(--coral), var(--purple));
  opacity: 0.35; filter: blur(18px);
}
.about-image img {
  border-radius: var(--radius); box-shadow: var(--shadow-strong); width: 100%; height: auto;
  object-fit: cover; object-position: center 65%; position: relative; z-index: 2;
  border: 4px solid var(--white);
}
.about-badge {
  position: absolute; bottom: -16px; right: 10px; z-index: 3;
  background: var(--navy); color: var(--gold-light); padding: 10px 22px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; box-shadow: var(--shadow-card);
  border: 1px solid var(--gold); font-family: var(--font-head);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  font-size: 0.85rem; font-weight: 700; padding: 8px 18px; border-radius: 999px;
  color: var(--white); font-family: var(--font-head);
}
.chip-gold { background: linear-gradient(135deg, var(--gold-deep), var(--gold-light)); color: var(--navy-deep); }
.chip-coral { background: linear-gradient(135deg, var(--coral-deep), var(--coral)); }
.chip-teal { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); }
.chip-purple { background: linear-gradient(135deg, var(--purple-deep), var(--purple)); }
.chip-rose { background: linear-gradient(135deg, var(--rose-deep), var(--rose)); }
.chip-sky { background: linear-gradient(135deg, var(--sky-deep), var(--sky)); }
.chip-inline { display: inline-block; margin-bottom: 10px; font-size: 0.72rem; padding: 5px 14px; }

/* ============ Leadership Section ============ */
.leadership-section { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); padding-bottom: 110px; }
.leadership-card { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 56px; align-items: center; margin-top: 40px; }

.leadership-photo-wrap { position: relative; }
.leadership-photo-glow {
  position: absolute; inset: -24px; z-index: 0; border-radius: 40px;
  background: linear-gradient(135deg, var(--gold), var(--coral), var(--purple));
  opacity: 0.5; filter: blur(30px);
}
.leadership-photo {
  position: relative; z-index: 1; background: var(--white); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-strong);
}
.leadership-photo img {
  border-radius: var(--radius); width: 100%; height: auto; object-fit: cover;
  object-position: top center; max-height: 420px;
}
.leadership-statement {
  font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 1.25rem;
  color: var(--gold-light); line-height: 1.6; margin: 0 0 32px; padding-left: 22px;
  border-left: 4px solid var(--gold);
}
.leadership-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.leadership-person h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.leadership-person p { color: rgba(255,255,255,0.75); font-size: 0.96rem; }

/* ============ Featured / Life at Word Life Section ============ */
.featured-section { background: var(--cream); }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.featured-card {
  display: block; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); padding-bottom: 26px; transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.featured-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.featured-card-image { height: 220px; overflow: hidden; }
.featured-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.featured-card:hover .featured-card-image img { transform: scale(1.07); }

.featured-tag {
  display: inline-block; margin: 22px 26px 6px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 5px 14px; border-radius: 999px;
  color: var(--white);
}
.tag-gold { background: linear-gradient(135deg, var(--gold-deep), var(--gold-light)); color: var(--navy-deep); }
.tag-coral { background: linear-gradient(135deg, var(--coral-deep), var(--coral)); }
.tag-teal { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); }

.featured-card h3 { margin: 0 26px 8px; font-size: 1.15rem; }
.featured-card p { margin: 0 26px 14px; color: var(--ink-soft); font-size: 0.92rem; }
.featured-link { display: block; margin: 0 26px; font-weight: 700; font-size: 0.88rem; color: var(--navy); transition: color var(--transition); }
.featured-card:hover .featured-link { color: var(--coral-deep); }

/* ============ Ministries Section ============ */
.ministries-section { background: var(--white); }
.ministries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.ministry-card {
  position: relative; padding: 34px 26px; border-radius: var(--radius); background: var(--cream);
  border-top: 4px solid transparent; transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.bar-gold { border-top-color: var(--gold); }
.bar-coral { border-top-color: var(--coral); }
.bar-teal { border-top-color: var(--teal); }
.bar-purple { border-top-color: var(--purple); }
.bar-rose { border-top-color: var(--rose); }
.bar-sky { border-top-color: var(--sky); }
.ministry-number {
  position: absolute; top: 10px; right: 18px; font-family: var(--font-head); font-size: 2.6rem;
  font-weight: 800; color: var(--cream-dark); line-height: 1; z-index: 0;
}
.ministry-card h3 { position: relative; z-index: 1; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.ministry-card p { position: relative; z-index: 1; color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ============ Gallery Section ============ */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,28,70,0.35) 100%);
  pointer-events: none;
}

/* ============ Kids Academy Section ============ */
/*
  Stock photo (Unsplash, royalty-free) of children learning, with a bold navy/gold duotone
  overlay. Replace with an original Kids Academy photo when available.
*/
.kids-academy-section {
  position: relative; overflow: hidden; color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(120deg, rgba(10,28,70,0.92) 10%, rgba(21,49,111,0.85) 60%, rgba(168,132,42,0.75) 130%),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.kids-overlay { background: linear-gradient(180deg, rgba(6,15,43,0.2) 0%, rgba(6,15,43,0.55) 100%); }
.kids-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; }
.kids-text { max-width: 680px; }
.kids-actions { margin: 30px 0 18px; }

/* ============ Plan Your Visit Section ============ */
.visit-section { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; align-items: stretch; }
.visit-info { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-soft); }
.visit-detail { display: flex; gap: 18px; margin-bottom: 26px; align-items: flex-start; }
.visit-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.icon-gold-solid { background: linear-gradient(135deg, var(--gold-deep), var(--gold-light)); }
.icon-coral-solid { background: linear-gradient(135deg, var(--coral-deep), var(--coral)); }
.icon-teal-solid { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); }
.visit-detail h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--navy); }
.visit-detail p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.visit-detail a:hover { color: var(--coral-deep); }

.visit-notes { margin: 20px 0 30px; padding-top: 20px; border-top: 1px solid var(--cream-dark); }
.visit-notes li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-soft); font-size: 0.94rem; }
.visit-notes li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--gold), var(--coral)); border-radius: 50%;
}
.visit-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 340px; border: 1px solid var(--cream-dark); }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ============ Testimonial Section ============ */
/*
  Real photo of the Word of Life Faith Church sanctuary and congregation gathered
  together (assets/images/testimonial-bg.jpg), with a bold navy/purple duotone overlay.
*/
.testimonial-section {
  position: relative; text-align: center; color: var(--white);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(125deg, rgba(6,15,43,0.9) 10%, rgba(91,63,196,0.78) 100%),
    url('assets/images/testimonial-bg.jpg');
  background-size: cover;
  background-position: center;
}
.testimonial-overlay { background: linear-gradient(180deg, rgba(6,15,43,0.3) 0%, rgba(6,15,43,0.6) 100%); }
.quote-mark { font-family: var(--font-head); font-size: 4.2rem; line-height: 1; display: block; margin-bottom: 6px; }
.testimonial-text { position: relative; z-index: 2; font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--white); line-height: 1.5; }
.testimonial-section .note-text { position: relative; z-index: 2; }
.testimonial-section .quote-mark { position: relative; z-index: 2; }

/* ============ CTA Section ============ */
/*
  Real photo of a water baptism at Word of Life Faith Church (assets/images/cta-baptism-bg.jpg),
  with a bold navy/violet duotone overlay.
*/
.cta-section {
  position: relative;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(120deg, rgba(6,15,43,0.92) 0%, rgba(21,49,111,0.85) 45%, rgba(91,63,196,0.8) 100%),
    url('assets/images/cta-baptism-bg.jpg');
  background-size: cover;
  background-position: center 20%;
}
.cta-overlay { background: linear-gradient(180deg, rgba(6,15,43,0.25) 0%, rgba(6,15,43,0.55) 100%); }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ============ Contact Section ============ */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-address { font-style: normal; margin-top: 28px; color: var(--ink-soft); line-height: 1.8; }
.contact-address a:hover { color: var(--coral-deep); }

.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-soft); }
.form-row { margin-bottom: 20px; }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 8px; font-family: var(--font-head); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--cream-dark); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); background: var(--cream);
  transition: border-color var(--transition), background var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--coral); background: var(--white); outline: none;
}
.form-row textarea { resize: vertical; min-height: 120px; }

.form-fallback { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 18px; }
.form-fallback a { color: var(--coral-deep); font-weight: 700; }
.form-fallback a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding-top: 6px; position: relative; }
.footer-stripe { height: 6px; background: linear-gradient(90deg, var(--gold), var(--coral), var(--purple), var(--teal)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 40px; padding: 64px 24px 50px; border-bottom: 1px solid rgba(255,255,255,0.1); max-width: 1180px; margin: 0 auto; }
.footer-brand { margin-bottom: 18px; }
.footer-address { line-height: 1.9; font-size: 0.94rem; }
.footer-address a:hover { color: var(--gold-light); }

.footer-col h3 { color: var(--gold-light); font-size: 0.95rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.94rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }

.social-icons { display: flex; gap: 12px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.social-icon:hover { background: linear-gradient(135deg, var(--gold), var(--coral)); border-color: transparent; color: var(--navy-deep); }

.footer-bottom { text-align: center; padding: 26px 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ============ Back To Top ============ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--coral)); color: var(--navy-deep);
  border: none; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-strong); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition); z-index: 400;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.05); }

/* ============ Reveal Animations ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .icon-tile:hover, .ministry-card:hover, .featured-card:hover { transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .ministries-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
  .quick-card { grid-template-columns: auto 1fr; grid-template-areas: "icon body" "actions actions"; }
  .quick-card-icon { grid-area: icon; }
  .quick-card-body { grid-area: body; }
  .quick-card-actions { grid-area: actions; margin-top: 14px; justify-content: space-between; }
}

@media (max-width: 900px) {
  .about-grid, .leadership-card, .visit-grid, .contact-grid, .welcome-grid {
    grid-template-columns: 1fr;
  }
  .leadership-photo-wrap { max-width: 380px; margin: 0 auto; }
  .about-image { max-width: 460px; margin: 0 auto 30px; }
  .value-icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--navy-deep); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 100px 32px 40px; gap: 36px; transform: translateX(100%);
    transition: transform var(--transition); box-shadow: -10px 0 40px rgba(0,0,0,0.35);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 20px; width: 100%; }
  .nav-link { display: block; font-size: 1.05rem; }
  .nav-cta { width: 100%; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 90px; text-align: center; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-welcome { margin: 0 auto; border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .ministries-grid, .featured-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .value-icon-grid { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
  .leadership-columns { grid-template-columns: 1fr; gap: 24px; }
  .visit-actions { flex-direction: column; }
  .visit-actions .btn { width: 100%; text-align: center; }
  .contact-form-wrap, .visit-info { padding: 28px; }
  .back-to-top { width: 46px; height: 46px; bottom: 18px; right: 18px; }
  .quick-card { padding: 22px; margin-top: -56px; }
  .quick-card-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .about-badge { right: 8px; }
}
