body {
  color: rgb(107 114 128 / var(1, 1));
}
.hero-section:after {
  content: " ";
  background: #02234d;
  background: linear-gradient(
    90deg,
    rgba(2, 35, 77, 1) 0%,
    rgba(0, 0, 0, 1) 94%
  );
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  border-radius: 0;
  -webkit-transform: none;
  transform: none;
}

.bg-footer {
  background: #02234d;
  background: linear-gradient(
    90deg,
    rgba(2, 35, 77, 1) 0%,
    rgba(0, 0, 0, 1) 94%
  );
}

.nav-user {
  padding: 0px 0px 0px 60px !important;
  text-align: left !important;
  position: relative;
  background-color: #fafbfd;
  border: 1px solid #f1f3fa;
  border-width: 0 1px;
  min-height: 36px;
}

.invalid-feedback {
  display: block;
}

.nav-user .account-user-avatar {
  position: absolute;
  top: calc(5px / 2);
  left: 15px;
}
.account-user-name {
  color: oklch(44.6% 0.03 256.802);
}
.hero-sm {
  position: relative;
  padding: 40px 0 40px 0 !important;
}

/* Ensure carousel captions are visible */
.carousel-caption {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1rem;
}

/*new css added */
/* Color Theme Variables */
:root {
  --primary-gradient-start: #667eea;
  --primary-gradient-end: #764ba2;
  --primary-color: #727cf5;
  --primary-dark: #5a67d8;
  --primary-light: #e3f2fd;
  --secondary-color: #6c757d;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #3b82f6;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.18s;
  --transition-base: 0.28s;
  --transition-slow: 0.45s;
}

/* Body padding for fixed navbar */
body {
  padding-top: 70px;
  color: var(--text-dark);
}

/* Navbar scroll effect */
.navbar.fixed-top {
  transition:
    box-shadow var(--transition-base) ease,
    background-color var(--transition-base) ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Carousel Styling */
.carousel-item {
  height: 250px;
  position: relative;
  overflow: hidden;
}
.carousel-item img {
  object-fit: cover;
  height: 100%;
  transition: transform 0.5s ease;
}
.carousel-item:hover img {
  transform: scale(1.05);
}
.carousel-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
}
.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
@media (min-width: 768px) {
  .carousel-item {
    height: 500px;
  }
  .carousel-caption h5 {
    font-size: 2.5rem;
  }
}

/* Admin scroll arrows - show on hover */
.admin-scroll-wrapper {
  position: relative;
}
.admin-scroll-btn {
  opacity: 0;
  transition:
    opacity var(--transition-base) ease,
    transform var(--transition-base) ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.admin-scroll-wrapper:hover .admin-scroll-btn {
  opacity: 0.9;
}
.admin-scroll-btn:hover {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* Card Hover Effects */
.card {
  transition: all var(--transition-base) ease;
  border: none !important;
  background: var(--white);
  border-radius: 12px !important;
}
.card:hover {
  box-shadow: var(--shadow-lg) !important;
}

/* Card Hover Effects - Exclude Admin Section */
.card:not(.admin-scroll-wrapper .card):hover {
  transform: translateY(-5px);
}

/* Image Styling */
.card img {
  border-radius: 12px 12px 0 0 !important;
}

/* Force no hover effects on admin cards */
.admin-scroll-wrapper .card,
.admin-scroll-wrapper .card:hover,
#adminScrollContainer .card,
#adminScrollContainer .card:hover {
  transition: none !important;
  transform: none !important;
  animation: none !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Disable all Bootstrap hover effects on admin section */
#adminScrollContainer .card *,
#adminScrollContainer .card:hover * {
  transition: none !important;
  transform: none !important;
  animation: none !important;
}

/* Button Enhancements */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition-base) ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-gradient-start)
  );
}

