/* =============================================
   AEMI - Ambassadors of Encouragement International Ministries
   Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Raleway:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --navy: #0a1628;
  --deep-blue: #0d2461;
  --mid-blue: #1a3a8f;
  --accent-red: #c0392b;
  --accent-green: #1a7a3c;
  --gold: #d4a017;
  --light-gold: #f0c040;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --light-gray: #e8e4dc;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #8888aa;
  --shadow: 0 8px 40px rgba(10,22,40,0.18);
  --shadow-sm: 0 2px 12px rgba(10,22,40,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
p { font-size: 1.05rem; color: var(--text-mid); }

/* Ensure & symbol always renders in Raleway not Playfair's ornate glyph */
h1 span[style*="Raleway"],
h2 span[style*="Raleway"],
h3 span[style*="Raleway"],
h4 span[style*="Raleway"],
.role span[style*="Raleway"],
.leader-card h3 span[style*="Raleway"] {
  font-family: 'Raleway', sans-serif !important;
  font-style: normal;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent-red);
  color: var(--white);
  border-color: var(--accent-red);
}
.btn-primary:hover { background: #a93226; border-color: #a93226; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--deep-blue); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--light-gold); border-color: var(--light-gold); transform: translateY(-2px); }

.section-tag {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-red);
  display: block;
  margin-bottom: 12px;
}
.divider {
  width: 60px; height: 4px;
  background: var(--gold);
  margin: 16px auto 32px;
  border-radius: 2px;
}
.divider-left { margin-left: 0; }

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  background: rgba(10,22,40,0.40);
  color: rgba(255,255,255,0.85);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  padding: 8px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  backdrop-filter: blur(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .topbar { display: none; }
}
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-right a { display: flex; align-items: center; gap: 6px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: transparent;
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 1000;
  box-shadow: none;
  transition: background 0.4s ease, box-shadow 0.4s ease, top 0.4s ease;
}
.navbar.topbar-gone {
  top: 0;
}
/* When scrolled — solid white comes back */
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  top: 0;
}
.topbar.scrolled-away {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Nav link colours: white when transparent, dark when scrolled */
.navbar:not(.scrolled) .nav-links > li > a { color: rgba(255,255,255,0.92); }
.navbar:not(.scrolled) .nav-links > li > a:hover,
.navbar:not(.scrolled) .nav-links > li > a.active { background: rgba(255,255,255,0.15); color: var(--white); }
.navbar:not(.scrolled) .navbar-brand-text strong { color: var(--white); }
.navbar:not(.scrolled) .navbar-brand-text span   { color: var(--light-gold); }
.navbar:not(.scrolled) .hamburger span           { background: var(--white); }
/* Give button stays red always */
.nav-give { background: var(--accent-red) !important; color: var(--white) !important; }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar-logo img {
  height: 64px;
  width: auto;
}
.navbar-brand-text { line-height: 1.2; }
.navbar-brand-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-blue);
}
.navbar-brand-text span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 4px;
  display: block;
  transition: all 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--deep-blue); background: var(--off-white); }

/* Show a small arrow on nav items that have a dropdown child */
.nav-links > li:has(.nav-dropdown) > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  min-width: 230px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
  border-top: 3px solid var(--accent-red);
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-mid);
}
.nav-dropdown a:hover { color: var(--deep-blue); background: var(--off-white); padding-left: 28px; }

.nav-give {
  background: var(--accent-red);
  color: var(--white) !important;
  border-radius: 4px;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
}
.nav-give:hover { background: #a93226 !important; color: var(--white) !important; }

/* =============================================
   HAMBURGER + MOBILE SIDEBAR NAV
   ============================================= */

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1200;
  position: relative;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.32s ease;
}
/* X animation when open */
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* White bars when navbar is transparent over hero */
.navbar:not(.scrolled) .hamburger span { background: var(--white); }

/* Dark backdrop behind sidebar */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1050;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

/* Sidebar panel */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--deep-blue);
  z-index: 1100;
  transition: left 0.35s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}
.mobile-sidebar.open { left: 0; }

