/* Container cho các nút */
.contact-icons {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  width: 50px;
  align-items: flex-end;
}

/* Thiết kế chung cho các nút */
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 250px;
  padding: 12px;
  /* background-color: #7AB730;  */
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  width: 50px; /* Chỉ hiển thị icon */
}

.contact-icon i {
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

/* Ẩn text khi chưa hover */
.contact-icon .text {
  margin-left: 10px;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}

/* Hiển thị đầy đủ khi hover */
.contact-icon:hover {
  width: 250px;
  justify-content: flex-start;
  color: white;
}

.contact-icon:hover .text {
  opacity: 1;
}

.contact-icon:hover i {
  margin-right: 10px;
}

/* .contact-icon.phone {
    background-color: #7AB730; 
} */

/* .contact-icon.facebook {
    background-color: #4267B2; 
} */

/* .contact-icon.zalo {
    background-color: #00A3FF;
    padding-left: 12px;
} */

.contact-icon.boxAdvise {
  padding-left: 16px;
}
@media (max-width: 768px) {
  .contact-icons {
    position: fixed;
    right: 15px;
    bottom: 15px;
  }
}