/* Section Headings */
section h3,
section h4 {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Section Spacing */
section {
  padding: 60px 0;
}
section.py-3 {
  padding: 40px 0;
}
section.py-4 {
  padding: 50px 0;
}

/* Creative Section Heading Styles */
.section-heading {
  background: linear-gradient(
    135deg,
    var(--primary-gradient-start) 0%,
    var(--primary-gradient-end) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.section-heading-alt {
  color: var(--text-dark);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.section-heading-alt .text-primary {
  background: linear-gradient(
    135deg,
    var(--primary-gradient-start) 0%,
    var(--primary-gradient-end) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-icon {
  background: linear-gradient(
    135deg,
    var(--primary-gradient-start) 0%,
    var(--primary-gradient-end) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(2px 2px 3px rgba(102, 126, 234, 0.3));
}

.heading-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-gradient-start),
    var(--primary-gradient-end),
    transparent
  );
  margin: 15px auto;
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.heading-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
  margin-top: 12px;
  line-height: 1.6;
}

/* Image Hover Effects */
.img-fluid {
  transition:
    transform var(--transition-base) ease,
    box-shadow var(--transition-base) ease;
}
.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Button Enhancements */
.btn {
  transition:
    transform var(--transition-fast) ease,
    box-shadow var(--transition-fast) ease,
    background-color var(--transition-fast) ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-gradient-start) 0%,
    var(--primary-gradient-end) 100%
  );
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-gradient-start) 100%
  );
}

/* Admin Cards - Complete Disable */
#adminScrollContainer {
  pointer-events: auto;
}
#adminScrollContainer .card {
  background: #ffffff !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: none !important;
  transform: none !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  will-change: auto !important;
}
#adminScrollContainer .card:hover {
  background: #ffffff !important;
  transform: none !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
#adminScrollContainer img {
  box-shadow: 0 4px 15px rgba(114, 124, 245, 0.3) !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
}
#adminScrollContainer .card:hover img {
  box-shadow: 0 4px 15px rgba(114, 124, 245, 0.3) !important;
  transform: none !important;
}
#adminScrollContainer * {
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
}
#adminScrollContainer .card-body,
#adminScrollContainer .card-body * {
  transition: none !important;
  transform: none !important;
}

/* Tab Styling */
.nav-pills .nav-link {
  border-radius: 10px;
  transition:
    background-color var(--transition-base) ease,
    color var(--transition-base) ease,
    box-shadow var(--transition-base) ease,
    transform var(--transition-base) ease;
  font-weight: 600;
}
.nav-pills .nav-link {
  background: #ffffff;
  color: #6c757d;
  border: 2px solid #e3e6f0;
}
.nav-pills .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-color: #667eea;
}
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #ffffff !important;
  border-color: #667eea !important;
  box-shadow: 0 6px 20px rgba(114, 124, 245, 0.4);
}

/* Mobile specific styles for temple tabs */
@media (max-width: 991px) {
  .nav-pills .nav-link {
    font-size: 14px;
    padding: 12px 10px;
    margin-bottom: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }
  .nav-pills .nav-link.active {
    box-shadow: 0 4px 12px rgba(114, 124, 245, 0.5);
  }
  #templesTabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  #templesTabs .nav-item {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* Gallery Images */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  transition: all 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.15);
  filter: brightness(0.9);
}

.merged-gallery .gallery-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base) ease;
}
.merged-gallery .gallery-card:hover {
  box-shadow: var(--shadow-md);
}
.merged-gallery .gallery-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.merged-gallery .gallery-caption {
  font-size: 12px;
  color: var(--text-dark);
  padding: 10px 12px;
  text-align: center;
}
.merged-gallery .video-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base) ease;
}
.merged-gallery .video-card:hover {
  box-shadow: var(--shadow-md);
}
.merged-gallery .video-card .ratio {
  box-shadow: none;
  border-radius: 0;
  transform: none;
}
.merged-gallery .video-card .ratio:hover {
  box-shadow: none;
  transform: none;
}

