/* =========================================================
   N-FLUX — WHY CHOOSE
========================================================= */

.why-choose-section {

    position: relative;

    padding:
        var(--section-space-lg)
        0;

    overflow: hidden;

    background: var(--bg);

}


/* =========================================================
   BACKGROUND
========================================================= */

.why-choose-section::before {

    content: "";

    position: absolute;

    width: 480px;

    height: 480px;

    top: -260px;

    right: -180px;

    border-radius: 50%;

    background:
        rgba(22,141,226,.035);

    pointer-events: none;

}


.why-choose-section::after {

    content: "";

    position: absolute;

    width: 330px;

    height: 330px;

    bottom: -200px;

    left: -160px;

    border-radius: 50%;

    background:
        rgba(53,168,83,.025);

    pointer-events: none;

}


/* =========================================================
   HEADER
========================================================= */

.why-choose-header {

    position: relative;

    z-index: 2;

    max-width: 720px;

    margin:
        0 auto 45px;

    text-align: center;

}


.why-choose-header
.section-eyebrow {

    justify-content: center;

}


.why-choose-description {

    max-width: 600px;

    margin:
        0 auto;

    color: var(--text-muted);

    font-size: .88rem;

    line-height: 1.75;

}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.why-choose-layout {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap:
        clamp(35px, 6vw, 80px);

    align-items: center;

}


/* =========================================================
   LEFT VISUAL
========================================================= */

.why-choose-visual {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================================
   CORE CARD
========================================================= */

.why-core-card {

    position: relative;

    width: 290px;

    height: 330px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 34px;

    background: var(--surface);

    box-shadow:
        var(--shadow-md);

    overflow: hidden;

}


.why-core-card::before {

    content: "";

    position: absolute;

    width: 240px;

    height: 240px;

    border-radius: 50%;

    background:
        var(--primary-light);

    top: -110px;

    right: -90px;

}


.why-core-card::after {

    content: "";

    position: absolute;

    width: 190px;

    height: 190px;

    border-radius: 50%;

    background:
        var(--accent-light);

    bottom: -100px;

    left: -90px;

}


/* =========================================================
   CORE ICON
========================================================= */

.why-core-icon {

    position: relative;

    z-index: 2;

    width: 78px;

    height: 78px;

    display: grid;

    place-items: center;

    margin-bottom: 21px;

    border-radius: 25px;

    background:
        var(--primary);

    color: #fff;

    font-size: 1.8rem;

    box-shadow:
        0 14px 30px
        rgba(11,59,130,.18);

}


.why-core-title {

    position: relative;

    z-index: 2;

    margin:
        0 0 8px;

    color: var(--text);

    font-size: 1.12rem;

    font-weight: 850;

    letter-spacing: -.03em;

    text-align: center;

}


.why-core-description {

    position: relative;

    z-index: 2;

    max-width: 215px;

    margin: 0;

    color: var(--text-muted);

    font-size: .67rem;

    line-height: 1.7;

    text-align: center;

}


/* =========================================================
   FLOATING MINI CARDS
========================================================= */

.why-floating-card {

    position: absolute;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        10px 13px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-pill);

    background:
        var(--surface);

    color: var(--text-soft);

    font-size: .61rem;

    font-weight: 800;

    box-shadow:
        var(--shadow-sm);

}


.why-floating-card i {

    color:
        var(--primary);

    font-size: .73rem;

}


.why-floating-card--one {

    top: 48px;

    left: 0;

    animation:
        whyFloat 4s ease-in-out infinite;

}


.why-floating-card--two {

    right: 0;

    bottom: 60px;

    animation:
        whyFloat 4.5s ease-in-out .4s infinite;

}


/* =========================================================
   REASONS GRID
========================================================= */

.why-reasons {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;

}


/* =========================================================
   REASON CARD
========================================================= */

.why-reason {

    position: relative;

    min-height: 185px;

    padding: 21px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--surface);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.why-reason:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(22,141,226,.20);

    box-shadow:
        var(--shadow-md);

}


/* =========================================================
   REASON ICON
========================================================= */

.why-reason-icon {

    width: 43px;

    height: 43px;

    display: grid;

    place-items: center;

    margin-bottom: 17px;

    border-radius: 13px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: .95rem;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);

}


.why-reason:hover
.why-reason-icon {

    transform:
        scale(1.06);

    background:
        var(--primary);

    color: #fff;

}


/* =========================================================
   REASON CONTENT
========================================================= */

.why-reason-title {

    margin:
        0 0 7px;

    color:
        var(--text);

    font-size: .83rem;

    font-weight: 850;

    line-height: 1.3;

}


.why-reason-description {

    margin: 0;

    color:
        var(--text-muted);

    font-size: .8rem;

    line-height: 1.7;

}


/* =========================================================
   BOTTOM TRUST LINE
========================================================= */

.why-trust-line {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    color:
        var(--text-soft);

    font-size: .8rem;

    font-weight: 700;

}


.why-trust-line i {

    color:
        var(--accent);

    font-size: .75rem;

}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes whyFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-7px);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .why-choose-layout {

        grid-template-columns:
            1fr;

    }


    .why-choose-visual {

        min-height: 380px;

    }


    .why-reasons {

        max-width: 720px;

        margin-inline: auto;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .why-choose-section {

        padding:
            var(--section-space)
            0;

    }


    .why-choose-header {

        margin-bottom: 30px;

    }


    .why-choose-description {

        font-size: .82rem;

    }


    .why-choose-layout {

        display: flex;

        flex-direction: column;

        gap: 26px;

    }


    .why-choose-visual {

        width: 100%;

        min-height: 350px;

    }


    .why-core-card {

        width:
            min(270px, 78vw);

        height: 300px;

        border-radius: 28px;

    }


    .why-core-icon {

        width: 68px;

        height: 68px;

        border-radius: 21px;

        font-size: 1.4rem;

    }


    .why-floating-card--one {

        left: 2px;

        top: 35px;

    }


    .why-floating-card--two {

        right: 2px;

        bottom: 38px;

    }


    .why-reasons {

        display: flex;

        flex-direction: column;

        gap: 11px;

    }


    .why-reason {

        min-height: auto;

        padding: 18px;

    }


    .why-reason-icon {

        width: 40px;

        height: 40px;

        margin-bottom: 14px;

    }


    .why-reason-title {

        font-size: .82rem;

    }


    .why-reason-description {

        font-size: .64rem;

    }


    .why-trust-line {

        justify-content: center;

        text-align: center;

        font-size: .8rem;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .why-floating-card {

        animation: none;

    }

    .why-reason,
    .why-reason-icon {

        transition: none;

    }

}