/* 6. Footer */

.site-footer {
  background-color:rgb(126, 160, 173);
  color: #000000;
  padding: 8px 1px 0px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid #212529;
}


/* =================== FOOTER STYLING =================== */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  align-items: flex-start;
  padding: 0px 0px;
}


/* Brand Section */
.footer-brand {
  max-width: 280px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 10px;
  padding-left: 5px;
}

.footer-brand h3 {
  font-size: 16px;
  margin: 0;
  padding-left: 4px;
}

.footer-brand p {
  font-size: 16px;
  margin-top: 5px;
  padding-left: 4px;
}

.footer a {
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  line-height: 1.6;
  word-break: break-word; /* handles long links */
}

/* Contact Info Below Brand */

.footer-contact h4{
  font-weight: bold;
  font-size: 16px;
}

.footer-contact-links {
  margin-top: 4px;
  font-weight: bold;
}

.footer-contact-links a {
  color: #000000;
  display: block;
  text-decoration: none;
  margin: 4px 0;
  transition: color 0.3s ease;
}

.footer-contact-links a:hover {
  color: #f5f5f5;
}

/* Quick Links & Useful Links */
.footer-links,
.footer-useful {
  min-width: 180px;
}

.footer-contact h4,
.footer-links h4,
.footer-useful h4,
.footer-social h4 {
  font-size: 16px;
  margin-bottom: 9px;
}

.footer-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #f5f5f5;
}

/* Social Media */
.footer-social .social-links a {
  margin-right: 10px;
  font-size: 18px;
  color: #000000;
  transition: color 0.3s ease;
}

.footer-social .social-links a:hover {
  color: #ffc107;
}


/* Footer Bottom */
.footer-bottom {
  width: 99.3%;
  background-color: rgb(87, 142, 162);
  color: #000000;
  text-align:center;
  padding: 5px 5px;
  font-size: 16px;
  position: relative;
  border-top: 2px solid #fff;
  font-weight: bold;
}

.footer_bar {
    padding-top: 5px;
    padding-bottom: 5px;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-useful,
  .footer-social {
    margin-bottom: 20px;
    text-align: left;
  }

  .footer-brand img{
    align-content: center;
    margin: 0 auto;
  }

  .footer-brand,
  .footer-social{
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column
  }

  .footer-social .social-links {
    justify-content: right;
    display: flex;
  }

  .footer-social {
    margin-top: 10px;
  }
}


h1, h2, h3, h4, p, li, a {
  font-weight: 500;
}