
/* ============================================================
   FOOTER — White Background Redesign
   ============================================================ */
.site-footer {
  background: #ffffff !important;
  color: var(--text-dark);
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid var(--gray-200);
  font-family: 'Poppins', sans-serif;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-desc {
  color: var(--text-muted) !important;
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 290px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-socials a {
  width: 38px; height: 38px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s;
  text-decoration: none;
}
.footer-socials a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(10,22,40,0.15);
}

.footer-col-title {
  color: rgb(26, 26, 26) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
  position: relative;
  padding-bottom: 12px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  background: var(--yellow);
  border-radius: 10px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0px;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1.5px;
  background: var(--yellow-dark);
  display: inline-block;
  transition: width 0.25s;
  margin-right: 0;
  border-radius: 10px;
}
.footer-links a:hover {
  color: var(--navy);
  gap: 8px;
}
.footer-links a:hover::before { width: 10px; }

/* Newsletter */
.footer-newsletter-sub {
  font-size: 13px;
  color: var(--text-muted) !important;
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-newsletter {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}
.footer-newsletter:focus-within { border-color: var(--yellow-dark); }
.footer-newsletter input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 13px;
  background: var(--gray-100);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
}
.footer-newsletter input::placeholder { color: #b0bec5; }
.footer-newsletter button {
  padding: 12px 18px;
  background: var(--navy);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s;
  white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--yellow-dark); color: var(--navy); }

/* Mini contact info */
.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-mini a,
.footer-contact-mini span {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}
.footer-contact-mini a:hover { color: var(--navy); }
.footer-contact-mini i {
  color: slategrey;
  font-size: 13px;
  width: 16px;
  flex-shrink: 0;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 60px 0 0;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0;
}

.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom-logo img {
  height: 30px;
  width: auto;
  opacity: 0.7;
}
.footer-bottom-logo span {
  color: var(--text-muted);
  font-size: 12.5px;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom-links a:hover { color: var(--yellow-dark); }


/* ── MOBILE ── */
@media (max-width: 767px) {
  .site-footer { padding: 28px 0 0; }

  /* Brand block: full-width, bottom border as divider */
  .footer-top .col-12:first-child {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 20px;
    margin-bottom: 4px;
  }

  .footer-desc { max-width: 100%; font-size: 12px; margin-bottom: 16px; }
  .footer-logo-img { height: 32px; margin-bottom: 12px; }
  .footer-socials a { width: 32px; height: 32px; font-size: 13px; border-radius: 7px; }

  /* Services & Company: clean 2-col grid, divided by a border */
  .footer-top .col-6 { width: 50%; }
  .footer-top .col-6:first-of-type { 
    border-right: 1px solid var(--gray-200); 
    padding-right: 16px; 
  }
  .footer-top .col-6:last-of-type { padding-left: 16px; }

  .footer-col-title {
    font-size: 10px !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px;
  }
  .footer-links a { font-size: 12px; }
  .footer-links li { margin-bottom: 8px; }

  /* Stay Connected: full-width, top border as divider */
  .footer-top .col-12:last-child {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
  }

  .footer-newsletter-sub { font-size: 11.5px; margin-bottom: 12px; }
  .footer-newsletter { border-radius: 10px; }
  .footer-newsletter input { padding: 10px 12px; font-size: 12px; }
  .footer-newsletter button { padding: 10px 14px; font-size: 11.5px; }

  .footer-contact-mini a,
  .footer-contact-mini span { font-size: 12px; }

  /* Bottom bar */
  .footer-divider { margin: 0; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0;
    gap: 8px;
  }
  .footer-bottom-logo {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .footer-bottom-logo img { height: 26px; }
  .footer-bottom-logo span { font-size: 11px; }
  .footer-bottom-links { justify-content: center; gap: 14px; }
  .footer-bottom-links a { font-size: 11px; }
}

@media (max-width: 400px) {
  .footer-top .col-6 { width: 100%; }
  .footer-top .col-6:first-of-type { 
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-right: 0;
    padding-bottom: 16px;
  }
  .footer-top .col-6:last-of-type { padding-left: 0; }
  .footer-newsletter { flex-direction: column; }
  .footer-newsletter button { border-radius: 0 0 9px 9px; }
}
/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#backToTop {
  position: fixed; bottom: 35px; right: 35px;
  width: 52px; height: 52px;
  background: var(--yellow);
  display: none; align-items: center; justify-content: center;
  border-radius: 50%; text-decoration: none;
  color: var(--navy); cursor: pointer; z-index: 9999; font-size: 18px;
  box-shadow: 0 6px 20px rgba(240,180,41,0.4);
  transition: 0.3s;
}
#backToTop:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(240,180,41,0.45);
}