/* Adding floating WhatsApp button styles */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0 15px;
  background-color: #25d366;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}

.whatsapp-float .whatsapp-text {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  width: 0;
  transition: all 0.3s ease;
}

.whatsapp-float a:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  width: auto;
  min-width: 180px;
}

.whatsapp-float a:hover .whatsapp-text {
  opacity: 1;
  width: auto;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile responsive styles for floating button */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float a {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .whatsapp-float a:hover {
    width: 50px;
    min-width: 50px;
  }

  .whatsapp-float .whatsapp-text {
    display: none;
  }
}
