/* WhatsApp Button & Popup Styles */
.whatsapp-button {
  position: fixed;
  bottom: 120px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.whatsapp-icon {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  order: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-button i {
  font-size: 32px;
  color: white;
}

.whatsapp-label {
  order: 2;
}

.whatsapp-popup {
  position: fixed;
  bottom: 200px;
  right: 25px;
  width: 320px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  z-index: 998;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.whatsapp-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-popup-header {
  position: relative;
  padding: 20px;
  text-align: center;
  background-color: #f8f8f8;
}

.whatsapp-popup-logo {
  width: 80px;
  height: auto;
  margin: 0 auto;
}

.whatsapp-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.whatsapp-popup-close:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.whatsapp-popup-body {
  padding: 20px;
  text-align: center;
}

.whatsapp-popup-body p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a4a;
}

.whatsapp-popup-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background-color: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.whatsapp-popup-icon i {
  font-size: 28px;
  color: white;
}

.whatsapp-popup-button {
  display: inline-block;
  padding: 10px 24px;
  background-color: #f8f8f8;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.whatsapp-popup-button:hover {
  background-color: #ebebeb;
}

.whatsapp-button.popup-active .whatsapp-icon {
  transform: scale(0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


@media (max-width: 480px) {
  .whatsapp-popup {
    width: calc(100% - 50px);
    right: 25px;
    bottom: 180px;
  }

  .whatsapp-button {
    bottom: 110px;
    right: 20px;
  }

  .whatsapp-icon {
    width: 60px;
    height: 60px;
  }

  .whatsapp-button i {
    font-size: 28px;
  }
}

/* Call Button Styles */
.callback-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.callback-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.callback-label {
  margin-top: -8px;
  width: 96px;
  height: 26px;
  border-radius: 12px;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.2px;
  line-height: 26px;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  order: 2;
}

.callback-icon {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  order: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .callback-button {
    bottom: 20px;
    right: 20px;
  }
  
  .callback-icon {
    width: 80px !important;
    height: 80px !important;
  }
  
  .callback-label {
    width: 80px;
    font-size: 10px;
  }
}