﻿/* =========================================
   WHY CHOOSE US
   ========================================= */

.why-choose-section {
    width: 100%;
    padding: 10px 15px 15px;
    background: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
}

.why-choose-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   TITLE
   ========================================= */

.why-choose-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
    text-align: center;
}

    .why-choose-title h2 {
        margin: 0;
        padding: 0;
        color: #123d2b;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0.2px;
        text-transform: uppercase;
    }

.title-arrow {
    color: #f28c28;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.left-arrow {
    transform: rotate(180deg);
}


/* =========================================
   GRID
   ========================================= */

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #e3e8e5;
    border-radius: 9px;
    overflow: hidden;
    background: #ffffff;
}


/* =========================================
   FEATURE CARD
   ========================================= */

.why-feature {
    min-width: 0;
    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 11px 15px;
    border-right: 1px solid #e3e8e5;
    border-bottom: 1px solid #e3e8e5;
    background: #ffffff;
    transition: background-color 0.2s ease;
}

    .why-feature:hover {
        background: #fbfdfb;
    }


    /* Remove right border from every 4th card */
    .why-feature:nth-child(4n) {
        border-right: none;
    }


    /* Remove bottom border from last row */
    .why-feature:nth-child(n+5) {
        border-bottom: none;
    }


/* =========================================
   ICON
   ========================================= */

.feature-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 11px;
    color: #174d35;
    font-size: 27px;
    line-height: 1;
}

    .feature-icon i {
        display: block;
    }


/* =========================================
   CONTENT
   ========================================= */

.feature-content {
    min-width: 0;
}

    .feature-content h3 {
        margin: 0 0 4px;
        color: #222222;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.25;
    }

    .feature-content p {
        margin: 0;
        color: #444444;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.45;
    }


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991.98px) {

    .why-choose-section {
        padding: 12px;
    }

    .why-choose-title {
        gap: 10px;
        margin-bottom: 10px;
    }

        .why-choose-title h2 {
            font-size: 12px;
        }

    .title-arrow {
        font-size: 13px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-feature {
        min-height: 88px;
        padding: 12px;
    }

        /* Tablet: every second item ends a row */
        .why-feature:nth-child(4n) {
            border-right: 1px solid #e3e8e5;
        }

        .why-feature:nth-child(2n) {
            border-right: none;
        }

        /* Items 7 & 8 are last row */
        .why-feature:nth-child(n+7) {
            border-bottom: none;
        }

        .why-feature:nth-child(-n+6) {
            border-bottom: 1px solid #e3e8e5;
        }

    .feature-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        margin-right: 10px;
        font-size: 25px;
    }

    .feature-content h3 {
        font-size: 10px;
    }

    .feature-content p {
        font-size: 8.5px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 575.98px) {

    .why-choose-section {
        padding: 12px 10px;
    }

    .why-choose-title {
        gap: 7px;
        align-items: center;
        margin-bottom: 9px;
    }

        .why-choose-title h2 {
            font-size: 10px;
            line-height: 1.4;
        }

    .title-arrow {
        font-size: 11px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }

    .why-feature {
        min-height: 70px;
        padding: 10px 12px;
        border-right: none !important;
        border-bottom: 1px solid #e3e8e5 !important;
    }

        .why-feature:last-child {
            border-bottom: none !important;
        }

    .feature-icon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin-right: 10px;
        font-size: 24px;
    }

    .feature-content h3 {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .feature-content p {
        font-size: 8.5px;
        line-height: 1.45;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 380px) {

    .why-choose-title {
        gap: 5px;
    }

        .why-choose-title h2 {
            font-size: 9px;
        }

    .title-arrow {
        font-size: 10px;
    }

    .why-feature {
        padding: 9px 10px;
    }

    .feature-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        margin-right: 9px;
        font-size: 22px;
    }

    .feature-content h3 {
        font-size: 9.5px;
    }

    .feature-content p {
        font-size: 8px;
    }
}
