/**
 * WhatsApp Flotting Button
 */

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-button svg {
  width: 34px;
  height: 34px;
  display: block;
}

.whatsapp-button:hover,
.whatsapp-button:focus {
  transform: scale(1.1);
  background-color: #1ebe57;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  outline: none;
}

.whatsapp-button--pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25D366;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}
/*Hide back-to-top button */
.back-to-top{
  display: none !important;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-button svg {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-button--pulse::before {
    animation: none;
  }

  .whatsapp-button {
    transition: none;
  }
}