/* =========================================
   KEMEI
   WHY KEMEI
========================================= */

.kp-why-kemei {
    width: 100%;

    padding: 30px 0;

    background: #fff;
}


/* =========================================
   HEADING
========================================= */

.kp-why-kemei .kp-section-heading {
    text-align: center;

    margin: 0 auto 35px;

    padding: 0 20px;
}


.kp-why-kemei .kp-section-heading h2 {
    margin: 0;

    color: #071b3a;

    font-size: 32px;

    line-height: 1.35;

    font-weight: 700;
}


/* =========================================
   SLIDER
========================================= */

.kp-why-slider {
    position: relative;

    width: 100%;

    padding: 0 22px;
}


/* =========================================
   TRACK
========================================= */

.kp-why-track {
    display: flex;

    gap: 20px;

    width: 100%;

    overflow-x: auto;

    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    direction: rtl;
}


.kp-why-track::-webkit-scrollbar {
    display: none;
}


/* =========================================
   CARD
========================================= */

.kp-why-card {

    position: relative;

    flex: 0 0 calc(
        (100% - 60px) / 4
    );

    min-width: 0;

    padding: 30px 24px;

    background: #fff;

    border: 1px solid #e7e7e7;

    border-radius: 10px;

    text-align: center;

    scroll-snap-align: start;

    box-sizing: border-box;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.kp-why-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(0, 102, 204, .18);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08);
}


/* =========================================
   NUMBER
========================================= */

.kp-why-number {

    position: absolute;

    top: 15px;

    right: 17px;

    color: #b5b5b5;

    font-size: 12px;

    font-weight: 700;

    line-height: 1;
}


/* =========================================
   ICON
========================================= */

.kp-why-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eef5fc;

    color: #0066cc;

    font-size: 23px;

    font-weight: 700;

    line-height: 1;
}


/* =========================================
   TITLE
========================================= */

.kp-why-card h3 {

    margin: 0 0 10px;

    color: #071b3a;

    font-size: 19px;

    line-height: 1.4;

    font-weight: 700;
}


/* =========================================
   DESCRIPTION
========================================= */

.kp-why-card p {

    margin: 0;

    color: #666;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   ARROWS
========================================= */

.kp-why-prev,
.kp-why-next {

    position: absolute !important;

    top: 50% !important;

    z-index: 20;

    width: 44px !important;

    height: 44px !important;

    min-width: 44px !important;

    min-height: 44px !important;

    display: none !important;

    align-items: center !important;

    justify-content: center !important;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    border-radius: 50% !important;

    background: #fff !important;

    color: #071b3a !important;

    font-size: 27px !important;

    line-height: 1 !important;

    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .12);

    transform:
        translateY(-50%) !important;

    transition:
        background .2s ease,
        color .2s ease;
}


.kp-why-prev:hover,
.kp-why-next:hover {

    background: #0066cc !important;

    color: #fff !important;
}


/* =========================================
   LEFT = PREVIOUS
========================================= */

.kp-why-prev {

    left: 0 !important;

    right: auto !important;
}


/* =========================================
   RIGHT = NEXT
========================================= */

.kp-why-next {

    right: 0 !important;

    left: auto !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .kp-why-kemei {
        padding: 30px 0;
    }


    .kp-why-kemei .kp-section-heading {
        margin-bottom: 30px;
    }


    .kp-why-kemei .kp-section-heading h2 {
        font-size: 28px;
    }


    .kp-why-slider {
        padding: 0 22px;
    }


    .kp-why-track {
        gap: 16px;
    }


    .kp-why-card {

        flex-basis: calc(
            (100% - 16px) / 2
        );

        padding: 28px 20px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .kp-why-kemei {
        padding: 22px 0;
    }


    .kp-why-kemei .kp-section-heading {

        margin-bottom: 25px;

        padding: 0 15px;
    }


    .kp-why-kemei .kp-section-heading h2 {

        font-size: 24px;
    }


    /* =====================================
       SLIDER
    ====================================== */

    .kp-why-slider {

        padding: 0 18px;
    }


    .kp-why-track {

        gap: 12px;

        width: 100%;

        padding: 0;

        overflow-x: auto;

        overflow-y: hidden;

        scroll-behavior: smooth;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;

        direction: rtl;
    }


    .kp-why-track::-webkit-scrollbar {

        display: none;
    }


    /* =====================================
       EXACTLY 2 CARDS
    ====================================== */

    .kp-why-card {

        flex: 0 0 calc(
            (100% - 12px) / 2
        ) !important;

        width: calc(
            (100% - 12px) / 2
        ) !important;

        min-width: calc(
            (100% - 12px) / 2
        ) !important;

        max-width: calc(
            (100% - 12px) / 2
        ) !important;

        padding: 26px 16px;

        box-sizing: border-box;

        scroll-snap-align: start;
    }


    .kp-why-card:hover {

        transform: none;
    }


    /* =====================================
       ICON
    ====================================== */

    .kp-why-icon {

        width: 52px;

        height: 52px;

        margin-bottom: 17px;

        font-size: 21px;
    }


    .kp-why-card h3 {

        font-size: 17px;
    }


    .kp-why-card p {

        font-size: 12px;

        line-height: 1.7;
    }


    /* =====================================
       ARROWS
    ====================================== */

    .kp-why-prev,
    .kp-why-next {

        display: flex !important;

        width: 38px !important;

        height: 38px !important;

        min-width: 38px !important;

        min-height: 38px !important;

        font-size: 23px !important;
    }


    /* LEFT = PREVIOUS */

    .kp-why-prev {

        left: 0 !important;

        right: auto !important;
    }


    /* RIGHT = NEXT */

    .kp-why-next {

        right: 0 !important;

        left: auto !important;
    }

}