.merged-gallery .gallery-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.merged-gallery .gallery-carousel-wrapper {
  position: relative;
  flex: 1;
  min-height: 260px;
}
.merged-gallery .photo-gallery-item {
  flex: 0 0 calc(50% - 8px);
  max-width: calc(50% - 8px);
}
.merged-gallery .video-gallery-item {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Desktop - show arrows on hover only */
@media (min-width: 992px) {
  .merged-gallery .gallery-scroll-btn {
    opacity: 0;
  }
  .merged-gallery .gallery-carousel-wrapper:hover .gallery-scroll-btn {
    opacity: 0.9;
  }
  .mobile-view-all-btn {
    display: none !important;
  }
}

/* Mobile view - show one image at a time with semi-transparent arrows */
@media (max-width: 991px) {
  .merged-gallery .photo-gallery-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .merged-gallery .video-gallery-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .merged-gallery .gallery-scroll-btn {
    opacity: 0.4 !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 18px;
    transition: opacity 0.3s ease;
  }
  .merged-gallery .gallery-scroll-btn:active,
  .merged-gallery .gallery-scroll-btn:hover {
    opacity: 1 !important;
  }
  .merged-gallery .gallery-scroll-btn i {
    font-size: 20px;
  }
  .mobile-view-all-btn {
    display: block !important;
    margin-top: 16px;
  }
}

/* Events/Festival Section Styles */
.events-scroll-btn {
  transition: opacity 0.3s ease;
}

/* Desktop - show event arrows on hover */
@media (min-width: 992px) {
  .events-scroll-btn {
    opacity: 0;
  }
  .card-body:hover .events-scroll-btn {
    opacity: 1;
  }
}

/* Mobile - one event at a time with semi-transparent arrows */
@media (max-width: 991px) {
  #eventsScrollContainer .flex-shrink-0 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  #eventsScrollContainer {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #eventsScrollContainer::-webkit-scrollbar {
    display: none;
  }
  #eventsScrollContainer .flex-shrink-0 {
    scroll-snap-align: start;
  }
  .events-scroll-btn {
    opacity: 0.4 !important;
    width: 35px !important;
    height: 35px !important;
  }
  .events-scroll-btn:active,
  .events-scroll-btn:hover {
    opacity: 1 !important;
  }
}

/* Administrators Section Styles */
.admin-scroll-btn {
  transition: opacity 0.3s ease;
}

/* Desktop - show admin arrows on hover */
@media (min-width: 992px) {
  .admin-scroll-btn {
    opacity: 0;
  }
  .admin-scroll-wrapper:hover .admin-scroll-btn {
    opacity: 0.9;
  }
}

/* Mobile - one administrator at a time with semi-transparent arrows */
@media (max-width: 991px) {
  #adminScrollContainer .flex-shrink-0 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  #adminScrollContainer {
    scroll-snap-type: x mandatory;
  }
  #adminScrollContainer .flex-shrink-0 {
    scroll-snap-align: start;
  }
  .admin-scroll-btn {
    opacity: 0.4 !important;
    width: 35px !important;
    height: 35px !important;
  }
  .admin-scroll-btn:active,
  .admin-scroll-btn:hover {
    opacity: 1 !important;
  }
}

.merged-gallery .merged-video-frame {
  height: 200px;
  width: 100%;
}
.merged-gallery .merged-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.merged-gallery .gallery-carousel {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
}
.merged-gallery .gallery-carousel::-webkit-scrollbar {
  display: none;
}
.merged-gallery .gallery-carousel > .flex-shrink-0 {
  scroll-snap-align: start;
}
.merged-gallery .gallery-scroll-btn {
  opacity: 0;
  transition:
    opacity var(--transition-base) ease,
    transform var(--transition-base) ease;
  box-shadow: var(--shadow-md);
}
.merged-gallery .gallery-carousel-wrapper:hover .gallery-scroll-btn {
  opacity: 0.9;
}
.merged-gallery .gallery-scroll-btn:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.08);
}

/* Video Gallery */
.ratio {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.ratio:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* Gradient Backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.bg-gradient-light {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Page Load Animation */
section {
  animation: fadeInUp 0.6s ease-out;
}

#adminScrollContainer {
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
}
#adminScrollContainer > .flex-shrink-0 {
  scroll-snap-align: start;
}

#testimonialsScroll {
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
}
#testimonialsScroll > .flex-shrink-0 {
  scroll-snap-align: start;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Backgrounds */
section.bg-light {
  background: linear-gradient(
    135deg,
    var(--light-bg) 0%,
    var(--border-color) 100%
  ) !important;
}

/* Text Colors */
.text-muted {
  color: var(--text-muted) !important;
}
.text-primary {
  color: var(--primary-color) !important;
}

/* Enhanced Shadows */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}
.shadow-md {
  box-shadow: var(--shadow-md) !important;
}
.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* Link Hover Effects */
a {
  transition: all 0.3s ease;
}
a:hover {
  text-decoration: none;
}

/* Badge Enhancements */
.badge {
  font-weight: 600;
  padding: 0.35em 0.65em;
  letter-spacing: 0.3px;
}

/* Image Loading */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Focus States */
button:focus,
a:focus {
  outline: 2px solid var(--primary-gradient-start);
  outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  .section-heading-alt {
    font-size: 1.25rem;
  }
}

/* Notification Items */
.notification-list > div {
  border-left: 3px solid transparent;
  transition:
    background-color var(--transition-fast) ease,
    border-left-color var(--transition-fast) ease;
}
.notification-list > div:hover {
  background: #f8f9fa !important;
  border-left-color: #727cf5;
}

