/* Fixed Floating Action Buttons - Call & Zalo */
.fab-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fab-contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: shakeFab 2s infinite;
  animation-play-state: paused;
}

.fab-contact-btn:hover {
  background-color: #2bac47;
  transform: scale(1.1);
  text-decoration: none;
  color: white;
}

.fab-contact-btn.zalo-btn {
  background: #008fe5;
  padding: 0;
}

.fab-contact-btn.zalo-btn img {
  width: 32px;
  height: 32px;
  opacity: 1 !important; /* Fix opacity issue */
  filter: none !important; /* Remove any filters */
}

.fab-contact-btn.heygen-btn {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fab-contact-btn.heygen-btn:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.fab-contact-btn.heygen-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 1 !important; /* Fix opacity issue */
  filter: none !important; /* Remove any filters */
}

@keyframes shakeFab {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.fab-contact-btn:hover {
  animation-play-state: running;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fab-contact {
    right: 16px;
    bottom: 16px;
  }
  
  .fab-contact-btn {
    width: 56px;
    height: 56px;
  }
  
  .fab-contact-btn.zalo-btn img {
    width: 28px;
    height: 28px;
  }
}

/* Ensure no conflicts with other CSS */
.fab-contact * {
  box-sizing: border-box;
}

.fab-contact img {
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
}
