/* =========================================================
   CFS GROUP
   WHY CHOOSE US SECTION
   File: css/cfs-why.css
   ========================================================= */


/* =========================================================
   01. SECTION
   ========================================================= */

.cfs-why-section {

    position: relative;

    width: 100%;

    padding: 110px 0;

    background: #ffffff;

    overflow: hidden;
}


.cfs-why-section::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    right: -270px;

    top: -260px;

    border: 1px solid rgba(6, 21, 47, 0.045);

    border-radius: 50%;

    box-shadow:
        0 0 0 75px rgba(6, 21, 47, 0.015),
        0 0 0 150px rgba(245, 160, 0, 0.012);

    pointer-events: none;
}


/* =========================================================
   02. CONTAINER
   ========================================================= */

.cfs-why-container {

    position: relative;

    z-index: 2;

    width:
        min(
            1400px,
            calc(100% - 50px)
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.92fr);

    align-items: center;

    gap: 85px;
}


/* =========================================================
   03. CONTENT
   ========================================================= */

.cfs-why-content {

    width: 100%;

    max-width: 700px;
}


.cfs-why-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 15px;

    color: var(--cfs-gold-dark);

    font-size: 12px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.cfs-why-label i {

    font-size: 12px;
}


/* =========================================================
   04. HEADING
   ========================================================= */

.cfs-why-content h2 {

    margin:
        0 0 21px;

    color:
        var(--cfs-navy);

    font-size:
        clamp(
            36px,
            3.7vw,
            50px
        );

    line-height:
        1.16;

    font-weight:
        700;

    letter-spacing:
        -0.9px;
}


.cfs-why-content h2 span {

    display: block;

    color:
        var(--cfs-gold-dark);
}


/* =========================================================
   05. INTRO
   ========================================================= */

.cfs-why-intro {

    margin:
        0 0 31px;

    color:
        #596678;

    font-size:
        16px;

    line-height:
        1.85;

    font-weight:
        400;
}


/* =========================================================
   06. WHY LIST
   ========================================================= */

.cfs-why-list {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        0 30px;
}


/* =========================================================
   07. WHY ITEM
   ========================================================= */

.cfs-why-item {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        13px;

    padding:
        20px 0;

    border-bottom:
        1px solid
        #e9edf2;
}


.cfs-why-item-icon {

    width:
        45px;

    height:
        45px;

    flex:
        0 0 45px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        6px;

    background:
        rgba(245, 160, 0, 0.10);

    color:
        var(--cfs-gold-dark);

    font-size:
        16px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.cfs-why-item:hover
.cfs-why-item-icon {

    background:
        var(--cfs-navy);

    color:
        var(--cfs-gold);

    transform:
        translateY(-2px);
}


.cfs-why-item h3 {

    margin:
        0 0 6px;

    color:
        var(--cfs-navy);

    font-size:
        15px;

    line-height:
        1.45;

    font-weight:
        700;
}


.cfs-why-item p {

    margin:
        0;

    color:
        #748092;

    font-size:
        13px;

    line-height:
        1.7;

    font-weight:
        400;
}


/* =========================================================
   08. ACTIONS
   ========================================================= */

.cfs-why-actions {

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        22px;

    margin-top:
        31px;
}


/* =========================================================
   09. PRIMARY BUTTON
   ========================================================= */

.cfs-why-primary-btn {

    min-height:
        51px;

    padding:
        0 22px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        11px;

    border-radius:
        4px;

    background:
        linear-gradient(
            135deg,
            var(--cfs-navy),
            var(--cfs-navy-light)
        );

    color:
        #ffffff;

    font-size:
        14px;

    line-height:
        1;

    font-weight:
        600;

    box-shadow:
        0 10px 25px
        rgba(6, 21, 47, 0.15);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.cfs-why-primary-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(6, 21, 47, 0.22);
}


.cfs-why-primary-btn i {

    font-size:
        10px;

    transition:
        transform 0.25s ease;
}


.cfs-why-primary-btn:hover i {

    transform:
        translateX(4px);
}


/* =========================================================
   10. PHONE LINK
   ========================================================= */

.cfs-why-call-link {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        11px;

    color:
        var(--cfs-navy);

    transition:
        transform 0.25s ease;
}


.cfs-why-call-link:hover {

    transform:
        translateY(-2px);
}


.cfs-why-call-icon {

    width:
        44px;

    height:
        44px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        rgba(245, 160, 0, 0.25);

    border-radius:
        50%;

    background:
        rgba(245, 160, 0, 0.10);

    color:
        var(--cfs-gold-dark);

    font-size:
        13px;
}


.cfs-why-call-text {

    display:
        flex;

    flex-direction:
        column;
}


.cfs-why-call-text small {

    margin-bottom:
        3px;

    color:
        #7c8797;

    font-size:
        10px;

    line-height:
        1.3;

    font-weight:
        600;

    letter-spacing:
        0.7px;
}


.cfs-why-call-text strong {

    color:
        var(--cfs-navy);

    font-size:
        15px;

    line-height:
        1.3;

    font-weight:
        700;
}


/* =========================================================
   11. VISUAL
   ========================================================= */

.cfs-why-visual {

    position:
        relative;

    width:
        100%;

    max-width:
        620px;

    margin-left:
        auto;

    padding:
        0 22px 70px 0;
}


/* =========================================================
   12. IMAGE
   ========================================================= */

.cfs-why-image-wrap {

    position:
        relative;

    width:
        100%;

    height:
        590px;

    overflow:
        hidden;

    border-radius:
        8px;

    background:
        var(--cfs-navy);

    box-shadow:
        0 25px 60px
        rgba(6, 21, 47, 0.17);
}


.cfs-why-image-wrap::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius:
        inherit;

    z-index:
        2;

    pointer-events:
        none;
}


