/* =============================================================
   SHALOM GOSPEL MINISTRIES — style.css
   External stylesheet. All visual rules live here; zero inline
   styles or <style> blocks are used in index.html.
   ============================================================= */


/* =============================================================
   1. CSS VARIABLES
   ============================================================= */
:root {
  /* Brand colours */
  --color-navy:                  #0A235D;
  --color-navy-dark:             #142d78;
  --color-gold:                  #785a1a;
  --color-gold-mid:              #c8971e;
  --color-gold-light:            #fed488;
  --color-gold-bright:           #e9c176;
  --color-white:                 #ffffff;

  /* Surface / background tokens */
  --color-body-bg:               #faf8fe;
  --color-body-text:             #1b1b1f;
  --color-surface:               #efedf3;
  --color-surface-low:           #f5f3f8;
  --color-outline:               #c5c6d1;
  --color-on-surface-variant:    #444650;

  /* Semantic container tokens */
  --color-primary-container:     #0a235d;
  --color-secondary-container:   #fed488;
  --color-on-secondary-container:#785a1a;

  /* Typography */
  --font-serif: 'Noto Serif', serif;
  --font-sans:  'Manrope', sans-serif;

  /* Header geometry */
  --nav-height:         90px;
  --nav-height-shrunk:  58px;
  --announce-height:    40px;
  --header-total:       130px;
  --logo-size:          180px;
  --logo-size-shrunk:   72px;

  /* Motion */
  --transition-base:   0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;

  /* Shadows */
  --shadow-card: 0 10px 30px -15px rgba(10,35,93,0.12);
  --shadow-logo: 0 8px 40px rgba(10,35,93,0.22);
}


/* =============================================================
   2. BASE / RESET
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-body-bg);
  color: var(--color-body-text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}


/* =============================================================
   3. LAYOUT UTILITIES
   ============================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-gap {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* =============================================================
   4. HEADER / NAVIGATION
   ============================================================= */

/* Outermost header wrapper — fixed bar */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: var(--color-white);
  overflow: visible;
  isolation: isolate;
  transition: box-shadow var(--transition-base);
}

/* Elevation state applied on scroll */
.site-header.scrolled {
  box-shadow: 0 4px 32px -4px rgba(10,35,93,0.18);
}

/* Announcement bar at very top */
.announce-bar {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.05em;
  transition:
    max-height var(--transition-smooth),
    opacity 0.3s ease,
    padding var(--transition-smooth);
  max-height: 48px;
  overflow: hidden;
}

/* Collapse announcement bar when header has shrunk */
.site-header.shrunk .announce-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Gold accent border below nav */
.nav-border {
  border-bottom: 3px solid var(--color-gold-mid);
  overflow: visible;
}

/* Inner nav container — constrains width */
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  overflow: visible;
}

/* Flex row holding logo, nav links, and actions */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-height);
  overflow: visible;
  transition: height var(--transition-smooth);
}

/* Logo anchor — sits in flow, overflows below nav */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
  z-index: 100;
  align-self: flex-start;
}

/* Church name text beside the logo — hidden on desktop, shown on mobile */
.logo-text-wrap {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.logo-text-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
}

/* Circular logo badge that overhangs onto the hero */
.logo-circle {
  position: relative;
  width: var(--logo-size);
  height: var(--logo-size);
  min-width: var(--logo-size);
  min-height: var(--logo-size);
 /* border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-logo);*/
  margin-top: 8px;
  /*transition:
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease;*/
}

.logo-circle img {
  position: absolute;
  top: 0;
  left: 0;
 /* width: 100%;
  height: 100%;*/
  object-fit: cover;
  display: block;
}

/* Desktop primary navigation */
.main-nav {
  display: none; /* hidden on mobile; overridden by media query below */
  align-items: center;
  gap: 4px;
  align-self: center;
}

/* Individual nav links with animated underline */
.nav-link {
  position: relative;
  padding: 4px 12px;
  color: #3a4a6b;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Right-hand CTA cluster */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
}

/* "Give" pill button */
.btn-give {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 14px -4px rgba(10,35,93,0.35);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.btn-give:hover {
  background: var(--color-navy-dark);
  box-shadow: 0 8px 20px -4px rgba(10,35,93,0.4);
}

/* "Join Us" pill button — desktop-only; hidden on <=1023px via media query */
.btn-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  transition: background var(--transition-base), color var(--transition-base);
}