/* Sidebar header */
.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  flex-shrink: 0;
}
.mobile-sidebar-header .brand { display: flex; align-items: center; gap: 10px; }
.mobile-sidebar-header .brand strong {
  display: block;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  line-height: 1.3;
}
.mobile-sidebar-header .brand span {
  display: block;
  color: var(--light-gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.mobile-sidebar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.mobile-sidebar-close:hover { color: var(--white); }

/* Sidebar nav links */
.mobile-nav-links {
  list-style: none;
  padding: 12px 0;
  flex: 1;
}
.mobile-nav-links li a {
  display: block;
  padding: 15px 26px;
  color: rgba(255,255,255,0.82);
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  background: rgba(255,255,255,0.08);
  color: var(--light-gold);
  padding-left: 32px;
}
/* Give button inside sidebar */
.mobile-nav-links li a.mobile-give {
  margin: 22px 24px 0;
  background: var(--accent-red);
  color: var(--white) !important;
  border-radius: 8px;
  text-align: center;
  border: none;
  padding: 14px 24px;
}
.mobile-nav-links li a.mobile-give:hover {
  background: #a93226;
  padding-left: 24px;
}

/* =============================================
   HERO SECTION — CINEMATIC SLIDESHOW
   ============================================= */
.hero {
  min-height: 100vh;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

/* ---- SLIDESHOW LAYER ---- */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.slide.active {
  opacity: 1;
}

/* Images always fill the full hero — cover with smart focal point per image */
.slide-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;      /* default: show top (faces) of portrait shots */
  animation: kenBurns 12s ease-in-out infinite alternate;
  will-change: transform;
  transform-origin: center center;
}

/* Per-slide focal points so each image looks its best */
.slide:nth-child(1) .slide-img { object-position: center center; } /* worship stage - landscape */
.slide:nth-child(2) .slide-img { object-position: center top; }     /* Pastor couple - show faces */
.slide:nth-child(3) .slide-img { object-position: center top; }     /* Joshua - show face/body */
.slide:nth-child(4) .slide-img { object-position: center center; }  /* mens-academy */
.slide:nth-child(5) .slide-img { object-position: center center; }  /* womens-breakfast */

.slide:nth-child(2) .slide-img { animation-name: kenBurns2; }
.slide:nth-child(3) .slide-img { animation-name: kenBurns3; }
.slide:nth-child(4) .slide-img { animation-name: kenBurns4; }
.slide:nth-child(5) .slide-img { animation-name: kenBurns5; }

/* Scale only — no translate so nothing drifts off edge */
@keyframes kenBurns  { 0% { transform: scale(1.00); } 100% { transform: scale(1.06); } }
@keyframes kenBurns2 { 0% { transform: scale(1.06); } 100% { transform: scale(1.00); } }
@keyframes kenBurns3 { 0% { transform: scale(1.00); } 100% { transform: scale(1.05); } }
@keyframes kenBurns4 { 0% { transform: scale(1.05); } 100% { transform: scale(1.01); } }
@keyframes kenBurns5 { 0% { transform: scale(1.02); } 100% { transform: scale(1.07); } }

.slide.active .slide-img {
  animation-play-state: running;
}

/* Gradient overlay: navy at bottom-left, semi-transparent elsewhere */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.82) 0%,
    rgba(13, 36, 97, 0.55) 45%,
    rgba(10, 22, 40, 0.30) 100%
  );
}

/* ---- LIGHT STREAKS (cinematic atmosphere) ---- */
.hero-light-streaks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.streak {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: streakPulse 8s ease-in-out infinite;
}
.streak-1 {
  width: 500px; height: 300px;
  background: rgba(192,57,43,0.18);
  top: -80px; left: -100px;
  animation-delay: 0s;
}
.streak-2 {
  width: 400px; height: 400px;
  background: rgba(212,160,23,0.12);
  bottom: 10%; right: 5%;
  animation-delay: 2.5s;
}
.streak-3 {
  width: 300px; height: 200px;
  background: rgba(26,58,143,0.25);
  top: 30%; left: 40%;
  animation-delay: 5s;
}
@keyframes streakPulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50%       { opacity: 1; transform: scale(1.1); }
}

/* ---- HERO CONTENT ---- */
.hero-container {
  position: relative;
  z-index: 3;
  padding-top: 160px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 760px;
  animation: heroContentIn 1.2s ease both;
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--light-gold);
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(240,192,64,0.6); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 6px rgba(240,192,64,0); }
}
.hero-eyebrow span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--light-gold);
}

