/* Shared KreditMantra styles for legal pages. */

/* Match the updated KreditMantra banner and navigation palette. */
.top_banner {
  background: #0B6246 !important;
  color: #F5F2F2;
}

.custom-navbar .desktop-apply-btn .btn-primary,
.custom-navbar .applynowbtn {
  background: #0F2854 !important;
  border-color: #0F2854 !important;
  border-radius: 10px !important;
  color: #F5F2F2 !important;
  font-weight: 500;
  padding: 9px 20px;
  font-size: 18px;
}

.custom-navbar .desktop-apply-btn .btn-primary:hover,
.custom-navbar .applynowbtn:hover {
  background: #0B6246 !important;
  border-color: #0B6246 !important;
}

@media (max-width: 1139.99px) {
  .custom-navbar .desktop-apply-btn .btn-primary,
  .custom-navbar .applynowbtn {
    padding: 10px 12px;
    font-size: 15px;
  }
}

/* Shared KreditMantra footer for legal pages. */
.legal-footer {
  background: #0B6246;
  position: relative;
  z-index: 99;
  color: #F5F2F2;
}

.legal-footer::after {
  position: absolute;
  content: "";
  border: 1px solid #eee;
  width: 100%;
  bottom: 90px;
  left: 0;
}

.legal-footer .footer-logo {
  background: #F5F2F2;
  width: 330px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 28px;
}

.legal-footer .footer-logo img {
  width: 300px;
}

.legal-footer .footer-logo-side h4,
.legal-footer .footer-links h4,
.legal-footer .follow h4,
.legal-footer .copy-text h4 {
  color: #fff;
  font-family: Manrope, sans-serif;
  margin-bottom: 0;
}

.legal-footer .footer-logo-side h4 {
  font-size: 20px;
  line-height: 35px;
  font-weight: 600;
}

.legal-footer .footer-logo-side p,
.legal-footer .footer-links p {
  color: #F5F2F2;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.09;
}

.legal-footer .footer-links h4 {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  margin-bottom: 10px;
}

.legal-footer .footer-links ul {
  list-style: none;
  padding-left: 0;
}

.legal-footer .footer-links ul li {
  margin-bottom: 5px;
}

.legal-footer .footer-links ul li a {
  color: #F5F2F2;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  line-height: 10px;
  text-decoration: none;
}

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

.legal-footer .footer-links p {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
}

.legal-footer .copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0 39px;
}

.legal-footer .follow {
  display: flex;
  align-items: center;
}

.legal-footer .follow h4,
.legal-footer .copy-text h4 {
  font-size: 18px;
  line-height: 30px;
}

.legal-footer .copy-text h4 {
  text-align: right;
}

@media (max-width: 768px) {
  .legal-footer .footer-logo {
    width: 65%;
    height: 70px;
  }

  .legal-footer .footer-logo img {
    width: 220px;
  }

  .legal-footer .footer-logo-side h4,
  .legal-footer .footer-links h4 {
    font-size: 18px;
  }

  .legal-footer .footer-logo-side p,
  .legal-footer .footer-links p,
  .legal-footer .footer-links ul li a {
    font-size: 16px;
  }

  .legal-footer .footer-links.ms-5 {
    margin-left: 0 !important;
  }

  .legal-footer .copyright {
    padding: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .legal-footer .copy-text h4 {
    font-size: 16px;
    text-align: center;
  }

  .legal-footer::after {
    bottom: 86px;
  }
}