/* Custom Scrollbar for Notifications */
#notificationList::-webkit-scrollbar {
  width: 6px;
}
#notificationList::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
#notificationList::-webkit-scrollbar-thumb {
  background: #727cf5;
  border-radius: 10px;
}
#notificationList::-webkit-scrollbar-thumb:hover {
  background: #5a67d8;
}

/* About Section Image */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(114, 124, 245, 0.1), transparent);
  pointer-events: none;
}

/* Icon Animations */
.mdi {
  transition: all 0.3s ease;
}
.card:hover .mdi {
  transform: scale(1.1) rotate(5deg);
}

/* Disable icon animations in admin section */
.admin-scroll-wrapper .mdi,
#adminScrollContainer .mdi {
  transition: none !important;
  transform: none !important;
}
.admin-scroll-wrapper .card:hover .mdi,
#adminScrollContainer .card:hover .mdi {
  transform: none !important;
}

/* Prevent any layout shifts in admin section */
#adminScrollContainer .flex-shrink-0 {
  flex-shrink: 0 !important;
  min-width: 280px;
  max-width: 280px;
}
#adminScrollContainer h5,
#adminScrollContainer p,
#adminScrollContainer .card-body {
  transition: none !important;
  transform: none !important;
}

/* Fixed Donation Button */
.donation-btn-fixed {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1020;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 15px 10px;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(238, 90, 111, 0.4);
  cursor: pointer;
  transition:
    transform var(--transition-base) ease,
    box-shadow var(--transition-base) ease,
    opacity var(--transition-base) ease;
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
}
.donation-btn-fixed:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 30px rgba(238, 90, 111, 0.6);
}
.donation-btn-fixed i {
  writing-mode: horizontal-tb;
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

/* Donation Modal */
.donation-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    backdrop-filter 0.3s ease;
}
.donation-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.donation-modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(-20px);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}
.donation-modal.show .donation-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.donation-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}
.donation-modal-close:hover {
  color: #333;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/*footer css*/

.footer-beautiful {
  background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
  position: relative;
  overflow: hidden;
}

.footer-beautiful::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8a00 0%, #e52e71 50%, #ff8a00 100%);
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-svg {
  filter: drop-shadow(0 2px 8px rgba(255, 138, 0, 0.3));
}

.footer-temple-name {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Noto Sans Devanagari", sans-serif;
}

.footer-description {
  color: #b8bdd8;
  font-size: 14px;
  line-height: 1.6;
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ff8a00 0%, #e52e71 100%);
}

.footer-link {
  color: #b8bdd8;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 16px;
}

.footer-link::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #ff8a00;
  transition: transform 0.3s ease;
}

.footer-link:hover {
  color: #ff8a00;
  transform: translateX(4px);
}

.footer-link:hover::before {
  transform: translateX(4px);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icon:hover {
  background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(255, 138, 0, 0.3);
  color: #ffffff;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 20px;
  color: #8891b2;
  font-size: 13px;
}

/*header css*/

.navbar-beautiful {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 138, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-beautiful.scrolled {
  background: linear-gradient(135deg, #ffffff 0%, #fff5e6 100%);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

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

.logo-svg {
  filter: drop-shadow(0 2px 8px rgba(255, 138, 0, 0.3));
  transition: filter 0.3s ease;
}

.logo-container:hover .logo-svg {
  filter: drop-shadow(0 4px 12px rgba(255, 138, 0, 0.5));
}

.temple-name {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  font-family: "Noto Sans Devanagari", sans-serif;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #333 !important;
  transition: all 0.3s ease;
  padding: 8px 16px !important;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8a00 0%, #e52e71 100%);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.nav-link.active {
  color: #ff8a00 !important;
  font-weight: 600;
}

.nav-link:hover {
  color: #ff8a00 !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: 2px solid #ff8a00;
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
  border-color: transparent;
}

.navbar-toggler:hover i {
  color: white !important;
}

.navbar-toggler i {
  color: #ff8a00;
  font-size: 24px;
  transition: color 0.3s ease;
}

.since-badge {
  position: absolute;
  top: -8px;
  right: -40px;
  background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 138, 0, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 8px;
  min-width: 220px;
}

.dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #ff8a0015 0%, #e52e7115 100%);
  color: #ff8a00;
  padding-left: 25px;
}

.dropdown-item i {
  color: #ff8a00;
  font-size: 16px;
}

.dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid #e9ecef;
}

.dropdown-toggle::after {
  margin-left: 5px;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .temple-name {
    font-size: 16px;
  }
  .since-badge {
    position: static;
    display: inline-block;
    margin-left: 8px;
  }
  .dropdown-menu {
    border: 1px solid #e9ecef;
    box-shadow: none;
    margin-top: 0;
  }
}

/* slider images */

#adminScrollContainer::-webkit-scrollbar {
  display: none;
}

.admin-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.admin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.admin-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3) !important;
}

