/* Reset & base */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
  --color-primary: #271f41;    /* Deep purple/navy */
  --color-secondary: #b25538;  /* Rust orange */
  --color-accent: #decca2;     /* Beige/gold */
  --color-light: #f8f5f0;      /* Off-white */
  --color-text: #333333;       /* Dark gray for text */
  --color-text-light: #ffffff; /* White text for dark backgrounds */
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --nav-height-mobile: 70px;   /* Standard mobile navbar height */
  /* Default hero image; update this to point to any file in images/ */
  --hero-image: url('images/2026sum.jpeg')
    }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--color-light); /* light beige/white for readability on dark bg */
  background: linear-gradient(180deg, #271f41 0%, #221a3a 50%, #1b1533 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-accent); /* soft gold/beige for headings */
}

h1 { font-size: clamp(2.2rem, 4vw + 0.5rem, 3rem); }
h2 { font-size: clamp(1.6rem, 2.2vw + 0.6rem, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.6vw + 0.5rem, 1.6rem); }
p { margin-bottom: 1.5rem; }

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-accent);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-secondary);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 50px;
 color: var(--color-secondary);
  font-size: 1.2rem;
}

.bg-light {
  background-color: var(--color-light);
}

/* Venue Section */
.venue-details {
  text-align: center;
  margin-bottom: 40px;
}

.venue-details h3 {
  color: var(--color-secondary);
  margin-bottom: 15px;
  font-size: 2rem;
}

.venue-details p {
  color: var(--color-secondary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
}

/* Ensure embedded map spans full container width */
.map-container iframe {
  width: 100%;
  display: block;
}

.transportation h4 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-primary);
  font-size: 1.8rem;
}

.transport-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.transport-option {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.transport-option:hover {
  transform: translateY(-5px);
}

.transport-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.transport-option h5 {
  color: var(--color-secondary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.transport-option p {
  color: var(--color-text);
  margin-bottom: 0;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .transport-options {
    grid-template-columns: 1fr;
  }
  
  .map-container iframe {
    height: 350px;
  }
  
  .venue-details h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 300px;
  }
  
  .transport-option {
    padding: 20px 15px;
  }
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}
#accBtn{
  text-align: center;
}
.btn-primary {
  background-color: var(--color-secondary);
  color: white;
  border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
  background-color: #9a472f;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(178, 85, 56, 0.3);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(178, 85, 56, 0.3);
}

/* ===== Header & Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent; /* blend with hero */
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(222,204,162,0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
}
.navbar span{
  color: var(--color-accent);
}
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-light);
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-secondary);
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: rotate(10deg);
}

