/* =========================================================
   CFS GROUP
   PROFESSIONAL FOOTER
   File: css/cfs-footer.css
   ========================================================= */


/* =========================================================
   01. FOOTER
   ========================================================= */

.cfs-footer {

    position: relative;

    width: 100%;

    background:
        var(--cfs-navy);

    color: #ffffff;

    overflow: hidden;
}


/* =========================================================
   02. FOOTER MAIN
   ========================================================= */

.cfs-footer-main {

    position: relative;

    padding:
        78px 0 65px;

    background:
        linear-gradient(
            135deg,
            #041024 0%,
            #06152f 48%,
            #092650 100%
        );
}


.cfs-footer-main::before {

    content: "";

    position: absolute;

    width: 480px;

    height: 480px;

    right: -240px;

    top: -260px;

    border:
        1px solid
        rgba(245,160,0,0.08);

    border-radius: 50%;

    pointer-events: none;
}


.cfs-footer-main::after {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    left: -150px;

    bottom: -150px;

    border:
        1px solid
        rgba(255,255,255,0.04);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   03. CONTAINER
   ========================================================= */

.cfs-footer-container {

    position: relative;

    z-index: 2;

    width:
        min(
            1400px,
            calc(100% - 50px)
        );

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        1.55fr
        0.8fr
        1fr
        1.25fr;

    gap:
        55px;

    align-items:
        start;
}


/* =========================================================
   04. BRAND
   ========================================================= */

.cfs-footer-brand {

    max-width:
        390px;
}


.cfs-footer-logo {

    width:
        210px;

    min-height:
        75px;

    display:
        flex;

    align-items:
        center;

    margin-bottom:
        22px;

    overflow:
        visible;
}


.cfs-footer-logo img {

    display:
        block;

    width:
        200px;

    max-width:
        none;

    max-height:
        72px;

    height:
        auto;

    object-fit:
        contain;

    transform:
        scale(1.08);

    transform-origin:
        left center;
}


.cfs-footer-description {

    margin:
        0 0 25px;

    color:
        rgba(255,255,255,0.64);

    font-size:
        14px;

    line-height:
        1.85;

    font-weight:
        400;
}


/* =========================================================
   05. ENQUIRE BUTTON
   ========================================================= */

.cfs-footer-enquire {

    min-height:
        47px;

    padding:
        0 17px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    border:
        1px solid
        rgba(245,160,0,0.65);

    border-radius:
        4px;

    background:
        rgba(245,160,0,0.08);

    color:
        var(--cfs-gold-light);

    font-size:
        13px;

    line-height:
        1;

    font-weight:
        600;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.cfs-footer-enquire i {

    font-size:
        10px;

    transition:
        transform .25s ease;
}


.cfs-footer-enquire:hover {

    background:
        var(--cfs-gold);

    color:
        var(--cfs-navy);

    transform:
        translateY(-2px);
}


.cfs-footer-enquire:hover i {

    transform:
        translateX(4px);
}


/* =========================================================
   06. FOOTER HEADINGS
   ========================================================= */

.cfs-footer-column h3 {

    position:
        relative;

    margin:
        4px 0 24px;

    padding-bottom:
        13px;

    color:
        #ffffff;

    font-size:
        17px;

    line-height:
        1.4;

    font-weight:
        600;
}


.cfs-footer-column h3::after {

    content: "";

    position:
        absolute;

    left:
        0;

    bottom:
        0;

    width:
        34px;

    height:
        2px;

    background:
        var(--cfs-gold);
}


/* =========================================================
   07. LINKS
   ========================================================= */

.cfs-footer-links {

    display:
        flex;

    flex-direction:
        column;

    gap:
        11px;
}


.cfs-footer-links li {

    margin:
        0;
}


.cfs-footer-links a {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        9px;

    color:
        rgba(255,255,255,0.63);

    font-size:
        13px;

    line-height:
        1.5;

    font-weight:
        400;

    transition:
        color .25s ease,
        transform .25s ease;
}


.cfs-footer-links a i {

    color:
        var(--cfs-gold);

    font-size:
        9px;

    transition:
        transform .25s ease;
}


.cfs-footer-links a:hover {

    color:
        #ffffff;

    transform:
        translateX(4px);
}


.cfs-footer-links a:hover i {

    transform:
        translateX(2px);
}


/* =========================================================
   08. CONTACT DETAILS
   ========================================================= */

.cfs-footer-contact {

    min-width:
        0;
}


.cfs-footer-contact-item {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        12px;

    margin-bottom:
        19px;

    color:
        #ffffff;
}


.cfs-footer-contact-icon {

    width:
        36px;

    height:
        36px;

    flex:
        0 0 36px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        rgba(245,160,0,0.30);

    border-radius:
        4px;

    background:
        rgba(245,160,0,0.07);

    color:
        var(--cfs-gold-light);

    font-size:
        12px;
}


.cfs-footer-contact-content {

    min-width:
        0;

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;
}


.cfs-footer-contact-content small {

    color:
        rgba(255,255,255,0.45);

    font-size:
        10px;

    line-height:
        1.4;

    font-weight:
        500;

    text-transform:
        uppercase;

    letter-spacing:
        .8px;
}


.cfs-footer-contact-content strong {

    color:
        rgba(255,255,255,0.82);

    font-size:
        12.5px;

    line-height:
        1.65;

    font-weight:
        500;

    overflow-wrap:
        anywhere;
}


a.cfs-footer-contact-item:hover
.cfs-footer-contact-content strong {

    color:
        var(--cfs-gold-light);
}


/* =========================================================
   09. BOTTOM FOOTER
   ========================================================= */

.cfs-footer-bottom {

    position:
        relative;

    z-index:
        3;

    border-top:
        1px solid
        rgba(255,255,255,0.08);

    background:
        #030c1c;
}


.cfs-footer-bottom-container {

    width:
        min(
            1400px,
            calc(100% - 50px)
        );

    min-height:
        65px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;
}


.cfs-footer-bottom p {

    margin:
        0;

    color:
        rgba(255,255,255,0.48);

    font-size:
        12px;

    line-height:
        1.6;

    font-weight:
        400;
}


.cfs-footer-bottom p strong {

    color:
        rgba(255,255,255,0.82);

    font-weight:
        600;
}


.cfs-footer-tagline {

    color:
        rgba(245,160,0,0.75) !important;

    font-weight:
        500 !important;
}


/* =========================================================
   10. LARGE LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .cfs-footer-container {

        grid-template-columns:
            1.4fr
            0.8fr
            1fr;

        gap:
            45px;
    }

    .cfs-footer-contact {

        grid-column:
            1 / -1;

        max-width:
            650px;
    }

}


/* =========================================================
   11. TABLET
   ========================================================= */

@media (max-width: 850px) {

    .cfs-footer-main {

        padding:
            65px 0 50px;
    }

    .cfs-footer-container {

        width:
            calc(100% - 40px);

        grid-template-columns:
            1fr 1fr;

        gap:
            42px 35px;
    }

    .cfs-footer-brand {

        max-width:
            100%;
    }

    .cfs-footer-contact {

        grid-column:
            auto;

        max-width:
            none;
    }

    .cfs-footer-bottom-container {

        width:
            calc(100% - 40px);

        min-height:
            70px;
    }

}


/* =========================================================
   12. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cfs-footer-main {

        padding:
            55px 0 42px;
    }

    .cfs-footer-container {

        width:
            calc(100% - 28px);

        grid-template-columns:
            1fr;

        gap:
            35px;
    }

    .cfs-footer-brand {

        max-width:
            100%;
    }

    .cfs-footer-logo {

        width:
            185px;

        min-height:
            65px;
    }

    .cfs-footer-logo img {

        width:
            175px;

        max-height:
            64px;
    }

    .cfs-footer-description {

        font-size:
            13px;

        line-height:
            1.8;
    }

    .cfs-footer-column h3 {

        margin-bottom:
            19px;

        font-size:
            16px;
    }

    .cfs-footer-links {

        gap:
            10px;
    }

    .cfs-footer-links a {

        font-size:
            13px;
    }

    .cfs-footer-contact {

        grid-column:
            auto;
    }

    .cfs-footer-contact-item {

        margin-bottom:
            16px;
    }

    .cfs-footer-contact-content strong {

        font-size:
            12.5px;
    }

    .cfs-footer-bottom-container {

        width:
            calc(100% - 28px);

        min-height:
            auto;

        padding:
            18px 0;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            5px;
    }

    .cfs-footer-bottom p {

        font-size:
            11.5px;
    }

}


/* =========================================================
   13. SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .cfs-footer-container {

        width:
            calc(100% - 22px);
    }

    .cfs-footer-logo {

        width:
            170px;
    }

    .cfs-footer-logo img {

        width:
            160px;
    }

    .cfs-footer-description {

        font-size:
            12.5px;
    }

    .cfs-footer-bottom-container {

        width:
            calc(100% - 22px);
    }

}


/* =========================================================
   14. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cfs-footer-enquire,
    .cfs-footer-enquire i,
    .cfs-footer-links a,
    .cfs-footer-links a i {

        transition:
            none !important;
    }

}