.btn-join:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

/* Icon sizing inside CTA buttons */
.btn-give .material-symbols-outlined,
.btn-join .material-symbols-outlined {
  font-size: 16px;
}

/* Gold accent icon inside Give button */
.btn-give .icon {
  color: #fcd34d;
}


/* =============================================================
   5. HAMBURGER
   ============================================================= */
.hamburger {
  display: none; /* shown on mobile via media query */
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background var(--transition-base);
}

.hamburger:hover {
  background: #f1f5f9;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* Morph hamburger into x when open */
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 767px) {
  .hamburger { display: flex; }

  /* ── Mobile header / logo fixes ─────────────────────────── */

  /* Shrink the nav row height on mobile */
  .nav-row {
    height: 64px;
    gap: 8px;
    padding: 0 4px;
  }

  /* Reset the oversized badge — use a compact centred logo */
  .logo-link {
    align-self: center;   /* undo flex-start; sit in the middle of the row */
    gap: 10px;
  }

  /* Show the church name text on mobile */
  .logo-text-wrap {
    display: flex;
  }

  .logo-circle {
    width: 52px  !important;
    height: 52px !important;
    min-width: 52px  !important;
    min-height: 52px !important;
    margin-top: 0 !important;  /* no downward overhang on mobile */
  }

  .logo-circle img {
    width: 52px  !important;
    height: 52px !important;
  }

  /* Tighten the inner padding on mobile */
  .nav-inner {
    padding: 0 16px;
  }

  /* Shrink the announce bar text on very small screens */
  .announce-bar {
    font-size: 10.5px;
    padding: 6px 12px;
  }

  /* Hide the Give button text on tiny screens to save space */
  .btn-give {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Adjust the main content offset for the smaller mobile header */
  /* announce bar ~34px + nav row 64px ≈ 98px */
  main {
    margin-top: 98px !important;
  }
}


/* =============================================================
   6. DROPDOWN (MINISTRIES)
   ============================================================= */
.dropdown-wrap {
  position: relative;
}

/* Button inherits .nav-link; this adds flex for chevron icon */
.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-chevron {
  font-size: 16px;
  transition: transform 0.25s;
}

/* Flyout panel */
.dropdown-menu {
  display: none; /* toggled by JS */
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 200px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(10,35,93,0.14);
  border: 1px solid #f1f5f9;
  padding: 6px 0;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.dropdown-menu.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #444;
  transition: background var(--transition-base), color var(--transition-base);
}

.dropdown-item:hover {
  background: #f8faff;
  color: var(--color-navy);
}

.dropdown-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--color-gold);
}


/* =============================================================
   7. MOBILE MENU
   ============================================================= */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--transition-smooth), opacity 0.3s;
}

.mobile-menu.open {
  max-height: 480px;
  opacity: 1;
}

.mobile-menu-inner {
  border-top: 1px solid #f1f5f9;
  background: var(--color-white);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
  transition: background var(--transition-base), color var(--transition-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #f8faff;
  color: var(--color-navy);
  font-weight: 600;
}

.mobile-nav-link .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-gold);
}

.mobile-nav-actions {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-btn-give {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--color-navy);
  color: var(--color-white);
}

.mobile-btn-join {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}

/* Reveal desktop nav and hide hamburger at >=768px */
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .hamburger { display: none !important; }
}

/* Hide Join Us button below 1024px */
@media (max-width: 1023px) {
  .btn-join { display: none; }
}

@media (min-width: 1024px) {
  .btn-join { display: inline-flex; }
}


/* =============================================================
   8. HERO SLIDER
   ============================================================= */
.hero-section {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  background: var(--color-primary-container);
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 80vh;
}

/* Each slide stacks absolutely; JS toggles .is-active */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 10;
}

/* Background image wrapper */
.slide-bg {
  position: absolute;
  inset: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Colour overlay variants */
.slide-overlay {
  position: absolute;
  inset: 0;
}

.slide-overlay--navy  { background: rgba(10,35,93,0.70); }
.slide-overlay--brown { background: rgba(58,26,0,0.75); }

/* Text content area */
.slide-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}

/* Badge pill above heading */
.hero-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 9999px;
  background: var(--color-secondary-container);
  color: var(--color-on-secondary-container);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button row */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}

