/* ============================================================================
   original-footer.css — 1:1 port of the coredocuments.com footer.
   Values captured from the live theme (style.css lines 507-745 "Footer css
   start", plus the .home-container sizes and body typography) on the
   2026-06-14 snapshot. style.css loads after home-style.css on the original,
   so its .footer{padding:30px 0} wins over home-style's 22px — the style.css
   values are the ones ported here.
   New cd-footer-* class names so none of the retired mitech footer rules
   (.footer-area-wrapper etc.) can match. Loaded right after original-nav.css.
   Reuses .cd-container from original-nav.css (original .home-container).
   ========================================================================== */

/* ---- scope typography (original body: Montserrat 17px/24px #000) --------- */
.cd-footer {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    background-color: #fff;
}

.cd-footer a {
    text-decoration: none;
}

/* ---- bordered footer band (original section.footer) ---------------------- */
/* On the original the 4px red borders sit on .footer INSIDE .home-container,
   so they span the 1170px container, not the viewport. */
.cd-footer__inner {
    border-top: 4px solid #B30909;      /* var(--border-clr) */
    border-bottom: 4px solid #B30909;
    padding: 30px 0px;
}

/* ---- main row: menus left, contact card right (original .footer-row) ----- */
.cd-footer__row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

@media (min-width: 992px) {                 /* original flex-lg-row */
    .cd-footer__row {
        flex-direction: row;
    }
}

/* ---- menu sections (original .footer-menu-section) ----------------------- */
.cd-footer__menu-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 0%;
    gap: 40px;
}

@media (min-width: 992px) {                 /* original flex-lg-row */
    .cd-footer__menu-section {
        flex-direction: row;
    }
}

@media (min-width: 1500px) {
    .cd-footer__menu-section {
        gap: 70px;
    }

    .cd-footer__menu-section--bottom {
        gap: 0;
    }
}

/* original .bootom-footer-menu */
.cd-footer__menu-section--bottom {
    margin-top: 32px;
}

@media (min-width: 1400px) {                /* original justify-content-xxl-start */
    .cd-footer__menu-section--bottom {
        justify-content: flex-start;
    }
}

@media (min-width: 1700px) {
    .cd-footer__menu-section--bottom .cd-footer-menu--bf1 {
        width: 40%;
    }

    .cd-footer__menu-section--bottom .cd-footer-menu--bf2 {
        width: 40%;
        padding-left: 1%;
    }

    .cd-footer__menu-section--bottom .cd-footer-menu--bf3 {
        width: 20%;
        padding-left: 3%;
    }
}

/* ---- one menu column (original .footer-menu) ----------------------------- */
.cd-footer-menu h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
    color: #000000;                          /* var(--text-clr) */
    opacity: 0.99;
    margin: 0 0 30px 0;
    padding: 0;
}

.cd-footer-menu h5 a {
    color: #000;
}

.cd-footer-menu h5 a:hover {
    color: #000397;
}

/* original .footer .footer-menu .menu */
.cd-footer-menu__list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.cd-footer-menu li a {
    display: block;
    font-size: 15px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: 0.34px;
    color: #0A2E7C;                          /* var(--heading-clr) */
    opacity: 0.99;
    padding: 0px;
}

.cd-footer-menu li a:hover {
    color: #B30909;                          /* var(--border-clr) */
    text-decoration: underline;
}

@media (min-width: 1024px) and (max-width: 1700px) {
    .cd-footer-menu {
        flex: 1 1 0%;
    }

    .cd-footer-menu h5 {
        font-size: 20px;
        line-height: 25px;
    }

    .cd-footer-menu li a {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 15px;
        text-decoration: none;
    }
}

/* ---- contact card (original .footer-contact-us) -------------------------- */
.cd-footer-contact {
    background-color: #F3F7FA;
    border-radius: 10px;
    padding: 32px 30px 25px 30px;
    max-width: 470px;
    height: 100%;
}

@media (min-width: 1024px) and (max-width: 1500px) {
    .cd-footer-contact {
        max-width: 350px;
    }
}

.cd-footer-contact h5 {
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #000000;                          /* var(--text-clr) */
    margin: 0 0 16px 0;
    padding: 0;
}

.cd-footer-contact p {
    font-size: 17px !important;
    line-height: 24px !important;
    font-weight: 400;
    color: #000000;
    opacity: 0.99;
    margin: 0 0 16px 0;                      /* bootstrap paragraph default */
}

.cd-footer-contact p.cd-mb-0 {
    margin-bottom: 0;
}

/* original .f-c-add */
.cd-footer-contact__addr {
    margin-top: 25px !important;
    max-width: 330px;
}

/* original .f-c-sec */
.cd-footer-contact__sec {
    margin-top: 25px;
    margin-bottom: 30px;
}

.cd-footer-contact__sec p {
    font-size: 17px;
    line-height: 30px !important;
    font-weight: 400;
    color: #000000;
    margin-bottom: 0;
}

.cd-footer-contact__sec p span,
.cd-footer-contact__sec p span a {
    color: #B30909;
}

/* original .mail-clr */
.cd-footer-contact__mail {
    color: #0A2E7C !important;               /* var(--heading-clr) */
    overflow-wrap: break-word;
    text-decoration: none;
}

/* original .map */
.cd-footer-contact__map iframe {
    width: 100% !important;
    border: 0;
    display: block;
}

/* ---- social strip (original .footer-social) ------------------------------ */
.cd-footer-social {
    margin-top: 32px;
}

.cd-footer-social p {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    color: #000000;
    opacity: 0.99;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0 0 0;
}

@media (min-width: 1024px) {
    .cd-footer-social p {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 0;
    }
}

/* original .footer-social-wrap (d-flex align-items-center gap-4) */
.cd-footer-social__wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;                             /* bootstrap gap-4 = 24px */
    margin-top: 20px;
}

.cd-footer-social__wrap img {
    width: 30px;
    height: auto;
    display: block;
}

/* ---- copyright line (original .f-cpyright, outside the bordered band) ---- */
.cd-footer-copyright {
    text-align: center;
    font-size: 17px;
    line-height: 35px;
    font-weight: 400;
    letter-spacing: 0.34px;
    color: #000000;                          /* var(--text-clr) */
    opacity: 0.99;
    margin: 0px;
    padding: 10px 0px 10px 0px;
}

.cd-footer-copyright a {
    color: #0A2E7C !important;               /* var(--heading-clr) */
    text-decoration: underline !important;
}

.cd-footer-copyright a:hover {
    color: #0A2E7C !important;
}
