/* ========================================================
   AXIANG FLOATING QUICK CONTACT WIDGET (ALL PAGES)
   ======================================================== */

.ax-floating-contact {
  position: fixed;
  bottom: 35px;
  right: 30px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.ax-floating-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

/* Outer Ring Effect */
.ax-floating-btn::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  z-index: -1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.ax-floating-btn::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  z-index: -2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover State */
.ax-floating-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.ax-floating-btn:hover::before {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.45);
}

/* Icon Images / SVGs */
.ax-floating-btn svg,
.ax-floating-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.ax-btn-phone img {
  width: 24px;
  height: 24px;
}

.ax-btn-messenger img {
  width: 26px;
  height: 26px;
}

/* Tooltip on Hover */
.ax-floating-tooltip {
  position: absolute;
  right: 65px;
  background: #1f201e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ax-floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  border-width: 4px 0 4px 4px;
  border-style: solid;
  border-color: transparent transparent transparent #1f201e;
}

.ax-floating-btn:hover .ax-floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .ax-floating-contact {
    bottom: 25px;
    right: 20px;
    gap: 12px;
  }

  .ax-floating-btn {
    width: 46px;
    height: 46px;
  }

  .ax-floating-btn svg,
  .ax-floating-btn img {
    width: 22px;
    height: 22px;
  }

  .ax-floating-tooltip {
    display: none; /* Hide tooltips on touch devices */
  }
}
