/* Centralized color variables */
:root {
  --primary-color: #ff6600; /* Bhagwa (saffron orange) color */
  --secondary-color: #ff6600; /* Bhagwa (saffron orange) color */
  --text-color: #333;
  --light-bg: #f8f9fa;
  --gold-color: #ffd700;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f1f1f1;
  --gray-200: #e9ecef;
  --gray-300: #e0e0e0;
  --gray-400: #ddd;
  --gray-500: #ccc;
  --gray-600: #b8b8b8;
  --gray-700: #888;
  --gray-800: #555;
  --gray-900: #444;
  --dark-100: #373636;
  --dark-200: #2c2c2c;
  --dark-300: #202020;
  --dark-400: #1a1a1a;
  --dark-500: #151414;
  --dark-600: #1e104f;
  --red-100: #e74c3c;
  --red-200: #a71c19;
  --green-100: #25d366;
  --green-200: #128c7e;
  --yellow-100: #f1c40f;
  --yellow-200: #fef9e7;
  --peach-100: #fdcfa5;
  --orange-100: #f3722c;
  --facebook-blue-100: #3b5998;
  --facebook-blue-200: #4267b2;
  --twitter-blue-100: #55acee;
  --twitter-blue-200: #1da1f2;
  --instagram-pink-100: #d6249f;
  --instagram-pink-200: #e4405f;
  --youtube-red-100: #ff0000;
  --youtube-red-200: #ff6b6b;
  --android-green-100: #a4c639;
  --android-green-200: #8bc34a;
  --shadow-100: rgba(0, 0, 0, 0.05);
  --shadow-200: rgba(0, 0, 0, 0.08);
  --shadow-300: rgba(0, 0, 0, 0.1);
  --shadow-400: rgba(0, 0, 0, 0.15);
  --shadow-500: rgba(0, 0, 0, 0.2);
  --shadow-600: rgba(0, 0, 0, 0.3);
  --shadow-700: rgba(0, 0, 0, 0.4);
  --shadow-800: rgba(0, 0, 0, 0.5);
  --shadow-900: rgba(0, 0, 0, 0.6);
  --shadow-1000: rgba(0, 0, 0, 0.7);
  --shadow-red: rgba(214, 36, 32, 0.3);
  --shadow-red-hover: rgba(214, 36, 32, 0.4);
  --shadow-green: rgba(37, 211, 102, 0.3);
  --shadow-green-hover: rgba(37, 211, 102, 0.4);
  --shadow-primary: rgba(255, 102, 0, 0.3);
  --shadow-primary-hover: rgba(255, 102, 0, 0.4);
  --shadow-white-100: rgba(255, 255, 255, 0.02);
  --shadow-white-200: rgba(255, 255, 255, 0.05);
  --shadow-white-300: rgba(255, 255, 255, 0.08);
  --shadow-white-400: rgba(255, 255, 255, 0.1);
  --shadow-white-500: rgba(255, 255, 255, 0.2);
}

body {
  font-family: "Teko", sans-serif;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--gray-100);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bakbak One", sans-serif;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
}
a:hover {
  color: var(--red-200);
}

.section-heading {
  color: var(--white);
  background: linear-gradient(175deg, var(--primary-color) 50%, var(--secondary-color) 50%);
  padding: 8px 15px;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 5px;
}

.section-heading span {
  background-color: var(--white);
  padding: 0 15px;
  color: var(--primary-color);
}

.card-custom {
  background: var(--white);
  border: 1px solid var(--gray-400);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 10px var(--shadow-100);
}

.navbar-margin-pusher {
  margin-top: 0px;
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-btn-problem {
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 25px;
  padding: 12px 20px;
  font-weight: bold;
  box-shadow: 0 4px 15px var(--shadow-red);
  transition: all 0.3s ease;
}
.floating-btn-problem:hover {
  background-color: var(--red-200);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-red-hover);
}
.floating-btn-whatsapp {
  background-color: var(--green-100);
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px var(--shadow-green);
  transition: all 0.3s ease;
}
.floating-btn-whatsapp:hover {
  background-color: var(--green-200);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-green-hover);
}
.floating-btn-donate {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 25px;
  padding: 12px 20px;
  font-weight: bold;
  box-shadow: 0 4px 15px var(--shadow-primary);
  transition: all 0.3s ease;
}
.floating-btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-primary-hover);
  color: var(--white);
}

/* Enhanced Header */
.header-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  padding: 15px 0;
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 2px 10px var(--shadow-300);
  position: relative;
  z-index: 1030;
}

.dropdown-menu {
  z-index: 1050 !important;
  position: absolute;
}

