 /* ===== WHATSAPP BUTTON FIXED & OPTIMIZED ===== */
.whatsapp-floating {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1200;
}

.whatsapp-btn {
  position: relative;
  background: red;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  border: 3px solid #e5ff52;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
  transition: 0.3s;
  overflow: hidden;
  animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

/* Hover White Overlay */
.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
}

.whatsapp-btn:hover::before {
  width: 100%;
  height: 100%;
}

/* Hover effect */
.whatsapp-btn:hover {
  background: #e5ff52;
  border-color: red;
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(229, 255, 82, 0.5);
}

/* WhatsApp icon */
.whatsapp-btn img {
  width: 45px;
  height: 45px;
  transition: 0.3s ease;
  position: relative;
  z-index: 3;
}

.whatsapp-btn:hover img {
  transform: rotate(10deg) scale(1.1);
}

/* Online indicator */
.online-indicator {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background: #4CAF50;
  border-radius: 50%;
  border: 3px solid white;
  animation: blink 2s infinite;
  z-index: 4;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: black;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  right: 110%;
}

/* Ripple Click Effect */
@keyframes ripple-expand {
  0% { transform: scale(0); opacity: 0.9; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Pulse Animation */
@keyframes pulse {
  0% { box-shadow: 0 8px 25px rgba(255,0,0,0.5), 0 0 0 0 rgba(255,0,0,0.6); }
  70% { box-shadow: 0 8px 25px rgba(255,0,0,0.5), 0 0 0 18px rgba(255,0,0,0); }
  100% { box-shadow: 0 8px 25px rgba(255,0,0,0.5), 0 0 0 0 rgba(255,0,0,0); }
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ================= RESPONSIVE FIXES ================= */

@media (max-width: 768px) {
  .whatsapp-btn {
    width: 70px;
    height: 70px;
  }
  .whatsapp-btn img { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .whatsapp-btn {
    width: 60px;
    height: 60px;
  }
  .whatsapp-btn img { width: 35px; height: 35px; }
}

    