/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.contact-toggle {
  display: none;
}

.contact-button {
  width: 60px;
  height: 60px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

/* স্থির টুলটিপ কন্টেইনার */
.static-tooltip {
  position: relative;
  margin-right: 15px;
}

/* স্থির টুলটিপ */
.static-tooltip::after {
  content: 'পাইকারি পন্য নিতে, অথবা কোন সমস্যা হলে যোগাযোগ করুন।';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  color: #333;
  font-size: 14px;
  text-align: center;
  opacity: 1;
  pointer-events: none;
}

/* স্থির তীর */
.static-tooltip::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid rgb(255, 255, 255);
  opacity: 1;
  filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
}

.contact-toggle:checked + .contact-button {
  transform: rotate(360deg);
  background: rgb(0, 90, 38);
  animation: none;
}

.contact-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 200px;
  padding: 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transform-origin: bottom right;
  transition: all 0.3s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-toggle:checked ~ .contact-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  transform: translateX(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.contact-toggle:checked ~ .contact-menu .contact-item {
  transform: translateX(0);
  opacity: 1;
}

.contact-toggle:checked ~ .contact-menu .contact-item:nth-child(1) {
  transition-delay: 0.1s;
}

.contact-toggle:checked ~ .contact-menu .contact-item:nth-child(2) {
  transition-delay: 0.2s;
}

.contact-toggle:checked ~ .contact-menu .contact-item:nth-child(3) {
  transition-delay: 0.3s;
}

.contact-item i {
  font-size: 20px;
  margin-right: 10px;
}

.contact-item span {
  font-size: 14px;
  font-weight: 500;
}

.messenger {
  background: #0084ff;
}

.whatsapp {
  background: #25d366;
}

.phone {
  background: #075e54;
}

.contact-item:hover {
  transform: translateX(5px) !important;
}