:root {
 --primary-color: #DAA520; /* Gold */
--donate-bg: #228B22; /* Forest Green */
--donate-hover: #006400; /* Dark Green */
--text-color: #111; /* Black for contrast */
--bg-color: #ffffff; /* White */
--card-bg: #F5F5DC; /* Beige/Creamy White */
--accent: #FFD700; /* Gold */
--section-bg: #F0FFF0; /* Honeydew (light green) */
--inset-bg: #ffffff; /* White */
--shadow: rgba(0, 0, 0, 0.1);
--transition: 0.3s ease;
}

:root {
  --header-height: 100px; /* update to actual */
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #d9c6b5;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent, #d4af37);
  border-top-color: var(--primary-color, #0056b3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color, #0056b3);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--donate-bg, #e63946);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body,
footer {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === HEADER === */
#header {
  background: var(--bg-color, #fff);
  box-shadow: 0 2px 8px var(--shadow, rgba(0, 0, 0, 0.1));
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  max-height: 100px;
}

#header.header-scrolled {
  top: 0;
}

#header .logo img {
  max-height: 60px;
  width: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


#header .logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color, #005baa);
  text-decoration: none;
}

.logo span {
  color: var(--donate-bg, #e74c3c);
}

.donate-btn {
  margin-left: 25px;
  background: var(--donate-bg, #e63946) !important;
  color: #fff !important;
  border-radius: 100px !important;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.donate-btn:hover {
  background: var(--donate-hover);
  color: #fff;
  font-size: 16px;
}

@media (max-width: 768px) {
  .donate-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-color, #333);
  white-space: nowrap;
  transition: 0.3s;
  padding: 5px 2px;
  text-decoration: none;
  transition: var(--transition, 0.3s);
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--primary-color, #005baa);
  border-bottom: 2px solid var(--primary-color, #005baa);
  font-size: 16px;
  font-weight: 800 !important;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--accent, #d4af37);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #fff;
  border: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--primary-color, #005baa);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
  * Mobile Navigation 
  */
.mobile-nav-toggle {
  color: var(--primary-color, #005baa);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: var(--donate-hover, #c72636);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--bg-color, #fff);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: var(--accent, #d4af37);
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile > ul > li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #fff;
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--primary-color, #005baa);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: var(--accent, #d4af37);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: var(--primary-color, #005baa);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

.section {
  margin-top: 50px !important;
}

.section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #228B22 !important;
  margin-bottom: 20px;
  text-align: center;
}

/* === HERO CAROUSEL === */
/* .carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeInDown 1s;
}

.carousel-caption p {
  font-size: 1.25rem;
  animation: fadeInUp 1.2s;
} */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#heroSection {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height); /* keeps text visible below fixed header */
  background: url('/assets/images/Hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  margin-top: 60px !important;

  /* center content vertically */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#heroSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1;
}

#heroSection > * {
  position: relative;
  z-index: 2;
}

#heroSection h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #228B22;
  margin-bottom: 1rem;
}

#heroSection p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto;
}


/* === WELCOME NOTE === */
/* .welcome-note {
  background-color: var(--bg-color);
}

.welcome-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  max-height: 400px;
}

.welcome-img-wrapper:hover {
  transform: scale(1.03);
}

.shadow-inset {
  box-shadow: inset 0 0 20px var(--shadow-color), 0 4px 20px rgba(0, 0, 0, 0.06);
  background-color: var(--inset-bg);
}

.welcome-text-box {
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: var(--transition);
}

.welcome-text-box:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
} */

.video-play-button {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #228B22 !important;
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.video-play-button:hover {
  transform: scale(1.1);
}

/* Auto scroll-up animation */
.scroll-container {
  height: 7.5em; /* height of 3 lines approx */
  overflow: hidden;
  position: relative;
}

.scroll-text {
  display: inline-block;
  animation: scrollUpLoop 20s linear infinite;
}

.scroll-text p {
  margin: 0;
  padding: 0.5em 0;
}

@keyframes scrollUpLoop {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.welcome-video-wrapper {
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 12px;
  overflow: hidden;
}



/* === MINISTRY CARDS === */
.ministry-card-custom {
  background: var(--bg-color);
  border-radius: 20px;
  box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.05),
    inset -2px -2px 8px rgba(255, 255, 255, 0.5), 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.read-more-btn {
  background: var(--primary-color);
  color: #fff !important;
  border-radius: 25px;
  padding: 8px 20px;
  font-size: 0.9rem;
  transition: background-color var(--transition), transform var(--transition);
  text-decoration: none;
}

.read-more-btn:hover {
  background-color: var(--donate-hover);
  transform: scale(1.05);
}
.ministry-card-custom:hover {
  transform: translateY(-6px);
  box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.05),
    inset -1px -1px 6px rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.1);
}
.ministries-preview .card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--shadow);
  padding: 25px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: none;
}

.ministries-preview .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px var(--shadow);
}

.ministries-preview .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.ministries-preview .btn {
  border-radius: 20px;
  font-size: 0.875rem;
  padding: 6px 16px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: var(--transition);
}

.ministries-preview .btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* === CONTACT SECTION === */
.contact-section ul {
  padding-left: 0;
}

.contact-section ul li {
  background: var(--card-bg);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-section ul i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.contact-section form .form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  transition: border-color var(--transition);
}

.contact-section form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.contact-section button[type="submit"] {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  display: block;
  margin: 20px auto 0;
  transition: background-color var(--transition), transform 0.3s ease;
}

.contact-section button[type="submit"]:hover {
  background-color: var(--donate-bg);
  transform: scale(1.05);
}

/* === CONTACT INFO BOXES === */
.contact-card {
  background: var(--bg-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.08),
    inset -4px -4px 12px rgba(255, 255, 255, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15),
    inset 2px 2px 8px rgba(0, 0, 0, 0.04),
    inset -2px -2px 8px rgba(255, 255, 255, 0.2);
}

.contact-card .icon-wrapper {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.2),
    inset -2px -2px 6px rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.contact-card .icon-wrapper:hover {
  background: var(--donate-bg);
}

.contact-card h6 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-color);
  margin: 0;
}



