.footer {
  position: relative;
  background: #0a377d;
  color: #ffffff;
  padding: 90px 0 0;
  overflow: hidden;
}

/* decorative curved lines */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

/* top-left white */
.footer::before {
  width: 360px;
  height: 360px;
  background: #ffffff;
  opacity: 0.08;
  top: -180px;
  left: -180px;
}

/* bottom-right green */
.footer::after {
  width: 420px;
  height: 420px;
  background: #2e9b45;
  opacity: 0.85;
  bottom: -220px;
  right: -220px;
}

/* extra green line */
.footer .container::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: -140px;
  right: 60px;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* map */
.map-placeholder {
  height: 220px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
}

.map-placeholder i {
  font-size: 28px;
  color: #0d4aa8;
  margin-bottom: 6px;
}

/* brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 46px;
}

.footer-brand h5 {
  margin: 0;
  line-height: 1.1;
}

.footer-text {
  margin-top: 14px;
  max-width: 280px;
  color: #e6ecf7;
}

/* links */
.footer-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e6ecf7;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* bottom */
.footer-bottom {
  margin-top: 50px;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.15);
  text-align: center;
  font-size: 13px;
}

/* brand colors */
.brand-blue-footer {
  color: #0d6efd;
  font-weight: 700;
  font-size: 24.3px;
}

.brand-green-footer {
  color: #20b74c;
  font-weight: 400;
}

/* mobile */
@media (max-width: 768px) {
  .footer {
    text-align: center;
    padding-top: 70px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-text {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact li {
    justify-content: center;
  }

  .map-placeholder {
    height: 200px;
  }
}
