/* ── Footer ─────────────────────────────────────────────────────────────── */

#main-footer {
  background-color: #023363;
  padding: 60px 0;
  font-family: 'Rajdhani', Helvetica, Arial, Lucida, sans-serif;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Top row: 50% nav + 25% phone + 25% email */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 3px;
  padding-bottom: 1px;
}

.footer-nav {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 30px;
  box-sizing: border-box;
}

.footer-phone,
.footer-email {
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Bottom row: 50% + 50% */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  padding-top: 17px;
  padding-bottom: 1px;
}

.footer-certs,
.footer-legal {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
}

/* Typography */
#main-footer h1 {
  color: #ffffff;
  font-weight: 700;
  font-family: 'Rajdhani', Helvetica, Arial, Lucida, sans-serif;
  margin-top: 0;
  margin-bottom: 0;
}

#main-footer h4 {
  color: #ffffff;
  font-family: 'Rajdhani', Helvetica, Arial, Lucida, sans-serif;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-nav p {
  color: #ffffff;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.8em;
  margin-bottom: 20px;
}

.footer-nav p a {
  color: #bae2ef;
  text-decoration: none;
}

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

.footer-phone p,
.footer-email p {
  color: #ffffff;
  font-family: 'Rajdhani', Helvetica, Arial, Lucida, sans-serif;
  margin: 0;
}

.footer-phone a,
.footer-email a {
  color: #ffffff;
  text-decoration: none;
}

.footer-phone a:hover,
.footer-email a:hover {
  text-decoration: underline;
}

.footer-certs p,
.footer-legal p {
  color: #ffffff;
  font-family: 'Rajdhani', Helvetica, Arial, Lucida, sans-serif;
  line-height: 3em;
  margin: 0;
}

.footer-certs a,
.footer-legal a {
  color: #0da8e1;
  text-decoration: none;
}

.footer-certs a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 980px) {
  .footer-nav,
  .footer-phone,
  .footer-email,
  .footer-certs,
  .footer-legal {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
}
