.fab-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

.fab {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: #cab078; /* premium beige */
  color: white;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .4s ease, background .3s;
}

.fab:hover { 
  transform: scale(1.12); 
}

/* Main Button Styling */
.main-fab {
  position: relative;
  z-index: 2;
  font-size: 35px;
  font-weight: 300;
  transition: transform .4s ease;
}

.fab-container.active .main-fab {
  transform: rotate(45deg); /* + becomes × */
  background: #b89a5c;
}

/* Fix icon sizing and centering */
.fab i {
  font-size: 22px;
  width: auto;
  height: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transform: none !important; /* Prevent icon rotation */
}

/* Options hidden by default */
.fab-options {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  width: 55px; /* Same as main button */
  height: 55px;
}

.fab-options .fab {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45px;
  height: 45px;
  background: #fff;
  color: #333;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: scale(0.5) translate(0,0);
  transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Specific colors for each option */
.fab-options .whatsapp {
  color: #25d366;
}

.fab-options .email {
  color: #ea4335;
}

.fab-options .phone {
  color: #4285f4;
}

.fab-options .fab i {
  font-size: 20px;
}

/* Animation when active */
.fab-container.active .fab-options {
  pointer-events: auto;
}

.fab-container.active .fab-options .whatsapp {
  transform: scale(1) translate(-70px,-20px);
  opacity: 1;
  transition-delay: 0.05s;
}

.fab-container.active .fab-options .email {
  transform: scale(1) translate(-50px,-80px);
  opacity: 1;
  transition-delay: 0.15s;
}

.fab-container.active .fab-options .phone {
  transform: scale(1) translate(0,-110px);
  opacity: 1;
  transition-delay: 0.25s;
}

/* Hover effects for option buttons */
.fab-options .fab:hover {
  transform: scale(1.12) !important;
  background: #f8f9fa;
}

/* Make sure icons stay visible */
.fab i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}