.hero-btn-primary {
  padding: 16px 40px;
  background: var(--color-white);
  color: var(--color-primary-container);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero-btn-primary:hover { background: #f1f5f9; }

.hero-btn-secondary {
  padding: 16px 40px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition-base);
}

.hero-btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Initial hidden state for JS-animated elements.
   JS removes these via direct style manipulation after a tick. */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
}

/* Prev / Next arrow buttons */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), transform var(--transition-base);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover { background: rgba(255,255,255,0.4); }
.hero-arrow:active { transform: translateY(-50%) scale(0.9); }

.hero-arrow--prev { left: 32px; }
.hero-arrow--next { right: 32px; }

.hero-arrow .material-symbols-outlined { font-size: 28px; }

/* Dot navigation */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero-dot.is-active {
  background: var(--color-white);
  transform: scale(1.3);
}

/* Auto-play progress bar at bottom edge */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(254,212,136,0.8);
  z-index: 20;
  width: 0;
}

@media (max-width: 767px) {
  .hero-arrow--prev { left: 12px; }
  .hero-arrow--next { right: 12px; }
}


/* =============================================================
   9. SCRIPTURE SECTION
   ============================================================= */
.scripture-section {
  background: var(--color-surface-low); /* soft background */
  padding: 80px 0;
  border-top: 1px solid var(--color-outline);
  border-bottom: 1px solid var(--color-outline);
  position: relative;
}

.scripture-inner {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 56px 64px;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(10,35,93,0.08);
  position: relative;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Move the quote icon to the side on desktop */
.scripture-quote-icon {
  position: relative;
  top: 0;
  left: 0;
  font-size: 80px;
  color: var(--color-gold-light);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -16px; /* visually align with first line */
  user-select: none;
}

.scripture-content {
  flex: 1;
}

.scripture-text {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: normal; /* Normal instead of italic for long Tamil text */
  color: var(--color-navy);
  line-height: 1.8;
  text-align: left;
}

.scripture-cite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-mid);
}

.scripture-cite::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold-mid);
}

@media (max-width: 767px) {
  .scripture-inner {
    flex-direction: column;
    padding: 40px 24px;
    gap: 16px;
  }
  .scripture-quote-icon {
    font-size: 56px;
    margin-top: 0;
  }
  .scripture-text {
    font-size: 13px;
    line-height: 1.7;
  }
  .scripture-cite {
    margin-top: 24px;
  }
}


/* =============================================================
   10. FOUR PILLARS SECTION
   ============================================================= */
.pillars-section {
  padding: 80px 0;
  background: var(--color-body-bg);
}

/* Shared section heading styles (reused across sections) */
.section-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.section-title-bar {
  height: 6px;
  width: 96px;
  background: var(--color-secondary-container);
  border-radius: 9999px;
  margin: 0 auto 16px;
}

.section-subtitle {
  color: var(--color-on-surface-variant);
  max-width: 480px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive grid for pillar cards */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Individual pillar card */
.pillar-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border-top: 8px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

/* Navy accent variant */
.pillar-card--navy { border-top-color: var(--color-navy); }

.pillar-card:hover { transform: translateY(-8px); }

/* Icon circle */
.pillar-icon {
  width: 64px;
  height: 64px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.pillar-icon--navy { color: var(--color-navy); }

.pillar-icon .material-symbols-outlined { font-size: 32px; }

.pillar-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.pillar-sub {
  color: var(--color-on-surface-variant);
  font-size: 14px;
  margin-bottom: 12px;
}

.pillar-desc {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
}


/* =============================================================
   11. JOIN SERVICE SECTION
   ============================================================= */
.service-section {
  padding: 80px 0;
  background: var(--color-surface);
  overflow: hidden;
}

/* Two-column layout at desktop */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-media { position: relative; }

/* Video / image thumbnail */
.service-video {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
}

.service-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating info badge — hidden on mobile */
.service-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-secondary-container);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.15);
}

@media (max-width: 767px) {
  .service-badge { display: none; }
}

.service-badge-title {
  color: var(--color-on-secondary-container);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}

.service-badge-sub {
  color: rgba(120,90,26,0.8);
  font-size: 15px;
}

