/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap");

/* Color Variables */

/* Dark Mode Colors */
:root {
  --primary-color: #5e35b1;
  --primary-dark: #4527a0;
  --primary-light: #7e57c2;
  --secondary-color: #ffab00;
  --secondary-dark: #ff8f00;
  --dark-color: #121212;
  --light-color: #f5f5f5;
  --gray-color: #757575;
  --light-gray: #e0e0e0;
  --white-color: #ffffff;
  --black-color: #212121;
  --white-color-section: #ffffff; /* Added for section backgrounds */
}

.dark-mode {
  --dark-color: #f5f5f5; /* Light text */
  --light-color: #121212; /* Dark background */
  --gray-color: #bdbdbd;
  --light-gray: #424242;
  --white-color: #ffffff;
  --black-color: #f5f5f5;
  --white-color-section: #1e1e1e; /* Darker section backgrounds */
}

/* Base Dark Mode Styles */
.dark-mode {
  background-color: var(--light-color);
  color: var(--dark-color);
}

.dark-mode body {
  background-color: var(--light-color);
  color: var(--dark-color);
}

/* Text Colors */
.dark-mode .text-dark {
  color: var(--dark-color) !important;
}

.dark-mode .text-light {
  color: var(--light-color) !important;
}

.dark-mode .text-gray {
  color: var(--gray-color) !important;
}

/* Background Colors */
.dark-mode .bg-light {
  background-color: var(--light-color) !important;
}

.dark-mode .bg-dark {
  background-color: var(--dark-color) !important;
}

/* Section Styling */
.dark-mode .section {
  background-color: var(--light-color);
  color: var(--dark-color);
}

.dark-mode .section-description {
  color: var(--gray-color);
}

/* Card Styling */
.dark-mode .card,
.dark-mode .message-card,
.dark-mode .book-card,
.dark-mode .project-card,
.dark-mode .blog-card,
.dark-mode .quicklink-card,
.dark-mode .testimony-card {
  background-color: var(--white-color-section);
  color: var(--dark-color);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .card-header {
  background-color: var(--primary-dark) !important;
  color: var(--white-color) !important;
}

/* Form Elements */
.dark-mode .form-control,
.dark-mode .form-select,
.dark-mode .form-check-input {
  background-color: var(--white-color-section);
  color: var(--dark-color);
  border-color: var(--gray-color);
}

.dark-mode ::placeholder {
  color: var(--gray-color);
}

/* List Items */
.dark-mode .list-group-item {
  background-color: var(--white-color-section);
  color: var(--dark-color);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section Adjustments */
.dark-mode .hero-banner {
  color: var(--white-color); /* Keep text white for readability */
}

.dark-mode .hero-overlay {
  background: rgba(0, 0, 0, 0.7); /* Darker overlay in dark mode */
}

/* Timeline Section */
.dark-mode .timeline-content {
  background-color: var(--white-color-section);
  color: var(--dark-color);
}

/* Testimonials */
.dark-mode .testimony-card {
  background-color: var(--white-color-section);
}

.dark-mode .testimony-quote p {
  color: var(--dark-color);
}

/* Footer - Force dark appearance */
.dark-mode .footer {
  background-color: #1a1a2e !important;
  color: #ffffff !important;
}

.dark-mode .footer * {
  color: #ffffff !important;
}

/* Fix for elements that should remain colored */
.dark-mode .text-primary,
.dark-mode .text-secondary,
.dark-mode .text-highlight,
.dark-mode .btn-primary,
.dark-mode .btn-secondary {
  color: inherit !important;
}

/* Button Adjustments */
.dark-mode .btn-outline-light {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.dark-mode .btn-outline-light:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
}

/* Audio Player */
.dark-mode .audio-player {
  background-color: var(--white-color-section);
}

.dark-mode .audio-title {
  color: var(--dark-color);
}

/* Video Player */
.dark-mode .video-container {
  background-color: var(--white-color-section);
}

/* Fix for images in dark mode */
.dark-mode img {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.dark-mode img:hover {
  opacity: 1;
}

/* Specific Component Fixes */
.dark-mode .benefit-item,
.dark-mode .feature-item,
.dark-mode .detail-item {
  color: var(--dark-color);
}

.dark-mode .benefit-text p,
.dark-mode .feature-text p {
  color: var(--gray-color);
}

/* Timeline Fixes */
.dark-mode .timeline::after {
  background-color: var(--primary-light);
}

.dark-mode .timeline-item::after {
  background-color: var(--light-color);
  border-color: var(--primary-color);
}

/* Mission & Vision Sections */
.dark-mode .mv-mission-statement,
.dark-mode .mv-vision-section,
.dark-mode .mv-core-values,
.dark-mode .mv-benefits-section,
.dark-mode .mv-testimony-section {
  background-color: var(--white-color-section);
  color: var(--dark-color);
}

.dark-mode .mv-value-card,
.dark-mode .mv-benefit-card {
  background-color: var(--light-color);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Partners Section */
.dark-mode .wl-partners-partner-card {
  background-color: var(--white-color-section);
}

.dark-mode .wl-partners-partner-name {
  color: var(--dark-color);
}

.dark-mode .wl-partners-partner-description {
  color: var(--gray-color);
}

/* Ensure all text is visible in dark mode */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode p,
.dark-mode li,
.dark-mode span,
.dark-mode div:not([class*='bg-']):not([class*='btn-']) {
  color: var(--dark-color);
}

/* Force dark background for sections that should stay dark */
.dark-mode .cta-section,
.dark-mode .history-cta,
.dark-mode .wl-partners-testimonials-section {
  background-color: var(--primary-dark) !important;
  color: var(--white-color) !important;
}

.dark-mode .cta-section *,
.dark-mode .history-cta *,
.dark-mode .wl-partners-testimonials-section * {
  color: var(--white-color) !important;
}
/* Partner Page Specific Dark Mode Fixes */
.dark-mode .wl-partners-partner-card {
  background-color: var(--white-color-section) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-partners-partner-name {
  color: var(--dark-color) !important;
}

.dark-mode .wl-partners-partner-description {
  color: var(--gray-color) !important;
}

.dark-mode .wl-partners-partner-category {
  background-color: var(--primary-dark) !important;
  color: var(--white-color) !important;
}

.dark-mode .wl-partners-partner-link {
  color: var(--primary-light) !important;
}

.dark-mode .wl-partners-partner-link:hover {
  color: var(--primary-color) !important;
}

/* Partner Benefits Cards */
.dark-mode .wl-partners-benefit-card {
  background-color: var(--white-color-section) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-partners-benefit-title {
  color: var(--dark-color) !important;
}

.dark-mode .wl-partners-benefit-description {
  color: var(--gray-color) !important;
}

.dark-mode .wl-partners-benefit-icon {
  background-color: rgba(94, 53, 177, 0.2) !important;
  color: var(--primary-light) !important;
}

/* Partner Testimonial Cards */
.dark-mode .wl-partners-testimonial-card {
  background-color: var(--white-color-section) !important;
}

.dark-mode .wl-partners-testimonial-quote {
  color: var(--gray-color) !important;
}

.dark-mode .wl-partners-testimonial-author-info p {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Partnership Form */
.dark-mode .wl-partners-partnership-form {
  background-color: var(--white-color-section) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-partners-partnership-form .form-label {
  color: var(--dark-color) !important;
}

.dark-mode .wl-partners-partnership-form .form-control {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--dark-color) !important;
}

.dark-mode .wl-partners-partnership-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-partners-partnership-form ::placeholder {
  color: var(--gray-color) !important;
}

/* Form Select Dropdown Arrow */
.dark-mode .wl-partners-partnership-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23bdbdbd' stroke='%23bdbdbd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* Form Checkboxes */
.dark-mode .wl-partners-partnership-form .form-check-input {
  background-color: var(--white-color-section) !important;
  border-color: var(--gray-color) !important;
}

.dark-mode .wl-partners-partnership-form .form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.dark-mode .wl-partners-partnership-form .form-check-label {
  color: var(--dark-color) !important;
}

/* Form Buttons */
.dark-mode .wl-partners-partnership-form .btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.dark-mode .wl-partners-partnership-form .btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins",'Montserrat', sans-serif;
  background-color: var(--light-color);
  color: var(--black-color);
  overflow-x: hidden;
  line-height: 1.7;
  /* transition: all 0.3s ease; */
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.dark-mode .text-dark {
    color: var(--light-color) !important;
}

.dark-mode .text-light {
    color: var(--dark-color) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.dark-mode .bg-dark {
    background-color: var(--light-color) !important;
}

.dark-mode .bg-light {
    background-color: var(--dark-color) !important;
}

/* Utility Classes */
.text-highlight {
  color: var(--primary-color);
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.bg-light {
  background-color: var(--light-color) !important;
}

.text-white {
  color: var(--white-color) !important;
}

.text-dark {
  color: var(--dark-color) !important;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-color);
}

.divider {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.divider-line {
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--white-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 74, 182, 0.2);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 74, 182, 0.2);
}

.btn-outline-light {
  border-color: var(--white-color);
  color: var(--white-color);
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-light {
  background-color: var(--white-color);
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 18px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 70px;
  height: 70px;
  position: relative;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1s;
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.btn-dark-mode {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-dark-mode i {
  position: absolute;
  transition: all 0.3s ease;
}

.btn-dark-mode .fa-moon {
  opacity: 1;
}

.btn-dark-mode .fa-sun {
  opacity: 0;
  transform: rotate(90deg);
}

.btn-dark-mode.active .fa-moon {
  opacity: 0;
  transform: rotate(-90deg);
}

.btn-dark-mode.active .fa-sun {
  opacity: 1;
  transform: rotate(0);
}

.btn-dark-mode:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 74, 182, 0.3);
}


/* Navbar Mobile Fixes */
@media (max-width: 991.98px) {
  .navbar {
    padding: 10px 0;
    background-color: var(--light-color) !important;
  }

  .navbar-collapse {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    z-index: 1000;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: var(--dark-color) !important;
    padding: 10px 0;
    margin: 5px 0;
  }
  
  .dropdown-menu {
    background-color: var(--light-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
  }

  .dropdown-item {
    color: var(--dark-color) !important;
    padding: 8px 15px;
  }

  .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
  }
}

/* Dark mode adjustments for mobile */
.dark-mode .navbar-collapse {
  background-color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .dropdown-menu {
  background-color: var(--light-color);
  border-color: rgba(255, 255, 255, 0.1);
}


/* Navbar Toggle Button Fixes */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  transition: all 0.3s ease;
}

.navbar-toggler-icon {
  /* Base Styles */
  width: 1.75em;
  height: 1.75em;
  background-size: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
  
  /* Custom SVG with brand colors */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235e35b1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  
  /* Animation Prep */
  transform-origin: center center;
}

/* Dark Mode Adjustment */
.dark-mode .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffab00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Active/Hover States */
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:focus .navbar-toggler-icon {
  transform: scale(1.1);
  opacity: 0.9;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffab00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

/* Micro-interactions */
.navbar-toggler:active .navbar-toggler-icon {
  transform: scale(0.95);
}

/* Mobile-specific adjustments */
@media (max-width: 991.98px) {
  .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    stroke-width: 2;
  }
  
  /* Animate when menu opens */
  .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
    animation: togglerSpin 0.6s ease;
  }
}

@keyframes togglerSpin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(180deg); }
}

/* Focus accessibility */
.navbar-toggler:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}

/* Navbar Styles */
.navbar {
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: var(--light-color) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  padding: 8px 15px;
  margin: 0 5px;
  position: relative;
}

.navbar-dark.scrolled .navbar-nav .nav-link {
  color: var(--dark-color);
}

.navbar-dark .navbar-nav .nav-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--white-color);
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-dark.scrolled .navbar-nav .nav-link:before {
  background: var(--primary-color);
}

.navbar-dark .navbar-nav .nav-link:hover:before,
.navbar-dark .navbar-nav .nav-link.active:before {
  width: 100%;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px 0;
  margin-top: 10px;
  background-color: var(--light-color);
}

.dropdown-item {
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--dark-color);
}

.dropdown-item:hover {
  background-color: var(--primary-color);
  color: var(--white-color) !important;
}

/* Ensure container takes full width on small devices */
@media (max-width: 576px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden;
  }
}


/* Hero Banner with Slider */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  color: #ffffff; /* Always white text for readability */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-highlight {
  color: #f8b400; /* Gold accent color */
}

