/* =========================================================
   CFS GROUP
   TRUST & CAPABILITY SECTION
   File: css/cfs-trust.css
   ========================================================= */


/* =========================================================
   01. SECTION
   ========================================================= */

.cfs-trust-section {

    position: relative;

    width: 100%;

    padding:
        95px 0;

    background:
        #f7f9fc;

    overflow: hidden;
}


/* =========================================================
   02. DECORATIVE BACKGROUND
   ========================================================= */

.cfs-trust-section::before {

    content: "";

    position: absolute;

    top: -180px;

    right: -180px;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    border:
        1px solid
        rgba(6, 21, 47, 0.045);

    box-shadow:
        0 0 0 70px
        rgba(6, 21, 47, 0.018),

        0 0 0 140px
        rgba(245, 160, 0, 0.012);

    pointer-events: none;
}

.cfs-trust-section::after {

    content: "";

    position: absolute;

    bottom: -220px;

    left: -220px;

    width: 480px;

    height: 480px;

    border-radius: 50%;

    border:
        1px solid
        rgba(245, 160, 0, 0.045);

    pointer-events: none;
}


/* =========================================================
   03. CONTAINER
   ========================================================= */

.cfs-trust-container {

    position: relative;

    z-index: 2;

    width:
        min(
            1400px,
            calc(100% - 50px)
        );

    margin:
        0 auto;
}


/* =========================================================
   04. SECTION HEADING
   ========================================================= */

.cfs-trust-heading {

    max-width:
        760px;

    margin:
        0 auto 55px;

    text-align:
        center;
}

.cfs-section-label {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-bottom:
        14px;

    color:
        var(--cfs-gold-dark);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        1.4px;
}

.cfs-section-label i {

    font-size:
        10px;
}

.cfs-trust-heading h2 {

    margin:
        0 0 15px;

    color:
        var(--cfs-navy);

    font-size:
        clamp(
            30px,
            3.5vw,
            45px
        );

    line-height:
        1.18;

    font-weight:
        700;

    letter-spacing:
        -0.8px;
}

.cfs-trust-heading h2 span {

    color:
        var(--cfs-gold-dark);
}

.cfs-trust-heading p {

    max-width:
        690px;

    margin:
        0 auto;

    color:
        #687386;

    font-size:
        13px;

    line-height:
        1.8;
}


/* =========================================================
   05. GRID
   ========================================================= */

.cfs-trust-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        18px;
}


/* =========================================================
   06. CARD
   ========================================================= */

.cfs-trust-card {

    position:
        relative;

    min-height:
        305px;

    padding:
        27px;

    background:
        #ffffff;

    border:
        1px solid
        #e7ebf1;

    border-radius:
        6px;

    box-shadow:
        0 8px 30px
        rgba(6, 21, 47, 0.045);

    overflow:
        hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.cfs-trust-card::before {

    content: "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        0;

    height:
        3px;

    background:
        linear-gradient(
            90deg,
            var(--cfs-gold-dark),
            var(--cfs-gold-light)
        );

    transition:
        width 0.35s ease;
}

.cfs-trust-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(245, 160, 0, 0.30);

    box-shadow:
        0 18px 40px
        rgba(6, 21, 47, 0.10);
}

.cfs-trust-card:hover::before {

    width:
        100%;
}


/* =========================================================
   07. CARD TOP
   ========================================================= */

.cfs-trust-card-top {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    margin-bottom:
        25px;
}

