body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #ffffff 60%, #ffffff 100%);
  font-size: 1rem;
  color: #222;
  min-height: 100vh;
}

.bg-gradient-primary {
  background: linear-gradient(90deg, #ff5722 0%, #ffd600 100%) !important;
}
.bg-gradient-contact {
  background: linear-gradient(120deg, #fffbe6 60%, #ffe5b4 100%);
}

.gradient-text {
  background: linear-gradient(90deg, #ff5722, #ffd600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.stylish-heading {
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff5722;
  text-shadow: 0 2px 8px rgba(255,87,34,0.08);
}

header, footer {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.navbar {
  border-radius: 0 0 0.2em 0.2em;
}

.navbar-brand {
  font-size: 1.5em;
  letter-spacing: 1px;
}

.nav-link {
  font-size: 1.1em;
  transition: color 0.2s;
}
.nav-link.active, .nav-link:focus, .nav-link:hover {
  color: #ff5722 !important;
}

#poojaList .card {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(255,87,34,0.08);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  overflow: hidden;
}
#poojaList .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255,87,34,0.18);
}
.card-img-top {
  object-fit: cover;
  height: 180px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  transition: filter 0.3s;
}
.card:hover .card-img-top {
  filter: brightness(0.95) saturate(1.2);
}
.card-body ul {
  padding-left: 1.2em;
  margin-bottom: 0.5em;
}
.btn, .form-control {
  border-radius: 0.7em;
  font-size: 1.1em;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn-primary, .btn-success {
  background: linear-gradient(90deg, #ff5722, #ffd600);
  border: none;
}
.btn-primary:hover, .btn-success:hover {
  background: linear-gradient(90deg, #ffd600, #ff5722);
}
input[type="text"], input[type="tel"], input[type="date"], textarea {
  font-size: 1em;
  padding: 0.8em 1em;
}

.bottombar {
  border-radius: 1.2em 1.2em 0 0;
  box-shadow: 0 -2px 16px rgba(255,87,34,0.10);
  background: #fff !important;
  z-index: 1050;
}
.bottombar .nav-link {
  color: #ff5722;
  font-weight: 500;
  font-size: 1em;
  padding: 0.5em 0.7em;
  transition: color 0.2s;
}
.bottombar .nav-link.active, .bottombar .nav-link:focus, .bottombar .nav-link:hover {
  color: #ffd600;
}
.material-icons {
  font-size: 1.7em;
  display: block;
}

.animate__animated {
  --animate-duration: 0.8s;
}

@media (max-width: 767px) {
  h1, h2, h3, h4, h5 {
    font-size: 1.1em;
  }
  .container, .container-fluid {
    padding-left: 0.7em;
    padding-right: 0.7em;
  }
  .card-img-top {
    height: 120px;
  }
  .btn, .form-control {
    font-size: 1em;
    padding: 0.7em 1em;
  }
  .accordion-button {
    font-size: 1em;
    padding: 0.7em 1em;
  }
  .bottombar {
    font-size: 0.95em;
  }
}

.hero-section {
  padding: 0;
  margin: 10px;
  background: none;
}
.hero-section .carousel-inner,
.hero-section .carousel-item,
.hero-section .carousel-item img {
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .hero-section .carousel-inner,
  .hero-section .carousel-item,
  .hero-section .carousel-item img {
    height: 180px;
    min-height: 180px;
  }
}

.particle-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.particle-btn::before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 180%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(circle, rgba(255,255,255,0.25) 2px, transparent 3px) 0 10px,
    radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 2.5px) 20px 30px,
    radial-gradient(circle, rgba(255,255,255,0.15) 1.5px, transparent 2.5px) 40px 20px,
    radial-gradient(circle, rgba(255,255,255,0.22) 2px, transparent 3px) 60px 40px,
    radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 2.5px) 80px 10px;
  background-size: 60px 60px;
  animation: particle-flow 2.5s linear infinite;
  z-index: 0;
}

@keyframes particle-flow {
  0% { transform: translateX(0); }
  100% { transform: translateX(60px); }
}

.sri-navbar {
  justify-content: flex-start !important;
}
.sri-navbar .navbar-brand {
  margin-left: 0;
  margin-right: 1rem;
  font-size: 1.3em;
  display: flex;
  align-items: center;
}
.sri-navbar .navbar-toggler {
  margin-right: 0.5rem;
} 

/* --- Chadhawa Events Card Custom Styles --- */
.chadhawa-card {
  background: linear-gradient(120deg, #fffbe6 60%, #ffe5b4 100%);
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(255,87,34,0.10);
  border: none;
  min-width: 220px;
  max-width: 300px;
  margin: 0 8px;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}

/* Mobile-first responsive image styles */
.chadhawa-responsive-img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Slider-specific styles to maintain aspect ratio */
.chadhawa-slider {
  width: 100% !important;
  overflow: hidden;
}

.chadhawa-slider-track {
  display: flex !important;
  transition: transform 0.3s ease;
}

.chadhawa-slider-track .chadhawa-responsive-img {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 160px !important;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
  .chadhawa-responsive-img,
  .chadhawa-slider-track .chadhawa-responsive-img {
    height: 200px !important;
  }
}

/* Desktop and larger screens */
@media (min-width: 1024px) {
  .chadhawa-responsive-img,
  .chadhawa-slider-track .chadhawa-responsive-img {
    height: 240px !important;
  }
}

/* Large desktop screens */
@media (min-width: 1200px) {
  .chadhawa-responsive-img,
  .chadhawa-slider-track .chadhawa-responsive-img {
    height: 280px !important;
  }
}
.chadhawa-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255,87,34,0.18);
}
.chadhawa-card .card-img-top {
  height: 120px;
  object-fit: cover;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
}
.chadhawa-card .card-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #ff5722;
  margin-bottom: 0.2em;
  text-align: center;
}
.chadhawa-card .event-date {
  display: inline-block;
  background: #ff9800;
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  border-radius: 0.5em;
  padding: 2px 10px;
  margin-bottom: 0.3em;
}
.chadhawa-card .mandir-badge {
  display: inline-block;
  background: #fff3e0;
  color: #ff9800;
  font-size: 0.8em;
  font-weight: 500;
  border-radius: 0.5em;
  padding: 2px 8px;
  margin-bottom: 0.3em;
}
.chadhawa-card .card-body {
  padding: 0.8em 1em 1em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chadhawa-card .btn-chadhawa {
  background: linear-gradient(90deg, #ff5722, #ffd600);
  color: #fff;
  font-weight: 600;
  font-size: 0.98em;
  border: none;
  border-radius: 0.5em;
  padding: 0.35em 1.1em;
  margin-top: 0.7em;
  min-width: 90px;
  max-width: 120px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(255,87,34,0.10);
}
.chadhawa-card .btn-chadhawa:hover {
  background: linear-gradient(90deg, #ffd600, #ff5722);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,87,34,0.18);
} 

/* PWA Install Section Styles */
.install-app-section {
  margin: 20px 0;
  padding: 20px 0;
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border-radius: 16px;
  border: 1px solid #ffecb3;
  transition: all 0.3s ease;
}

.install-app-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.15);
}

.install-app-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 16px;
  margin: 0 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.1);
  transition: all 0.3s ease;
}

