/* ===== Floating Social Media Box (Left Center) ===== */
.social-floating-box {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #263778;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 16px 10px; /* Increased for desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 1200;
}

.social-floating-box a {
  font-size: 1.6rem; /* Larger icons on desktop */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Brand Colors for social icons */
.social-floating-box a[href*="facebook"] i {
  color: #1877F2;
}

.social-floating-box a[href*="instagram"] i {
  color: #E1306C; /* Original Instagram color */
}

.social-floating-box a[href*="wa.me"] i {
  color: #25D366;
}

.social-floating-box a[href*="linkedin"] i {
  color: #0077B5;
}

.social-floating-box a[href*="youtube"] i {
  color: #FF0000;
}

.social-floating-box a:hover i {
  opacity: 0.7;
  transform: scale(1.2);
}

/* ===== Chatbot Container (Right Bottom) ===== */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 1000;
}

.call-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: #273976;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.call-icon:hover {
  background: #1f2e67;
  transform: scale(1.1);
}

.call-icon i {
  transform: scaleX(-1);
}

.whatsapp-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 36px;
}

.whatsapp-icon:hover {
  background: #1ebe57;
  transform: scale(1.1);
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #273976;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  position: absolute;
  right: 95px;
  font-size: 14px;
  transition: opacity 0.2s ease-in-out;
  white-space: nowrap;
}

.chatbot-container a:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ===== Responsive Adjustments ===== */

@media (max-width: 768px) {
  /* Social Floating Box */
  .social-floating-box {
    left: 10px;
    padding: 10px 6px;
    gap: 14px;
  }

  .social-floating-box a {
    font-size: 1.2rem;
  }

  /* Chatbot Container */
  .chatbot-container {
    right: 15px;
    bottom: 15px;
    gap: 12px;
  }

  .call-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .call-icon i {
    transform: scaleX(-1);
  }

  .whatsapp-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .tooltip-text {
    display: none;
  }
}