.cfs-why-image-wrap img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform 0.6s ease;
}


.cfs-why-visual:hover
.cfs-why-image-wrap img {

    transform:
        scale(1.025);
}


/* =========================================================
   13. IMAGE OVERLAY
   ========================================================= */

.cfs-why-image-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:
        linear-gradient(
            180deg,
            rgba(6, 21, 47, 0.02) 35%,
            rgba(6, 21, 47, 0.42) 100%
        );

    pointer-events:
        none;
}


/* =========================================================
   14. TRUST CARD
   ========================================================= */

.cfs-why-trust-card {

    position:
        absolute;

    left:
        -30px;

    bottom:
        105px;

    width:
        285px;

    padding:
        19px;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        13px;

    background:
        #ffffff;

    border:
        1px solid
        #e4e9ef;

    border-radius:
        6px;

    box-shadow:
        0 18px 40px
        rgba(6, 21, 47, 0.15);

    z-index:
        4;
}


.cfs-why-trust-icon {

    width:
        45px;

    height:
        45px;

    flex:
        0 0 45px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        5px;

    background:
        rgba(245, 160, 0, 0.12);

    color:
        var(--cfs-gold-dark);

    font-size:
        17px;
}


.cfs-why-trust-card strong {

    display:
        block;

    margin:
        0 0 5px;

    color:
        var(--cfs-navy);

    font-size:
        15px;

    line-height:
        1.4;

    font-weight:
        700;
}


.cfs-why-trust-card p {

    margin:
        0;

    color:
        #778294;

    font-size:
        12px;

    line-height:
        1.65;
}


/* =========================================================
   15. STATS BAR
   ========================================================= */

.cfs-why-stats {

    position:
        absolute;

    right:
        0;

    bottom:
        0;

    width:
        calc(100% - 55px);

    min-height:
        85px;

    padding:
        15px 20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-around;

    background:
        var(--cfs-navy);

    border-radius:
        6px;

    box-shadow:
        0 15px 35px
        rgba(6, 21, 47, 0.18);

    z-index:
        4;
}


.cfs-why-stat {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        3px;
}


.cfs-why-stat strong {

    color:
        var(--cfs-gold-light);

    font-size:
        22px;

    line-height:
        1.2;

    font-weight:
        700;
}


.cfs-why-stat span {

    color:
        rgba(255, 255, 255, 0.68);

    font-size:
        11px;

    line-height:
        1.4;

    font-weight:
        500;
}


.cfs-why-stat-divider {

    width:
        1px;

    height:
        35px;

    background:
        rgba(255, 255, 255, 0.15);
}


/* =========================================================
   16. LARGE LAPTOP
   ========================================================= */

@media (max-width: 1250px) {

    .cfs-why-container {

        width:
            calc(100% - 40px);

        gap:
            60px;
    }

    .cfs-why-trust-card {

        left:
            -15px;
    }

    .cfs-why-visual {

        padding-right:
            15px;
    }
}


/* =========================================================
   17. MEDIUM LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .cfs-why-section {

        padding:
            90px 0;
    }

    .cfs-why-container {

        gap:
            45px;
    }

    .cfs-why-content h2 {

        font-size:
            40px;
    }

    .cfs-why-intro {

        font-size:
            15px;
    }

    .cfs-why-list {

        gap:
            0 18px;
    }

    .cfs-why-item p {

        font-size:
            12px;
    }

    .cfs-why-image-wrap {

        height:
            540px;
    }
}


/* =========================================================
   18. TABLET
   ========================================================= */

