
/* Animated shifting pastel gradient background */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
body {
  /*background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4);*/
  background: #ff9933 !important;
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
  font-family: 'Roboto Slab', serif;
  margin: 0;
  padding-top: 70px; /* for fixed navbar */
}
/* Navbar styling */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.navbar-brand {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  color: #007bff;
}
.navbar-nav .nav-link {
  color: #555;
  transition: color 0.3s ease;
  font-family: 'proxima', cursive;
  text-transform:capitalize;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #007bff;
}
/* Gallery Section */
#galleryCarousel img {
  max-height: 600px;
  object-fit: cover;
  border-radius: 20px;
}
/* Maha Mantra Section */
#mantraSection {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
#mantraSection h2 {
  font-family: 'Pacifico', cursive;
  color: #333;
  margin-bottom: 1rem;
}
#mantraText {
  font-size: 1.5rem;
  text-align: center;
}
.mantra-word {
  margin: 0 5px;
  transition: color 0.5s, background-color 0.5s;
}
.mantra-word.highlight {
  color: #ff4500;
  background: rgba(255, 255, 0, 0.3);
  border-radius: 5px;
  padding: 2px 4px;
}
/* Chant Counter Container */
#chantCounterContainer {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7) !important;
    border: 3px solid #ff9933 !important;
  /*border-image: linear-gradient(45deg, #f78ca0, #f9748f, #fd868c, #fe9a8b) 1;*/
}
#chantCounterContainer h2 {
  font-family: 'Pacifico', cursive;
  color: #333;
  margin-bottom: 1.5rem;
}
#chantDisplay {
  font-size: 5rem;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}
/* Pulse animation for counter updates */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.pulse {
  animation: pulse 0.4s ease-out;
}
.progress {
  height: 20px;
  border-radius: 10px;
}
#progressBar {
  font-family: 'Roboto Slab', serif;
}
/* Chant Button with droplet effect and bounce hover */
.btn-chant {
  position: relative;
  overflow: hidden;
  border: none;
  background: linear-gradient(145deg, #83a4d4, #b6fbff);
  color: #fff;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  font-size: 1.2rem;
  font-family: 'Pacifico', cursive;
  box-shadow: 0 8px 15px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-chant:hover {
  transform: scale(1.05);
}
.btn-chant:active {
  transform: scale(0.95);
}
.droplet {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  animation: dropAnim 0.6s ease-out forwards;
}
@keyframes dropAnim {
  to { transform: scale(12); opacity: 0; }
}
/* Mala Counter Container */
#malaCounterContainer .card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 3px solid;
  border-image: linear-gradient(45deg, #fda085, #f6d365) 1;
}
#malaCounterContainer h2 {
  font-family: 'Pacifico', cursive;
  color: #333;
  margin-bottom: 1.5rem;
}
#malaDisplay {
  font-size: 4rem;
  font-weight: bold;
  color: #dc3545;
}
/* Confetti effect */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: #ffcc00;
  opacity: 0.8;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall 3s linear forwards;
}
@keyframes confettiFall {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { 
    transform: translate(calc(100vw * var(--x-offset)), 100vh) rotate(360deg);
    opacity: 0;
  }
}
/* Responsive adjustments */
@media (max-width: 576px) {
  #chantDisplay { font-size: 3.5rem; }
  #malaDisplay { font-size: 3rem; }
  .btn-chant { width: 100px; height: 100px; font-size: 1rem; }
}
