/* ==========================================================================
   © 2026 Omar Khaled. All rights reserved.

   Built by Omar Khaled — Full-Stack Developer
   Website:   https://omar-khaled.life
   Email:     support@omar-khaled.life
   WhatsApp:  +1 872 321 0134
   Telegram:  @codedbyomar
   LinkedIn:  https://www.linkedin.com/in/omar-khaled-36126b404/
   Instagram: https://www.instagram.com/codedbyomar/
   GitHub:    https://github.com/omar-khaled-dev
   ========================================================================== */

/* --------------------------------------------------------------------------
   Floating WhatsApp bubble
   -------------------------------------------------------------------------- */
.whatsapp-bubble {
  position: fixed;
  bottom: var(--space-lg);
  inset-inline-end: var(--space-lg);
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition:
    transform var(--dur-fast) var(--ease-lid),
    box-shadow var(--dur-fast) var(--ease-lid);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}
.whatsapp-bubble svg {
  width: 28px;
  height: 28px;
}
.whatsapp-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation-play-state: paused;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}

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