/* ===== Footer Styling ===== */
@import '/css/global.css';

*{
    margin: 0;
}

.footer {
  background: #0a0a0a;
  color: #ccc;
  padding: 60px 20px 30px;
  font-family: 'Poppins', sans-serif;
  /* margin-top: 20px; */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer h3, .footer h4 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer p {
  line-height: 1.6;
  font-size: 14px;
}

.footer-links ul,
.footer-services ul,
.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-services li {
  margin: 8px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00dbde;
}

.footer-social ul {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social .icon {
  width: 24px;
  height: 24px;
  fill: #ccc;
  transition: fill 0.3s;
}

.footer-social a:hover .icon {
  fill: #00dbde;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
}

.footer-bottom p {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social ul {
    justify-content: center;
  }
}

/*  */
/* ===== Floating Buttons (WhatsApp & Scroll To Top) ===== */
.floating-buttons {
    position: fixed;
    /* right: 15px; */
    bottom: 15px;
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    z-index: 1000;
    padding: 0 20px;
    width: 100%;
    justify-content: space-between;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  background: #f5f8f6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn img {
  width: 70%;
  height: 70%;
  max-width: 30px;
  max-height: 30px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

/* Scroll to Top Button */
#scrollTopBtn {
  display: none;
  background: #00dbde;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
  background: #65e09e;
  transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .floating-buttons {
    right: 10px;
    bottom: 10px;
    gap: 12px;
  }

  .whatsapp-btn, #scrollTopBtn {
    width: 50px;
    height: 50px;
  }

  #scrollTopBtn {
    font-size: 1em;
  }
}

/* Footer subscribe form */
.footer-form {
  margin-top: 20px;
}

.footer-form h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-form form {
  display: flex;
  max-width: 400px;
}

.footer-form input[type="email"] {
  padding: 8px;
  width: calc(100% - 100px);
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.footer-form input[type="email"]:focus {
  outline: none;
}

.footer-form button {
  padding: 8px 12px;
  border: none;
  background: var(--accent-pink);
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.footer-form button:hover {
  background: #65e09e;
}

.footer-bottom a{
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #ffffff;
}
