body.custom-bg {
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
  }
/* Advert Slider Styles */
.advert-slider {
    background-color: #09a538; /* light green background */
  }
  
#advert-slider {
position: relative;
width: 100%;
max-width: 1200px; /* you can adjust the max-width as needed */
margin: 0 auto;
overflow: hidden;
}
/* Ensures all slides are same height */
#advertSlider img {
    height: 16rem; /* h-64 in Tailwind */
  }
  
.slider-items {
display: flex;
transition: transform 1s ease-in-out;
}

.slide {
min-width: 100%;
}

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

/* Optional: Add a slight shadow or effect to the images */
.slider-items img {
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Floating WhatsApp icon */
.whatsapp-float {
  position: fixed;
  bottom: 80px; /* Sits above the bar */
  right: 20px;
  z-index: 10000;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Fixed WhatsApp Bar */
.whatsapp-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #25d366;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-bar a {
  color: white;
  text-decoration: none;
}

.whatsapp-bar:hover {
  background-color: #1ebe57;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 90px; /* Slightly higher for small screens */
    right: 15px;
    padding: 8px;
  }

  .whatsapp-float img {
    width: 36px;
    height: 36px;
  }

  .whatsapp-bar {
    font-size: 16px;
    padding: 12px 8px;
  }
}

