.floating-btn-container {
  position: fixed;
  bottom: 20px; /* Adjusted to 0 as you requested previously */
  right: 20px;
  display: flex;
  /* KEY CHANGE: STACK ITEMS REVERSE ORDER (main button is now at the visual bottom) */
  flex-direction: column-reverse; 
  align-items: center;
  z-index: 1000;
}

/* Main chat button */
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #00bfa5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  /* KEY CHANGE: Remove margin-bottom since it's now at the visual bottom */
  margin-bottom: 0; 
}

.floating-btn:hover {
  transform: scale(1.05);
}

/* Chat options hidden initially */
.chat-option {
  width: 50px;
  height: 50px;
  /* KEY CHANGE: Add margin-bottom to create space above the main button */
  margin-bottom: 10px; 
  margin-top: 0; /* Clear existing top margin */
  border-radius: 50%;
  background: #0088cc;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  /* KEY CHANGE: Change to translateY(20px) to move them UP when hidden */
  transform: translateY(20px); 
  pointer-events: none;
  transition: all 0.3s ease;
}

/* WhatsApp color */
.whatsapp-btn {
  background: #25d366;
}

/* Show animation */
.floating-btn-container.show .chat-option {
  opacity: 1;
  /* This now moves them back to their original, stacked position */
  transform: translateY(0); 
  pointer-events: auto;
}

/* Icon sizes */
.chat-option img,
.floating-btn img {
  width: 28px;
  height: 28px;
}
