 body {
      font-family: 'Poppins', sans-serif;
    }
    h2, h5 {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
    }
    .text-primary {
      color: #bd2e3e !important;
    }
    .bg-light {
      background-color: #fff9f4 !important;
    }
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    .lead-text {
      font-size: 1.05rem;
      color: #444;
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }
    .feature-icon {
      background-color: #f2f2f2;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .feature-icon i {
      color: #bd2e3e;
      font-size: 1rem;
    }
    .service-box i {
      color: #bd2e3e;
      font-size: 2rem;
    }
    .service-box h5 {
      font-size: 1.1rem;
      margin-top: 1rem;
    }
    .btn-link {
      color: #bd2e3e;
      font-weight: 500;
    }
    .navbar-brand img {
      height: 50px;
    }
    .carousel-item img {
      height: 800px;
      object-fit: cover;
      width: 100%;
    }
    .dropdown-menu {
      border-radius: 1rem;
      padding: 1rem;
    }
    .dropdown-menu .dropdown-item {
      font-weight: 500;
      color: #bd2e3e;
    }
    .about-sec {
      background-color: #fffdf8;
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
    .about-sec .row {
      row-gap: 1rem;
      align-items: flex-start;
    }
    .about-sec .col-lg-8 {
      padding-left: 2.5rem;
    }
    @media (max-width: 992px) {
      .about-sec .col-lg-8 {
        padding-left: 0;
        padding-top: 2rem;
      }
    }
    .services-section {
      padding: 4rem 0;
      background-color: #fff9f4;
    }
    .service-box {
      padding: 2rem;
      background: #fff;
      border-radius: 1rem;
      box-shadow: 0 0 20px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }
    .service-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }
    .pooja-section {
      padding: 4rem 0;
      background-color: #fffdf8;
    }
	
	 .nav-tabs .nav-link.active {
      background-color: #bd2e3e;
      color: #fff;
    }
    .nav-tabs .nav-link {
      border: 1px solid #bd2e3e;
      color: #bd2e3e;
    }
    .tab-pane ul {
      padding-left: 0;
      margin: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1rem;
    }
    .tab-pane ul li {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 1.25rem;
      border: 1px solid #eee;
      border-radius: 10px;
      background: #fff;
      transition: all 0.3s ease;
    }
    .tab-pane ul li:hover {
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }
    .tab-pane ul li span.title {
      display: flex;
      align-items: center;
      font-weight: 500;
    }
    .tab-pane ul li span.title::before {
      content: "\f26b";
      font-family: "bootstrap-icons";
      color: #dc3545;
      margin-right: 10px;
      font-size: 1.1rem;
    }
    .tab-pane ul li p.desc {
      margin: 0;
      color: #666;
      font-size: 0.95rem;
    }
    .tab-pane ul li small.time {
      font-size: 0.85rem;
      color: #999;
    }
    .tab-pane ul li a.btn {
      align-self: flex-start; 
      white-space: nowrap;
      /*background-color: #6c63ff;*/
      color: #fff;
      /*border-color: #6c63ff;*/
      padding: 0.375rem 0.75rem;
      font-size: 0.9rem;
      border-radius: 0.4rem;
    }
    .tab-pane ul li a.btn:hover {
     /* background-color: #574b90;
      border-color: #574b90;*/
    }
	
	.donation-card {
      border: 1px solid #eee;
      border-radius: 1rem;
      overflow: hidden;
      transition: box-shadow 0.3s ease;
    }
    .donation-card:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }
    .donation-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .donation-card-body {
      padding: 1.25rem;
    }
    .recent-donors-section {
      background: #fff;
      border-radius: 1rem;
      padding: 1.25rem;
      margin-top: 2rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .recent-donors-section .donor-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    .recent-donors-section .donor-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #eee;
      border-radius: 0.75rem;
      padding: 0.75rem 1rem;
      background: #fafafa;
    }
    .recent-donors-section .donor-item .info {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .recent-donors-section .donor-item img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
    }
    .recent-donors-section .donor-item .name {
      font-weight: 500;
    }
    .recent-donors-section .donor-item .place {
      font-size: 0.9rem;
      color: #555;
    }
    .donor-details {
      display: flex;
      flex-direction: column;
    } 
	 
    .news-gallery .card {
      border: none;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
      border-radius: 1rem;
      overflow: hidden;
    }
    .news-gallery .card img {
      height: 200px;
      object-fit: cover;
    }
    .news-gallery .card-body {
      padding: 1.25rem;
    }
    .news-gallery .card-body .date {
      font-size: 0.9rem;
      color: #bd2e3e;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
    }
    .news-gallery .card-body .date i {
      margin-right: 0.5rem;
    }
    .news-gallery .card-body h5 {
      font-weight: 500;
      color: #555;
      font-size: 1rem;
      line-height: 1.5rem;
    }
    .view-all-link {
      text-align: center;
      margin-top: 2rem;
    }
    
	
	footer {
      background-color: #ab1d42;
      color: #ffb732;
      padding: 2rem 0;
    }
    footer .footer-links a {
      color: #ffb732;
      text-decoration: none;
      display: block;
      margin-bottom: 0.5rem;
    }
    footer {
      background-color: #ac1e44;
      color: #f0e6d2;
      padding: 2.5rem 0 1rem;
    }
    footer h5, footer h6 {
      color: #f0e6d2;
      font-weight: 600;
      margin-bottom: 1rem;
    }
    footer p {
      margin-bottom: 0.5rem;
    }
    footer .footer-links a {
      color: #f0e6d2;
      text-decoration: none;
      display: block;
      margin-bottom: 0.4rem;
    }
    footer .footer-links a:hover {
      text-decoration: underline;
    }
    footer .footer-bottom {
      text-align: center;
      margin-top: 2rem;
      font-size: 0.9rem;
      color: #c8b79e;
    }
	
	.btn-primary{
  background-color: #bd2e3e;
  color: #fff;
  border-color: #bd2e3e;
}