/* Copy column */
.service-content h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-content p {
  font-size: 18px;
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Info items (location, time) */
.service-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.service-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-info-item .material-symbols-outlined {
  color: var(--color-gold);
  padding-top: 2px;
}

.service-info-item h4 {
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.service-info-item p {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  margin-bottom: 0;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Reusable primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.btn-primary:hover {
  box-shadow: 0 8px 20px -5px rgba(10,35,93,0.4);
}

/* Reusable gold outline button */
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--color-on-secondary-container);
  color: var(--color-on-secondary-container);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition-base), color var(--transition-base);
}

.btn-outline-gold:hover {
  background: var(--color-on-secondary-container);
  color: var(--color-white);
}


/* =============================================================
   12. RECENT UPDATES SECTION
   ============================================================= */
.updates-section {
  padding: 80px 0;
  background: var(--color-body-bg);
}

/* Header row with "View All" link */
.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.updates-header h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-navy);
}

.updates-header p {
  color: var(--color-on-surface-variant);
  margin-top: 8px;
}

/* "View All" link — hidden on mobile */
.view-all-btn {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--color-navy);
  font-weight: 700;
}

.view-all-btn:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .view-all-btn { display: flex; }
}

/* Three-column card grid */
.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .updates-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Individual update card */
.update-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Zoom image on card hover */
.update-card:hover .update-card-img { transform: scale(1.05); }

/* Image thumbnail */
.update-card-img-wrap {
  height: 192px;
  overflow: hidden;
  background: #e2e8f0;
}

.update-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.update-card-body { padding: 24px; }

/* Category tag */
.update-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.update-tag--green  { background: #dcfce7; color: #166534; }
.update-tag--blue   { background: #dbeafe; color: #1e40af; }
.update-tag--orange { background: #ffedd5; color: #9a3412; }

.update-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.update-card-excerpt {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* "Read more" arrow link */
.update-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 14px;
  transition: gap var(--transition-base);
}

.update-card:hover .update-card-link { gap: 8px; }

.update-card-link .material-symbols-outlined { font-size: 16px; }


/* =============================================================
   13. PRAYER CTA SECTION
   ============================================================= */
.prayer-section {
  padding: 48px 0;
  background: var(--color-navy);
}

.prayer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .prayer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.prayer-text {
  color: var(--color-white);
  text-align: center;
}

@media (min-width: 768px) {
  .prayer-text { text-align: left; }
}

.prayer-text h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prayer-text p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.prayer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 640px) {
  .prayer-actions {
    flex-direction: row;
    width: auto;
  }
}

/* White-filled button */
.btn-white {
  padding: 12px 32px;
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 700;
  border-radius: 8px;
  transition: box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn-white:hover { box-shadow: 0 8px 20px -5px rgba(0,0,0,0.25); }

/* Ghost button on dark background */
.btn-ghost-white {
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition-base);
  white-space: nowrap;
}

.btn-ghost-white:hover { background: rgba(255,255,255,0.1); }


/* =============================================================
   14. FOOTER
   ============================================================= */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
}

/* SVG wave that transitions from page bg into footer */
.footer-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* Footer content wrapper */
.footer-body {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 32px 40px;
}

/* Responsive 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Small circular logo in footer */
.footer-logo-img-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
  background: var(--color-white);
  flex-shrink: 0;
}

.footer-logo-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-top: 2px;
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-registered {
  color: var(--color-gold-mid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: -4px;
  margin-bottom: 4px;
  max-width: 280px;
}

/* Contact details list */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-contact-item .material-symbols-outlined {
  font-size: 16px;
  color: #fbbf24;
  flex-shrink: 0;
}

/* Social icon strip */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition-base), color var(--transition-base);
}

