/* ============================================================
   TRUE WORSHIPPERS AG — Main Stylesheet
   Edit colours here to restyle the whole site:
   --navy  : main dark blue
   --gold  : accent gold
   --cream : page background
   ============================================================ */

:root {
  --navy:       #1a2e5a;
  --navy-light: #243d75;
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --cream:      #f9f6ef;
  --white:      #ffffff;
  --text:       #1a1a1a;
  --muted:      #5a5a5a;
  --border:     rgba(201, 168, 76, 0.25);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* ======================== NAVBAR ======================== */
.navbar {
  background: var(--navy);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Actual logo image — set width/height to match your logo */
.nav-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
}

/* Fallback initials circle when no image */
.nav-logo {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: none;           /* shown by JS onerror */
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.nav-title {
  color: var(--gold);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  font-family: inherit;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--gold);
}

.nav-btn.active {
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  background: var(--navy);
  /* To use a background photo, uncomment and set your image: 
   background-image: url('../images/introoo.gif'); 
  background-size: cover; 
   background-position: center; */
  padding: 72px 32px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}

.hero-video {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0 !important;
}

.hero-overlay {
  position: absolute !important;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,50,0.35) 0%, rgba(10,20,50,0.45) 100%);
  pointer-events: none;
  z-index: 1 !important;
}

.hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 640px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1.2px;
}

.hero h1 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
  line-height: 1.25;
}

.hero p {
  color: #ffffff;
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================== BUTTONS ======================== */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: none;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
}

/* ======================== SECTIONS ======================== */
.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 14px;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section h2 {
  color: var(--navy);
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* ======================== CARDS ======================== */
.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  border-top: 3px solid var(--gold);
}

.card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.card .icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

/* ======================== PASTOR CARD ======================== */
.pastor-card {
  display: flex;
  align-items: center;
  
  /* Maximum internal spacing */
  gap: 60px; 
  padding: 60px 80px; /* Large vertical and horizontal breathing room */
  
  /* Stretched width */
  width: 100%;
  max-width: 1100px; /* Stretches the card significantly across the screen */
  margin: 40px auto; 
  
  /* Visual Styles */
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold); /* Swapped standard border for a bold gold stroke */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Adds depth to the larger surface */
  overflow: hidden;
}

/* Pastor photo — Increased to a dominant 180px profile */
.pastor-photo {
  width: 180px; 
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--gold); /* Heavy gold stroke for the photo */
  flex-shrink: 0;
}

.pastor-info {
  flex-grow: 1; /* Ensures text stretches to fill the remaining space */
}

.pastor-info h3 {
  color: var(--navy);
  font-size: 32px; /* Large, bold headline */
  font-weight: 800; /* Extra bold for maximum presence */
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.pastor-info p {
  color: var(--muted);
  font-size: 20px; /* Highly readable body text */
  line-height: 1.6;
  font-weight: 600; /* Bolder paragraph text */
  max-width: 700px; /* Keeps text lines from getting too long for the eye to follow */
}

/* ======================== AVATARS ======================== */
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--gold);
  margin: 0 auto 10px;
  flex-shrink: 0;
}

.avatar.large {
  width: 80px;
  height: 80px;
  font-size: 22px;
  display: none; /* shown by onerror */
  margin: 0;
  flex-shrink: 0;
}

/* ======================== CAROUSEL ======================== */
.carousel-outer {
  position: relative;
  padding: 20px 0 32px; /* Extra vertical space for a larger presence */
}

.carousel-window {
  overflow: hidden;
  margin: 0; /* Room for the larger navigation buttons */
}

.carousel-track {
  display: flex;
  gap: 16px; /* Wider gap between the larger cards */
  flex-wrap: nowrap; /* Forces all cards to stay in one single horizontal line */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}

/* Person card inside carousel — Substantially larger and bolder */
.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  overflow: hidden;
  text-align: center;
  width: calc(33.333% - 11px);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* Board member photo — Scaled up to 100px */
.person-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  border: none;
  margin: 0;
}

.person-card h4 {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  padding: 12px 12px 0;
}

.person-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  padding: 0 12px 14px;
}

/* Larger, high-contrast Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold); /* Bold gold stroke on buttons */
  border-radius: 50%;
  width: 48px; /* Larger click area */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-btn:hover { 
  background: var(--gold); 
  color: var(--navy); 
  transform: translateY(-50%) scale(1.1); /* Pop effect on hover */
}

.carousel-btn.left  { left: 0; }
.carousel-btn.right { right: 0; }

/* Enhanced Pagination Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active { 
  background: var(--gold); 
  width: 24px; /* Stretched active dot for better visual feedback */
  border-radius: 6px; 
}