/* Title */
.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.12;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-title em {
  color: var(--light-gold);
  font-style: normal;
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  animation: underlineGrow 1.8s 0.8s ease both;
  transform-origin: left;
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Description */
.hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- CAPTION BAR ---- */
.hero-caption-bar {
  position: absolute;
  bottom: 110px; left: 0; right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: none;
}
.hero-caption-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-red);
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 3px;
}
.hero-caption-text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: opacity 0.4s ease;
}

/* ---- NAVIGATION DOTS ---- */
.hero-dots {
  position: absolute;
  bottom: 72px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}
.hero-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero-dots .dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.3);
}
.hero-dots .dot:hover { background: rgba(255,255,255,0.7); }

/* ---- PREV / NEXT ARROWS ---- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

/* ---- PROGRESS BAR ---- */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 5;
}
.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), var(--gold));
  width: 0%;
  transition: width linear;
}

/* ---- STATS ---- */
.hero-stats {
  position: absolute;
  bottom: 40px; right: 60px;
  display: flex; gap: 40px;
  z-index: 4;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light-gold);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-stat span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---- SCROLL INDICATOR ---- */
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 4;
  color: rgba(255,255,255,0.5);
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .hero-arrow { display: none; }
  .hero-caption-bar { display: none; }
  .hero-stats { display: none; }
  .hero-dots { bottom: 50px; }
  .hero-progress { height: 2px; }
}

/* =============================================
   WELCOME SECTION
   ============================================= */
.welcome { background: var(--off-white); }
.welcome .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.welcome-image {
  position: relative;
}
.welcome-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
}
.welcome-image-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--accent-red);
  color: var(--white);
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  box-shadow: var(--shadow);
}
.welcome-image-badge strong { font-size: 1.6rem; font-weight: 900; line-height: 1; }
.welcome-image-badge span { font-size: 0.72rem; font-family: 'Raleway', sans-serif; letter-spacing: 1px; }

/* =============================================
   SERVICE TIMES
   ============================================= */
.service-times {
  background: var(--deep-blue);
  padding: 60px 0;
}
.service-times .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.service-title {
  flex: 0 0 auto;
}
.service-title h2 { color: var(--white); }
.service-title p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-top: 6px; }
.service-times-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex: 1;
}
@media (max-width: 900px) {
  .service-times-list { grid-template-columns: repeat(2, 1fr); }
  .service-times .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .service-times-list { grid-template-columns: repeat(2, 1fr); }
}
.service-time-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s;
}
.service-time-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.service-time-card .time {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-gold);
  display: block;
}
.service-time-card .day {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* =============================================
   QUICK LINKS WITH SQUARE IMAGES
   ============================================= */
.quick-links { background: var(--white); }
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.quick-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-gray);
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

/* Square Image Container */
.quick-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--off-white);
}

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

.quick-card:hover .quick-card-image img {
  transform: scale(1.05);
}

/* Card Content */
.quick-card h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 20px 20px 10px;
  font-family: 'Playfair Display', serif;
}

.quick-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 20px 20px;
}

.quick-card a {
  display: inline-block;
  margin: 0 20px 25px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--deep-blue);
  transition: all 0.3s ease;
  position: relative;
}

.quick-card a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.3s ease;
}

.quick-card a:hover {
  color: var(--accent-red);
}

.quick-card a:hover::after {
  width: 100%;
}

/* =============================================
   CONNECT GRID — FULL IMAGE OVERLAY TILES
   ============================================= */
.connect-grid-section { line-height: 0; }
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 320px;
}
.connect-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.connect-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,0.35) 0%, rgba(10,22,40,0.65) 100%);
  transition: background 0.4s ease;
}
.connect-tile:hover .connect-tile-overlay {
  background: linear-gradient(160deg, rgba(13,36,97,0.55) 0%, rgba(192,57,43,0.55) 100%);
}
.connect-tile-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 32px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}
.connect-tile:hover .connect-tile-text { transform: translateY(0); }
.connect-tile-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.connect-tile-text p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .connect-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 240px); }
}

/* =============================================
   LEADERSHIP CAROUSEL
   ============================================= */
/* ---- Leadership Grid (replaces carousel) ---- */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

@media (max-width: 900px) {
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .leader-grid { grid-template-columns: 1fr; }
}