.footer-social-link:hover {
  background: #fbbf24;
  color: var(--color-navy);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Navigation column headings */
.footer-nav-col h5 {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Gold accent bar before heading */
.footer-nav-col h5::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #fbbf24;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Navigation link list */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color var(--transition-base);
}

.footer-nav-link:hover { color: #fbbf24; }

/* Arrow icon that appears on hover */
.footer-nav-link .material-symbols-outlined {
  font-size: 13px;
  color: #fbbf24;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.footer-nav-link:hover .material-symbols-outlined { opacity: 1; }

/* Service times card */
.footer-times-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px;
}

.footer-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-time-row:last-of-type { border-bottom: none; }

/* Saturday Watchnight highlight row */
.footer-time-row--highlight {
  background: rgba(200,151,30,0.12);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 0 -10px 4px;
  border-bottom: none !important;
}
.footer-time-row--highlight .footer-time-label { color: var(--color-gold-mid); font-weight: 700; }
.footer-time-row--highlight .footer-time-value { color: var(--color-gold-mid); font-weight: 700; }

.footer-time-label {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
}

.footer-time-value {
  color: #fbbf24;
  font-size: 14px;
  font-weight: 700;
}

/* Watch Live button inside service times card */
.footer-live-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: #fbbf24;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
  transition: background var(--transition-base);
}

.footer-live-btn:hover { background: #fcd34d; }

.footer-live-btn .material-symbols-outlined { font-size: 16px; }

/* Bottom copyright bar */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
}

.footer-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-bar-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  transition: color var(--transition-base);
}

.footer-legal a:hover { color: #fbbf24; }


/* =============================================================
   15. ANNOUNCEMENT BAR DETAIL STYLES
   ============================================================= */

/* Small icons inside the announcement bar */
.announce-bar .material-symbols-outlined {
  font-size: 14px;
  color: #fbbf24;
  vertical-align: middle;
}

/* Live stream link inside the announcement bar */
.announce-bar-link {
  color: #fcd34d;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-base);
}

.announce-bar-link:hover {
  color: #fef08a;
}


/* =============================================================
   16. SCROLL-TO-TOP BUTTON
   ============================================================= */
#scroll-top-btn {
  position: fixed;
  bottom: 100px;          /* sits above the WhatsApp widget */
  right: 24px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(10,35,93,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
}

#scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top-btn:hover {
  background: var(--color-gold);
}

#scroll-top-btn .material-symbols-outlined {
  font-size: 22px;
}

@media (max-width: 767px) {
  #scroll-top-btn {
    bottom: 90px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}


/* =============================================================
   17. WHATSAPP FLOATING WIDGET
   ============================================================= */
#whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Main WhatsApp button */
.wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.wa-btn:hover {
  background: #20b958;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Pulse animation ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Tooltip label beside the button */
.wa-tooltip {
  background: #fff;
  color: #1a202c;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.14);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  position: absolute;
  right: 66px;
  bottom: 10px;
}

#whatsapp-widget:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  #whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }
  .wa-btn {
    width: 50px;
    height: 50px;
  }
}


/* =============================================================
   19. PRAYER REQUEST MODAL
   ============================================================= */

/* Overlay */
.pr-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pr-overlay[hidden] { display: none; }

/* Dark backdrop */
.pr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 40, 0.72);
  backdrop-filter: blur(4px);
  animation: pr-fade-in 0.25s ease;
}

@keyframes pr-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pr-slide-up {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Dialog box */
.pr-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(10,35,93,0.3);
  animation: pr-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Header strip */
.pr-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

.pr-header-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-navy), #1a3a7a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-mid);
}

.pr-header-icon .material-symbols-outlined {
  font-size: 1.5rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.pr-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 4px;
}

.pr-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.pr-close {
  margin-left: auto;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background 0.2s, color 0.2s;
}

