/* floating-icons.css */

/* Common style */
.grand-floating-icon {
  position: fixed;
  z-index: 9999;
  width: 56px;
  height: 56px;
  font-size: 26px;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 56px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  animation: bounce 2s infinite, vibrate 3s infinite, pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Call button - Left */
.call-icon {
  bottom: 20px;
  left: 20px;
  background-color: #1e88e5; /* Same Blue */
  box-shadow: 0 0 0 0 #1e88e5;
}

/* WhatsApp button - Right */
.whatsapp-icon {
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* Same Green */
  box-shadow: 0 0 0 0 #25d366;
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Vibration animation */
@keyframes vibrate {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(5deg); }
  40% { transform: rotate(-5deg); }
  60% { transform: rotate(5deg); }
  80% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

/* Pulsing animation from contact_icon */
@keyframes pulsing {
  to {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}

/* Responsive sizing */
@media (max-width: 768px) {
  .grand-floating-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    line-height: 48px;
  }
}