.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px; /* Right corner */
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;

  /* Bounce animation on load */
  animation: whatsapp-bounce 1s ease-out forwards;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* Animation keyframes */
@keyframes whatsapp-bounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Tablet (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .whatsapp-float {
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}