.install-app-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.install-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  gap: 20px;
  text-align: center;
}

.install-app-icon {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.app-icon {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.25);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.app-icon:hover {
  transform: scale(1.05);
}

.install-app-info {
  flex: 1;
  width: 100%;
  max-width: 400px;
}

.app-name {
  font-size: 1.5em;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
}

.app-description {
  font-size: 1em;
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.install-app-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.install-btn {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
  min-width: 180px;
}

.install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
  background: linear-gradient(135deg, #ff5722, #ff9800);
}

.install-btn:active {
  transform: translateY(0);
}

/* PWA Logo Styles - Ensure square appearance without round corners */
.pwa-logo, 
img[src*="pwalogo.png"],
img[src*="logo.png"] {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* PWA Splash Screen Logo */
@media (display-mode: standalone) {
  .pwa-logo,
  img[src*="pwalogo.png"] {
    border-radius: 0 !important;
  }
}

/* PWA Offline Indicator */
.offline-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ff5722;
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.9em;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.offline-indicator.show {
  transform: translateY(0);
}

/* PWA Update Notification */
.update-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 10000;
  max-width: 300px;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive PWA Install Section */
@media (max-width: 767px) {
  .install-app-content {
    padding: 20px 16px;
    gap: 15px;
  }
  
  .app-icon {
    width: 100%;
    height: 150px;
  }
  
  .app-name {
    font-size: 1.3em;
  }
  
  .app-description {
    font-size: 0.95em;
    margin: 0 0 15px 0;
  }
  
  .install-btn {
    padding: 12px 24px;
    font-size: 1em;
    min-width: 160px;
  }
}

/* Action Button Optimizations for Small Screens */
.button-section {
  width: 100%;
}

.button-section .d-flex {
  gap: 1rem !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

.action-button {
  flex: 1 !important;
  min-width: 0 !important;
  max-width: none !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-button img,
.action-button-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 50px !important;
  height: 50px !important;
}

.action-button:hover img {
  transform: scale(1.1);
}

.action-button .fw-semibold {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .button-section .d-flex {
    gap: 0.8rem !important;
  }
  
  .action-button {
    padding: 1rem 0.6rem !important;
    font-size: 1rem;
    min-height: 60px !important;
  }
  
  .action-button img,
  .action-button-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  .action-button .fw-semibold {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .button-section .d-flex {
    gap: 0.6rem !important;
  }
  
  .action-button {
    padding: 0.8rem 0.5rem !important;
    font-size: 0.9rem;
    min-height: 55px !important;
  }
  
  .action-button img,
  .action-button-icon {
    width: 35px !important;
    height: 35px !important;
  }
  
  .action-button .fw-semibold {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .button-section .d-flex {
    gap: 0.5rem !important;
  }
  
  .action-button {
    padding: 0.7rem 0.4rem !important;
    font-size: 0.9rem;
    min-height: 50px !important;
  }
  
  .action-button img,
  .action-button-icon {
    width: 30px !important;
    height: 30px !important;
  }
  
  .action-button .fw-semibold {
    font-size: 0.65rem;
  }
}

@media (max-width: 393px) {
  .button-section .d-flex {
    gap: 0.3rem !important;
  }
  
  .action-button {
    padding: 0.6rem 0.3rem !important;
    font-size: 0.8rem;
    min-height: 45px !important;
  }
  
  .action-button img,
  .action-button-icon {
    width: 25px !important;
    height: 25px !important;
  }
  
  .action-button .fw-semibold {
    font-size: 0.6rem;
  }
}

@media (max-width: 320px) {
  .button-section .d-flex {
    gap: 0.2rem !important;
  }
  
  .action-button {
    padding: 0.5rem 0.25rem !important;
    font-size: 0.6rem;
    min-height: 40px !important;
  }
  
  .action-button img,
  .action-button-icon {
    width: 22px !important;
    height: 22px !important;
  }
  
  .action-button .fw-semibold {
    font-size: 0.55rem;
  }
}