/* ==========================================================================
   Francis Bashan Ministries - Main Stylesheet
   ========================================================================== */

/* --- Custom Color Variables & Base Styles --- */
:root {
  --primary-color: #0f172a;       /* Deep Navy */
  --primary-light: #1e293b;
  --secondary-color: #d4af37;     /* Warm Gold Accent */
  --secondary-hover: #b89628;
  --accent-blue: #0d47a1;
  --light-bg: #f8fafc;
  --text-dark: #334155;
  --text-muted: #64748b;
  --transition-fast: all 0.3s ease;

}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* --- Helper Classes --- */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.text-secondary-custom {
  color: var(--secondary-color) !important;
}

.bg-light-custom {
  background-color: var(--light-bg) !important;
}

.title-underline {
  position: relative;
  padding-bottom: 12px;
}

.title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* --- Top Bar & Navigation --- */
.top-bar {
  background-color: var(--primary-color);
  color: #cbd5e1;
  font-size: 0.875rem;
}

.top-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: var(--secondary-color);
}

.main-nav {
  background-color: #ffffff;
}

.main-nav .nav-link {
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 8px;
  transition: var(--transition-fast);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--secondary-color);
}

/* Mobile Offcanvas Drawer */
.offcanvas-custom {
  background-color: var(--primary-color);
  color: #ffffff;
}

.offcanvas-custom .nav-link {
  color: #e2e8f0;
  font-size: 1.1rem;
  padding: 12px 16px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.offcanvas-custom .nav-link:hover,
.offcanvas-custom .nav-link.active {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--secondary-color);
}

/* --- Buttons --- */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
  padding: 10px 24px;
  transition: var(--transition-fast);
}

.btn-primary-custom:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
}

.btn-warning-custom {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  transition: var(--transition-fast);
}

.btn-warning-custom:hover {
  background-color: var(--secondary-hover);
  color: var(--primary-color);
}

/* --- Hero Carousel --- */
.hero-carousel .carousel-item {
  height: 80vh;
  min-height: 500px;
  background-color: #000;
  position: relative;
}

.hero-carousel img,
.hero-carousel video {
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 0.3 !important;
}

.hero-carousel .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: left;
  left: 10%;
  right: 10%;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.25);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--secondary-color);
  font-size: 0.85rem;
}

/* Mobile Specific Hero Adjustments */
@media (max-width: 767.98px) {
  .hero-carousel .carousel-caption {
    text-align: center !important;
    left: 5% !important;
    right: 5% !important;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: 2.1rem !important;
    line-height: 1.25;
  }

  .hero-carousel .carousel-caption p {
    font-size: 0.95rem !important;
  }

  .hero-actions {
    justify-content: center !important;
  }
}

/* --- Welcome Section --- */
.welcome-image-wrapper {
  padding: 15px;
}

.image-accent-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 20px;
  z-index: 0;
}

.welcome-img {
  z-index: 1;
  width: 100%;
}

.badge-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 2;
}

/* --- Parallax Fixed Background --- */
.parallax-pillars-section {
  position: relative;
  background-image: linear-gradient(
      rgba(15, 23, 42, 0.90), 
      rgba(13, 71, 161, 0.85)
    ), 
    url('img/nav1.jpeg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #ffffff;
}

.pillars-card-glass {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  transition: var(--transition-fast);
}

.pillars-card-glass .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--secondary-color);
  transition: var(--transition-fast);
}

.pillars-card-glass:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-8px);
}

.pillars-card-glass:hover .icon-box {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* --- Card Base Styles & Featured Outreach Icons --- */
.card-custom {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card-pill {
  background-color: var(--light-bg);
  border: 1px solid #e2e8f0;
}

.feature-card-pill .feature-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.06);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 15px auto;
  transition: var(--transition-fast);
}

.feature-card-pill:hover {
  border-color: var(--secondary-color);
  background-color: #ffffff;
}

.feature-card-pill:hover .feature-icon {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* --- Program & Speaking Left Box Styling --- */
.program-info-box {
  transition: var(--transition-fast);
}

.program-info-box:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

.feature-item {
  transition: var(--transition-fast);
}

.feature-item:hover {
  background-color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateX(5px);
}

.feature-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Swiper Custom Pagination Dots --- */
.programSwiper .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.3;
  width: 10px;
  height: 10px;
}

.programSwiper .swiper-pagination-bullet-active {
  background: var(--secondary-color);
  opacity: 1;
  width: 24px;
  border-radius: 10px;
}

/* --- Beautified Footer --- */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  color: #94a3b8;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}
/* --- Extra Font & Padding Helpers for Compact Layouts --- */
.fs-7 { font-size: 0.875rem !important; }
.fs-8 { font-size: 0.775rem !important; }

.me-2\.5 {
  margin-right: 0.625rem !important;
}

.program-info-box h3 {
  letter-spacing: -0.3px;
}