.cfs-trust-icon {

    width:
        50px;

    height:
        50px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        5px;

    background:
        rgba(245, 160, 0, 0.10);

    color:
        var(--cfs-gold-dark);

    font-size:
        18px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.cfs-trust-card:hover
.cfs-trust-icon {

    background:
        var(--cfs-navy);

    color:
        var(--cfs-gold);

    transform:
        translateY(-2px);
}

.cfs-trust-number {

    color:
        #e7ebf1;

    font-size:
        27px;

    line-height:
        1;

    font-weight:
        700;
}


/* =========================================================
   08. CARD CONTENT
   ========================================================= */

.cfs-trust-card h3 {

    margin:
        0 0 11px;

    color:
        var(--cfs-navy);

    font-size:
        17px;

    line-height:
        1.35;

    font-weight:
        700;
}

.cfs-trust-card p {

    margin:
        0 0 20px;

    color:
        #758092;

    font-size:
        11px;

    line-height:
        1.75;
}


/* =========================================================
   09. CARD LINK
   ========================================================= */

.cfs-trust-link {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    color:
        var(--cfs-navy);

    font-size:
        9px;

    font-weight:
        700;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.cfs-trust-link i {

    color:
        var(--cfs-gold-dark);

    font-size:
        8px;

    transition:
        transform 0.25s ease;
}

.cfs-trust-link:hover {

    color:
        var(--cfs-gold-dark);

    gap:
        11px;
}

.cfs-trust-link:hover i {

    transform:
        translateX(3px);
}


/* =========================================================
   10. BOTTOM STRIP
   ========================================================= */

.cfs-trust-bottom {

    margin-top:
        25px;

    min-height:
        88px;

    padding:
        16px 22px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    background:
        var(--cfs-navy);

    border-radius:
        6px;

    box-shadow:
        0 12px 35px
        rgba(6, 21, 47, 0.12);
}


/* =========================================================
   11. BOTTOM LEFT
   ========================================================= */

.cfs-trust-bottom-left {

    display:
        flex;

    align-items:
        center;

    gap:
        13px;
}

.cfs-trust-bottom-icon {

    width:
        40px;

    height:
        40px;

    flex:
        0 0 40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(245, 160, 0, 0.12);

    color:
        var(--cfs-gold);

    font-size:
        15px;
}

.cfs-trust-bottom-left strong {

    display:
        block;

    margin-bottom:
        3px;

    color:
        #ffffff;

    font-size:
        12px;

    font-weight:
        600;
}

.cfs-trust-bottom-left p {

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.58);

    font-size:
        9px;

    line-height:
        1.5;
}


/* =========================================================
   12. BOTTOM BUTTON
   ========================================================= */

.cfs-trust-bottom-btn {

    min-height:
        40px;

    padding:
        0 17px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    flex-shrink:
        0;

    border:
        1px solid
        rgba(245, 160, 0, 0.45);

    border-radius:
        4px;

    color:
        var(--cfs-gold-light);

    font-size:
        9px;

    font-weight:
        700;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.cfs-trust-bottom-btn i {

    font-size:
        8px;

    transition:
        transform 0.25s ease;
}

.cfs-trust-bottom-btn:hover {

    background:
        var(--cfs-gold);

    color:
        var(--cfs-navy);

    transform:
        translateY(-2px);
}

.cfs-trust-bottom-btn:hover i {

    transform:
        translateX(3px);
}


/* =========================================================
   13. LARGE LAPTOP
   ========================================================= */

@media (max-width: 1250px) {

    .cfs-trust-container {

        width:
            calc(100% - 40px);
    }

    .cfs-trust-card {

        padding:
            24px;
    }
}


/* =========================================================
   14. MEDIUM LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .cfs-trust-section {

        padding:
            80px 0;
    }

    .cfs-trust-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            16px;
    }

    .cfs-trust-card {

        min-height:
            270px;
    }
}


/* =========================================================
   15. TABLET
   ========================================================= */

@media (max-width: 768px) {

    .cfs-trust-section {

        padding:
            70px 0;
    }

    .cfs-trust-container {

        width:
            calc(100% - 30px);
    }

    .cfs-trust-heading {

        margin-bottom:
            40px;
    }

    .cfs-trust-heading h2 {

        font-size:
            32px;
    }

    .cfs-trust-heading p {

        font-size:
            12px;
    }

    .cfs-trust-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            14px;
    }

    .cfs-trust-card {

        min-height:
            275px;

        padding:
            22px;
    }

    .cfs-trust-bottom {

        align-items:
            flex-start;

        flex-direction:
            column;

        padding:
            20px;

        gap:
            17px;
    }

    .cfs-trust-bottom-btn {

        width:
            100%;
    }
}


/* =========================================================
   16. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cfs-trust-section {

        padding:
            60px 0;
    }

    .cfs-trust-container {

        width:
            calc(100% - 28px);
    }

    .cfs-section-label {

        margin-bottom:
            11px;

        font-size:
            8px;
    }

    .cfs-trust-heading {

        margin-bottom:
            32px;
    }

    .cfs-trust-heading h2 {

        margin-bottom:
            12px;

        font-size:
            29px;

        line-height:
            1.22;
    }

    .cfs-trust-heading p {

        font-size:
            11px;

        line-height:
            1.75;
    }

    .cfs-trust-grid {

        grid-template-columns:
            1fr;

        gap:
            12px;
    }

    .cfs-trust-card {

        min-height:
            auto;

        padding:
            22px;
    }

    .cfs-trust-card-top {

        margin-bottom:
            20px;
    }

    .cfs-trust-icon {

        width:
            46px;

        height:
            46px;

        font-size:
            16px;
    }

    .cfs-trust-number {

        font-size:
            23px;
    }

    .cfs-trust-card h3 {

        font-size:
            16px;
    }

    .cfs-trust-card p {

        margin-bottom:
            17px;

        font-size:
            10px;

        line-height:
            1.7;
    }

    .cfs-trust-bottom {

        margin-top:
            16px;

        padding:
            18px;

        gap:
            16px;
    }

    .cfs-trust-bottom-left {

        align-items:
            flex-start;
    }

    .cfs-trust-bottom-left strong {

        font-size:
            11px;

        line-height:
            1.5;
    }

    .cfs-trust-bottom-left p {

        font-size:
            8px;

        line-height:
            1.6;
    }

    .cfs-trust-bottom-btn {

        min-height:
            42px;

        font-size:
            9px;
    }
}


/* =========================================================
   17. SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .cfs-trust-container {

        width:
            calc(100% - 22px);
    }

    .cfs-trust-section {

        padding:
            52px 0;
    }

    .cfs-trust-heading h2 {

        font-size:
            27px;
    }

    .cfs-trust-card {

        padding:
            20px;
    }

    .cfs-trust-bottom {

        padding:
            16px;
    }
}


/* =========================================================
   18. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cfs-trust-card,
    .cfs-trust-link,
    .cfs-trust-bottom-btn,
    .cfs-trust-icon {

        transition:
            none !important;
    }
}