.header-logo img {
  height: 65px;
  transition: transform 0.3s ease;
}

.header-logo:hover img {
  transform: scale(1.05);
}

.header-title {
  text-align: center;
}

/* Fixed gradient text for Devanagari characters */
.main-title {
  font-size: 2.8rem;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  text-shadow: 2px 2px 4px var(--shadow-300);
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  background-clip: text;
  text-rendering: optimizeLegibility;
  -webkit-font-feature-settings: "liga" on, "calt" on;
  -moz-font-feature-settings: "liga" on, "calt" on;
  font-feature-settings: "liga" on, "calt" on;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
  .main-title {
    background: none;
    color: var(--primary-color);
  }
}

.subtitle {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin: 5px 0 0 0;
  font-weight: 500;
  letter-spacing: 1px;
}

.header-right-section {
  text-align: center;
}

.header-contact {
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.contact-item i {
  color: var(--secondary-color);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

/* Fixed social icons layout for desktop */
.header-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.header-social-icons a {
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 3px 10px var(--shadow-500);
  flex-shrink: 0;
}

.header-social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-600);
}

/* Header Bottom Bar */
.header-bottom-bar {
  background: linear-gradient(135deg, var(--secondary-color), var(--red-100));
  padding: 10px 0;
  color: var(--white);
}

.header-quick-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.quick-link-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.quick-link-item i {
  margin-right: 8px;
  color: var(--gold-color);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .header-social-icons {
    gap: 6px;
  }
  
  .header-social-icons a {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .main-title {
    font-size: 2.2rem;
  }
  
  .header-social-icons {
    gap: 8px;
    flex-wrap: wrap;
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .main-title {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .header-social-icons {
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .header-social-icons a {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .main-title {
    font-size: 1.5rem;
  }
  
  .contact-item {
    font-size: 0.8rem;
  }
  
  .header-social-icons {
    justify-content: center;
  }
}

/* Enhanced Navigation */
.main-navbar-container {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-600));
  border-bottom: 3px solid var(--gold-color);
  box-shadow: 0 2px 10px var(--shadow-300);
}

.main-navbar-container .nav-link {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 15px 18px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 5px;
  margin: 0 2px;
}

.main-navbar-container .nav-link:hover,
.main-navbar-container .dropdown:hover .nav-link {
  background: linear-gradient(135deg, var(--secondary-color), var(--red-100));
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--shadow-500);
}

.dropdown-menu {
  background-color: var(--white);
  border: none;
  border-top: 3px solid var(--secondary-color);
  box-shadow: 0 8px 25px var(--shadow-400);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1050 !important;
  position: absolute;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown {
  position: relative;
}

.admin-topbar {
  position: relative;
  z-index: 1040;
}

.dropdown-item {
  color: var(--text-color);
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--light-bg), var(--gray-200));
  color: var(--secondary-color);
  padding-left: 25px;
}

/* Mobile Nav Toggle Button - Enhanced */
.mobile-nav-toggle {
  position: absolute;
  top: 120px;
  right: 20px;
  z-index: 1060;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: var(--white);
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px var(--shadow-600);
  transition: all 0.3s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 20px var(--shadow-700);
  color: var(--white);
}

/* Enhanced Mobile Navigation */
.offcanvas {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-600));
  width: 300px !important;
}

.offcanvas-header {
  border-bottom: 2px solid var(--shadow-white-500);
  padding: 2rem 1.5rem;
  background: var(--shadow-white-400);
}

.offcanvas-title {
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}

.offcanvas .btn-close {
  background-color: var(--white);
  opacity: 1;
  border-radius: 50%;
  padding: 8px;
}

.offcanvas-body {
  padding: 0;
}

.offcanvas-body .nav-link {
  color: var(--white);
  font-size: 1.1rem;
  padding: 18px 25px;
  border-bottom: 1px solid var(--shadow-white-400);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.offcanvas-body .nav-link:hover {
  background: linear-gradient(135deg, var(--shadow-white-400), var(--shadow-white-500));
  color: var(--gold-color);
  padding-left: 35px;
}

.offcanvas-body .nav-link i {
  margin-right: 15px;
  width: 20px;
  text-align: center;
  color: var(--gold-color);
}

/* Enhanced Accordion for mobile */
.offcanvas-body .accordion-item {
  background: transparent;
  border: none;
}

.offcanvas-body .accordion-button {
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  padding: 18px 25px;
  border: none;
  border-bottom: 1px solid var(--shadow-white-400);
  box-shadow: none;
  transition: all 0.3s ease;
}

.offcanvas-body .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--shadow-white-400), var(--shadow-white-500));
  color: var(--gold-color);
}

