/* Floating Contact Buttons - Mobile Optimized */
.floating-contact-buttons {
  position: fixed;
  bottom: 20px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: #fff;
  position: relative;
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-btn:active {
  transform: scale(0.95);
}

/* Call Button - Purple Gradient */
.call-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.call-button:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

/* WhatsApp Button - Green with Pulse */
.whatsapp-button {
  background: #25D366;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
  background: #128C7E;
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Pulse Animation for WhatsApp */
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* Tablet - Slightly Larger */
@media (min-width: 768px) {
  .floating-contact-buttons {
    bottom: 25px;
    right: 25px;
    gap: 15px;
  }
  
  .floating-btn {
    width: 60px;
    height: 60px;
  }
  
  .floating-btn svg {
    width: 30px;
    height: 30px;
  }
}

/* Desktop - Largest */
@media (min-width: 1024px) {
  .floating-contact-buttons {
    bottom: 30px;
    right: 30px;
  }
  
  .floating-btn {
    width: 64px;
    height: 64px;
  }
  
  .floating-btn svg {
    width: 32px;
    height: 32px;
  }
}

/* Small Mobile - Extra Compact */
@media (max-width: 380px) {
  .floating-contact-buttons {
    bottom: 15px;
    right: 10px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  
  .floating-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* Accessibility - Focus States */
.floating-btn:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.floating-btn:focus:not(:focus-visible) {
  outline: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .floating-btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .floating-btn,
  .whatsapp-button {
    animation: none;
    transition: none;
  }
}