.navbar.scrolled {
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(39,31,65,0.95) 0%, rgba(39,31,65,0.85) 100%); /* solid when scrolled */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--color-light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Ensure mobile menu retains dark text on white drawer */
@media (max-width: 768px) {
  .nav-links a {
    color: var(--color-text);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  /* Bottom-strong gradient overlay + image */
  background-image:
    linear-gradient(to top,
      rgba(178, 85, 56, 0.65) 0%,     /* brick red strong at bottom */
      rgba(178, 85, 56, 0.45) 25%,
      rgba(39, 31, 65, 0.55) 60%,      /* transition into deep purple */
      rgba(39, 31, 65, 0.15) 100%
    ),
    var(--hero-image);
  /* Gradient full size; background image fills section */
  background-size: 100% 100%, cover;
  background-position: center center, center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding-top: 80px;
  background-attachment: scroll;
}

/* Desktop: ensure hero content clears the fixed navbar and avoid parallax overlap */
@media (min-width: 992px) {
  .hero {
    padding-top: 120px;
    background-attachment: scroll;
  }
}

/* Top scrim to blend hero into navbar while keeping background logo visible */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(39,31,65,0.9) 0%, rgba(39,31,65,0.6) 40%, rgba(39,31,65,0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Global dim overlay to reduce background image intensity */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 26, 0.28); /* adjust this to increase/decrease dim */
  z-index: 1; /* sits below content but above background */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* What to Expect: card-style panel and items */
.expect {
  background: linear-gradient(180deg, rgba(25,19,42,0.95) 0%, rgba(25,19,42,0.85) 100%);
  border-top: 1px solid rgba(222, 204, 162, 0.08);
  border-bottom: 1px solid rgba(222, 204, 162, 0.08);
}
.expect .section-title { color: var(--color-accent); }

.expect .features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 18px;
  background: rgba(17, 12, 26, 0.45);
  border: 1px solid rgba(222, 204, 162, 0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.expect .feature {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(222, 204, 162, 0.10);
  border-radius: 10px;
  padding: 12px 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.expect .feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  border-color: rgba(222, 204, 162, 0.22);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(222, 204, 162, 0.08);
  color: var(--color-secondary);
  font-size: 1rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

@media (max-width: 576px) {
  .expect .features { grid-template-columns: 1fr; gap: 10px 0; padding: 16px; }
}

/* Hero Logo and subtitle (reference layout) */
.hero-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--color-accent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #9a472f;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.event-dates {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: white;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

/* ===== Countdown ===== */
.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  animation: fadeInUp 1s ease 0.8s;
  animation-fill-mode: both;
}

.countdown-item {
  text-align: center;
  background: rgba(39, 31, 65, 0.5); /* dark purple glass */
  backdrop-filter: blur(10px);
  padding: 20px 15px;
  border-radius: var(--border-radius);
  min-width: 100px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(222, 204, 162, 0.25); /* soft gold border */
}

.countdown-item span:first-child {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.countdown-item span:last-child {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
}
/*=====About section1======*/
.about-content1 {
  max-width: 600px;   /* keeps it from getting too wide */
  margin: 40px auto;  /* centers it with breathing room */
  text-align: center; /* ensures it’s centered if needed */
}

.about-content1 img {
  width: 100%;
  max-width: 600px;
  height: auto;           /* lock height */
  object-fit: contain;       /* crop instead of stretching */
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* ===== About Section ===== */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
   padding: 0 20px; 
}
.about-content-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 images */
  gap: 25px; /* Space between images */
  margin-bottom: 30px;
}

.about-content-images img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.about-content-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Tablet */
@media (max-width: 1024px) {
  .about-content-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-content-images {
    grid-template-columns: 1fr;
  }
}


.highlight-box {
  background-color: var(--color-light);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-top: 40px;
  text-align: left;
  box-shadow: var(--box-shadow);
}

.highlight-box h3 {
  color: var(--color-secondary);
  margin-bottom: 20px;
  text-align: center;
}

/* Ensure readable body text inside light panels */
.highlight-box p {
  color: var(--color-text);
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.highlight-box li {
  position: relative;
   color: var(--color-secondary);
  padding-left: 25px;
  margin-bottom: 10px;
}

.highlight-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 48px 16px 16px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.accordion-button:hover {
  background: rgba(222, 204, 162, 0.08);
}

.accordion-button::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: var(--transition);
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.accordion-button[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.accordion-panel {
  padding: 0 16px 16px 16px;
  color: var(--color-text);
}

.accordion-panel p {
  margin: 0;
}

/* ===== Speakers Section ===== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Centered CTA for speakers section */
.speakers-cta {
  text-align: center;
  margin: 16px 0 28px;
}

@media (max-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }
}

.speaker-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.speaker-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.speaker-img {
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.speaker-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition);
}

.speaker-card:hover .speaker-img img {
  transform: scale(1.05);
}

.speaker-info {
  padding: 25px 20px;
}

.speaker-info h3 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.speaker-title {
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.speaker-bio {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6; 
  text-align: center;
  max-width: 420px;
  margin-inline: auto;
}

/* ===== Schedule Section ===== */
.schedule-tabs {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-top: 40px;
}

.tab-header {
  display: flex;
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tab-btn {
  padding: 15px 25px;
  background: #2d244a; /* muted purple */
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tab-btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
}

.tab-btn.active {
  color: white;
  background-color: var(--color-secondary);
}

.tab-btn.active:after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
  padding: 30px;
  text-align: left;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.schedule-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--color-accent);
  transition: var(--transition);
}

.schedule-card.highlight {
  border-left-color: var(--color-secondary);
  background-color: rgba(178, 85, 56, 0.05);
}

.schedule-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.schedule-time {
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.schedule-time:before {
  content: '⏱️';
  margin-right: 8px;
  font-size: 1.1em;
}

.schedule-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.schedule-card p {
  margin-bottom: 5px;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* ===== Sermons Section ===== */
.sermon-tabs {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-top: 40px;
}

.sermon-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-left: 4px solid var(--color-accent);
}

.sermon-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sermon-card h3 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.speaker {
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.audio-player {
  margin-top: 20px;
  background: var(--color-light);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.audio-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Download button inside audio controls */
.download-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-left: auto; /* push to the right */
}

@media (max-width: 576px) {
  .audio-controls { flex-wrap: wrap; gap: 10px; }
  .download-btn { width: 100%; text-align: center; margin-left: 0; }
}

.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.play-btn:hover {
  background: var(--color-primary);
  transform: scale(1.1);
}

.pause-icon {
  display: none;
}

.play-btn.playing .play-icon {
  display: none;
}

.play-btn.playing .pause-icon {
  display: inline;
}

.progress-container {
  flex: 1;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-secondary);
  transition: width 0.1s linear;
}

.time {
  font-size: 0.8rem;
  color: var(--color-text);
  min-width: 80px;
  text-align: right;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo h3 {
  color: var(--color-accent);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-logo p {
  color: var(--color-accent);
  opacity: 0.8;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-accent);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-accent);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-secondary);
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 15px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

.footer-contact p:before {
  margin-right: 10px;
  color: var(--color-accent);
}

.footer-contact p:first-child:before {
  content: '✉️';
}

.footer-contact p:last-child:before {
  content: '📞';
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary);
  transform: translateY(-5px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero h1 { font-size: 3rem; }
  .hero h2 { font-size: 1.5rem; }
  
  .countdown-item {
    min-width: 80px;
    padding: 15px 10px;
  }
  
  .countdown-item span:first-child {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
    background: var(--color-primary) !important; /* solid color */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-image: none !important;
    box-shadow: none !important; /* remove halo */
    mix-blend-mode: normal !important;
  }

  /* Remove any internal overlay layer */
  .navbar::before { content: none !important; }

  /* Prevent scrolled variant from adding overlays */
  .navbar.scrolled {
    background: var(--color-primary) !important;
    box-shadow: none !important;
  }
  
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    padding-top: 5.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002; /* above centered logo */
  }
  
  /* Center the logo text on mobile while keeping the hamburger accessible */
  .navbar .container { position: fixed; }
  .logo {
    position: absolute;
    padding-left: 3rem;
    padding-top: 6rem;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap; 
  }
  /* Remove the top scrim to avoid overlay look near navbar */
.hero::before {
  height: 0 !important;
}
/* Optional: reduce drop shadow to avoid halo */
.navbar {
  box-shadow: none !important;
}
  
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    color: var(--color-accent);
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
  }
  
  .hero {
    margin-top: 0; /* remove extra gap */
    min-height: 600px;
    padding-top: calc(var(--nav-height-mobile) - 16px); /* tighter spacing under navbar */
    /* Fill section on mobile as well */
    background-size: 100% 100%, cover;
    background-position: center center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .countdown {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .countdown-item {
    min-width: 100px;
    padding: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h4::after,
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    word-break: break-word;           /* allow breaking long words */
    overflow-wrap: anywhere;          /* ensure last characters don't clip */
  }
  
  /* Add extra horizontal padding and account for device safe areas */
  .hero-content {
    padding-left: calc(24px + env(safe-area-inset-left));
    padding-right: calc(24px + env(safe-area-inset-right));
  }
  
  .countdown-item {
    min-width: 70px;
    padding: 10px 5px;
  }
  
  .countdown-item span:first-child {
    font-size: 1.5rem;
  }
  
  .countdown-item span:last-child {
    font-size: 0.7rem;
  }
  
  .tab-btn {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}
/*Modal styles + registration form*/

 #modalRegistrationForm {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
  }
#submitBtn:disabled {
    opacity: 0.5;           /* visually looks disabled */
    cursor: not-allowed;    /* shows not-allowed cursor */
    pointer-events: none;   /* prevents clicking */
  }
  #modalRegistrationForm label {
    margin: 10px 0 5px;
    font-weight: bold;
    color: #333;
  }

  #modalRegistrationForm input,
  #modalRegistrationForm select {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }

  #modalRegistrationForm button[type="submit"] {
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
  }

  #modalRegistrationForm button[type="submit"]:hover {
    background: #005fa3;
  }
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #e74c3c; /* red hover */
}

