/* ========================================== */
/* WhatsApp Float Button */
/* ========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
}

.whatsapp-float i {
  animation: shake 1s infinite;
}

/* ========================================== */
/* Animations */
/* ========================================== */

@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8),
      0 0 0 15px rgba(37, 211, 102, 0.1),
      0 0 0 30px rgba(37, 211, 102, 0.05);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(-10deg);
  }

  20%,
  40%,
  60%,
  80% {
    transform: rotate(10deg);
  }
}

/* ========================================== */
/* Responsive - الموبايل */
/* ========================================== */

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 15px;
    right: 15px;
  }
}