/* ---- Fly-in animation ---- */
.leader-fly-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.leader-fly-in.flew-in {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   JOIN US EVERY SUNDAY SECTION
   ============================================= */
.join-sunday-section {
  position: relative;
  min-height: 500px;
  background: url('../images/prayerw.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.join-sunday-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.80) 0%, rgba(13,36,97,0.70) 100%);
}
.join-sunday-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 24px;
}
.join-sunday-tag {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.join-sunday-tag::before,
.join-sunday-tag::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.3);
}
.join-sunday-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.join-sunday-times {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--light-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.join-sunday-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 28px;
}
.join-sunday-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.join-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--accent-red);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}
.join-link:hover { background: #a93226; transform: translateY(-2px); }
.join-link-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.join-link-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
  }
  
  .quick-card p {
    font-size: 0.85rem;
  }
}

/* =============================================
   LATEST SERMON
   ============================================= */
.latest-sermon { background: var(--off-white); }
.sermon-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: visible;
}
.sermon-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--deep-blue);
  min-height: 360px;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.sermon-thumb-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--deep-blue));
  display: flex; align-items: center; justify-content: center;
}
.sermon-thumb-icon { font-size: 5rem; opacity: 0.15; }
.sermon-play-btn {
  position: relative; z-index: 2;
  width: 80px; height: 80px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 0 12px rgba(192,57,43,0.2);
}
.sermon-play-btn:hover { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(192,57,43,0.15); }
.sermon-play-btn svg { fill: white; width: 28px; height: 28px; margin-left: 4px; }
.sermon-info .section-tag { margin-bottom: 8px; }
.sermon-info h2 { margin-bottom: 8px; }
.sermon-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin: 16px 0 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}
.sermon-meta span { display: flex; align-items: center; gap: 5px; }
.sermon-list { margin-top: 40px; }
.sermon-list h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-dark); font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: 0.5px; }
.sermon-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all 0.2s;
}
.sermon-item:hover { padding-left: 8px; }
.sermon-item-play {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--deep-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.sermon-item-play svg { fill: white; width: 14px; height: 14px; margin-left: 2px; }
.sermon-item:hover .sermon-item-play { background: var(--accent-red); }
.sermon-item-info { flex: 1; }
.sermon-item-info strong { display: block; font-size: 0.9rem; color: var(--text-dark); font-family: 'Raleway', sans-serif; font-weight: 600; }
.sermon-item-info span { font-size: 0.8rem; color: var(--text-light); }
.sermon-item-date { font-size: 0.78rem; color: var(--text-light); font-family: 'Raleway', sans-serif; }

/* =============================================
   LEADERSHIP
   ============================================= */
.leadership { background: var(--white); }
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.leader-card {
  background: linear-gradient(160deg, #1a7a3c 0%, #145e2e 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(26,122,60,0.25);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  position: relative;
}
.leader-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--light-gold), var(--gold));
  z-index: 1;
}
.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(26,122,60,0.40);
}
.leader-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: #0f4a24;
}
.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.leader-card:hover .leader-image img { transform: scale(1.05); }
.leader-card-body { padding: 1.6rem 1.4rem 1.8rem; }
.leader-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--white);
}
.leader-card .role {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gold);
  margin-bottom: 1rem;
  display: block;
}
.leader-card p {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-size: 0.92rem;
  margin: 0;
}

/* =============================================
   EVENTS SECTION WITH IMAGES
   ============================================= */
.events-section { 
  background: var(--off-white); 
  padding: 80px 0;
}

/* Events Grid Layout - Featured Event Larger */
.events-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-top: 40px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.events-grid-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Featured Event Card (Larger) */
.event-card-featured {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card-featured:hover .event-image img {
  transform: scale(1.05);
}

.event-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

/* Date Badge for Featured Event */
.event-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-red);
  color: white;
  text-align: center;
  padding: 10px 15px;
  border-radius: 12px;
  min-width: 70px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.event-date-day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.event-date-month {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Featured Event Content */
.event-content {
  padding: 25px;
  background: var(--white);
}

.event-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
}

.event-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-content p {
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.event-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-red);
  transition: all 0.3s ease;
}

.event-link:hover {
  color: var(--deep-blue);
  gap: 8px;
}

.event-link::after {
  content: '→';
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.event-link:hover::after {
  transform: translateX(5px);
}

/* Regular Event Cards */
.event-card-regular {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  padding: 20px;
}

.event-card-regular:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.event-image-small {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.event-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card-regular:hover .event-image-small img {
  transform: scale(1.08);
}

.event-content-small {
  flex: 1;
}

.event-date-small {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.event-date-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
}

.event-date-info strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.event-date-info span {
  font-size: 0.7rem;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
}

.event-content-small h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
}

.event-content-small p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.5;
}

