/* whatsapp.css - Floating WhatsApp button */

.whatsappBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.whatsappBtn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.whatsappBtn:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsappBtn:active {
  transform: scale(0.95);
}

.whatsappBtn svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

/* Animation on scroll */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.15);
  }
  60% {
    transform: scale(1.05);
  }
}

.whatsappBtn.show {
  animation: bounce 1s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .whatsappBtn {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsappBtn svg {
    width: 28px;
    height: 28px;
  }
}

/* ==================== EXTRA SMALL DEVICES (320px) ==================== */
@media (max-width: 320px) {
  .whatsappBtn {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .whatsappBtn svg {
    width: 24px;
    height: 24px;
  }

  .whatsappBtn:hover {
    transform: scale(1.05);
  }

  .whatsappBtn:active {
    transform: scale(0.92);
  }
}
