/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: slideInLeft 0.6s ease-out;
}

.floating-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  background: #37afe1;
  border: none;
  padding: 0;
}

.floating-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.floating-button:hover::before {
  transform: translateX(100%);
}

.floating-button i {
  font-size: 24px;
  color: white;
  z-index: 1;
  position: relative;
}

/* Custom Icon Styles - Images as buttons */
.floating-icon {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  background: #37afe1;
}

.floating-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Remove all background colors - images are the buttons */
#whatsappBtn,
.download-btn,
.contact-float-btn {
  background: transparent;
  border: none;
  padding: 0;
}

#whatsappBtn:hover,
.download-btn:hover,
.contact-float-btn:hover {
  background: transparent;
}

/* .download-btn img {
  width: 20px;
  height: 20px;
} */

/* Tooltip Styles */
.floating-button::after {
  content: attr(title);
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.floating-button::after {
  content: attr(title);
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.floating-button:hover::after {
  opacity: 1;
  visibility: visible;
  left: 75px;
}

/* Animations */
@keyframes slideInLeft {
  from {
    transform: translateY(-50%) translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Pulse animation for attention */
.floating-button.pulse {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-buttons {
    left: 15px;
    gap: 12px;
  }

  .floating-button {
    width: 50px;
    height: 50px;
  }

  .floating-button i {
    font-size: 20px;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
  }

  .floating-button::after {
    left: 60px;
    font-size: 12px;
    padding: 6px 10px;
  }

  .floating-button:hover::after {
    left: 65px;
  }
}

@media (max-width: 480px) {
  .floating-buttons {
    left: 10px;
    gap: 10px;
  }

  .floating-button {
    width: 45px;
    height: 45px;
  }

  .floating-button i {
    font-size: 18px;
  }

  .floating-icon {
    width: 35px;
    height: 35px;
  }
}

/* Hide on very small screens if needed */
@media (max-width: 320px) {
  .floating-buttons {
    display: none;
  }
}
