.hero-section {
  background:
    linear-gradient(rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.1)),
    url("https://images.unsplash.com/photo-1586015555751-63bb77f4322a?auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  height: 60vh;
  color: #333;
}

.product-card {
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-10px);
}

.btn-success {
  background-color: #25d366; /* WhatsApp Green */
  border: none;
}

.btn-success:hover {
  background-color: #128c7e;
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Ensures it stays above all other elements */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.1); /* Slightly enlarges on hover */
}

/* Pulse Animation (Optional but adds a nice touch) */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* Container to hold both button and bubble */
.whatsapp-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* The Message Bubble */
.whatsapp-msg-bubble {
  display: none; /* Hidden by default, shown via JS */
  background-color: #333;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 200px;
  animation: fadeInRight 0.5s ease-in-out;
}

/* Little triangle pointing down to the WA icon */
.whatsapp-msg-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #333;
}

.btn-close-white {
  width: 5px;
  height: 5px;
  font-size: 8px;
  margin-left: 10px;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keep your existing .whatsapp-float CSS from the previous step here */
#about-us .card {
  transition: all 0.3s ease;
}

#about-us .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.x-small {
  font-size: 11px;
}
