@import url("root-styles.css");

footer {
  background: #1a2535;
  color: #aab8cc;
  padding: 4rem 2rem 0;
}

footer img.footer-logo {
  height: 48px;
}

footer p.footer-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  margin-top: 0;
  color: #8da3bc;
  text-align: justify;
}

footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #aab8cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.footer-social-link:hover {
  background: var(--accent);
  color: var(--navy);
}

/* Quick links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links li a {
  color: #8da3bc;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease;
}
.footer-links li a:hover {
  color: var(--accent);
}

/* Contact items */
footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
}
footer .contact-item i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
footer .contact-item a,
footer .contact-item span {
  color: #8da3bc;
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.25s ease;
}
footer .contact-item a:hover {
  color: var(--accent);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.2rem 2rem;
  font-size: 0.82rem;
  color: #5a6e86;
}
.footer-bottom-links a {
  color: #5a6e86;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 991.98px) {
  footer {
    padding: 3rem 1.5rem 0;
  }
  .footer-bottom {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  footer .row {
    gap: 2rem;
  }
  footer .col-md-6,
  footer .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  footer .offset-lg-1 {
    margin-left: 0;
  }
  footer img.footer-logo {
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  footer {
    padding: 2.5rem 1rem 0;
  }
  footer p.footer-desc,
  footer .contact-item,
  .footer-links li a {
    font-size: 0.83rem;
  }
  .footer-bottom {
    margin-top: 2rem;
    font-size: 0.78rem;
    padding: 1rem;
    text-align: center;
  }
  .footer-bottom-links {
    display: block;
    margin-top: 0.3rem;
  }
}
