.floating_btn {
  z-index: 9000;
}
.ant-modal-root {
  z-index: 10000 !important;
}

.ant-modal-mask {
  z-index: 9999 !important;
}
.ant-modal-wrap {
  z-index: 10000 !important;
}


a {
  text-decoration: none;
}

.floating_btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9000;
}

/* glowing effect */
@keyframes pulsing {
  0% {
    box-shadow: 0 0 0 0 var(--color-primary);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(32, 37, 35, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 193, 103, 0);
  }
}

.contact_icon {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  width: 50px;
  height: 50px;
  font-size: 30px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulsing 1.5s infinite;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.chat-text {
  position: fixed;
  bottom: 25px;
  right: 40px;
  z-index: 99;
  font-weight: 700;
  color: black;
}

/* ============= Floating chat icons ============= */

.chat-item {
  position: fixed;
  bottom: 60px;
  right: 60px;
  z-index: 100;
}

.chat-item li {
  list-style: none;
  width: 50px;
  height: 50px;
  line-height: 46px;
  text-align: center;
  color: var(--color-text-white);
  border-radius: 50%;
  position: absolute;
  bottom: -17px;
  right: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
}

.openChatItems li {
  opacity: 1;
  pointer-events: auto;
}

/* stagger animation positions */
.openChatItems li:nth-child(1) {
  transform: translateY(-70px);
  transition-delay: 0.05s;
}
.openChatItems li:nth-child(2) {
  transform: translateY(-140px);
  transition-delay: 0.1s;
}
.openChatItems li:nth-child(3) {
  transform: translateY(-210px);
  transition-delay: 0.15s;
}
.openChatItems li:nth-child(4) {
  transform: translateY(-280px);
  transition-delay: 0.2s;
}

.phone,
.whatsapp {
  background-color: #02b43c;
}
.messenger {
  background-color: #01a0f7;
}
.imo {
  background-color: #0c79e8;
}

.chat-item li svg {
  color: var(--color-text-white) !important;
  fill: currentColor !important;
}


.chat-item li:hover {
  filter: brightness(1.1);
}


.chat-item li i {
  font-size: 22px;
}



/* ================= Responsive ================= */

@media (max-width: 992px) {
  .message-icon {
    bottom: 75px;
    right: 25px;
    width: 40px;
    height: 40px;
  }

  .chat-text {
    font-size: 14px;
    bottom: 75px;
    right: 18px;
  }

  .chat-item {
    bottom: 80px;
    right: 25px;
  }

  .chat-item li {
    width: 40px;
    height: 40px;
    line-height: 37px;
    bottom: 5px;
    right: 6px;
  }

  .openChatItems li:nth-child(1) {
    transform: translateY(-55px);
  }
  .openChatItems li:nth-child(2) {
    transform: translateY(-110px);
  }
  .openChatItems li:nth-child(3) {
    transform: translateY(-165px);
  }
  .openChatItems li:nth-child(4) {
    transform: translateY(-220px);
  }

  .floating_btn {
  position: fixed;
  bottom: 70px;
  right: 0px;
}



}

@media (max-width: 768px) {
  .message-icon {
    bottom: 75px;
    right: 25px;
    width: 40px;
    height: 40px;
  }

  .chat-text {
    font-size: 14px;
    bottom: 75px;
    right: 18px;
  }

  .chat-item {
    bottom: 80px;
    right: 25px;
  }

  .chat-item li {
    width: 40px;
    height: 40px;
    line-height: 37px;
    bottom: 5px;
    right: 6px;
  }

  .openChatItems li:nth-child(1) {
    transform: translateY(-55px);
  }
  .openChatItems li:nth-child(2) {
    transform: translateY(-110px);
  }
  .openChatItems li:nth-child(3) {
    transform: translateY(-165px);
  }
  .openChatItems li:nth-child(4) {
    transform: translateY(-220px);
  }

  .floating_btn {
  position: fixed;
  bottom: 70px;
  right: 0px;
}

}

@media (max-width: 425px) {
  .message-icon {
    bottom: 75px;
    right: 25px;
    width: 40px;
    height: 40px;
  }

  .chat-text {
    font-size: 14px;
    bottom: 75px;
    right: 13px;
  }

  .chat-item {
    bottom: 80px;
    right: 25px;
  }

  .chat-item li {
    width: 40px;
    height: 40px;
    line-height: 37px;
    bottom: 5px;
    right: -2px;
  }

  .openChatItems li:nth-child(1) {
    transform: translateY(-55px);
  }
  .openChatItems li:nth-child(2) {
    transform: translateY(-110px);
  }
  .openChatItems li:nth-child(3) {
    transform: translateY(-165px);
  }
  .openChatItems li:nth-child(4) {
    transform: translateY(-220px);
  }

  .floating_btn {
  position: fixed;
  bottom: 70px;
  right: -8px;
}

}

@media (max-width: 425px) {
  .message-icon {
    bottom: 75px;
    right: 25px;
    width: 40px;
    height: 40px;
  }

  .chat-text {
    font-size: 14px;
    bottom: 90px;
    right: 11px;
  }

  .chat-item {
    bottom: 80px;
    right: 25px;
  }

  .chat-item li {
    width: 40px;
    height: 40px;
    line-height: 37px;
    bottom:20px;
    right: -10px;
  }

  .openChatItems li:nth-child(1) {
    transform: translateY(-55px);
  }
  .openChatItems li:nth-child(2) {
    transform: translateY(-110px);
  }
  .openChatItems li:nth-child(3) {
    transform: translateY(-165px);
  }
  .openChatItems li:nth-child(4) {
    transform: translateY(-220px);
  }

  .floating_btn {
  position: fixed;
  bottom: 85px;
  right: -15px;
}

}
