/* Custom CSS for ग्राम पंचायत लिहिदा */

/* You can add your own custom styles here */

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
  display: inline-block;
}

/* Add a transition to the navbar */
#navbar {
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Style for the scrolled navbar */
.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

/* Carousel Styles */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* Cross-fade transition */
  z-index: 10;
}

.active-slide {
  opacity: 1;
  z-index: 15;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot,
.dot:hover {
  background-color: #ffffff;
}

/* ================= GALLERY STYLES ================= */
.gallery-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover; /* Prevents stretching */
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1); /* Zoom effect */
}