.offcanvas-body .accordion-button::after {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.offcanvas-body .accordion-body {
  padding: 0;
  background: var(--shadow-900);
}

.offcanvas-body .accordion-body .nav-link {
  padding-left: 50px;
  font-size: 1rem;
  background: var(--shadow-white-400);
}

.offcanvas-body .accordion-body .nav-link:hover {
  padding-left: 60px;
  background: linear-gradient(135deg, var(--shadow-white-400), var(--shadow-white-500));
}

/* Hero Slider */
.main_slider {
  margin-top: 0;
}

.main_slider .carousel-item {
  height: 450px;
  background-color: var(--black);
}

.main_slider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.main_slider .carousel-caption {
  bottom: 20px;
  text-shadow: 0 1px 3px var(--shadow-800);
}

/* Ensure no gap between navbar and slider */
.main-navbar-container + .main_slider {
  margin-top: 0;
}

/* Responsive adjustments for slider */
@media (max-width: 991.98px) {
  .main_slider .carousel-item {
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .main_slider .carousel-item {
    height: 200px;
  }
}

/* Main Grid & Content */
.marquee-box {
  border: 1px solid var(--gray-100);
  padding: 10px;
  border-radius: 5px;
  background: var(--light-bg);
}
.marquee-box p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.quick-action-buttons .btn-action {
  background: linear-gradient(175deg, var(--primary-color) 50%, var(--secondary-color) 50%);
  color: var(--white);
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  flex-grow: 1;
}

.member-card {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  border-radius: 5px;
}
.member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}
.member-card h5 {
  font-family: "Teko", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0;
}
.member-card p {
  font-size: 1rem;
  opacity: 0.8;
}

.view-all-btn {
  display: block;
  text-align: center;
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px;
  margin-top: 1rem;
  border-radius: 5px;
}

/* Owl Carousel (Gallery) */
.post-slide {
  margin: 0 15px;
}
.post-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.post-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease 0s;
}
.post-slide:hover .post-img img {
  transform: scale(1.1);
}
#news-slider .owl-buttons .owl-prev,
#news-slider .owl-buttons .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 12px !important;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity 0.3s;
}
#news-slider .owl-buttons .owl-prev:hover,
#news-slider .owl-buttons .owl-next:hover {
  opacity: 1;
}
#news-slider .owl-buttons .owl-prev {
  left: -25px;
}
#news-slider .owl-buttons .owl-next {
  right: -25px;
}

/* Enhanced Footer */
.footer-section {
  background: linear-gradient(135deg, var(--dark-500) 0%, var(--dark-200) 100%);
  position: relative;
  color: var(--gray-600);
}

.footer-cta {
  border-bottom: 2px solid var(--dark-100);
}

.single-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: var(--shadow-white-200);
  margin-bottom: 20px;
}

.single-cta:hover {
  transform: translateY(-5px);
  background: var(--shadow-white-300);
  box-shadow: 0 10px 25px var(--shadow-600);
}

.cta-icon {
  margin-bottom: 15px;
}

.single-cta i {
  color: var(--secondary-color);
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-text h4 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cta-text span {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-widget-heading h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-heading h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: var(--gray-600);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.footer-links li a:hover {
  color: var(--secondary-color);
  padding-left: 10px;
}

.footer-links li a i {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 0.8rem;
}

.footer-text p {
  line-height: 1.8;
  color: var(--gray-600);
}

.footer-social-icon span {
  color: var(--white);
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-icon a {
  color: var(--white);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 3px 109px var(--shadow-500);
}

.footer-social-icon a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-600);
}

.facebook-bg {
  background: linear-gradient(135deg, var(--facebook-blue-100), var(--facebook-blue-200));
}
.twitter-bg {
  background: linear-gradient(135deg, var(--twitter-blue-100), var(--twitter-blue-200));
}
.instagram-bg {
  background: linear-gradient(135deg, var(--instagram-pink-100), var(--instagram-pink-200));
}
.youtube-bg {
  background: linear-gradient(135deg, var(--youtube-red-100), var(--youtube-red-200));
}
.android-bg {
  background: linear-gradient(135deg, var(--android-green-100), var(--android-green-200));
}

.facebook-widget {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-500);
}

.copyright-area {
  background: linear-gradient(135deg, var(--dark-300), var(--dark-400));
  padding: 20px 0;
  border-top: 1px solid var(--dark-100);
}

.copyright-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.copyright-text a {
  color: var(--secondary-color);
  font-weight: 600;
}

.footer-menu ul {
  margin: 0;
  padding: 0;
}