.event-link-small {
  display: inline-flex;
  align-items: center;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--deep-blue);
  transition: all 0.3s ease;
}

.event-link-small:hover {
  color: var(--accent-red);
  gap: 5px;
}

.event-link-small::after {
  content: '→';
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.event-link-small:hover::after {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .events-grid-right {
    gap: 25px;
  }
  
  .event-image {
    height: 240px;
  }
  
  .event-content h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .event-card-regular {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  
  .event-image-small {
    width: 100%;
    height: 180px;
    border-radius: 16px 16px 0 0;
  }
  
  .event-content-small {
    padding: 20px;
  }
  
  .event-date-badge {
    top: 15px;
    left: 15px;
    padding: 8px 12px;
  }
  
  .event-date-day {
    font-size: 1.6rem;
  }
  
  .event-content h3 {
    font-size: 1.3rem;
  }
  
  .event-meta {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .event-image {
    height: 200px;
  }
  
  .event-content {
    padding: 20px;
  }
  
  .event-content h3 {
    font-size: 1.2rem;
  }
}

/* =============================================
   PRAYER SECTION - BIG WHITE TEXT
   ============================================= */

.prayer-section {
  background: linear-gradient(135deg, rgba(10,22,40,0.85), rgba(13,36,97,0.85)), url('../images/prayerw.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  text-align: center;
  position: relative;
}

/* Make heading BIG and WHITE */
.prayer-section h2 {
  color: #ffffff !important;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  margin-bottom: 24px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

/* Make paragraph BIG and WHITE */
.prayer-section p {
  color: #ffffff !important;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Section tag styling (optional) */
.prayer-section .section-tag {
  color: var(--light-gold) !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Button styling to match */
.prayer-section .btn-gold {
  font-size: 1rem;
  padding: 16px 42px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
}

.prayer-section .btn-gold:hover {
  background: var(--light-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Optional: Add a subtle overlay to ensure text readability */
.prayer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.prayer-section .container {
  position: relative;
  z-index: 2;
}

/* Optional: Add floating cross decoration */
.prayer-section::after {
  content: '✝';
  position: absolute;
  font-size: 280px;
  opacity: 0.08;
  color: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prayer-section {
    padding: 80px 20px;
    background-attachment: scroll;
  }
  
  .prayer-section h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .prayer-section p {
    font-size: 1.1rem;
    padding: 0 15px;
  }
  
  .prayer-section .btn-gold {
    padding: 14px 32px;
    font-size: 0.9rem;
  }
}
/* =============================================
   GIVE BANNER
   ============================================= */
.give-banner {
  background: var(--accent-green);
  padding: 50px 0;
}
.give-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.give-banner h2 { color: var(--white); font-size: 2rem; }
.give-banner p { color: rgba(255,255,255,0.8); margin-top: 6px; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 70px; margin-bottom: 20px; }
.footer-brand strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social-btn:hover { background: var(--accent-red); color: var(--white); transform: translateY(-3px); border-color: var(--accent-red); }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--gold); }

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--deep-blue));
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { color: var(--white); position: relative; margin-bottom: 12px; }
.breadcrumb {
  position: relative;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: var(--light-gold); }
.breadcrumb a:hover { color: var(--white); }

/* =============================================
   SERMONS PAGE
   ============================================= */
.sermon-filters {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 64px;
  z-index: 100;
}
.sermon-filters .container {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.filter-select {
  padding: 10px 18px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: border 0.2s;
}
.filter-select:focus { outline: none; border-color: var(--deep-blue); }
.filter-search {
  flex: 1;
  max-width: 320px;
  padding: 10px 18px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
}
.filter-search:focus { outline: none; border-color: var(--deep-blue); }

.sermons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.sermon-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}
.sermon-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.sermon-card-thumb {
  background: linear-gradient(135deg, var(--deep-blue), var(--navy));
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sermon-card-play {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.sermon-card-play:hover { background: var(--accent-red); border-color: var(--accent-red); transform: scale(1.1); }
.sermon-card-play svg { fill: white; width: 20px; height: 20px; margin-left: 3px; }
.sermon-card-body { padding: 20px; }
.sermon-card-body .series-tag {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red);
  display: block;
  margin-bottom: 8px;
}
.sermon-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sermon-card-body .sermon-meta {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.sermon-card-body .sermon-meta span + span::before { content: ' • '; }
.sermon-card-actions { display: flex; gap: 10px; }
.btn-sm {
  padding: 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  border-radius: 4px;
}

/* =============================================
   GIVE PAGE
   ============================================= */
.give-page { background: var(--off-white); }
.give-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}
.give-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--deep-blue);
}
.give-card h3 { margin-bottom: 8px; }
.give-card .give-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.give-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.amount-btn {
  padding: 10px 20px;
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}
.amount-btn:hover, .amount-btn.active { border-color: var(--deep-blue); color: var(--deep-blue); background: var(--off-white); }
.give-form label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.give-form input, .give-form select, .give-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 20px;
  transition: border 0.2s;
}
.give-form input:focus, .give-form select:focus, .give-form textarea:focus {
  outline: none; border-color: var(--deep-blue);
}
.give-info-cards { display: flex; flex-direction: column; gap: 20px; }
.give-info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex; gap: 20px; align-items: flex-start;
}
.give-info-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--off-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.give-info-card h4 { font-size: 1rem; margin-bottom: 6px; }
.give-info-card p { font-size: 0.88rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.value-card {
  padding: 36px 28px;
  border-radius: 10px;
  background: var(--off-white);
  border-left: 4px solid var(--deep-blue);
  transition: all 0.3s;
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-card .value-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 12px;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  margin-top: 60px;
}
.contact-info-items { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--deep-blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info-item h4 { font-size: 0.88rem; font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.88rem; }
.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--deep-blue);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* =============================================
   SECTION ANIMATIONS & TRANSITIONS
   ============================================= */

/* --- Fade up (default, used by .fade-in) --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* --- Staggered children inside grids --- */
.leadership-grid .leader-card:nth-child(1) { transition-delay: 0s; }
.leadership-grid .leader-card:nth-child(2) { transition-delay: 0.15s; }
.leadership-grid .leader-card:nth-child(3) { transition-delay: 0.30s; }
.quick-links-grid .quick-card:nth-child(1) { transition-delay: 0s; }
.quick-links-grid .quick-card:nth-child(2) { transition-delay: 0.12s; }
.quick-links-grid .quick-card:nth-child(3) { transition-delay: 0.24s; }
.quick-links-grid .quick-card:nth-child(4) { transition-delay: 0.36s; }

/* --- Slide in from left (welcome image) --- */
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-left.visible { opacity: 1; transform: none; }

/* --- Slide in from right --- */
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-right.visible { opacity: 1; transform: none; }

/* --- Scale up (cards, stats) --- */
.scale-in { opacity: 0; transform: scale(0.92); transition: opacity 0.6s ease, transform 0.6s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* --- Service time cards pulse on hover --- */
.service-time-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.service-time-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 30px rgba(10,22,40,0.18);
  background: var(--deep-blue);
  color: var(--white);
}
.service-time-card:hover .time,
.service-time-card:hover .day { color: var(--white); }

/* --- Quick cards lift on hover --- */
.quick-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.quick-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(10,22,40,0.14); }
.quick-card-image img { transition: transform 0.5s ease; }
.quick-card:hover .quick-card-image img { transform: scale(1.07); }

/* --- Event cards --- */
.event-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(10,22,40,0.16); }

/* --- Section divider animated line --- */
.divider {
  animation: dividerGrow 0.8s ease both;
  transform-origin: left center;
}
@keyframes dividerGrow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* --- Stat counter bounce-in --- */
.hero-stat strong {
  display: block;
  animation: statBounce 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes statBounce {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-stat:nth-child(2) strong { animation-delay: 0.15s; }
.hero-stat:nth-child(3) strong { animation-delay: 0.30s; }

/* --- Section backgrounds alternate for visual rhythm --- */
.welcome       { background: var(--white); }
.service-times { background: var(--navy); }
.quick-links   { background: var(--off-white); }
.latest-sermon { background: var(--white); }
.leadership    { background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%); }
.events-section{ background: var(--white); }
.prayer-section{ background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sermons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar .container { position: relative; }
  .welcome .container { grid-template-columns: 1fr; }
  .sermon-feature { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .give-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sermons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .give-banner .container { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { min-height: 80vh; }
  .hero-buttons { flex-direction: column; }
  .service-times-list { justify-content: flex-start; }
  .contact-form-card { padding: 28px; }
}
  .leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade-in { animation: fadeIn 0.6s ease-out forwards; }
  /* =============================================
   YOUTUBE SERMON THUMBNAIL STYLES
   ============================================= */

/* Updated Sermon Thumbnail */
.sermon-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.sermon-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.sermon-thumb:hover .sermon-thumb-bg {
  transform: scale(1.05);
}

.sermon-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.sermon-thumb-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 30px 24px;
  z-index: 2;
}

.sermon-thumb-label {
  color: var(--light-gold);
  font-size: 0.75rem;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.sermon-thumb-title {
  color: white;
  font-size: 1.3rem;
  margin: 0 0 6px 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.sermon-thumb-channel {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-family: 'Raleway', sans-serif;
  margin: 0;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
  font-family: 'Raleway', sans-serif;
  line-height: 1;
}

.close-modal:hover {
  color: var(--accent-red);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =============================================
   WHAT WE DO SECTION
   ============================================= */

.what-we-do {
  background: var(--off-white);
}

.wwd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

@media (max-width: 900px) {
  .wwd-grid { grid-template-columns: 1fr; }
}

.wwd-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.wwd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.wwd-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.wwd-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wwd-card:hover .wwd-image img {
  transform: scale(1.05);
}

.wwd-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.55) 100%);
}

.wwd-icon { display: none; }

.wwd-body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wwd-body h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.wwd-body p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
}

.wwd-link {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-red);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.wwd-link:hover {
  border-color: var(--accent-red);
  color: #a93226;
}

/* =============================================
   WEEKLY PROGRAMS SECTION
   ============================================= */

.weekly-programs {
  position: relative;
  overflow: hidden;
}

.weekly-programs-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/spirit.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  z-index: 0;
}

.weekly-programs-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(13,36,97,0.88) 50%, rgba(26,16,64,0.92) 100%);
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

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