/* Make only the body scrollable */
.modal-body {
  overflow-y: auto;
  padding: 1rem 2rem;
}
.modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  z-index: 10;
}
.modal {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative; /* needed for close button */
  background: #fff;
  border-radius: 1rem;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;   /* limit height to viewport */
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  overflow: hidden;   /* prevent outside scrollbars */
}

.modal-content h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.subtitle {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.payment-card {
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 1.5rem;
  flex: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.payment-card img {
  max-width: 80px;
  margin-bottom: 1rem;
}

.payment-card p {
  margin-bottom: 1rem;
  color: #444;
}

/* Buttons */
.cta {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.paypal-btn {
  background: #0070ba;
  color: white;
}

.paypal-btn:hover {
  background: #005c99;
}

.bank-btn {
  background: #444;
  color: white;
}

.bank-btn:hover {
  background: #222;
}

.help-link {
  display: block;
  margin-left: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #0070ba;
  text-decoration: none;
}

.help-link:hover {
  text-decoration: underline;
}

/* Sermon Access Form */
.form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1.75rem 2rem;
  max-width: 600px;
  margin: 1.5rem auto;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
  color: var(--color-accent);
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

.form-subtitle {
   color: var(--color-accent); /* make text visible */
  text-align: center;
  margin-bottom: 1.5rem;       /* spacing before the input */
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.85;               /* softer contrast */
  font-family: 'Poppins', sans-serif;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.input-group input {
  padding: 0.8rem 1rem;
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius);
  background: rgba(95, 75, 75, 0.5);
  color: var(--color-light);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(222, 204, 162, 0.3);
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
  background: var(--color-secondary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.btn-submit:hover {
  background: #9c4a30;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(178, 85, 56, 0.3);
}


@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}
/* Modal overlay on index.hmtl

 /* Modal styles */
    .modal1 {
      position: fixed;
      inset: 0; /* full screen */
      background:  #19183B;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 9999;
      transition: opacity 0.6s ease;
    }

    .modal1 img {
      width: 90%;       /* scale relative to screen */
  max-width: 600px; /* prevent it being huge on desktop */
  height: 500px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    .modal1 button {
      background: #D96F32;
      color: white;
      border: none;
      padding: 12px 24px;
      font-size: 18px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .modal1 button:hover {
      background: #e65c00;
    }

    /* Hidden state */
    .modal1.hidden {
      opacity: 0;
      pointer-events: none;
    }
    /* Tablet: allow a bit bigger */
@media (max-width: 1024px) {
  .modal1 img {
    max-width: 410px;
  }
}

/* Mobile: increase height a bit */
@media (max-width: 600px) {
  .modal img {
    width: 95%;
    max-width: 320px;
    height: 250px;     /* force a bit more height */
    object-fit: cover; /* crop instead of stretching */
  }
}

/* Payment Options */
#accountNumber{
  padding-left: 1rem;
}
.payment-options {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto;
}
.payment-options-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.payment-card {
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-card img {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.payment-card p {
  margin: 1rem 0;
  color: #555;
}

/* Bank Details Panel */
.bank-details-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.bank-note {
  background-color: #fff8e6;
  color: #856404;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border-left: 4px solid #ffc107;
}

.bank-info {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.bank-detail-row {
  display: flex;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.bank-detail-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.bank-label {
  font-weight: 600;
  color: #333;
  min-width: 140px;
  flex-shrink: 0;
}

.bank-value {
  color: #555;
  flex-grow: 1;
}

.bank-value-with-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.copy-btn:active {
  transform: scale(0.95);
}

/* Bank Transfer Specific Styles */
.bank-transfer .bank-btn {
  background: var(--color-secondary);
  color: white;
  width: 100%;
  margin-top: 1rem;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.bank-transfer .bank-btn:hover {
  background: #9c4a30;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bank-confirm-btn {
  background: #28a745 !important;
  color: white !important;
  width: 100%;
  padding: 0.8rem !important;
  font-size: 1rem !important;
  border: none !important;
  border-radius: 0.5rem !important;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.bank-confirm-btn:hover {
  background: #218838 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Input Group for EFT Reference */
#eftReferenceGroup {
  margin-top: 1.5rem;
}

#eftReferenceGroup label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

#eftReferenceGroup input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

#eftReferenceGroup input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(222, 204, 162, 0.3);
}

.hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
}

/* Payment Method Selection */
.payment-card.selected {
  border: 2px solid var(--color-accent);
  background-color: rgba(222, 204, 162, 0.1);
}

.payment-card .select-payment {
  width: 100%;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .bank-detail-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .bank-label {
    min-width: auto;
    margin-bottom: 0.25rem;
  }
  
  .payment-options {
    padding: 1rem;
  }
  
  .payment-card {
    padding: 1rem;
  }
  
  .bank-info {
    padding: 1rem;
  }
}

/* SweetAlert Customization */
.swal2-popup {
  font-family: 'Poppins', sans-serif;
  border-radius: 0.75rem;
}

.swal2-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.swal2-confirm {
  background-color: var(--color-secondary) !important;
}

.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(178, 85, 56, 0.3) !important;
}