.floating-contact-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact-main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.floating-contact-main-btn:hover {
  transform: scale(1.05);
}

.floating-contact-main-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.floating-contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-contact-buttons.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-contact-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
}

.floating-contact-btn.whatsapp {
  background-color: #25D366;
}

.floating-contact-btn.messenger {
  background-color: #0084FF;
}

.floating-contact-btn.instagram {
  background-color: #E4405F;
}

.floating-contact-btn.phone {
  background-color: #343a40;
}

.floating-contact-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Tooltip style */
.floating-contact-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.floating-contact-main-btn:hover .floating-contact-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Pulse animation for the main button when closed */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.floating-contact-main-btn:not(.active) {
  animation: pulse 2s infinite;
}

.floating-contact-main-btn.active {
  background-color: #007bff; /* Keep blue as in the image */
}
