/* ===== FOOTER BASE ===== */
.footer {
  padding: 60px 80px;
  background-color: rgb(30,43,60);
  color: white;
  font-weight: 500;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-bottom: 1px dotted #333;
  padding-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
}

/* ===== LOGO SECTION ===== */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  min-width: 220px;
}

.footer-logo .logo-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-left: 6px;
  margin-top: -29px;
  margin-bottom: -15px;
}

.contact-info-1 p {
  margin: 5px 0;
  color: rgb(240, 187, 13);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== OTHER FOOTER SECTIONS ===== */
.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #c47b3c;
  margin-left: -2px;
  margin-right: -26px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: -12px;
}

.footer-section ul li {
  margin-bottom: 10px;
  color: #ddd;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 13px;
}

.footer-section ul li:hover {
  color: #e0a75f;
}

/* ===== NEWSLETTER ===== */
.newsletter p {
  color: white;
  margin-bottom: 20px;
}

.subscribe-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.subscribe-box input {
  width: 220px;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  margin-left: 11px;
}

.subscribe-box button {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(to right, #e3a8a2, #a98ce0);
  color: rgb(30,43,60);
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 12px;
}

.subscribe-box button:hover {
  opacity: 0.9;
}

/* ===== FOOTER BOTTOM ===== */
.footer p {
    text-align: left;
    color: #ddd;
    font-size: 0.9rem;
    margin-top: 12px;
    margin-left: -3px;
    /* margin-left: -20px; */
}

.footer-bottom p {
  text-align: left;
  color: #eeeeee;
  font-size: 0.9rem;
  margin-top: 12px;
  margin-left: -3px;
  letter-spacing: 0.3px;
  line-height: 1.6;
  text-align: center;
}

/* ===== Floating Button Base ===== */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999; /* always on top */
}

.floating-buttons a {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* ===== Individual Button Colors ===== */
.whatsapp-btn {
  background-color: #25d366; /* WhatsApp green */
}

.call-btn {
     background-color: #e75c5c; 
}

.instagram-btn {
  background-color: #1877f2; /* Facebook blue */
}

/* Hover effects */
.floating-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* ===== Tooltip Styles ===== */
.floating-buttons a::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: #333;
  color: #fff;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
  white-space: nowrap;
}

.floating-buttons a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .floating-buttons a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .floating-buttons a::after {
    right: 60px;
    font-size: 12px;
  }
  .footer-section h3{
    margin-left: -20px;
  }
}

/* ===== Optional Entrance Animation ===== */
.floating-buttons {
  animation: slideIn 0.6s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== DESKTOP ALIGNMENT ===== */
@media (min-width: 769px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr; /* Logo left, others right */
    align-items: flex-start;
  }

  .footer-logo {
    align-items: flex-start;
  }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer {
    padding: 40px 30px;
    text-align: center;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-logo .logo-img {
    width: 100px;
    height: auto;
    margin-left: 8px;
  }

  .footer-section {
    width: 100%;
  }

  .subscribe-box {
    flex-direction: column;
    align-items: center;
  }

  .subscribe-box input,
  .subscribe-box button {
    width: 100%;
    max-width: 320px;
  }

  .footer p {
    font-size: 0.8rem;
    margin-left: 8px;
    text-align: center;
  }
}
