/* ==========================================================
   MS CONSULTING
   FOOTER
========================================================== */


/* ==========================================================
   FOOTER
========================================================== */

.footer {

    width: 100%;

    box-sizing: border-box;

    background: #0b2f28;

    color: #d7e5e2;

    padding: 80px 0 25px;

    overflow: hidden;
}


/* ==========================================================
   FOOTER GRID
========================================================== */

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr
        1.2fr;

    gap: 40px;

    width: 100%;

    min-width: 0;
}


/* ==========================================================
   FOOTER BRAND
========================================================== */

.footer-brand {

    min-width: 0;
}


.footer-brand img {

    display: block;

    height: 60px;

    width: auto;

    max-width: 100%;

    object-fit: contain;

    margin-bottom: 20px;
}


/* ==========================================================
   FOOTER TAGLINE
========================================================== */

.footer-tagline {

    font-size: 22px;

    font-weight: 700;

    color: #ffffff;

    margin-bottom: 18px;

    line-height: 1.4;

    overflow-wrap: break-word;
}


/* ==========================================================
   FOOTER TEXT
========================================================== */

.footer p {

    line-height: 1.7;

    overflow-wrap: anywhere;
}


/* ==========================================================
   FOOTER HEADINGS
========================================================== */

.footer h4 {

    color: #ffffff;

    margin-bottom: 20px;

    font-size: 20px;

    line-height: 1.3;
}


/* ==========================================================
   FOOTER LIST
========================================================== */

.footer ul {

    padding: 0;

    margin: 0;
}


.footer li {

    list-style: none;

    margin-bottom: 12px;

    line-height: 1.5;
}


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer a {

    color: #d7e5e2;

    text-decoration: none;

    transition: .3s;

    overflow-wrap: anywhere;
}


.footer a:hover {

    color: var(--secondary);
}


/* ==========================================================
   FOOTER CONTACT
========================================================== */

.footer-contact {

    min-width: 0;
}


.footer-contact li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    min-width: 0;
}


.footer-contact li span {

    min-width: 0;

    overflow-wrap: anywhere;
}


.footer-contact i {

    flex: 0 0 auto;

    color: var(--secondary);

    margin-top: 3px;
}


/* ==========================================================
   SOCIAL ICONS
========================================================== */

.footer-social {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 25px;
}


.footer-social a {

    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.08);

    transition: var(--transition);
}


.footer-social a:hover {

    background: var(--primary);

    color: #ffffff;
}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.1);

    margin-top: 60px;

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    width: 100%;

    box-sizing: border-box;
}


.footer-bottom p {

    margin: 0;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .footer {

        padding: 65px 0 25px;
    }


    .footer-grid {

        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 35px;
    }


    .footer-brand {

        grid-column: 1 / -1;

        max-width: 650px;
    }


    .footer-tagline {

        font-size: 21px;
    }


    .footer h4 {

        font-size: 18px;

        margin-bottom: 16px;
    }


    .footer li {

        font-size: 14px;
    }


    .footer-bottom {

        margin-top: 45px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .footer {

        padding: 55px 0 22px;

        overflow-x: hidden;
    }


    .footer .container {

        width: calc(100% - 32px);

        max-width: 100%;

        margin-left: auto;

        margin-right: auto;
    }


    /* ------------------------------------------------------
       ONE COLUMN
    ------------------------------------------------------ */

    .footer-grid {

        display: grid;

        grid-template-columns: 1fr;

        gap: 32px;

        width: 100%;
    }


    /* ------------------------------------------------------
       BRAND
    ------------------------------------------------------ */

    .footer-brand {

        width: 100%;

        max-width: 100%;

        text-align: center;

        grid-column: auto;
    }


    .footer-brand img {

        height: 55px;

        width: auto;

        max-width: 180px;

        margin: 0 auto 18px;
    }


    .footer-tagline {

        font-size: 19px;

        line-height: 1.4;

        margin-bottom: 14px;
    }


    .footer-brand p {

        font-size: 14px;

        line-height: 1.7;

        max-width: 420px;

        margin-left: auto;

        margin-right: auto;
    }


    /* ------------------------------------------------------
       FOOTER COLUMNS
    ------------------------------------------------------ */

    .footer-column {

        width: 100%;

        min-width: 0;

        text-align: center;
    }


    .footer h4 {

        font-size: 17px;

        margin-bottom: 14px;
    }


    .footer ul {

        width: 100%;
    }


    .footer li {

        font-size: 14px;

        margin-bottom: 10px;

        line-height: 1.5;
    }


    /* ------------------------------------------------------
       CONTACT
    ------------------------------------------------------ */

    .footer-contact {

        width: 100%;

        text-align: center;
    }


    .footer-contact li {

        display: flex;

        justify-content: center;

        align-items: flex-start;

        gap: 8px;

        width: 100%;

        max-width: 320px;

        margin-left: auto;

        margin-right: auto;

        text-align: left;
    }


    .footer-contact li span {

        min-width: 0;

        overflow-wrap: anywhere;
    }


    /* ------------------------------------------------------
       SOCIAL
    ------------------------------------------------------ */

    .footer-social {

        justify-content: center;

        gap: 10px;

        margin-top: 20px;
    }


    .footer-social a {

        width: 40px;

        height: 40px;

        flex-basis: 40px;
    }


    /* ------------------------------------------------------
       BOTTOM
    ------------------------------------------------------ */

    .footer-bottom {

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        text-align: center;

        gap: 8px;

        margin-top: 40px;

        padding-top: 20px;
    }


    .footer-bottom p {

        font-size: 12px;

        line-height: 1.6;

        max-width: 100%;

        overflow-wrap: anywhere;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .footer {

        padding: 45px 0 18px;
    }


    .footer .container {

        width: calc(100% - 24px);
    }


    .footer-grid {

        gap: 28px;
    }


    .footer-brand img {

        height: 50px;

        max-width: 160px;
    }


    .footer-tagline {

        font-size: 18px;
    }


    .footer-brand p {

        font-size: 13px;

        line-height: 1.65;
    }


    .footer h4 {

        font-size: 16px;

        margin-bottom: 12px;
    }


    .footer li {

        font-size: 13px;

        margin-bottom: 9px;
    }


    .footer-contact li {

        max-width: 280px;

        font-size: 13px;
    }


    .footer-social {

        gap: 8px;
    }


    .footer-social a {

        width: 38px;

        height: 38px;

        flex-basis: 38px;
    }


    .footer-bottom {

        margin-top: 32px;

        padding-top: 18px;
    }


    .footer-bottom p {

        font-size: 11px;
    }

}