.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Make visible after delay */
.floating-btn.visible {
  opacity: 1;
}

.btn-whatsapp {
  background-color: rgba(255, 255, 255, 0.263);
  padding: 7px;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
  box-shadow: 0px 10px 13px -7px #0000004f, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  opacity: 0;
  transform: scale(0.8);
}

.btn-whatsapp.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.btn-whatsapp:hover {
  background-color: rgba(255, 255, 255, 0.493);
  scale: 1.1;
}

/* Text initially hidden */
.btn-text.hidden {
  opacity: 0;
  transform: translateX(20px);
}

.btn-text {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

/* Text slides in */
.btn-text.slide-in {
  animation: slideIn 0.6s ease-out forwards;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0px 10px 13px -7px #0000004f, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  padding: 2px 10px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hidden {
  display: block; /* important so it's still part of layout */
}
