.main-footer {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 8%;
  border-top: 2px solid var(--primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* --- FOOTER MOBILE CENTERING --- */
@media (max-width: 768px) {
  .main-footer {
    flex-direction: column !important;
    text-align: center !important;
    padding: 30px 20px !important;
  }

  .footer-brand,
  .footer-copyright {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-copyright a,
  .footer-copyright p {
    display: block !important;
    margin: 5px auto !important;
  }
}

.wa-container {
  position: fixed;
  bottom: 55px;
  right: 25px;
  display: flex;
  align-items: center;
  z-index: 9999;
  flex-direction: row;
}

.wa-label {
  background: #ffffff;
  color: #075e54;
  padding: 12px 25px 12px 20px;
  border-radius: 50px 0 0 50px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;

  margin-right: -20px;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
  white-space: nowrap;

  z-index: 1;
}

.wa-float {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
  /* Important: Button must be above the label */
  z-index: 2;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Pulse Animation */
.wa-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: wa-pulse 2.5s infinite;
}

/* Hover Interaction */
.wa-container:hover .wa-label {
  opacity: 1;
  transform: translateX(0);
}

.wa-container:hover .wa-float {
  transform: scale(1.1) rotate(10deg);
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Mobile: Hide label to prevent layout issues */
/* ... keep all your existing CSS above ... */

@media (max-width: 768px) {
  .wa-container {
    /* This moves the button further down on mobile screens */
    bottom: 1px;
    right: 1px;
  }

  .wa-label {
    /* Hiding the label on mobile is standard practice to prevent 
           it from covering your website content/buttons */
    display: none;
  }

  .wa-float {
    width: 55px;
    height: 55px;
  }
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu-list {
    padding: 0px;
  }

  .wa-label {
    display: none;
  }

  .wa-float {
    width: 55px;
    height: 55px;
  }
}