.footer-menu .list-inline-item {
  margin-right: 20px;
}

.footer-menu .list-inline-item a {
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: color 0.3s ease;
}

.footer-menu .list-inline-item a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  background: linear-gradient(135deg, var(--black), var(--dark-400));
  color: var(--white);
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--gold-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-margin-pusher {
    margin-top: 75px;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .header-logo img {
    height: 50px;
  }

  .header-contact {
    margin-bottom: 10px;
  }

  .contact-item {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }

  .header-social-icons {
    gap: 8px;
  }

  .header-social-icons a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .header-quick-links {
    justify-content: center;
    gap: 15px;
  }

  .quick-link-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .main-title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .header-logo img {
    height: 45px;
  }

  .header-social-icons a {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .header-quick-links {
    flex-direction: column;
    gap: 10px;
  }

  .single-cta {
    padding: 15px;
  }

  .single-cta i {
    font-size: 2rem;
  }

  .cta-text h4 {
    font-size: 1.1rem;
  }

  .footer-social-icon a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* User Apply Form Page */
.form-container {
  background-color: var(--white);
  box-shadow: 0 5px 25px var(--shadow-300);
}

.form-field-title {
  font-weight: 500;
}

.image-uploader {
  border: 2px dashed var(--gray-500);
  border-radius: 8px;
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
  background-color: var(--light-bg);
  transition: border-color 0.3s;
}

.image-uploader:hover {
  border-color: var(--primary-color);
}

.uploader-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  color: var(--gray-700);
}

.uploader-empty p {
  margin: 0;
  font-size: 0.9rem;
}

.uploader-preview {
  width: 100%;
  height: 100%;
  position: relative;
}

.uploader-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.uploader-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shadow-800);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 6px;
}

.uploader-preview:hover .uploader-controls {
  opacity: 1;
}

.payment-info-section {
  background-color: var(--yellow-200);
  border-left: 5px solid var(--yellow-100);
}

.btn-submit-grad {
  background: linear-gradient(175deg, var(--primary-color) 50%, var(--secondary-color) 50%);
  color: var(--white);
  font-weight: bold;
  border: none;
  padding: 12px 40px;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.btn-submit-grad:hover {
  transform: scale(1.05);
  color: var(--white);
}

/* Loader Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--shadow-1000);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments for the form */
@media (max-width: 767px) {
  .form-field-title {
    text-align: left;
    margin-bottom: 5px;
  }
}

/* Gallery Page Styles */
.gallery-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 20px var(--shadow-200);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 250px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shadow-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Styles for the Lightbox Modal */
#galleryModal .modal-dialog {
  max-width: 90vw;
}

#galleryModal .modal-content {
  box-shadow: none;
}

#galleryModal .modal-body img {
  border-radius: 5px;
  max-height: 90vh;
}

/* ID Card Download Page */
.download-card {
  background-color: var(--white);
  border: 1px solid var(--gray-400);
  border-top: 5px solid var(--primary-color);
  margin-top: 2rem;
}

.btn-download-primary {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 500;
}
.btn-download-primary:hover {
  background-color: var(--dark-600);
  color: var(--white);
}

.btn-download-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 500;
}
.btn-download-secondary:hover {
  background-color: var(--red-200);
  color: var(--white);
}

/* Upcoming Event Page */
.event-card {
  border: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-300);
}

