body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f6f9;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   NAVIGATION
========================= */

nav {
  background-color: #1f3a5f;
  color: white;
  padding: 18px 8%;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: bold;
}

.nav-links a:hover {
  color: #8fd3e8;
}

/* =========================
   HERO SECTION
========================= */

.church-hero {
  height: 700px;

  background-image:
    linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url("../../assets/images/church.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
}

.hero-overlay h1 {
  font-size: 58px;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 22px;
  margin-bottom: 35px;
}

.hero-button {
  background-color: #4da6d6;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.hero-button:hover {
  background-color: #2c84b4;
  box-shadow: 0 6px 16px rgba(77,166,214,0.4);
}

/* =========================
   ABOUT / SERVICE TIMES
========================= */

.about,
.service-times {
  padding: 50px 10%;
  padding-top: 20px;
  text-align: center;
}

.about {
  background-color: #f4f6fa;
}

.about h2,
.service-times h2 {
  color: #263b63;
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}

/* =========================
   SERVICE CARDS
========================= */

.service-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-card h3 {
  color: #263b63;
  margin-bottom: 10px;
}

/* =========================
   MINISTRIES
========================= */

.ministries {
  padding: 70px 10%;
  background-color: white;
  text-align: center;
}

.ministries h2 {
  color: #263b63;
  font-size: 36px;
  margin-bottom: 40px;
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.ministry-card {
  background-color: #f4f6fa;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.ministry-card:hover {
  transform: translateY(-6px);
}

.ministry-card h3 {
  color: #263b63;
  margin-bottom: 15px;
}

.ministry-card p {
  line-height: 1.6;
}

/* =========================
   PASTOR SECTION
========================= */

.pastor-section {
  padding: 80px 10%;
  background-color: #f4f6fa;
}

.pastor-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.pastor-image img {
  width: 400px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.pastor-text {
  flex: 1;
}

.pastor-text h2 {
  color: #263b63;
  font-size: 38px;
  margin-bottom: 20px;
}

.pastor-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pastor-text h3 {
  color: #1f3a5f;
  margin-top: 30px;
}

/* =========================
   EVENTS PAGE
========================= */

.events-hero {
  background-color: #1f3a5f;
  color: white;
  text-align: center;
  padding: 90px 10%;
}

.events-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.events-hero p {
  font-size: 20px;
}

.events-section {
  padding: 70px 10%;
  background-color: #f4f6fa;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.event-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-card h2 {
  color: #263b63;
  margin-bottom: 20px;
}

.event-card p {
  line-height: 1.6;
}

/* =========================
   LIVE PAGE
========================= */

.live-hero {
  background-color: #1f3a5f;
  color: white;
  text-align: center;
  padding: 90px 10%;
}

.live-hero h1 {
  font-size: 48px;
}

.live-section {
  padding: 70px 10%;
  background-color: #f4f6fa;

  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
}

.video-placeholder,
.live-info {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.video-placeholder {
  text-align: center;
}

.video-frame {
  height: 360px;
  background-color: #222;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-radius: 8px;
  margin-top: 20px;
}

.live-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #1f3a5f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.live-button:hover {
  background-color: #2d4d7a;
}

/* =========================
   FOOTER
========================= */

.church-footer {
  background-color: #1f3a5f;
  color: white;
  width: 100%;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;

  padding: 50px 10%;
}

.footer-column {
  flex: 1;
  min-width: 240px;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: #8fd3e8;
}

.footer-column p {
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  font-size: 14px;
}
.admin-footer-link {
  margin-top: 15px;
}

.admin-footer-link a {
  color: rgba(244, 246, 249, 0.75);
  text-decoration: none;
  font-size: 14px;
}

.admin-footer-link a:hover {
  color: white;
  text-decoration: underline;
}

.visit {
  padding: 80px 10%;
  text-align: center;
  background-color: #f4f6f9;
}

.visit h2 {
  font-size: 42px;
  color: #1f3a5f;
  margin-bottom: 20px;
}

.visit p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.mission-section {
  padding: 80px 10%;
  background-color: #ffffff;
  text-align: center;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
}

.mission-section h2 {
  font-size: 42px;
  color: #1f3a5f;
  margin-bottom: 25px;
}

.mission-section p {
  font-size: 22px;
  line-height: 1.8;
  color: #555;
  max-width: 850px;
  margin: 0 auto;
}
.ministries-page {
  padding: 80px 10%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  max-width: 1500px;
  margin: 0 auto;

  align-items: stretch;
}
.ministry-card {
  background-color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
}

.ministry-card h2 {
  color: #1f3a5f;
  font-size: 34px;
  margin-bottom: 20px;
}

.ministry-card p {
  color: #555;
  line-height: 1.8;
  font-size: 18px;
  margin-top: 20px;
}

.ministry-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}
.ministries-hero {
  text-align: center;
  padding: 80px 10% 40px;
}

.ministries-hero h1 {
  font-size: 52px;
  color: #1f3a5f;
  margin-bottom: 20px;
}

.ministries-hero p {
  font-size: 20px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}
footer {
  text-align: center;
  padding: 25px;
  background-color: #1f3a5f;
  color: white;
  margin-top: 60px;
}
.ministries-page {
  padding: 80px 10%;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 80px;
  column-gap: 40px;

  max-width: 1500px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ministries-page {
    grid-template-columns: 1fr;
  }
}
/* =========================
   PRAYER PAGE
========================= */

.prayer-hero {
  background-color: #1f3a5f;
  color: white;
  text-align: center;
  padding: 90px 10%;
}

.prayer-hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.prayer-hero p {
  font-size: 20px;
}

.prayer-section {
  padding: 80px 10%;
  background-color: #f4f6fa;
}
.prayer-section {
  padding: 80px 10%;
  background-color: #f4f6fa;

  display: flex;
  justify-content: center;
}
.prayer-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center
}

.prayer-form-container h2 {
  text-align: center;
  color: #1f3a5f;
  margin-bottom: 35px;
  font-size: 38px;
}

.prayer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prayer-form input,
.prayer-form textarea {
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.prayer-form textarea {
  resize: vertical;
}

.prayer-form button {
  background-color: #1f3a5f;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.prayer-form button:hover {
  background-color: #2d4d7a;
}
.prayer-hero {
  background-color: #1f3a5f;
  color: white;

  text-align: center;

  padding: 90px 10%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.prayer-hero {
  background-color: #1f3a5f;
  color: white;
  text-align: center;
  padding: 90px 10%;
}

.prayer-section {
  padding: 80px 10%;
  background-color: #f4f6fa;
}

.prayer-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.prayer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prayer-form input,
.prayer-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.prayer-form button {
  background-color: #1f3a5f;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
}
.prayer-section .prayer-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  max-width: 700px;
  margin: 0 auto;
}

.prayer-section .prayer-form input,
.prayer-section .prayer-form textarea,
.prayer-section .prayer-form button {
  width: 100%;
  box-sizing: border-box;
}

.prayer-section {
  text-align: center;
}

.prayer-form-container {
  max-width: 800px;
  margin: 0 auto;
}
.prayer-form {
  width: 100%;
}

.prayer-form input,
.prayer-form textarea,
.prayer-form button {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px auto;
}
.church-hero {
  position: relative;
  height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  background:
    linear-gradient(rgba(0,0,0,0.45),
    rgba(0,0,0,0.45)),
    url("../../assets/images/church.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  grid-column: 2;
  align-self: center;
  color: white;
  z-index: 10;
  max-width: 500px;
}
.hero-overlay h1 {
  font-size: 54px;
}

.hero-overlay p {
  font-size: 22px;
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.church-hero .nav-links {
  grid-column: 3;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 20;
}

.nav-links a {
  margin-left: 0;
}
.nav-links {
  position: absolute;
  top: 90px;
  right: 8%;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.church-hero .nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  margin-left: 0;
  transition: 0.3s ease;
}

.church-hero .nav-links a:hover {
  color: #7ec3ff;
}
.church-hero .nav-links {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  grid-column: 3 !important;
  justify-self: start !important;
  margin-left: 0 !important;
}
.church-hero {
  height: 720px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 6%;

  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("../../assets/images/church.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  grid-column: 2;
  align-self: center;
  justify-self: center;
  text-align: left;
  max-width: 550px;
  color: white;
  z-index: 10;
}

.church-hero .nav-links {
  grid-column: 3 !important;
  align-self: center !important;
  justify-self: center !important;

  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  z-index: 20;
}
.church-hero {
  align-items: center !important;
}

.hero-overlay,
.church-hero .nav-links {
  align-self: center !important;
}

.church-hero .nav-links {
  margin-top: 140px !important;
}

.hero-overlay {
  margin-top: 140px !important;
}
.church-hero {
  position: relative;
  height: 700px;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translateY(-50%);

  text-align: left;
  max-width: 550px;
  color: white;
  z-index: 10;

  margin-top: 0 !important;
}

.church-hero .nav-links {
  position: absolute !important;
  top: 50% !important;
  left: 60% !important;
  right: auto !important;
  transform: translateY(-50%) !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;

  margin-top: 0 !important;
  z-index: 20;
}
/* =========================
   Giving Page
========================= */

.page-header {
  background-color: #1f3a5f;
  color: white;
  text-align: center;
  padding: 70px 10%;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.giving-section {
  padding: 70px 10%;
  background-color: #f4f6f9;
}

.giving-card {
  background-color: white;
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.giving-card h2 {
  color: #1f3a5f;
  font-size: 32px;
  margin-bottom: 15px;
}

.giving-card p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
}

.giving-button {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 32px;
  background-color: #1f3a5f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.giving-button:hover {
  background-color: #162b47;
}

.demo-note {
  margin-top: 20px;
  font-size: 14px;
  color: #777;
}

.giving-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.giving-options div {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.giving-options h3 {
  color: #1f3a5f;
  margin-bottom: 12px;
}

.giving-options p {
  color: #555;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .giving-options {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 34px;
  }
}
.back-home {
  background-color: #1f3a5f;
  padding: 15px 10%;
}

.back-home a {
  color: #f4f6f9;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.back-home a:hover {
  text-decoration: underline;
}

.church-footer .back-home {
  background-color: transparent;
  text-align: center;
  padding: 0 10% 30px;
}

.church-footer .back-home a {
  display: inline-block;
  background-color: #2f6f9f;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.church-footer .back-home a:hover {
  background-color: #3f83b5;
  text-decoration: none;
}
/* =========================
   Sermons Newsletter page
========================= */
.sermons-section {
  padding: 70px 10%;
  background-color: #f4f6f9;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sermon-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sermon-card h2 {
  color: #1f3a5f;
  margin-bottom: 15px;
}

.sermon-card p {
  color: #555;
  line-height: 1.6;
}

.sermon-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.sermon-buttons a {
  background-color: #1f3a5f;
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
}

.sermon-buttons a:hover {
  background-color: #162b47;
}

.newsletter-section {
  background-color: white;
  text-align: center;
  padding: 70px 10%;
}

.newsletter-section h2 {
  color: #1f3a5f;
  font-size: 36px;
  margin-bottom: 15px;
}

.newsletter-section p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 14px;
  width: 260px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.newsletter-form button {
  background-color: #1f3a5f;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #162b47;
}

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

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
}