@media (max-width: 950px) {

    .cfs-why-section {

        padding:
            80px 0;
    }

    .cfs-why-container {

        width:
            calc(100% - 30px);

        grid-template-columns:
            1fr;

        gap:
            55px;
    }

    .cfs-why-content {

        max-width:
            800px;

        margin:
            0 auto;
    }

    .cfs-why-content h2 {

        font-size:
            40px;
    }

    .cfs-why-intro {

        font-size:
            15px;
    }

    .cfs-why-item p {

        font-size:
            13px;
    }

    .cfs-why-visual {

        max-width:
            680px;

        width:
            100%;

        margin:
            0 auto;
    }

    .cfs-why-image-wrap {

        height:
            570px;
    }
}


/* =========================================================
   19. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cfs-why-section {

        padding:
            65px 0;
    }

    .cfs-why-container {

        width:
            calc(100% - 28px);

        gap:
            45px;
    }

    .cfs-why-label {

        margin-bottom:
            12px;

        font-size:
            10px;

        letter-spacing:
            1.1px;
    }

    .cfs-why-content h2 {

        margin-bottom:
            17px;

        font-size:
            32px;

        line-height:
            1.2;

        letter-spacing:
            -0.5px;
    }

    .cfs-why-intro {

        margin-bottom:
            24px;

        font-size:
            15px;

        line-height:
            1.8;
    }

    .cfs-why-list {

        grid-template-columns:
            1fr;
    }

    .cfs-why-item {

        padding:
            16px 0;

        gap:
            12px;
    }

    .cfs-why-item-icon {

        width:
            42px;

        height:
            42px;

        flex-basis:
            42px;

        font-size:
            14px;
    }

    .cfs-why-item h3 {

        margin-bottom:
            5px;

        font-size:
            15px;
    }

    .cfs-why-item p {

        font-size:
            13px;

        line-height:
            1.7;
    }

    .cfs-why-actions {

        align-items:
            stretch;

        flex-direction:
            column;

        gap:
            16px;

        margin-top:
            25px;
    }

    .cfs-why-primary-btn {

        width:
            100%;

        min-height:
            51px;

        font-size:
            14px;
    }

    .cfs-why-call-link {

        width:
            100%;

        justify-content:
            flex-start;
    }

    .cfs-why-visual {

        padding:
            0 0 58px;

    }

    .cfs-why-image-wrap {

        height:
            430px;

        border-radius:
            7px;
    }

    .cfs-why-trust-card {

        left:
            10px;

        bottom:
            82px;

        width:
            265px;

        padding:
            15px;
    }

    .cfs-why-trust-icon {

        width:
            40px;

        height:
            40px;

        flex-basis:
            40px;

        font-size:
            15px;
    }

    .cfs-why-trust-card strong {

        font-size:
            13px;
    }

    .cfs-why-trust-card p {

        font-size:
            11px;
    }

    .cfs-why-stats {

        width:
            calc(100% - 20px);

        right:
            0;

        min-height:
            72px;

        padding:
            12px 8px;
    }

    .cfs-why-stat strong {

        font-size:
            18px;
    }

    .cfs-why-stat span {

        font-size:
            10px;
    }

    .cfs-why-stat-divider {

        height:
            28px;
    }
}


/* =========================================================
   20. SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .cfs-why-container {

        width:
            calc(100% - 22px);
    }

    .cfs-why-section {

        padding:
            55px 0;
    }

    .cfs-why-content h2 {

        font-size:
            29px;
    }

    .cfs-why-intro {

        font-size:
            14px;
    }

    .cfs-why-item p {

        font-size:
            12.5px;
    }

    .cfs-why-image-wrap {

        height:
            380px;
    }

    .cfs-why-trust-card {

        width:
            235px;

        padding:
            13px;
    }

    .cfs-why-trust-card strong {

        font-size:
            12px;
    }

    .cfs-why-trust-card p {

        font-size:
            10px;
    }

    .cfs-why-stat strong {

        font-size:
            17px;
    }

    .cfs-why-stat span {

        font-size:
            9px;
    }
}


/* =========================================================
   21. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 340px) {

    .cfs-why-content h2 {

        font-size:
            27px;
    }

    .cfs-why-intro {

        font-size:
            13.5px;
    }

    .cfs-why-item h3 {

        font-size:
            14px;
    }

    .cfs-why-item p {

        font-size:
            12px;
    }

    .cfs-why-image-wrap {

        height:
            340px;
    }

    .cfs-why-trust-card {

        width:
            215px;
    }

    .cfs-why-stats {

        width:
            calc(100% - 10px);
    }
}


/* =========================================================
   22. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cfs-why-item-icon,
    .cfs-why-primary-btn,
    .cfs-why-call-link,
    .cfs-why-image-wrap img {

        transition:
            none !important;
    }
}