.event-image-container {
  height: 300px;
  overflow: hidden;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-image {
  transform: scale(1.05);
}

.event-details {
  padding: 1.5rem;
}

.event-title {
  font-family: "Bakbak One", sans-serif;
  color: var(--primary-color);
  font-size: 1.75rem;
}

.event-meta {
  color: var(--gray-800);
  font-size: 0.9rem;
}

.event-meta span i {
  color: var(--secondary-color);
}

.event-description {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Custom scrollbar for description */
.event-description::-webkit-scrollbar {
  width: 6px;
}
.event-description::-webkit-scrollbar-track {
  background: var(--gray-100);
}
.event-description::-webkit-scrollbar-thumb {
  background: var(--gray-500);
  border-radius: 3px;
}
.event-description::-webkit-scrollbar-thumb:hover {
  background: var(--gray-700);
}

.event-btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: bold;
}
.event-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Ensure image takes full width on smaller screens */
@media (max-width: 767.98px) {
  .event-image-container {
    height: 200px;
  }
}

/* Supporter / Donor Card Styles (Orange) */
.supporter-card {
  background-color: var(--orange-100);
  border-radius: 12px;
  padding: 1rem;
  color: var(--white);
  box-shadow: 0 5px 15px var(--shadow-400);
  transition: transform 0.3s ease;
}

.supporter-card:hover {
  transform: translateY(-5px);
}

.supporter-img-container {
    background-color: var(--primary-light); /* Light peach background for the image */
    border: 2px solid var(--text-white);
    padding: 10px; /* This creates the thick peach border effect */
    border-radius: 8px;
    min-height: 250px; /* Changed from fixed height to min-height */
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supporter-img-container img {
    width: 100%;
    height: auto; /* Let height adjust automatically */
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 0; /* Remove margin as container handles spacing */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .supporter-img-container {
        min-height: 200px; /* Slightly smaller on mobile */
        padding: 8px;
    }
}

.supporter-body {
  text-align: center;
}

.supporter-name {
  background-color: var(--shadow-100);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.supporter-name h5 {
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  font-family: "Poppins", sans-serif;
}

.supporter-details .detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  padding: 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Contact Us Page */
.contact-info-wrapper {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
  border-left: 4px solid var(--primary-color);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 1.5rem;
  width: 30px;
  text-align: center;
}

.contact-info-item strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  margin: 0;
  color: var(--gray-800);
  line-height: 1.6;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-300);
}

/* About Us Page */
.about-us-container {
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.about-us-container .about-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px var(--shadow-100);
  transition: transform 0.3s ease;
}

.about-us-container .about-section:hover {
  transform: translateY(-5px);
}

.about-us-container .about-section .section-image {
  flex: 0 0 300px;
  margin-right: 1.5rem;
}

.about-us-container .about-section .section-image img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--shadow-300);
}

.about-us-container .about-section .section-content {
  flex: 1;
}

.about-us-container .about-section h4 {
  font-family: "Bakbak One", sans-serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-left: 4px solid var(--secondary-color);
  padding-left: 10px;
}

.about-us-container .about-section p,
.about-us-container .about-section li {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.about-us-container .about-section strong {
  color: var(--text-color);
}

/* Style for ordered and unordered lists */
.about-us-container ul,
.about-us-container ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.about-us-container ul li {
  list-style-type: disc;
}

.about-us-container ol li {
  list-style-type: decimal;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .about-us-container .about-section {
    flex-direction: column;
  }

  .about-us-container .about-section .section-image {
    flex: 0 0 auto;
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
  }

  .about-us-container .about-section .section-image img {
    max-height: 150px;
  }
}

/* Solutions Page */
.solution-card {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-300);
}

.solution-card .card-img-top {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.solution-card .card-title {
  color: var(--primary-color);
}

/* Login Pages */
.login-card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.login-card {
  border: 1px solid var(--gray-400);
  border-top: 5px solid var(--primary-color);
}

.login-card .card-title {
  font-family: "Bakbak One", sans-serif;
  color: var(--secondary-color);
}

/* Footer Bottom Credit */
.footer-bottom {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

/* Dashboard Styles */
.dashboard-sidebar {
  min-height: 100vh;
  background: var(--primary-color);
  color: var(--white);
}

.dashboard-content {
  min-height: 100vh;
  background: var(--light-bg);
}

.nav-link {
  color: var(--white) !important;
  border-radius: 5px;
  margin: 2px 0;
}

.nav-link:hover,
.nav-link.active {
  background: var(--shadow-white-400);
}

.table-actions {
  white-space: nowrap;
}

.modal-lg {
  max-width: 90%;
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
}
.gallery-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.gallery-image-container:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shadow-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-image-container:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h6 {
    margin-bottom: 0.5rem;
}

/* Index Gallery Section Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image-container img {
    transition: transform 0.3s ease;
}

.gallery-image-container:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, var(--shadow-900) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-image-container:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Management Team and Members Sections
--------------------------------------------------------------*/
.card-custom .member-card a {
    color: var(--text-white); /* White (#fff) for visibility against orange background */
    text-decoration: none;
    font-weight: 600; /* Slightly bolder for emphasis */
    transition: color 0.3s ease; /* Smooth hover transition */
}

.card-custom .member-card a:hover {
    color: var(--gold-color); /* Gold (#ffd700) on hover for NDF theme */
}

.card-custom .view-all-btn {
    background: var(--gradient-primary); /* Orange gradient (#FF6F0F to #E6640E) */
    color: var(--text-white); /* White text */
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    display: block;
    margin-top: 1rem;
    transition: background 0.3s ease, transform 0.3s ease; /* Smooth hover effects */
}

.card-custom .view-all-btn:hover {
    background: var(--gradient-primary-reverse); /* Reverse gradient for hover */
    color: var(--text-white); /* Maintain white text */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 10px var(--shadow-dark); /* Subtle shadow */
}