/* Container ensures buttons don't overlap on small screens */
.floating-actions { position: fixed; inset: auto 0 20px 0; pointer-events: none; z-index: 1200; }

/* Individual Buttons */
.float-btn {
  pointer-events: auto;
  position: fixed;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transform-origin: center;
  transition: transform .22s ease, box-shadow .22s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* WhatsApp (left) */
.float-whatsapp {
  left: 18px;
  background: linear-gradient(135deg, #25D366 0%, #16A34A 100%);
  border: 2px solid rgba(255,255,255,0.06);
}

/* Call (right) */
.float-call {
  right: 18px;
  background: linear-gradient(135deg, #007bff 0%, #0062d6 100%);
  border: 2px solid rgba(255,255,255,0.06);
}

/* Icon wrapper */
.fab-wrap {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.15);
}

.fab-wrap i { font-size: 18px; }

/* Small label (hidden on very small screens) */
.float-btn .label {
  display: inline-block;
  padding-right: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

/* Hover & active effects */
.float-btn:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.float-btn:active { transform: translateY(-2px) scale(0.995); }

/* Pulse animation for attention */
@keyframes pulseGlow {
  0% { box-shadow: 0 6px 20px rgba(0,0,0,0.20), 0 0 0 0 rgba(255,255,255,0.0); }
  70% { box-shadow: 0 24px 40px rgba(0,0,0,0.28), 0 0 0 14px rgba(255,255,255,0.03); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.20), 0 0 0 0 rgba(255,255,255,0.0); }
}
.float-whatsapp { animation: pulseGlow 6s ease-in-out infinite; }

/* Responsive adjustments */
@media (max-width: 700px) {
  .fab-wrap { width: 36px; height: 36px; }
  .fab-wrap i { font-size: 16px; }
  .float-btn { padding: 10px 12px; bottom: 18px; }
  .float-btn .label { display: none; } /* hide text on small screens */
  .float-whatsapp { left: 12px; }
  .float-call { right: 12px; }
}

/* Ensure both buttons don't overlap on medium narrow screens */
@media (max-width: 420px) {
  .float-whatsapp { left: 10px; bottom: 18px; transform: translateY(0); }
  .float-call { right: 10px; bottom: 18px; }
}