/* ======================== GALLERY ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.gallery-placeholder {
  height: 160px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  opacity: 0.7;
}

/* ======================== COUNTDOWN ======================== */
.countdown-wrap {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: 28px;
}

.countdown-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.3);
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.countdown-status {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.cd-unit {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.cd-num {
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}

.cd-lbl {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

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

/* ======================== LIVE STREAM & GALLERY ======================== */
.live-stream-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: 40px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c53030;
  color: #fff;
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.stream-preview {
  background: #000;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.stream-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ======================== AUTOMATED VIDEO GRID ======================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  align-items: center; /* Vertical alignment for scaled cards */
}

.video-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 168, 76, 0.2);
  overflow: hidden;
  transition: all 0.4s ease; /* Smoother transition for scaling */
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

/* --- NEW: LIVE HIGHLIGHT UPDATE --- */
.video-card.live-feature {
  transform: scale(1.08); /* Makes it bigger */
  z-index: 10;
  border: 3px solid #ff0000 !important;
  animation: liveGlow 2s infinite alternate;
}

@keyframes liveGlow {
  from { box-shadow: 0 0 10px rgba(255, 0, 0, 0.2); }
  to { box-shadow: 0 0 25px rgba(255, 0, 0, 0.5); }
}

.live-indicator {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 20;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* --- THUMBNAILS & INFO --- */
.video-thumb {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  background: #000;
}

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

.video-card-info {
  padding: 18px;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.video-card-info h4 {
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700; /* Bolded as per your style */
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-stream-box h3 { color: var(--gold); font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.live-stream-box p { color: rgba(255,255,255,0.7); font-size: 14px; }


/* ======================== EVENTS ======================== */
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.event-date {
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}

.event-date .day   { font-size: 22px; font-weight: 700; line-height: 1; }
.event-date .month { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }

.event-info h3 { color: var(--navy); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.event-info p  { color: var(--muted); font-size: 12px; }

/* ======================== FORMS ======================== */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 12px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--gold); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.amount-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 4px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
}

.amount-btn.selected,
.amount-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* ======================== CONTACT ======================== */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child { border-bottom: none; }

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(26, 46, 90, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-row h4 { color: var(--navy); font-size: 13px; font-weight: 600; }
.contact-row p  { color: var(--muted); font-size: 12px; margin-top: 2px; }


/* ======================== MAP BOX ======================== */
.map-box {
  background: var(--navy);
  border-radius: var(--radius-lg); /* Larger radius to match your new cards */
  height: 400px; /* Increased from 200px so it's bold and easy to use */
  overflow: hidden; /* This "clips" the map to the rounded corners */
  border: 2px solid var(--gold); /* Bolder gold border to match your theme */
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* This is the magic part that makes the map fit perfectly */
.map-box iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* ======================== SCRIPTURE BANNER ======================== */
.scripture-banner {
  background: var(--navy);
  padding: 24px 32px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.scripture-banner p    { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-style: italic; }
.scripture-banner span { color: var(--gold); font-size: 12px; display: block; margin-top: 6px; }


/* ======================== FOOTER ======================== */
.footer {
  background: var(--navy);
  padding: 40px 50px; /* Increased padding for a bigger feel */
  border-top: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.6);
}

.footer-container {
  display: flex;
  justify-content: space-between; /* Pushes content to Left, Middle, and Right */
  align-items: center;
  max-width: 1400px; /* Stretches the width */
  margin: 0 auto;
}

/* Individual Section Styles */
.footer-left p, 
.footer-right p {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

/* Middle Section: Social Icons */
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-socials img {
  width: 32px; /* Large, clear icons */
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(150%); /* Makes icons look uniform */
}

.footer-socials a:hover img {
  transform: translateY(-5px);
  filter: grayscale(0%) brightness(100%); /* Color pops back on hover */
}

/*Media for Phones----------------------*/
@media (max-width: 768px) {

  .nav-logo-img {
    width: 35px;
    height: 35px;
  }
  .nav-title {
    font-size: 15px;
    letter-spacing: 0.4px;
  }


.navbar {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    gap: 4px;
  }

.nav-brand {
  flex: 1;
}

  .nav-links.open {
 display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 8px 0;
  gap: 4px;
  }

  .nav-btn { font-size: 13px; padding: 5px 7px; }

  .hamburger {
     margin-left: auto;
  flex-shrink: 0;
    display: flex;
  }

 .pastor-card {
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.pastor-card img {
  width: 100% !important;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px 12px 0 0;
  align-self: auto;
}

.pastor-info {
  padding: 24px;
  width: 100%;
  text-align: center;
}


  .pastor-info h3 { font-size: 20px; }
  .pastor-info p { font-size: 15px; }

  

  .footer-container {
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
  }


  .slideshow-track img {
 min-width: 100% !important;
    width: 100% !important;
    height: 250px;
    object-fit: contain;
    background: var(--navy);
    flex-shrink: 0;
}

.slideshow-window {
    overflow: hidden;
    width: 100%;
  }

  .slideshow-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }

.slideshow-wrap {
  border-radius: var(--radius-md);
}

.slide-btn {
  width: 36px;
  height: 36px;
  font-size: 16px;
}


  .footer-left,
  .footer-right {
    width: 100%;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
    width: 100%;
  }

  .carousel-window {
  margin: 0;
}

.carousel-outer {
  padding: 20px 40px 32px;
}

.carousel-btn.left  { left: 0; }
.carousel-btn.right { right: 0; }


   .person-card {
    width: calc(50% - 8px);
  }
  .person-photo {
    height: 160px;
  } 

}




/* ======================== SCROLL ANIMATIONS ======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 768px) {
  .hero h1           { font-size: 24px; }
  .card-grid.cols-3  { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-2  { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
  .amount-grid       { grid-template-columns: repeat(2, 1fr); }
  .countdown-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .card-grid.cols-3  { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: 1fr; }
  .hero              { padding: 48px 20px; }
  .content           { padding: 0 16px; }
  .person-card       { width: calc(100% - 0px);}
  .person-photo      {height: 200px;}
  .carousel-outer    {padding: 20px 36px 32px;}
}


/* ======================== BLOB BACKGROUND ======================== */

/* Navy sections — blobs but NOT navbar (sticky must stay intact) */
.hero,
.footer,
.scripture-banner,
.countdown-wrap,
.live-stream-box {
  position: relative;
  overflow: hidden;
}

.hero::before,
.footer::before,
.scripture-banner::before,
.countdown-wrap::before,
.live-stream-box::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  top: -150px;
  left: -100px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.hero::after,
.footer::after,
.scripture-banner::after,
.countdown-wrap::after,
.live-stream-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -150px;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

.hero *,
.footer *,
.scripture-banner *,
.countdown-wrap *,
.live-stream-box * {
  position: relative;
  z-index: 1;
}

/* Navbar blob — done differently to keep sticky working */
.navbar {
  background-image:
    radial-gradient(ellipse 400px 400px at -100px -150px, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at calc(100% + 150px) calc(100% + 200px), rgba(255,255,255,0.04) 0%, transparent 70%);
}

/* Cream page body — gold dot blobs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: rgba(201, 168, 76, 0.12);
}

body::after {
  width: 700px;
  height: 700px;
  bottom: -250px;
  right: -200px;
  background: rgba(201, 168, 76, 0.09);
}

/* ======================== HAMBURGER MENU (for mobile) ======================== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 3px;
  transition: all 0.3s ease;
  margin: 1px 0;
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* ======================== PHOTO SLIDESHOW ======================== */
.slideshow-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  overflow: hidden;
}

.slideshow-window {
  overflow: hidden;
}

.slideshow-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slideshow-track img {
  min-width: 100%;
  height: 420px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--navy)
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 46, 90, 0.75);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
}

.slide-btn.left  { left: 12px; }
.slide-btn.right { right: 12px; }

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}



/* ======================== DEPARTMENT ACCORDION ======================== */
.dept-executives {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.dept-executives.open {
  display: block;
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.exec-card {
  text-align: center;
}

.exec-photo {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 8px;
  display: block;
}

.exec-avatar {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  border: 3px solid var(--gold);
}

.exec-name {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.exec-role {
  color: var(--cream);
  font-size: 11px;
  margin-top: 2px;
}

.toggle-btn {
  margin-top: 12px;
  background: none;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.2s;
  width: 100%;
}

.toggle-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}


/* ======================== DEPARTMENT background ======================== */
.card.dept-card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.card.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 90, 0.60);
  z-index: 0;
}

.card.dept-card > * {
  position: relative;
  z-index: 1;
}

.card.dept-card h3 { color: #ffffff; position: relative; display: inline-block;}
.card.dept-card p  { color: rgb(255, 255, 255); }
.card.dept-card strong { color: var(--gold) !important; }
.card.dept-card .icon { filter: brightness(1.2); }

.card.dept-card h3::after {
  content: '';
  display: block;
  width: 50%;
  height: 1.5px;
  background: var(--cream);
  margin: 2px auto 0;
  border-radius: 2px;
   }


   /* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--gold, #f0c040);
  transform: scale(1.3);
}