/* Contact Widget Styles */
.al-contact-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.al-contact-toggle {
  width: 60px;
  height: 60px;
  background: var(--al-accent, #caaa72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.al-contact-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.al-contact-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.al-contact-widget.active .al-contact-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.al-contact-item {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid var(--al-accent, #caaa72);
}

.al-contact-item:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.al-contact-item:hover .al-contact-icon {
  color: #fff;
}

.al-contact-icon {
  font-size: 20px;
  color: var(--al-accent, #caaa72);
  transition: color 0.3s ease;
}

.al-contact-icon-email::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(https://apartmentsmohali.com/wp-content/uploads/2025/10/icons8-email.gif) no-repeat center;
  margin-right: 0px;
  margin-top: 8px;
}

.al-contact-icon-phone::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(https://apartmentsmohali.com/wp-content/uploads/2025/10/icons8-call.gif) no-repeat center;
  margin-right: 0px;
  margin-top: 8px;
}

.al-contact-icon-whatsapp::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(https://apartmentsmohali.com/wp-content/uploads/2025/10/icons8-whatsapp.gif) no-repeat center;
  margin-right: 0px;
  margin-top: 8px;
}


.al-contact-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.al-contact-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #333;
}

.al-contact-item:hover .al-contact-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Animation for toggle button */
.al-contact-widget.active .al-contact-toggle {
  transform: rotate(45deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .al-contact-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .al-contact-toggle {
    width: 50px;
    height: 50px;
  }
  
  .al-contact-item {
    width: 45px;
    height: 45px;
  }
  
  .al-contact-icon {
    font-size: 18px;
  }
  
  .al-contact-tooltip {
    display: none; /* Hide tooltips on mobile */
  }
}

/* WhatsApp specific styling */

.al-contact-item[data-action="whatsapp"]:hover .al-contact-icon {
  color: #fff;
}

/* Email specific styling */
.al-contact-item[data-action="email"]:hover {
  border-color: #caaa72;
}

.al-contact-item[data-action="email"]:hover .al-contact-icon {
  color: #fff;
}
.al-contact-toggle i.al-contact-icon.al-contact-icon-phone {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex
;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s 
ease;
  position: relative;
  border: 2px solid var(--al-accent, #caaa72);
}

/* Phone specific styling */
.al-contact-item[data-action="call"]:hover {
  border-color: #caaa72;
}

.al-contact-item[data-action="call"]:hover .al-contact-icon {
  color: #fff;
}
