/* WhatsApp button styling */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.whatsapp-button {
  animation: pulse 2s infinite;
  position: fixed;
  right: 25px;
  bottom: 25px;
  background-color: #25d366;
  color: fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-button i {
  font-size: 32px;
}

.whatsapp-button:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Tooltip styling */
.whatsapp-button .tooltip {
  position: absolute;
  top: -40px;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .whatsapp-button {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button i {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-button i {
    font-size: 26px;
  }
}
