:root {
  --primary: #0a2d4b;
  --primary-strong: #061d31;
  --secondary: #f4d279;
  --secondary-strong: #d7af48;
  --cream: #f8f5f1;
  --text: #1f2937;
  --muted: #667085;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(9, 25, 46, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-strong);
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.eyebrow-dark {
  color: var(--primary);
  background: rgba(10, 45, 75, 0.12);
  border-color: rgba(10, 45, 75, 0.12);
}

.btn-gold {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-strong) 100%);
  border: none;
  color: var(--primary-strong);
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(215, 175, 72, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: var(--primary-strong);
  box-shadow: 0 18px 30px rgba(215, 175, 72, 0.4);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.site-header .navbar {
  padding: 1rem 0;
  background: rgba(7, 22, 35, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,210,121,0.95));
  color: var(--primary-strong);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.brand-text small {
  color: rgba(255,255,255,0.8);
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.84);
  font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--white);
}

.hero-section {
  position: relative;
  background: linear-gradient(120deg, rgba(177, 38, 81, 0.78), rgba(23, 42, 82, 0.82)),
    url("images/AC1.jpeg") center/cover no-repeat;
  min-height: 860px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 23, 0.18), rgba(9, 16, 23, 0.25));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
}

.hero-section h1 {
  font-size: clamp(3.25rem, 6vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--white);
  text-shadow: 0 18px 40px rgba(7, 22, 35, 0.14);
}

.hero-copy {
  margin-top: 1.3rem;
  max-width: 620px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.86);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  margin-top: 2.2rem;
}

.stat-box {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(7px);
}

.stat-box strong {
  display: block;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
}

.stat-box span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}

.service-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 1.7rem;
  color: var(--white);
  box-shadow: var(--shadow);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(244, 210, 121, 0.18);
  color: var(--secondary);
  border: 1px solid rgba(244, 210, 121, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  color: var(--white);
  font-size: 2rem;
  margin-top: 1rem;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.service-item:last-of-type {
  border-bottom: none;
}

.service-item span,
.service-meta {
  color: rgba(255,255,255,0.8);
}

.service-item strong {
  color: var(--white);
  font-weight: 700;
}

.service-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-weight: 600;
}

.about-section {
  background: var(--white);
}

.image-stack {
  position: relative;
  padding: 1rem 1rem 0 0;
}

.main-image {
  border-radius: 26px;
  width: 100%;
  min-height: 530px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(10,45,75,0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 18px 35px rgba(20, 29, 39, 0.12);
  max-width: 290px;
}

.floating-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(244, 210, 121, 0.2);
  color: var(--primary);
  font-size: 1.4rem;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  color: var(--primary-strong);
  font-size: 1rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.about-values {
  margin-top: 1.5rem;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #f9f7f3;
  border: 1px solid rgba(10,45,75,0.06);
  border-radius: 18px;
  padding: 1.1rem;
}

.value-card i {
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(10,45,75,0.08);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.value-card h4 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.value-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.schedule-section {
  background: linear-gradient(180deg, #f4efe7 0%, #f8f5f1 100%);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 0;
}

.schedule-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(10,45,75,0.08);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.schedule-card:hover,
.ministry-card:hover,
.event-card:hover,
.sermon-video:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(9, 25, 46, 0.08);
}

.schedule-card.accent {
  background: linear-gradient(135deg, rgba(10,45,75,0.96), rgba(14,72,106,0.9));
  color: var(--white);
}

.schedule-card.accent h3,
.schedule-card.accent .day,
.schedule-card.accent p,
.schedule-card.accent small {
  color: var(--white);
}

.day {
  display: inline-block;
  color: var(--primary);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.schedule-card h3 {
  margin-top: 0.8rem;
  font-size: 1.7rem;
}

.schedule-card p {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-strong);
  margin-bottom: 0.4rem;
}

.schedule-card small {
  color: var(--muted);
}

.ministries-section {
  background: var(--white);
}

.ministry-card {
  background: #f8f6f2;
  border: 1px solid rgba(10,45,75,0.08);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ministry-card i {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(244, 210, 121, 0.18);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.ministry-card h3 {
  font-size: 1.65rem;
  margin-bottom: 0.6rem;
}

.events-section {
  background: linear-gradient(180deg, #f8f5f1 0%, #f1efe9 100%);
}

.event-card {
  display: flex;
  gap: 1.2rem;
  background: var(--white);
  border-radius: 22px;
  padding: 1.2rem;
  border: 1px solid rgba(10,45,75,0.08);
  box-shadow: 0 8px 22px rgba(9,25,46,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.event-date {
  min-width: 82px;
  height: 82px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #124a6c);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
}

.event-date span {
  font-size: 1.7rem;
  line-height: 1;
}

.event-date small {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.event-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.8rem;
}

.sermon-section {
  background: var(--white);
}

.sermon-points {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2rem;
}

.sermon-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.sermon-points i {
  color: #17a36b;
  font-size: 1.2rem;
}

.sermon-video {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sermon-video img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  color: var(--primary-strong);
  font-size: 2.2rem;
}

.giving-section {
  background: linear-gradient(180deg, #f5f0e8 0%, #fff 100%);
}

.giving-card {
  background: linear-gradient(135deg, #ffffff 0%, #f7f2e7 100%);
  border: 1px solid rgba(10,45,75,0.08);
  border-radius: 28px;
  padding: 2.2rem 2rem;
  box-shadow: 0 16px 36px rgba(9, 25, 46, 0.06);
}

.contact-section {
  background: var(--white);
}

.contact-list {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-item i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(10,45,75,0.08);
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-item strong,
.contact-item span {
  display: block;
}

.contact-item strong {
  color: var(--primary-strong);
  margin-bottom: 0.25rem;
}

.prayer-form {
  background: linear-gradient(135deg, #fbfaf7 0%, #f3f1ec 100%);
  border: 1px solid rgba(10,45,75,0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 13px 30px rgba(9,25,46,0.06);
}

.form-label {
  font-weight: 600;
  color: var(--primary-strong);
}

.form-control {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(10,45,75,0.12);
  background: rgba(255,255,255,0.7);
}

.form-control:focus {
  border-color: rgba(10,45,75,0.35);
  box-shadow: 0 0 0 0.2rem rgba(10,45,75,0.12);
}

.form-status {
  color: #0f7a55;
  font-weight: 600;
}

.site-footer {
  background: var(--primary-strong);
  color: rgba(255,255,255,0.8);
  padding: 1.4rem 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 760px;
  }

  .hero-section h1 {
    font-size: clamp(3rem, 9vw, 5.5rem);
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 80px 0;
  }

  .hero-section {
    min-height: 700px;
    padding-top: 100px;
  }

  .service-card,
  .prayer-form,
  .giving-card {
    padding: 1.3rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
    min-width: 100%;
    height: 90px;
  }
}