.btn-primary:hover {
  background-color: #a51e30;
  border-color: #a51e30;
  color: #fff;
}

.btn-sm {
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  background-color: #bd2e3e;
  border: none;
  border-radius: 0.4rem;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-sm:hover {
  background-color: #bd2e3e;
  color: #fff;
}

.navbar-nav .nav-item .nav-link {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.navbar-nav .btn {
  line-height: 1.2;
} 
	
  
  
  
  /* ======= Responsive Navbar ======= */
  @media (max-width: 991.98px) {
    .navbar-nav {
      text-align: center;
    }

    .navbar-nav .nav-item {
      margin: 0.5rem 0;
    }

    .navbar-nav .btn {
      width: 100%;
      justify-content: center;
    }

    .navbar-nav .nav-item:last-child {
      margin-top: 0.5rem;
    }
  }

  /* ======= Scrollable Tabs on Mobile ======= */
  @media (max-width: 768px) {
    .nav-tabs {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .nav-tabs .nav-link {
      white-space: nowrap;
      flex: 0 0 auto;
    }
  }

  /* ======= Responsive News & Donations Cards ======= */
  @media (max-width: 576px) {
    .donation-card img,
    .news-gallery .card img {
      height: 150px;
    }

    .news-gallery .card-body h5 {
      font-size: 0.95rem;
    }
  }

  /* ======= About Section on Mobile ======= */
  @media (max-width: 576px) {
    .about-sec {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }

    .about-sec .feature-icon {
      width: 30px;
      height: 30px;
      font-size: 0.85rem;
    }

    .about-sec .col-lg-8 {
      padding-left: 0 !important;
    }
  }

  /* ======= Footer Spacing on Mobile ======= */
  @media (max-width: 576px) {
    footer {
      text-align: center;
    }

    footer .footer-links,
    footer .footer-contact,
    footer .temple-timings {
      margin-bottom: 1.5rem;
    }
  }
  
  /* Add this to your CSS */
.btn-success:hover {
  background-color: #218838 !important; /* Darker green */
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* optional glow */
}

  



  /* Fix Donor Grid Breaking on Mobile */
  @media (max-width: 576px) {
    .recent-donors-section .donor-grid {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .recent-donors-section .donor-item {
      flex-wrap: wrap;
      text-align: center;
      justify-content: center;
    }

    .recent-donors-section .info {
      flex-direction: column;
      align-items: center;
    }

    .recent-donors-section .donor-item .badge {
      margin-top: 0.5rem;
    }
  }

  /* Hide Brand Text and Adjust Toggle Button on Mobile */
  @media (max-width: 576px) {
    .navbar-brand .ms-2 {
      display: none;
    }

    .navbar-toggler {
      position: absolute;
      right: 1rem;
      top: 0.75rem;
    }

    .navbar-brand {
      flex-grow: 1;
      justify-content: flex-start;
    }
  }


  @media (max-width: 576px) {
    .about-sec .container {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .about-sec h2,
    .about-sec .lead-text,
    .about-sec .feature-icon,
    .about-sec .fw-semibold {
      text-align: left !important;
    }
  }



  @media (max-width: 576px) {
    .about-sec .row {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  }
  
  @media (max-width: 992px) {
  .navbar .important-links {
    padding-top: 0.5rem;
    text-align: right;
  }
  .navbar .important-links a {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    margin-bottom: 0.3rem;
  }
  .navbar-nav .nav-link {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  /* Adjust mobile-only buttons spacing */
  .d-lg-none > a.btn {
    margin-bottom: 0.5rem;
    width: 100%;
  }
  
  .navbar-nav .nav-item .nav-link {
    padding-top: 0;
    padding-bottom: 0;
 }
  
}


.mobile-bottom-nav a {
  flex: 1;
  text-decoration: none;
}
.mobile-bottom-nav i {
  margin-bottom: 2px;
}

@media (max-width: 991.98px) {
  .navbar-nav.ms-auto {
    margin-left: 0 !important;
  }
}





  .mobile-bottom-nav a {
    flex: 1;
    padding: 10px 0;
    text-decoration: none;
    border-right: 1px solid #eee;
  }
  .mobile-bottom-nav a:last-child {
    border-right: none;
  }
  .mobile-bottom-nav a.active {
    background-color: #f8f9fa;
    border-radius: 10px;
  }
  .mobile-bottom-nav i {
    font-size: 1.3rem;
    display: block;
  }
  .mobile-bottom-nav .highlight {
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  @media (min-width: 992px) {
    .mobile-bottom-nav {
      display: none !important;
    }
  }
  @media (max-width: 576px) {
    body {
      padding-bottom: 60px;
    }
  }
  
  @keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
.animate-pulse {
  animation: pulse 1.6s infinite;
}





.nav-tabs.flex-wrap {
  flex-wrap: wrap !important;
  justify-content: center;
}

.nav-tabs .nav-item {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .nav-tabs .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
}



.committee-section .card {
  border: none;
  border-radius: 1rem;
  transition: all 0.3s ease;
}
.committee-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.committee-section .card-img-top {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
  height: 350px;
}

/* Remove default blue background when item is focused or active */
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
  background-color: #bd2e3e !important;  /* Your theme color */
  color: #fff !important;                /* White text for contrast */
  outline: none;
  box-shadow: none;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #bd2e3e;
  color: #fff;
}


html {
  scroll-behavior: smooth;
}

.nav-toc .nav-link {
  color: #bd2e3e;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
}

.nav-toc .nav-link.active,
.nav-toc .nav-link:hover {
  background-color: #bd2e3e;
  color: #fff;
}

.cms-festival-page h4 {
  border-left: 4px solid #bd2e3e;
  padding-left: 10px;
  margin-bottom: 0.75rem;
}

.cms-festival-page p {
  text-align: justify;
  line-height: 1.7;
}

.debug-bar-dinlineBlock {
  display: none !important;
}

.pooja-btn {
    background-color: #bd2e3e;
    border: none;
}