.mission-statement {
  font-size: 1.5rem;
  margin-bottom: 30px;
  min-height: 80px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 40px;
}

.hero-image-container {
  position: relative;
  z-index: 2;
}

.hero-image {
  max-height: 500px;
  animation: float 2s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.floating-cross {
  position: absolute;
  width: 30px;
  height: 30px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f8b400"><path d="M12 2L9 5l3 3 3-3-3-3zm0 18l3-3-3-3-3 3 3 3zm-8-8l3 3 3-3-3-3-3 3zm18 0l-3 3-3-3 3-3 3 3z"/></svg>')
    no-repeat center center;
  background-size: contain;
  opacity: 0.8;
  animation: float-cross 8s ease-in-out infinite;
}

.cross-1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.cross-2 {
  top: 70%;
  left: 25%;
  animation-delay: 1s;
}

.cross-3 {
  top: 40%;
  left: 5%;
  animation-delay: 2s;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-link {
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  color: #ffffff;
  animation: bounce 2s infinite;
}

.praying-hands {
  position: absolute;
  bottom: -50px;
  right: -50px;
  opacity: 0.2;
  z-index: 1;
}

.praying-hands img {
  width: 300px;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float-cross {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Dark Mode Adjustments */
.dark-mode .hero-banner {
  /* Maintain the same appearance in dark mode */
  color: #ffffff !important;
}

.dark-mode .hero-overlay {
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay in dark mode */
}

.dark-mode .text-highlight {
  color: #f8b400; /* Keep gold accent */
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .mission-statement {
    font-size: 1.3rem;
  }
}

@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    max-height: 400px;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
    text-align: center;
  }

  .mission-statement {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .praying-hands {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
}

/* About Section */
.about-section{
  background-color: var(--light-color);
}
.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(248, 180, 0, 0.3);
  z-index: 2;
}

.badge-content {
  text-align: center;
}

.badge-content .years {
  font-size: 30px;
  line-height: 1;
  display: block;
}

.badge-content .text {
  font-size: 14px;
  display: block;
}

.about-features {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  margin-bottom: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.feature-text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.about-buttons .btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

/* Messages Section */
.message-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  background-color: var(--white-color);
}

.message-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.message-card .card-header {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 15px 25px;
}

.message-card .card-header h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.message-card .card-body {
  padding: 25px;
}

.embed-responsive {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 10px;
}

.embed-responsive-16by9 {
  padding-top: 56.25%;
}

.embed-responsive-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sermon-title {
  font-size: 20px;
  margin-bottom: 5px;
}

.sermon-meta {
  font-size: 14px;
  color: var(--gray-color);
  margin-bottom: 15px;
}

.sermon-excerpt {
  margin-bottom: 20px;
}

.sermon-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-player {
  background-color: var(--light-gray);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.audio-info {
  margin-bottom: 15px;
}

.audio-progress {
  height: 5px;
  background-color: #ddd;
  border-radius: 5px;
  margin: 10px 0;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.audio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-meta {
  font-size: 14px;
  color: var(--gray-color);
}

.audio-list {
  background-color: var(--white-color-section);
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .audio-list {
  border-color: rgba(255, 255, 255, 0.1);
}

.audio-list h5 {
  color: var(--dark-color);
  margin-bottom: 15px;
}

.list-group {
  border-radius: 10px !important;
  overflow: hidden;
}

.list-group-item {
  background-color: var(--white-color);
  color: var(--dark-color);
  border-color: var(--light-gray);
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background-color: var(--light-gray);
}

.list-group-item h6 {
  color: var(--dark-color);
  margin-bottom: 5px;
}

.list-group-item small {
  color: var(--gray-color);
}

.dark-mode .list-group-item {
  background-color: var(--light-color);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .list-group-item h6 {
  color: var(--dark-color);
}

.dark-mode .list-group-item small {
  color: var(--gray-color);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--light-gray);
}

.list-header h5 {
  margin-bottom: 0;
  font-size: 16px;
}

.view-all {
  font-size: 14px;
  color: var(--primary-color);
}

.list-group-item {
  padding: 15px 20px;
  border: none;
  border-bottom: 1px solid var(--light-gray);
}

.list-group-item:last-child {
  border-bottom: none;
}

/* Books Section */
.books-section{
  background-color: var(--light-color);
}

.book-card {
  background-color: var(--white-color-section);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.book-cover {
  position: relative;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  transition: all 0.5s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.book-details {
  padding: 20px;
}

.book-title {
  font-size: 18px;
  margin-bottom: 5px;
  height: 50px;
  overflow: hidden;
}

.book-author {
  font-size: 14px;
  color: var(--gray-color);
  margin-bottom: 10px;
}

.book-rating {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.book-rating .rating-count {
  color: var(--gray-color);
  font-size: 13px;
  margin-left: 5px;
}

.book-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.original-price {
  font-size: 14px;
  color: var(--gray-color);
  text-decoration: line-through;
  margin-left: 5px;
}

.book-actions {
  display: flex;
  justify-content: space-between;
}

/* Projects Section */
.projects-section{
  background-color: var(--light-color);
}

.project-card {
  background-color: var(--white-color-section);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(108, 74, 182, 0.7);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: var(--white-color);
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.project-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  color: var(--white-color);
  margin-bottom: 10px;
}

.project-details {
  padding: 25px;
}

.project-details h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.project-details p {
  margin-bottom: 20px;
}

.project-stats {
  display: flex;
  justify-content: space-between;
}

.stat-item {
  display: flex;
  align-items: center;
}

.stat-item i {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  font-size: 16px;
}

.stat-item span {
  font-size: 14px;
}

/* Partner Section */
.partner-section{
  background-color: var(--light-color);
}


.partner-image {
  position: relative;
}

.floating-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(248, 180, 0, 0.3);
  z-index: 2;
}

.partner-benefits {
  margin: 30px 0;
}

/* .benefit-item {
  display: flex;
  margin-bottom: 20px;
} */

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.benefit-text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.partner-actions .btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

/* Blog Section */
.blog-section{
  background-color: var(--light-color);
}
.blog-card {
  background-color: var(--white-color-section);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
  z-index: 2;
}

.date-day {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}

.date-month {
  font-size: 12px;
  text-transform: uppercase;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  margin-bottom: 15px;
  font-size: 14px;
}

.meta-author,
.meta-category {
  display: flex;
  align-items: center;
  margin-right: 15px;
  color: var(--gray-color);
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.blog-title {
  font-size: 18px;
  margin-bottom: 15px;
  height: 50px;
  overflow: hidden;
}

.blog-excerpt {
  margin-bottom: 20px;
  color: var(--gray-color);
  height: 60px;
  overflow: hidden;
}

/* CTA Section Styles */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-light)
  );
  color: var(--white-color);
  text-align: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1452421822248-d4c2b47f0c81?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  opacity: 0.1;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-buttons .btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* CTA Buttons - Light Mode (Default) */
.cta-buttons .btn-light {
  background-color: var(--white-color);
  color: var(--primary-color);
  border: 2px solid var(--white-color);
  transition: all 0.3s ease;
}

.cta-buttons .btn-light:hover {
  background-color: transparent;
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-outline-light {
  border: 2px solid var(--white-color);
  color: var(--white-color);
  background-color: transparent;
  transition: all 0.3s ease;
}

.cta-buttons .btn-outline-light:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* CTA Buttons - Dark Mode */
.dark-mode .cta-buttons .btn-light {
  background-color: var(--white-color-section);
  color: var(--primary-light);
  border-color: var(--light-gray);
}

.dark-mode .cta-buttons .btn-light:hover {
  background-color: transparent;
  color: var(--light-gray);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.dark-mode .cta-buttons .btn-outline-light {
  border-color: var(--light-gray);
  color: var(--light-gray);
}

.dark-mode .cta-buttons .btn-outline-light:hover {
  background-color: var(--light-gray);
  color: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    margin: 0 0 15px 0 !important;
  }

  .cta-buttons .btn:last-child {
    margin-bottom: 0 !important;
  }
}

/* Testimonies Section */
.testimonies-section {
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.testimonies-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    center/cover;
  opacity: 0.05;
  z-index: 0;
}

.testimonies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.testimony-card {
  background-color: var(--white-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimony-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimony-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(108, 74, 182, 0.3);
  z-index: 2;
}

.testimony-quote {
  position: relative;
  padding: 0 20px 20px 0;
  margin-bottom: 25px;
}

.testimony-quote i {
  position: absolute;
  color: var(--primary-light);
  opacity: 0.3;
  font-size: 60px;
  top: -20px;
  left: -10px;
  z-index: 0;
}

.testimony-quote p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-color);
  font-style: italic;
}

.testimony-author {
  display: flex;
  align-items: center;
}

.author-image {
  position: relative;
  width: 70px;
  height: 70px;
  margin-right: 20px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.image-border {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 50%;
  z-index: 0;
  animation: rotate 6s linear infinite;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.author-info p {
  font-size: 14px;
  color: var(--gray-color);
  margin-bottom: 8px;
}

.testimony-rating {
  color: var(--secondary-color);
  font-size: 14px;
}

/* Animation for image border */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .testimonies-grid {
    grid-template-columns: 1fr;
  }

  .testimony-card {
    padding: 25px;
  }

  .testimony-badge {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* Dark Mode Adjustments */
.dark-mode .testimony-card {
  background-color: var(--light-color);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .testimony-quote p {
  color: var(--dark-color);
}

.dark-mode .author-info h4 {
  color: var(--dark-color);
}

/* Quick Links Section */
.quicklinks-section{
background-color: var(--light-color);
}

.quicklink-card {
  background-color: var(--white-color-section);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.quicklink-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.quicklink-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.quicklink-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.quicklink-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.quicklink-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.quicklink-btn i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.quicklink-btn:hover {
  color: var(--primary-dark);
}

.quicklink-btn:hover i {
  transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section{
  background-color: var(--light-color);
}
/* Form Styles */
.subscription-form {
  padding: 30px;
  border-radius: 15px;
  background-color: var(--white-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dark-mode .subscription-form {
  background-color: var(--light-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--light-gray);
  background-color: var(--white-color);
  color: var(--dark-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.dark-mode .form-control,
.dark-mode .form-select {
  background-color: var(--light-gray);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--dark-color);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 74, 182, 0.2);
}

.dark-mode .form-control:focus,
.dark-mode .form-select:focus {
  box-shadow: 0 0 0 3px rgba(108, 74, 182, 0.4);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.dark-mode .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 1px solid var(--light-gray);
  background-color: var(--white-color);
}

.dark-mode .form-check-input {
  background-color: var(--light-gray);
  border-color: rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  font-size: 14px;
  color: var(--dark-color);
}

.dark-mode .form-check-label {
  color: var(--dark-color);
}

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Placeholder text color */
::placeholder {
  color: var(--gray-color);
  opacity: 1;
}

.dark-mode ::placeholder {
  color: var(--gray-color);
}

/* Contact Teaser */
.contact-teaser {
  background-color: var(--light-color);
  text-align: center;
}

.contact-teaser h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-teaser .lead {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Footer Styles */
.footer {
  background-color: #1a1a2e; /* Fixed dark color */
  color: #ffffff; /* Fixed white text */
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    center/cover;
  opacity: 0.05;
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: #ffffff !important;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-menu a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-menu a:hover {
  color: var(--white-color);
  transform: translateX(5px);
}

.footer-menu a:hover::before {
  width: 100%;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-icon {
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 3px;
  font-size: 16px;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.legal-separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-prayer {
  position: absolute;
  bottom: -20px;
  right: -20px;
  opacity: 0.1;
  z-index: 0;
}

.footer-prayer img {
  width: 150px;
  height: auto;
}

/* Dark Mode Adjustments */
.dark-mode .footer {
  background-color: #1a1a2e !important; /* Force dark background */
  color: #ffffff !important; /* Force white text */
}

.dark-mode .footer-description,
.dark-mode .footer-menu a,
.dark-mode .contact-info span,
.dark-mode .copyright,
.dark-mode .footer-legal a {
  color: rgba(
    255,
    255,
    255,
    0.7
  ) !important; /* Force light text with opacity */
}

.dark-mode .footer-menu a:hover,
.dark-mode .footer-legal a:hover {
  color: #ffffff !important; /* Force white text on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-heading {
    margin-bottom: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    margin-top: 10px;
  }

  .footer-prayer {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .legal-separator {
    display: none;
  }
}

/* ==================== */
/* DARK MODE TOGGLE FIX */
/* ==================== */
.dark-mode-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex !important; /* Force display */
  opacity: 1 !important; /* Force visibility */
  transition: all 0.3s ease;
}

/* Mobile specific positioning */
@media (max-width: 991.98px) {
  .dark-mode-toggle {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  /* Stack buttons vertically on small screens */
  .dark-mode-toggle + .back-to-top {
    bottom: 74px; /* 44px button + 30px gap */
  }
}

/* ==================== */
/* BACK TO TOP BUTTON FIX */
/* ==================== */
.back-to-top {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Mobile specific positioning */
@media (max-width: 991.98px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 18px;
    opacity: 0.9; /* Slightly transparent for mobile */
  }

  /* Show immediately on mobile */
  .back-to-top {
    display: flex !important;
    opacity: 0.9 !important;
    transform: none !important;
  }
}

/* ==================== */
/* BUTTON STACKING FOR MOBILE */
/* ==================== */
@media (max-width: 767.98px) {
  .dark-mode-toggle {
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    bottom: 74px; /* Position above dark mode toggle */
    right: 20px;
  }
}

/* Very small devices (phones, 320px and down) */
@media (max-width: 320px) {
  .dark-mode-toggle {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .back-to-top {
    bottom: 65px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

/* ==================== */
/* BUTTON VISIBILITY STATES */
/* ==================== */
/* Remove any existing opacity/display rules */
.back-to-top:not(.active) {
  display: flex !important;
  opacity: 0.9 !important;
}

/* Hover effects for desktop */
@media (hover: hover) {
  .back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 74, 182, 0.4);
    opacity: 1 !important;
  }

  .btn-dark-mode:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 74, 182, 0.3);
  }
}

/* Base Styles */
:root {
  --primary-color: #6c4ab6;
  --primary-dark: #5a3a9e;
  --primary-light: #8d6bd6;
  --secondary-color: #f8b400;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --white-color: #ffffff;
  --black-color: #000000;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
}

.dark-mode {
  --dark-color: #f8f9fa;
  --light-color: #1a1a2e;
  --gray-color: #adb5bd;
  --light-gray: #2d2d44;
  --white-color: #ffffff;
  --white-color-section: #1a1a2e;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
  line-height: 1.6;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

p {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* Hero Section */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-light)
  );
  overflow: hidden;
  padding-top: 80px;
}

.hero-content h1 {
  color: var(--white-color);
}

.mission-statement {
  color: var(--white-color);
}

/* Media Sections */
.media-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.media-card {
  background-color: var(--white-color-section);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.media-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.media-header {
  padding: 20px;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.media-body {
  padding: 20px;
}

/* Modern Audio Player */
.audio-player-container {
  background-color: var(--light-gray);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.audio-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.audio-cover {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: var(--primary-light);
  margin-right: 15px;
  overflow: hidden;
}

.audio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-details {
  flex: 1;
}

.audio-title {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.audio-meta {
  font-size: 14px;
  color: var(--gray-color);
}

.audio-controls {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.play-btn {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-right: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.progress-container {
  flex: 1;
  height: 5px;
  background-color: #ddd;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 15px;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: width 0.1s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-color);
  margin-bottom: 15px;
}

.audio-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-btn {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: var(--primary-dark);
}

.volume-control {
  display: flex;
  align-items: center;
}

.volume-control i {
  margin-right: 10px;
  color: var(--gray-color);
}

.volume-slider {
  width: 80px;
  height: 5px;
  background-color: #ddd;
  border-radius: 5px;
  cursor: pointer;
}

/* Video Player */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Dark Mode Toggle */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.btn-theme {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-theme:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-theme .fa-sun {
  display: none;
}

.dark-mode .btn-theme .fa-moon {
  display: none;
}

.dark-mode .btn-theme .fa-sun {
  display: block;
}



@media (max-width: 767.98px) {
  .audio-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .audio-cover {
    margin-bottom: 15px;
  }
}

.typing-text {
  font-size: 1.5rem;
  min-height: 4rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.highlight-word {
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

/* Optional: Add a pulsing effect to the highlight */
@keyframes pulse-glow {
  0% {
    text-shadow: 0 0 5px currentColor;
  }
  50% {
    text-shadow: 0 0 15px currentColor;
  }
  100% {
    text-shadow: 0 0 5px currentColor;
  }
}

.highlight-word.pulse {
  animation: pulse-glow 2s infinite;
}



/* Mission & Vision Specific Styles */

/* Hero Section with Background Image */
.mv-hero {
  position: relative;
  height: 50vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url("../images/mission/1m.webp") no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.mv-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.mv-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.mv-hero-content {
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mv-hero-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  max-width: 800px;
  color: white;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mv-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.mv-scroll-link {
  color: white;
  font-size: 2rem;
  animation: mv-bounce 2s infinite;
}

@keyframes mv-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .mv-hero {
    min-height: 500px;
  }
}

.mv-mission-statement {
  position: relative;
  padding: 100px 0;
  background-color: var(--section-bg);
  color: var(--text-color);
}

.mv-mission-statement .mv-mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mv-mission-statement .mv-mission-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.mv-mission-statement h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.mv-mission-statement p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.mv-vision-section {
  padding: 100px 0;
  background-color: var(--section-alt-bg);
  color: var(--text-color);
}

.mv-vision-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mv-vision-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.mv-vision-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.mv-vision-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 800px;
}

.mv-core-values {
  padding: 100px 0;
  background-color: var(--section-bg);
  color: var(--text-color);
}

.mv-value-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--card-border);
}

.mv-value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mv-value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mv-value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.mv-benefits-section {
  padding: 100px 0;
  background-color: var(--section-alt-bg);
  color: var(--text-color);
}

.mv-benefit-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
}

.mv-benefit-image {
  height: 200px;
  overflow: hidden;
}

.mv-benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mv-benefit-card:hover .mv-benefit-image img {
  transform: scale(1.1);
}

.mv-benefit-content {
  padding: 30px;
}

.mv-benefit-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.mv-testimony-section {
  padding: 100px 0;
  background-color: var(--section-bg);
  color: var(--text-color);
}

.mv-testimony-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
  text-align: center;
}

.mv-testimony-quote {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}

.mv-testimony-quote:before,
.mv-testimony-quote:after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.mv-testimony-quote:before {
  top: -20px;
  left: -30px;
}

.mv-testimony-quote:after {
  bottom: -40px;
  right: -30px;
}

.mv-testimony-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-testimony-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.mv-testimony-author h4 {
  margin-bottom: 0;
  color: var(--heading-color);
}

.mv-testimony-author p {
  margin-bottom: 0;
  opacity: 0.8;
}

.mv-cta {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/mission/1a.webp");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.mv-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.mv-cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.mv-cta-buttons .btn {
  margin: 0 10px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .mv-hero .mv-hero-content h1 {
    font-size: 2.5rem;
  }

  .mv-hero .mv-hero-content p {
    font-size: 1.2rem;
  }

  .mv-mission-statement h2,
  .mv-vision-section h2 {
    font-size: 2rem;
  }

  .mv-testimony-quote {
    font-size: 1.2rem;
  }

  .mv-cta h2 {
    font-size: 2rem;
  }

  .mv-cta-buttons .btn {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
}

/* Combined Benefits Section Styles */
.mv-benefits-section {
  padding: 100px 0;
  background-color: var(--section-alt-bg);
  color: var(--text-color);
}

.mv-benefits-hybrid {
  max-width: 1200px;
  margin: 0 auto;
}

.mv-benefit-row {
  display: flex;
  margin-bottom: 40px;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--card-border);
}

.mv-benefit-row.reverse {
  flex-direction: row-reverse;
}

.mv-benefit-visual {
  flex: 1;
  position: relative;
  min-height: 300px;
}

.mv-benefit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-benefit-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.mv-benefit-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.mv-benefit-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mv-benefit-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.mv-benefit-text p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.mv-benefit-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-benefit-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.mv-benefit-features i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .mv-benefit-row,
  .mv-benefit-row.reverse {
    flex-direction: column;
  }

  .mv-benefit-visual {
    min-height: 250px;
  }

  .mv-benefit-content {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .mv-benefit-content {
    padding: 25px;
  }

  .mv-benefit-text h3 {
    font-size: 1.5rem;
  }
}


/* Our patners */
     /* Partners Hero Section */
     .wl-partners-hero-partners {
      height: 70vh;
      min-height: 600px;
      background: linear-gradient(135deg, rgba(94, 53, 177, 0.85), rgba(69, 39, 160, 0.85)),
          url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 80px;
      overflow: hidden;
  }

  .wl-partners-hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
      color: var(--white-color);
      padding: 0 20px;
      max-width: 800px;
  }

  .wl-partners-hero-title {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 700;
      margin-bottom: 20px;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      line-height: 1.2;
      animation: fadeInUp 1s ease-out;
  }

  .wl-partners-hero-subtitle {
      font-size: clamp(1rem, 2vw, 1.25rem);
      margin-bottom: 30px;
      opacity: 0.9;
      animation: fadeInUp 1s ease-out 0.2s forwards;
      opacity: 0;
  }

  .wl-partners-hero-cta {
      animation: fadeInUp 1s ease-out 0.4s forwards;
      opacity: 0;
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* Section Header */
  .wl-partners-section-header {
      text-align: center;
      margin-bottom: 60px;
  }

  .wl-partners-section-subtitle {
      color: var(--secondary-color);
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 15px;
      display: inline-block;
      position: relative;
      letter-spacing: 1px;
      text-transform: uppercase;
  }

  .wl-partners-section-subtitle::after {
      content: "";
      position: absolute;
      width: 50px;
      height: 3px;
      background-color: var(--secondary-color);
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
  }

  .wl-partners-section-title {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.3;
  }

  .wl-partners-section-description {
      color: var(--gray-color);
      max-width: 700px;
      margin: 0 auto;
      font-size: 1.1rem;
  }

  .dark-mode .wl-partners-section-description {
      color: rgba(255, 255, 255, 0.7);
  }

  /* Partners Grid */
  .wl-partners-partner-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 30px;
      margin-bottom: 60px;
  }

  .wl-partners-partner-card {
      background-color: var(--white-color);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow-md);
      transition: var(--transition);
      border: none;
      position: relative;
  }

  .dark-mode .wl-partners-partner-card {
      background-color: var(--dark-color);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .wl-partners-partner-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-xl);
  }

  .wl-partners-partner-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      z-index: 1;
  }

  .wl-partners-partner-logo-container {
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 30px;
      background-color: rgba(255, 171, 0, 0.03);
      border-bottom: 1px solid rgba(94, 53, 177, 0.1);
  }

  .dark-mode .wl-partners-partner-logo-container {
      background-color: rgba(255, 171, 0, 0.05);
      border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .wl-partners-partner-logo {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      filter: grayscale(100%) contrast(0.8);
      opacity: 0.9;
      transition: var(--transition);
  }

  .wl-partners-partner-card:hover .wl-partners-partner-logo {
      filter: grayscale(0%) contrast(1);
      opacity: 1;
  }

  .wl-partners-partner-details {
      padding: 25px;
  }

  .wl-partners-partner-name {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--black-color);
  }

  .dark-mode .wl-partners-partner-name {
      color: var(--white-color);
  }

  .wl-partners-partner-category {
      display: inline-block;
      background-color: var(--primary-light);
      color: var(--white-color);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  .dark-mode .wl-partners-partner-category {
      background-color: var(--primary-dark);
  }

  .wl-partners-partner-description {
      color: var(--gray-color);
      margin-bottom: 20px;
      font-size: 0.9375rem;
  }

  .dark-mode .wl-partners-partner-description {
      color: rgba(255, 255, 255, 0.7);
  }

  .wl-partners-partner-link {
      color: var(--primary-color);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
  }

  .dark-mode .wl-partners-partner-link {
      color: var(--primary-light);
  }

  .wl-partners-partner-link:hover {
      color: var(--primary-dark);
      transform: translateX(5px);
  }

  .wl-partners-partner-link i {
      margin-left: 8px;
      transition: var(--transition);
  }

  .wl-partners-partner-link:hover i {
      transform: translateX(5px);
  }

  /* Partnership Benefits */
  .wl-partners-benefits-section {
      background: linear-gradient(135deg, rgba(94, 53, 177, 0.03), rgba(255, 171, 0, 0.03));
      padding: 80px 0;
      margin-bottom: 60px;
      border-top: 1px solid rgba(94, 53, 177, 0.1);
      border-bottom: 1px solid rgba(94, 53, 177, 0.1);
  }

  .dark-mode .wl-partners-benefits-section {
      background: linear-gradient(135deg, rgba(94, 53, 177, 0.05), rgba(255, 171, 0, 0.05));
      border-color: rgba(255, 255, 255, 0.1);
  }

  .wl-partners-benefit-card {
      background-color: var(--white-color);
      border-radius: 12px;
      padding: 30px;
      height: 100%;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      border: 1px solid rgba(94, 53, 177, 0.1);
  }

  .dark-mode .wl-partners-benefit-card {
      background-color: var(--dark-color);
      border-color: rgba(255, 255, 255, 0.1);
  }

  .wl-partners-benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
  }

  .wl-partners-benefit-icon {
      width: 60px;
      height: 60px;
      background-color: rgba(94, 53, 177, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary-color);
      font-size: 24px;
      transition: var(--transition);
  }

  .wl-partners-benefit-card:hover .wl-partners-benefit-icon {
      background-color: var(--primary-color);
      color: var(--white-color);
  }

  .wl-partners-benefit-title {
      font-size: 1.25rem;
      margin-bottom: 15px;
      color: var(--black-color);
  }

  .dark-mode .wl-partners-benefit-title {
      color: var(--white-color);
  }

  .wl-partners-benefit-description {
      color: var(--gray-color);
      font-size: 0.9375rem;
  }

  .dark-mode .wl-partners-benefit-description {
      color: rgba(255, 255, 255, 0.7);
  }

  /* Testimonials Section */
  .wl-partners-testimonials-section {
      padding: 80px 0;
      background: url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
      position: relative;
  }

  .wl-partners-testimonials-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(94, 53, 177, 0.85), rgba(69, 39, 160, 0.85));
  }

  .wl-partners-testimonial-card {
      background-color: var(--white-color);
      border-radius: 12px;
      padding: 30px;
      box-shadow: var(--shadow-lg);
      height: 100%;
      position: relative;
      transition: var(--transition);
  }

  .dark-mode .wl-partners-testimonial-card {
      background-color: var(--dark-color);
  }

  .wl-partners-testimonial-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-xl);
  }

  .wl-partners-testimonial-quote {
      font-size: 1.1rem;
      font-style: italic;
      color: var(--gray-color);
      margin-bottom: 25px;
      position: relative;
  }

  .dark-mode .wl-partners-testimonial-quote {
      color: rgba(255, 255, 255, 0.7);
  }

  .wl-partners-testimonial-quote::before {
      content: '\201C';
      font-size: 4rem;
      color: var(--primary-color);
      opacity: 0.2;
      position: absolute;
      top: -20px;
      left: -10px;
      line-height: 1;
  }

  .wl-partners-testimonial-author {
      display: flex;
      align-items: center;
      margin-top: 30px;
  }

  .wl-partners-testimonial-author-img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 15px;
      border: 3px solid var(--primary-color);
  }

  .wl-partners-testimonial-author-info h4 {
      font-size: 1.1rem;
      margin-bottom: 5px;
  }

  .wl-partners-testimonial-author-info p {
      color: var(--gray-color);
      font-size: 0.875rem;
      margin-bottom: 0;
  }

  .dark-mode .wl-partners-testimonial-author-info p {
      color: rgba(255, 255, 255, 0.6);
  }

  /* Partnership Form */
  .wl-partners-partnership-form {
      background-color: var(--white-color);
      border-radius: 12px;
      padding: 60px;
      box-shadow: var(--shadow-md);
      margin-bottom: 60px;
      border: 1px solid rgba(94, 53, 177, 0.1);
  }

  .dark-mode .wl-partners-partnership-form {
      background-color: var(--dark-color);
      border-color: rgba(255, 255, 255, 0.1);
  }

  .form-label {
      font-weight: 600;
      color: var(--black-color);
      margin-bottom: 8px;
  }

  .dark-mode .form-label {
      color: var(--white-color);
  }

  .form-control {
      padding: 12px 15px;
      border-radius: 8px;
      border: 1px solid rgba(94, 53, 177, 0.2);
      transition: var(--transition);
  }

  .dark-mode .form-control {
      background-color: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.2);
      color: var(--white-color);
  }

  .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.25rem rgba(94, 53, 177, 0.25);
  }

  .dark-mode .form-control:focus {
      background-color: rgba(255, 255, 255, 0.1);
  }

  .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      padding: 12px 30px;
      font-weight: 600;
      transition: var(--transition);
  }

  .btn-primary:hover {
      background-color: var(--primary-dark);
      border-color: var(--primary-dark);
      transform: translateY(-2px);
  }


  /* Online Giving Page - Unique Classes */
.wl-giving-hero {
  height: 60vh;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.85), rgba(69, 39, 160, 0.85)),
      url('https://images.unsplash.com/photo-1600267165477-6d4cc741b379?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
}

.dark-mode .wl-giving-hero {
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.9), rgba(69, 39, 160, 0.9)),
      url('https://images.unsplash.com/photo-1600267165477-6d4cc741b379?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.wl-giving-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.wl-giving-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  animation: wl-giving-fadeInUp 1s ease-out;
}

.wl-giving-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  opacity: 0.9;
  animation: wl-giving-fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes wl-giving-fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Section Header */
.wl-giving-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.wl-giving-section-subtitle {
  color: var(--secondary-color);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wl-giving-section-subtitle::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.wl-giving-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.wl-giving-section-description {
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.dark-mode .wl-giving-section-description {
  color: rgba(255, 255, 255, 0.7);
}

/* Giving Options */
.wl-giving-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.wl-giving-card {
  background-color: var(--white-color-section);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  border-top: 5px solid var(--primary-color);
  color: var(--dark-color);
}

.dark-mode .wl-giving-card {
  background-color: var(--white-color-section);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wl-giving-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.wl-giving-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.wl-giving-card h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
}

.dark-mode .wl-giving-card h3 {
  color: var(--dark-color);
}

.wl-giving-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.dark-mode .wl-giving-card p {
  color: var(--gray-color);
}

.wl-giving-amounts {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.wl-giving-amount-btn {
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.dark-mode .wl-giving-amount-btn {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.wl-giving-amount-btn:hover, 
.wl-giving-amount-btn.wl-giving-active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.dark-mode .wl-giving-amount-btn:hover,
.dark-mode .wl-giving-amount-btn.wl-giving-active {
  background-color: var(--primary-light);
  color: var(--white-color);
}

.wl-giving-custom-amount {
  width: 100%;
  margin-top: 15px;
}

.wl-giving-custom-amount .form-control {
  background-color: var(--white-color);
  color: var(--dark-color);
  border: 1px solid var(--light-gray);
}

.dark-mode .wl-giving-custom-amount .form-control {
  background-color: var(--white-color-section);
  color: var(--dark-color);
  border-color: var(--gray-color);
}

/* Giving Benefits */
.wl-giving-benefits {
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.03), rgba(255, 171, 0, 0.03));
  padding: 60px 0;
  margin: 60px 0;
  border-top: 1px solid rgba(94, 53, 177, 0.1);
  border-bottom: 1px solid rgba(94, 53, 177, 0.1);
}

.dark-mode .wl-giving-benefits {
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.1), rgba(255, 171, 0, 0.1));
  border-color: rgba(255, 255, 255, 0.1);
}

.wl-giving-benefit-card {
  background-color: var(--white-color-section);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(94, 53, 177, 0.1);
}

.dark-mode .wl-giving-benefit-card {
  background-color: var(--white-color-section);
  border-color: rgba(255, 255, 255, 0.1);
}

.wl-giving-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.wl-giving-benefit-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(94, 53, 177, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 24px;
  transition: var(--transition);
}

.wl-giving-benefit-card:hover .wl-giving-benefit-icon {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.wl-giving-benefit-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.dark-mode .wl-giving-benefit-title {
  color: var(--dark-color);
}

.wl-giving-benefit-description {
  color: var(--gray-color);
  font-size: 0.9375rem;
}

.dark-mode .wl-giving-benefit-description {
  color: var(--gray-color);
}

/* Giving Form */
.wl-giving-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white-color-section);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.dark-mode .wl-giving-form-container {
  background-color: var(--white-color-section);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wl-giving-form-label {
  color: var(--dark-color);
  font-weight: 600;
}

.dark-mode .wl-giving-form-label {
  color: var(--dark-color);
}

/* Form elements in dark mode */
.dark-mode .wl-giving-form-container .form-control,
.dark-mode .wl-giving-form-container .form-select {
  background-color: var(--white-color-section);
  color: var(--dark-color);
  border-color: var(--gray-color);
}

.dark-mode .wl-giving-form-container .form-control:focus,
.dark-mode .wl-giving-form-container .form-select:focus {
  background-color: var(--white-color-section);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(126, 87, 194, 0.25);
}

/* Radio and checkbox styles */
.dark-mode .wl-giving-form-container .form-check-input {
  background-color: var(--white-color-section);
  border-color: var(--gray-color);
}

.dark-mode .wl-giving-form-container .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.dark-mode .wl-giving-form-container .form-check-label {
  color: var(--dark-color);
}

/* Submit button */
.wl-giving-form-container .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.dark-mode .wl-giving-form-container .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.wl-giving-form-container .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Testimonials */
.wl-giving-testimonials {
  padding: 80px 50px;
  background: url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
  position: relative;
}

.wl-giving-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(94, 53, 177, 0.85), rgba(69, 39, 160, 0.85));
}

.wl-giving-testimonial-card {
  background-color: var(--white-color-section);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.dark-mode .wl-giving-testimonial-card {
  background-color: var(--white-color-section);
}

.wl-giving-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.wl-giving-testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-color);
  margin-bottom: 25px;
  position: relative;
}

.dark-mode .wl-giving-testimonial-quote {
  color: var(--gray-color);
}

.wl-giving-testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
}

.wl-giving-testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.wl-giving-testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-color);
}

.wl-giving-testimonial-author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.dark-mode .wl-giving-testimonial-author-info h4 {
  color: var(--dark-color);
}

.wl-giving-testimonial-author-info p {
  color: var(--gray-color);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.dark-mode .wl-giving-testimonial-author-info p {
  color: var(--gray-color);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .wl-giving-hero {
      height: 60vh;
  }
}

@media (max-width: 991.98px) {
  .wl-giving-hero {
      height: 55vh;
      min-height: 500px;
  }

  .wl-giving-form-container {
      padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .wl-giving-hero {
      height: 50vh;
      min-height: 450px;
      background-attachment: scroll;
  }

  .wl-giving-section-header {
      margin-bottom: 40px;
  }

  .wl-giving-form-container {
      padding: 30px;
  }
}

@media (max-width: 575.98px) {
  .wl-giving-hero {
      height: 400px;
  }

  .wl-giving-options {
      grid-template-columns: 1fr;
  }

  .wl-giving-form-container {
      padding: 25px;
  }
}


/* ============================================= */
/* MOBILE-FIRST RESPONSIVE MEDIA QUERIES */
/* ============================================= */

/* Base Typography Adjustments */
@media (max-width: 767.98px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }
  
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Navigation - Mobile Specific */
@media (max-width: 991.98px) {
  .navbar {
    padding: 10px 0;
  }
  
  .navbar-collapse {
    padding: 15px;
    margin-top: 10px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0;
    margin: 5px 0;
  }
  
  .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 15px;
  }
  
  .navbar-toggler {
    padding: 0.35rem;
  }
  
  .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
  }
}

/* Hero Banner - Mobile Adjustments */
@media (max-width: 767.98px) {
  .hero-banner {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 60px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .mission-statement {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin: 0 0 10px 0;
  }
  
  .hero-image {
    max-height: 300px;
    margin-top: 30px;
  }
  
  .scroll-down {
    bottom: 20px;
  }
}

/* Sections - General Mobile Adjustments */
@media (max-width: 767.98px) {
  .section {
    padding: 50px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-description {
    font-size: 15px;
  }
}

/* About Section - Mobile */
@media (max-width: 767.98px) {
  .about-image {
    margin-bottom: 30px;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
    top: -15px;
    right: -15px;
  }
  
  .badge-content .years {
    font-size: 24px;
  }
  
  .feature-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .feature-icon {
    margin-bottom: 10px;
  }
  
  .about-buttons .btn {
    width: 100%;
    margin: 0 0 10px 0;
  }
}

/* Cards - General Mobile Adjustments */
@media (max-width: 767.98px) {
  .card, 
  .message-card, 
  .book-card, 
  .project-card, 
  .blog-card, 
  .quicklink-card, 
  .testimony-card {
    margin-bottom: 30px;
  }
  
  .card-body, 
  .message-card .card-body, 
  .book-details, 
  .project-details, 
  .blog-content, 
  .quicklink-card {
    padding: 20px;
  }
  
  .card-header {
    padding: 15px;
  }
}

/* Media Cards (Audio/Video) - Mobile */
@media (max-width: 767.98px) {
  .audio-player {
    padding: 15px;
  }
  
  .audio-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .audio-cover {
    margin-bottom: 15px;
  }
  
  .audio-controls {
    flex-wrap: wrap;
  }
  
  .play-btn {
    margin-right: 10px;
    margin-bottom: 10px;
  }
  
  .progress-container {
    margin: 10px 0;
    width: 100%;
  }
  
  .audio-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .video-container {
    margin-bottom: 15px;
  }
}

/* Books Section - Mobile */
@media (max-width: 767.98px) {
  .book-title {
    height: auto;
    font-size: 16px;
  }
  
  .book-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .book-actions .btn {
    width: 100%;
  }
}

/* Projects Section - Mobile */
@media (max-width: 767.98px) {
  .project-image {
    height: 200px;
  }
  
  .project-stats {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .stat-item {
    width: calc(50% - 15px);
  }
}

/* Partner Section - Mobile */
@media (max-width: 767.98px) {
  .partner-benefits {
    margin: 20px 0;
  }
  
  .benefit-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .benefit-icon {
    margin-bottom: 10px;
  }
  
  .partner-actions .btn {
    width: 100%;
    margin: 0 0 10px 0;
  }
}

/* Blog Section - Mobile */
@media (max-width: 767.98px) {
  .blog-image {
    height: 180px;
  }
  
  .blog-date {
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
  }
  
  .date-day {
    font-size: 16px;
  }
  
  .date-month {
    font-size: 10px;
  }
  
  .blog-title {
    height: auto;
    font-size: 16px;
  }
  
  .blog-excerpt {
    height: auto;
    margin-bottom: 15px;
  }
}

/* CTA Section - Mobile */
@media (max-width: 767.98px) {
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cta-buttons .btn {
    width: 100%;
    margin: 0 0 10px 0;
  }
}

/* Testimonials - Mobile */
@media (max-width: 767.98px) {
  .testimony-card {
    padding: 20px;
  }
  
  .testimony-badge {
    width: 60px;
    height: 60px;
    font-size: 24px;
    top: -15px;
    right: -15px;
  }
  
  .testimony-quote p {
    font-size: 15px;
  }
  
  .author-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }
}

/* Quick Links - Mobile */
@media (max-width: 767.98px) {
  .quicklink-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .quicklink-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* Newsletter/Forms - Mobile */
@media (max-width: 767.98px) {
  .subscription-form {
    padding: 20px;
  }
  
  .form-control, 
  .form-select {
    padding: 10px 12px;
    font-size: 15px;
  }
  
  .form-check-label {
    font-size: 13px;
  }
  
  .btn-block {
    padding: 10px;
    font-size: 15px;
  }
}

/* Footer - Mobile */
@media (max-width: 767.98px) {
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-about {
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .footer-social {
    justify-content: center;
  }
  .contact-social h4{
    justify-content: center;
  }
  
  .footer-heading {
    margin-bottom: 15px;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-menu {
    margin-bottom: 20px;
  }
  
  .footer-menu li {
    margin-bottom: 8px;
  }
  
  .contact-info li {
    justify-content: center;
    text-align: center;
  }
  
  .footer-bottom {
    padding-top: 20px;
    margin-top: 30px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }
  
  .legal-separator {
    display: none;
  }
}

/* Dark Mode Toggle - Mobile */
@media (max-width: 767.98px) {
  .dark-mode-toggle {
    bottom: 20px;
    right: 20px;
  }
  
  .btn-dark-mode {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Mission & Vision Page - Mobile */
@media (max-width: 767.98px) {
  .mv-hero {
    min-height: 400px;
  }
  
  .mv-mission-statement,
  .mv-vision-section,
  .mv-core-values,
  .mv-benefits-section,
  .mv-testimony-section,
  .mv-cta {
    padding: 50px 0;
  }
  
  .mv-value-card,
  .mv-benefit-card {
    margin-bottom: 20px;
  }
  
  .mv-testimonial-card {
    padding: 25px;
  }
  
  .mv-cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
  }
}

/* Partners Page - Mobile */
@media (max-width: 767.98px) {
  .wl-partners-hero-partners {
    min-height: 400px;
  }
  
  .wl-partners-partner-grid {
    grid-template-columns: 1fr;
  }
  
  .wl-partners-partner-logo-container {
    height: 150px;
    padding: 20px;
  }
  
  .wl-partners-partnership-form {
    padding: 30px;
  }
}

/* Giving Page - Mobile */
@media (max-width: 767.98px) {
  .wl-giving-hero {
    min-height: 400px;
  }
  
  .wl-giving-options {
    grid-template-columns: 1fr;
  }
  
  .wl-giving-amounts {
    justify-content: space-between;
  }
  
  .wl-giving-amount-btn {
    width: calc(33.33% - 10px);
    text-align: center;
  }
  
  .wl-giving-form-container {
    padding: 25px;
  }
}

/* Extra Small Devices (Phones, < 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .testimony-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .wl-partners-partnership-form,
  .wl-giving-form-container {
    padding: 20px 15px;
  }
}

/* Very Small Devices (Tiny Phones, < 400px) */
@media (max-width: 399.98px) {
  .hero-banner {
    padding-top: 70px;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .mission-statement {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .wl-giving-amount-btn {
    width: calc(50% - 5px);
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* ============================================= */
/* ORIENTATION-SPECIFIC ADJUSTMENTS */
/* ============================================= */

/* Portrait Mode Adjustments */
@media (max-width: 767.98px) and (orientation: portrait) {
  .hero-banner {
    min-height: 90vh;
  }
  
  .hero-image {
    max-height: 250px;
  }
}

/* Landscape Mode Adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-banner {
    min-height: auto;
    padding: 60px 0;
  }
  
  .hero-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  .hero-image {
    max-height: 200px;
  }
}

/* ============================================= */
/* HIGH DENSITY DISPLAY ADJUSTMENTS */
/* ============================================= */

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-banner {
    background-size: cover;
    background-attachment: scroll; /* Prevent performance issues */
  }
  
  .navbar-brand img {
    height: 40px;
    width: auto;
  }
}

/* ============================================= */
/* ACCESSIBILITY IMPROVEMENTS FOR MOBILE */
/* ============================================= */

/* Increase tap targets for touch devices */
@media (pointer: coarse) {
  .btn,
  .nav-link,
  .dropdown-item,
  .form-check-label,
  .audio-controls button,
  .wl-giving-amount-btn {
    min-height: 44px; /* Apple's recommended minimum tap target size */
    min-width: 44px;
    padding: 12px 16px;
  }
  
  .navbar-toggler {
    padding: 12px;
  }
  
  input[type="checkbox"],
  input[type="radio"] {
    transform: scale(1.5);
    margin-right: 10px;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}