/* ==========================================================================
   Site footer (footer.php) - loaded by footer.php itself so every page
   gets the same footer, whether or not it uses home.css.
   ========================================================================== */

#footer.ft {
  --ft-bg: #0a1c40;
  --ft-bg-2: #0c2552;
  --ft-cyan: #07d4e9;
  --ft-teal: #0891b2;
  --ft-text: rgba(255, 255, 255, 0.86);
  --ft-soft: rgba(255, 255, 255, 0.66);
  --ft-line: rgba(255, 255, 255, 0.1);
  position: relative;
  padding: 0;
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(7, 212, 233, 0.12), transparent 60%),
    radial-gradient(520px 260px at 100% 100%, rgba(7, 212, 233, 0.08), transparent 60%),
    linear-gradient(160deg, var(--ft-bg) 0%, var(--ft-bg-2) 100%);
  color: var(--ft-text);
  font-size: 14.5px;
}
#footer.ft::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ft-cyan), var(--ft-teal));
}

#footer.ft .ft-top {
  padding: 64px 0 36px;
  background: transparent;
}
#footer.ft .ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
  gap: 36px;
}

/* Headings */
#footer.ft .ft-brand {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
#footer.ft .ft-sub {
  margin: 22px 0 12px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}
#footer.ft .ft-title {
  position: relative;
  margin: 4px 0 22px;
  padding-bottom: 12px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}
#footer.ft .ft-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--ft-cyan);
}

/* Icon badge used for address / contact rows */
#footer.ft .ft-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(7, 212, 233, 0.14);
  color: var(--ft-cyan);
}

/* Address blocks */
#footer.ft .ft-place {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
#footer.ft .ft-place p {
  margin: 0;
  padding-top: 5px;
  color: var(--ft-text);
  font-size: 14.5px;
  line-height: 1.75;
}

/* Useful links */
#footer.ft .ft-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer.ft .ft-links li {
  padding: 0;
  margin: 0 0 4px;
}
#footer.ft .ft-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  color: var(--ft-text);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
#footer.ft .ft-links a i {
  color: var(--ft-cyan);
  font-size: 18px;
  line-height: 1;
}
#footer.ft .ft-links a:hover,
#footer.ft .ft-links a:focus-visible {
  color: var(--ft-cyan);
  transform: translateX(4px);
}

/* Contact rows */
#footer.ft .ft-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer.ft .ft-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ft-text);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#footer.ft .ft-contact li.ft-contact__gap {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--ft-line);
}
#footer.ft .ft-contact strong {
  margin-right: 4px;
  color: #fff;
  font-weight: 600;
}

/* Social buttons */
#footer.ft .ft-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}
#footer.ft .ft-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--ft-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
#footer.ft .ft-social a:hover,
#footer.ft .ft-social a:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ft-cyan), var(--ft-teal));
  transform: translateY(-3px);
}
#footer.ft .ft-social a.facebook:hover { background: #1877f2; }
#footer.ft .ft-social a.instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
#footer.ft .ft-social a.Whatsapp:hover { background: #25d366; }

#footer.ft a:focus-visible {
  outline: 2px solid var(--ft-cyan);
  outline-offset: 3px;
}

/* Bottom bar */
#footer.ft .ft-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--ft-line);
  background: rgba(0, 0, 0, 0.18);
  color: var(--ft-soft);
  font-size: 13.5px;
  text-align: center;
}
#footer.ft .ft-bottom strong {
  color: #fff;
}

/* Back-to-top button (shown by main.js on scroll) */
.back-to-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #07d4e9, #0891b2);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}
.back-to-top i {
  color: #fff;
  font-size: 28px;
}
.back-to-top:hover {
  background: #10275c;
}

/* Responsive */
@media (max-width: 991px) {
  #footer.ft .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
}
@media (max-width: 575px) {
  #footer.ft .ft-top {
    padding: 48px 0 24px;
  }
  #footer.ft .ft-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  #footer.ft .ft-title {
    margin-bottom: 16px;
  }
}

/* Label above value so long email addresses fit without breaking */
#footer.ft .ft-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
}
#footer.ft .ft-contact li {
  align-items: flex-start;
  overflow-wrap: break-word;
}
#footer.ft .ft-contact li > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 14.5px;
}
#footer.ft .ft-contact strong {
  margin: 0 0 1px;
  color: var(--ft-cyan);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
#footer.ft .ft-social {
  gap: 8px;
}
#footer.ft .ft-social a {
  width: 42px;
  height: 42px;
}
@media (max-width: 991px) {
  #footer.ft .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  #footer.ft .ft-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