.admin-card:hover::before {
  transform: scaleX(1);
}

.admin-photo-wrapper {
  position: relative;
  display: inline-block;
}

.admin-photo-wrapper::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-card:hover .admin-photo-wrapper::after {
  opacity: 0.2;
}

.admin-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.admin-card:hover .admin-photo {
  border-color: #667eea;
  transform: scale(1.05);
}

.admin-name {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.admin-card:hover .admin-name {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-position {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 4px;
}

.admin-organization {
  font-size: 13px;
  color: #6c757d;
}

.admin-scroll-btn:hover {
  transform: translate(-50%, -50%) scale(1.1) !important;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4) !important;
}

.admin-scroll-btn:active {
  transform: translate(-50%, -50%) scale(0.95) !important;
}

/* hero banner   */

/* Increase hero banner height on mobile */
@media (max-width: 767px) {
  .sider .carousel-item {
    min-height: 400px;
  }

  .sider .carousel-item img {
    height: 400px;
    object-fit: cover;
  }

  .carousel-caption {
    bottom: 20px !important;
    z-index: 5;
  }

  .carousel-caption h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  /* Make carousel controls more visible and clickable on mobile */
  .carousel-control-prev,
  .carousel-control-next {
    width: 15%;
    z-index: 10;
    opacity: 1;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 8px;
  }

  .carousel-indicators {
    z-index: 10;
    margin-bottom: 1rem;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .sider .carousel-item {
    min-height: 500px;
  }

  .sider .carousel-item img {
    height: 500px;
    object-fit: cover;
  }
}

/* adminstratives */

.admin-scroll-btn:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

#adminScrollContainer {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#adminScrollContainer::-webkit-scrollbar {
  display: none;
}

/* Adjust card width to show 4 full cards on desktop */
@media (min-width: 1200px) {
  .admin-card-item {
    width: calc((100% - 3 * 16px) / 4) !important;
    min-width: calc((100% - 3 * 16px) / 4) !important;
    max-width: calc((100% - 3 * 16px) / 4) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .admin-card-item {
    width: calc((100% - 2 * 16px) / 3) !important;
    min-width: calc((100% - 2 * 16px) / 3) !important;
    max-width: calc((100% - 2 * 16px) / 3) !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .admin-card-item {
    width: calc((100% - 1 * 16px) / 2) !important;
    min-width: calc((100% - 1 * 16px) / 2) !important;
    max-width: calc((100% - 1 * 16px) / 2) !important;
  }
}

@media (max-width: 767px) {
  .admin-card-item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}
/* testimional */

<style > #testimonialsScroll::-webkit-scrollbar {
  display: none;
}
.testimonial-scroll-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Show 4 complete cards on desktop */
#testimonialsScroll > .flex-shrink-0 {
  scroll-snap-align: start;
}

/* Desktop: Show 4 complete cards */
@media (min-width: 1200px) {
  #testimonialsScroll {
    max-width: calc(350px * 4 + 12px * 3); /* 4 cards + 3 gaps */
    overflow-x: hidden;
  }
}

/* Laptop: Show 3 complete cards */
@media (min-width: 992px) and (max-width: 1199px) {
  #testimonialsScroll {
    max-width: calc(350px * 3 + 12px * 2); /* 3 cards + 2 gaps */
    overflow-x: hidden;
  }
}

/* Tablet: Show 2 complete cards */
@media (min-width: 768px) and (max-width: 991px) {
  #testimonialsScroll {
    max-width: calc(350px * 2 + 12px); /* 2 cards + 1 gap */
  }
}

/* Mobile: Show 1 complete card */
@media (max-width: 767px) {
  #testimonialsScroll {
    max-width: 350px; /* 1 card */
  }
}

/* gallery */

.gallery-carousel-wrapper {
  position: relative !important;
}

.gallery-scroll-btn:hover {
  transform: translateY(-50%) scale(1.1) !important;
}


.small-banner-img {
  height: 163px !important;
}