* {
  box-sizing: border-box;
}

:root {
  --church-navy: #18324a;
  --church-gold: #d7a83f;
  --church-green: #2f6f5e;
  --church-cream: #fbf6eb;
  --church-ink: #17202a;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--church-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(24, 50, 74, 0.08);
}

.navbar-brand {
  color: var(--church-navy);
  font-weight: 800;
  line-height: 1.15;
}

.nav-link {
  color: var(--church-navy);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--church-green);
}

.hero,
.page-hero {
  color: #fff;
  padding-top: 7rem;
  padding-bottom: 5rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero {
  min-height: calc(100vh - 28px);
  background-image:
  linear-gradient(90deg, rgba(24, 50, 74, 0.86), rgba(24, 50, 74, 0.45)),
    url("home.png") center/cover no-repeat;
}

.page-hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding-bottom: 4rem;
}

.page-hero-about,
.page-hero-sermon,
.page-hero-activities,
.page-hero-gallery,
.page-hero-contact,
.page-hero-ministries {
  background-image:
    linear-gradient(90deg, rgba(24, 50, 74, 0.86), rgba(24, 50, 74, 0.45)),
    url("sermon.png");
}

.page-hero-about {
  background-image:
    linear-gradient(90deg, rgba(24, 50, 74, 0.86), rgba(24, 50, 74, 0.45)),
    url("about.png");
}
.page-hero-gallery {
  background-image:
    linear-gradient(90deg, rgba(24, 50, 74, 0.84), rgba(24, 50, 74, 0.38)),
    url("gallery_view.png");
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--church-green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-pad {
  padding: 5rem 0;
}

.section-title {
  color: var(--church-navy);
  font-weight: 800;
}

.btn-church {
  --bs-btn-bg: var(--church-gold);
  --bs-btn-border-color: var(--church-gold);
  --bs-btn-color: #1f2933;
  --bs-btn-hover-bg: #c69734;
  --bs-btn-hover-border-color: #c69734;
  font-weight: 800;
}

.service-strip,
.sermon-feature,
.contact-band {
  background: var(--church-cream);
}

.service-strip {
  border-bottom: 1px solid rgba(24, 50, 74, 0.09);
}

.service-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.service-icon,
.icon-circle,
.footer-social-link {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  background: #fff;
  color: var(--church-green);
  box-shadow: 0 8px 20px rgba(24, 50, 74, 0.08);
}

.icon-circle {
  width: 3.25rem;
  height: 3.25rem;
  background: rgba(47, 111, 94, 0.12);
  color: var(--church-green);
  font-size: 1.35rem;
}

.feature-card,
.value-card,
.leader-card,
.schedule-card,
.contact-card,
.ministry-card,
.sermon-card,
.activity-card,
.video-card,
.gallery-card {
  border: 1px solid rgba(24, 50, 74, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(24, 50, 74, 0.08);
}

.feature-card,
.value-card,
.leader-card,
.schedule-card,
.contact-card,
.video-card,
.gallery-card {
  background: #fff;
}

.about-image {
  min-height: 380px;
  overflow: hidden;
  border-radius: 8px;
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card,
.gallery-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #102233;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.activity-date,
.program-note {
  color: var(--church-gold);
  font-weight: 800;
}

.schedule-card {
  border-left: 4px solid var(--church-gold);
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(24, 50, 74, 0.1);
}

.schedule-list strong {
  color: var(--church-navy);
}

footer {
  background: #102233;
  color: rgba(255, 255, 255, 0.82);
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav-link:hover,
.footer-nav-link:focus {
  color: var(--church-gold);
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 575.98px) {
  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 6.25rem;
    padding-bottom: 3.5rem;
  }
  .section-pad {
    padding: 3rem 0;
  }
  .display-3 {
    font-size: 2rem;
    line-height: 1.12;
  }
  .about-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .service-item {
    align-items: flex-start;
  }
  .schedule-list li {
    flex-direction: column;
    gap: 0.25rem;
  }
  .hero .btn,
  .sermon-feature .btn,
  form .btn {
    width: 100%;
  }
  footer .container {
    text-align: center;
  }
}