.about-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--donate-bg));
  color: white;
  padding: 100px 0;
}

.mv-box {
  border-left: 6px solid var(--primary-color);
  background: #fff;
  border-radius: 10px;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mv-box:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05), 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mv-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: 50%;
}

.core-value-box {
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  transition: 0.3s ease;
}

.core-value-box:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
}

.about-long-note {
  background-color: #f8f9fa;
}

.about-long-note img {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.prayer-section {
  background-color: var(--bg-color);
}

.prayer-section form {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03), 0 3px 10px rgba(0, 0, 0, 0.05);
}

.prayer-section .form-label {
  font-weight: 500;
  color: var(--primary-color);
}

.prayer-section button[type="submit"] {
  background-color: var(--primary-color);
  border: none;
  transition: var(--transition);
}

.prayer-section button[type="submit"]:hover {
  background-color: var(--donate-bg);
}

.donate-page {
  background-color: var(--bg-color);
}

.donation-box {
  background: #fff;
  border: 2px solid var(--primary-color);
  box-shadow: inset 0 0 20px rgba(0, 86, 179, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.donation-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 86, 179, 0.1);
}

.donation-details p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

/* === FOOTER STYLING === */
footer {
  background: linear-gradient(145deg, #0d0d0d, #1a1a1a);
  color: #ccc;
  font-size: 0.95rem;
}

footer h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

footer ul li a {
  color: #bbb;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: var(--donate-bg);
  text-decoration: underline;
}

footer .form-control {
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.9rem;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  transition: all 0.3s ease;
}

footer .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px var(--primary-color);
}

footer .btn {
  background-color: var(--donate-bg);
  border: none;
  border-radius: 30px;
  padding: 10px;
  font-weight: 500;
  transition: background 0.3s ease;
}

footer .btn:hover {
  background-color: var(--donate-hover);
}

footer p,
footer small {
  color: #aaa;
}

footer .d-flex.gap-3 a {
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .d-flex.gap-3 a:hover {
  transform: translateY(-4px);
  color: var(--primary-color);
}

footer .bg-secondary {
  background-color: #111;
}

footer .btn-close {
  filter: brightness(200%);
}