.pr-close:hover { background: #fee2e2; color: #dc2626; }
.pr-close .material-symbols-outlined { font-size: 1.1rem; }

/* Form body */
.pr-form {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) { .pr-form-row { grid-template-columns: 1fr; } }

.pr-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pr-form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pr-required { color: #dc2626; }

.pr-form-group input,
.pr-form-group select,
.pr-form-group textarea {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #1a202c;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.pr-form-group input:focus,
.pr-form-group select:focus,
.pr-form-group textarea:focus {
  border-color: var(--color-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,35,93,0.1);
}

.pr-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.pr-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A235D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Anonymous checkbox */
.pr-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.pr-checkbox-wrap input[type="checkbox"] { display: none; }

.pr-checkbox-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-checkbox-wrap input:checked + .pr-checkbox-box {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.pr-checkbox-wrap input:checked + .pr-checkbox-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.pr-checkbox-label {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

/* Success message */
.pr-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 16px;
  color: #166534;
}

.pr-success[hidden] { display: none; }

.pr-success .material-symbols-outlined {
  font-size: 1.8rem;
  color: #16a34a;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  flex-shrink: 0;
}

.pr-success strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.pr-success p { margin: 0; font-size: 0.82rem; line-height: 1.5; }

/* Action buttons */
.pr-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.pr-btn-cancel {
  padding: 11px 24px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.pr-btn-cancel:hover { background: #f8fafc; border-color: #cbd5e1; }

/* Validation error state */
.pr-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important;
}
.pr-invalid:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.2) !important;
}

.pr-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 10px;
  border: none;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pr-btn-submit:hover {
  background: #0d2f7a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,35,93,0.28);
}

.pr-btn-submit .material-symbols-outlined { font-size: 1rem; }

@media (max-width: 480px) {
  .pr-dialog { border-radius: 16px 16px 0 0; max-height: 95vh; }
  .pr-overlay { align-items: flex-end; padding: 0; }
  .pr-header { padding: 20px 20px 16px; }
  .pr-form { padding: 20px 20px 24px; }
  .pr-form-actions { flex-direction: column-reverse; }
  .pr-btn-cancel, .pr-btn-submit { width: 100%; justify-content: center; }
}


/* =============================================================
   18. CONTACT PAGE
   ============================================================= */
/* ── Contact page styles ───────────────────────────────── */
    .contact-banner {
      background: linear-gradient(135deg, var(--color-navy) 0%, #162e6e 60%, #0d1f4f 100%);
      padding: 72px 24px 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .contact-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('images/hero1.jpg') center/cover no-repeat;
      opacity: 0.08;
    }
    .contact-banner-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
    .contact-banner-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(200,151,30,0.15); border: 1px solid rgba(200,151,30,0.35);
      color: var(--color-gold-mid); font-size: 0.78rem; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; border-radius: 999px; padding: 4px 16px; margin-bottom: 20px;
    }
    .contact-banner h1 { font-family: 'Noto Serif', serif; font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; color: #fff; margin: 0 0 16px; }
    .contact-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; margin: 0; }

    /* ── Contact section wrapper ──────────────────────────── */
    .contact-section { background: #faf8fe; padding: 72px 24px; }
    .contact-layout {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
    }
    @media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

    /* ── Contact form ─────────────────────────────────────── */
    .contact-form-card {
      background: #fff; border-radius: 18px; padding: 40px;
      box-shadow: 0 4px 32px rgba(10,35,93,0.09); border: 1px solid rgba(10,35,93,0.07);
    }
    .contact-form-card h2 { font-family: 'Noto Serif', serif; font-size: 1.5rem; color: var(--color-navy); margin: 0 0 6px; }
    .contact-form-card > p { color: #6b7280; font-size: 0.92rem; margin: 0 0 28px; line-height: 1.6; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
    .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
    .form-group label { font-size: 0.82rem; font-weight: 700; color: var(--color-navy); letter-spacing: .04em; text-transform: uppercase; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 12px 16px;
      font-family: 'Manrope', sans-serif; font-size: 0.95rem; color: #1a202c;
      background: #f8fafc; transition: border-color .2s, box-shadow .2s;
      outline: none; width: 100%;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--color-navy); background: #fff;
      box-shadow: 0 0 0 3px rgba(10,35,93,0.1);
    }
    .form-group textarea { resize: vertical; min-height: 130px; }
    .form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A235D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
    .btn-form-submit {
      display: inline-flex; align-items: center; gap: 8px; justify-content: center;
      background: var(--color-navy); color: #fff; font-weight: 700; font-size: 0.95rem;
      border: none; border-radius: 10px; padding: 14px 32px; cursor: pointer; width: 100%;
      transition: background .2s, transform .15s, box-shadow .2s; letter-spacing: .03em;
    }
    .btn-form-submit:hover { background: #0d2f7a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,35,93,0.25); }
    .btn-form-submit .material-symbols-outlined { font-size: 1.15rem; }
    .form-note { font-size: 0.78rem; color: #9ca3af; text-align: center; margin-top: 12px; }

    /* ── Contact info cards ───────────────────────────────── */
    .contact-info-col { display: flex; flex-direction: column; gap: 20px; }
    .contact-info-header h2 { font-family: 'Noto Serif', serif; font-size: 1.5rem; color: var(--color-navy); margin: 0 0 6px; }
    .contact-info-header p { color: #6b7280; font-size: 0.92rem; line-height: 1.6; margin: 0 0 24px; }
    .contact-info-card {
      background: #fff; border-radius: 14px; padding: 22px 24px;
      box-shadow: 0 2px 16px rgba(10,35,93,0.07); border: 1px solid rgba(10,35,93,0.07);
      display: flex; align-items: flex-start; gap: 16px;
    }
    .contact-info-icon {
      width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
      background: linear-gradient(135deg, var(--color-navy) 0%, #162e6e 100%);
      display: flex; align-items: center; justify-content: center; color: #fff;
    }
    .contact-info-icon .material-symbols-outlined { font-size: 1.3rem; }
    .contact-info-text h4 { font-weight: 700; color: var(--color-navy); font-size: 0.92rem; margin: 0 0 4px; }
    .contact-info-text p, .contact-info-text a { color: #4b5563; font-size: 0.88rem; line-height: 1.6; margin: 0; text-decoration: none; }
    .contact-info-text a:hover { color: var(--color-navy); }
    .service-times-card {
      background: linear-gradient(135deg, var(--color-navy) 0%, #1a3575 100%);
      border-radius: 14px; padding: 22px 24px; color: #fff;
    }
    .service-times-card h4 { font-family: 'Noto Serif', serif; font-size: 1rem; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
    .service-times-card .material-symbols-outlined { font-size: 1.1rem; color: var(--color-gold-mid); }
    .service-time-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.88rem; }
    .service-time-row:last-child { border-bottom: none; }
    .service-time-row span:first-child { color: rgba(255,255,255,0.8); }
    .service-time-row span:last-child { font-weight: 700; color: var(--color-gold-mid); }

    /* ── Map section ──────────────────────────────────────── */
    .map-section { padding: 0 24px 72px; background: #faf8fe; }
    .map-inner { max-width: 1100px; margin: 0 auto; }
    .map-inner h2 { font-family: 'Noto Serif', serif; font-size: 1.75rem; color: var(--color-navy); margin: 0 0 8px; }
    .map-inner > p { color: #6b7280; font-size: 0.95rem; margin: 0 0 24px; }
    .map-placeholder {
      width: 100%; height: 380px; border-radius: 18px;
      background: linear-gradient(135deg, var(--color-navy) 0%, #1a3575 100%);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 12px; color: #fff; position: relative; overflow: hidden;
      border: 1px solid rgba(10,35,93,0.12);
    }
    .map-placeholder::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px),
                  repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
    }
    .map-pin-icon { font-size: 3.5rem; color: var(--color-gold-mid); position: relative; z-index: 1; }
    .map-placeholder h3 { font-family: 'Noto Serif', serif; font-size: 1.2rem; margin: 0; position: relative; z-index: 1; }
    .map-placeholder p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; position: relative; z-index: 1; text-align: center; max-width: 420px; }
    .map-directions-btn {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--color-gold-mid); color: var(--color-navy); font-weight: 700; font-size: 0.88rem;
      border-radius: 999px; padding: 10px 24px; text-decoration: none; position: relative; z-index: 1;
      margin-top: 8px; transition: background .2s, transform .15s;
    }
    .map-directions-btn:hover { background: #d9a421; transform: translateY(-1px); }

    /* ── Prayer banner ────────────────────────────────────── */
    .prayer-banner {
      background: linear-gradient(135deg, #0A235D 0%, #162e6e 100%);
      padding: 64px 24px; text-align: center; position: relative; overflow: hidden;
    }
    .prayer-banner::before {
      content: ''; position: absolute; right: -60px; top: -60px;
      width: 320px; height: 320px; border-radius: 50%;
      background: rgba(200,151,30,0.08);
    }
    .prayer-banner::after {
      content: ''; position: absolute; left: -40px; bottom: -80px;
      width: 260px; height: 260px; border-radius: 50%;
      background: rgba(200,151,30,0.06);
    }
    .prayer-banner-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
    .prayer-banner .material-symbols-outlined { font-size: 3rem; color: var(--color-gold-mid); display: block; margin-bottom: 16px; }
    .prayer-banner h2 { font-family: 'Noto Serif', serif; font-size: clamp(1.6rem,4vw,2.2rem); color: #fff; margin: 0 0 14px; }
    .prayer-banner p { color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.7; margin: 0 0 28px; }
    .prayer-banner-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
