/* ==========================================================================
   Floating Circular WhatsApp Button — Shwet Cera Innovations
   ========================================================================== */

.wa-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
  animation: waBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}

.wa-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.6);
  background: #20ba5a;
}

/* Pulsing attention ring */
.wa-float__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: waPulseRing 2.4s ease-out infinite;
  pointer-events: none;
}

.wa-float__icon {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.wa-float__icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.wa-float:hover .wa-float__icon img {
  transform: scale(1.12) rotate(-8deg);
}

@keyframes waPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

@keyframes waBounceIn {
  0% {
    transform: translateY(30px) scale(0.6);
    opacity: 0;
  }
  60% {
    transform: translateY(-6px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 576px) {
  .wa-float {
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .wa-float__icon img {
    width: 28px;
    height: 28px;
  }

  .wa-float__ring {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float__ring {
    animation: none;
  }
}