@media (max-width: 640px) {
  .wp-grid { grid-template-columns: 1fr; }
}

.wp-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.wp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.wp-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-5px);
}

.wp-card:hover::before {
  transform: scaleX(1);
}

.wp-day {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--light-gold);
  margin-bottom: 16px;
  display: inline-block;
  border-bottom: 2px solid rgba(240,192,64,0.4);
  padding-bottom: 6px;
}

.wp-icon { display: none; }

.wp-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.wp-times {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.wp-times span {
  background: rgba(212,160,23,0.2);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--light-gold);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.wp-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}

.wp-location {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}

/* Play Button */
.sermon-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85px;
  height: 85px;
  background: rgba(192, 57, 43, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 15;
  box-shadow: 0 0 0 15px rgba(192, 57, 43, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.5);
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(192, 57, 43, 0);
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
    transform: translate(-50%, -50%) scale(1);
  }
}

.sermon-play-btn:hover {
  background: var(--accent-red);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 20px rgba(192, 57, 43, 0.3);
  animation: none;
}

.sermon-play-btn svg {
  width: 38px;
  height: 38px;
  fill: white;
  margin-left: 5px;
}

/* Sermon Items */
.sermon-item {
  cursor: pointer;
  transition: all 0.3s ease;
}

.sermon-item:hover {
  background: var(--off-white);
  padding-left: 8px;
}

.sermon-item-play {
  transition: all 0.3s ease;
}

.sermon-item:hover .sermon-item-play {
  background: var(--accent-red);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
  
  .close-modal {
    top: -35px;
    font-size: 32px;
  }
  
  .sermon-play-btn {
    width: 60px;
    height: 60px;
  }
  
  .sermon-play-btn svg {
    width: 28px;
    height: 28px;
  }
  
  .sermon-thumb {
    min-height: 320px;
  }
  
  .sermon-thumb-caption {
    padding: 20px 16px;
  }
  
  .sermon-thumb-title {
    font-size: 1rem;
  }
  
  .sermon-thumb-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
}
/* =============================================
   MOBILE NAV FIX — topbar hidden on small screens
   ============================================= */
@media (max-width: 640px) {
  .navbar { top: 0 !important; }
  .hero-container { padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .footer-brand { grid-column: 1 / -1; }
}