.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  z-index: 9999;
}

/* Base style for buttons */
.fab a, .fab button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

/* Specific sizes */
.fab a:not(.wa), .fab button {
  width: 55px;
  height: 55px;
  font-size: 1.5rem;
}

.fab a:not(.wa):hover, .fab button:hover {
  transform: scale(1.1);
}

/* WhatsApp Button - Pill shape with Chat text */
.fab a.wa {
  background: #25d366; /* WhatsApp Official Green */
  padding: 0 20px;
  height: 55px;
  border-radius: 30px;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.fab a.wa svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.fab a.wa:hover {
  background: #128c7e;
  transform: translateY(-3px);
}

/* Call Button */
.fab a[href^="tel"] {
  background: #3b82f6; /* Modern Blue */
}
.fab a[href^="tel"]:hover {
  background: #2563eb;
}

/* Back to top Button */
.fab button#up {
  background: #475569; /* Slate Grey */
}
.fab button#up:hover {
  background: #334155;
}

/* Responsive */
@media (max-width: 767px) {
  .fab { right: 15px; bottom: 15px; gap: 12px; }
  .fab a:not(.wa), .fab button { width: 48px; height: 48px; }
  .fab a.wa { height: 48px; padding: 0 16px; font-size: 0.95rem; }
  .fab a.wa svg { width: 20px; height: 20px; }
}