/* =========================================
   SERVICES - BASE
========================================= */

.services,
.services-bottom {
    max-width: 700px;
    margin: auto;
    padding: 25px;
}

.services-bottom {
    max-width: 650px;
    margin: 35px auto 0;
    box-sizing: border-box;
}

.services h3 {
    font-size: 35px;
    color: rgb(0, 71, 0);
    text-align: center;
}

.services p {
    color: rgb(76, 76, 76);
}

.services-bottom h3 {
    font-size: 30px;
    line-height: 1.2;
    color: #000;
    text-align: left;
    margin: 0 0 30px;
}


/* =========================================
   SECTION SERVICES
========================================= */

.services-section {
    background: #f8f8f8;
    padding: 8px 0 48px;
}

.services-container {
    width: calc(100% - 142px);
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.services-header {
    text-align: center;
    margin-bottom: 22px;
}

.services-eyebrow {
    display: block;

    color: #238047;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;

    margin-bottom: 17px;
}

.services-header h2 {
    margin: 0;

    color: #080808;

    font-size: 32px;
    line-height: 1.16;
    font-weight: 700;

    letter-spacing: -0.5px;
}


/* =========================================
   GRID
========================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* =========================================
   CARD
========================================= */

.service-card {
    position: relative;

    min-height: 535px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #d4d4d4;

    padding: 76px 31px 45px;

    box-sizing: border-box;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        border-radius 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================
   HOVER / ACTIVE
========================================= */

.service-card:hover,
.service-card.active {
    background-color: #145a35;

    border: 2px solid #145a35;

    border-radius: 10px;

    cursor: pointer;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(20, 90, 53, 0.12);
}


/* =========================================
   TITRE - ACTIVE
========================================= */

.service-card:hover h3,
.service-card.active h3 {
    color: rgb(243, 245, 243);
}


/* =========================================
   DESCRIPTION - ACTIVE
========================================= */

.service-card:hover p,
.service-card.active p {
    color: rgb(215, 209, 209);
}


/* =========================================
   ICONE
========================================= */

.service-icon {
    width: 100%;
    height: 80px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;

    color: #ff8a00;

    font-size: 100px;

    line-height: 1;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* =========================================
   ICONE FONT AWESOME
========================================= */

.service-icon i {
    display: block;

    font-size: 100px;

    line-height: 1;

    color: currentColor;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* =========================================
   ANIMATION ICONE
========================================= */

.service-card:hover .service-icon i,
.service-card.active .service-icon i {
    transform: scale(1.05);
}


/* =========================================
   ICONE ACTIVE
========================================= */

.service-card:hover .service-icon,
.service-card.active .service-icon {
    color: #ff8a00;
}


/* =========================================
   TITRE CARD
========================================= */

.service-card h3 {
    margin: 0 0 19px;

    color: #090909;

    font-size: 21px;
    line-height: 1.18;
    font-weight: 700;

    letter-spacing: -0.2px;

    transition: color 0.3s ease;
}


/* =========================================
   DESCRIPTION CARD
========================================= */

.service-card p {
    max-width: 370px;

    margin: 0;

    color: #707070;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;

    transition: color 0.3s ease;
}


/* =========================================
   LIEN
========================================= */

.service-card-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: auto;
    padding-top: 30px;

    color: #238047;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.service-card-link svg {
    width: 19px;
    height: 19px;

    flex-shrink: 0;

    transition:
        transform 0.3s ease;
}

.service-card-link:hover {
    color: #145a35;

    gap: 14px;
}

.service-card-link:hover svg {
    transform: translateX(3px);
}


/* =========================================
   LIEN ACTIVE
========================================= */

.service-card:hover .service-card-link,
.service-card.active .service-card-link {
    color: #ffffff;
}


/* =========================================
   BOUTON GLOBAL
========================================= */

.services-action {
    display: flex;

    justify-content: center;

    margin-top: 42px;
}

.services-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 201px;
    height: 57px;

    padding: 0 27px;

    background: #238047;

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.services-button svg {
    width: 19px;
    height: 19px;
}

.services-button:hover {
    background: #196638;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================
   POURQUOI CHOISIR BNI GESTION
========================================= */

.services-bottom {
    max-width: 650px;

    margin: 35px auto 0;

    padding: 25px;

    box-sizing: border-box;
}



/* =========================================
   LISTE DES AVANTAGES
========================================= */

.services-benefits {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    gap: 14px;
}


/* =========================================
   ELEMENT DE LA LISTE
========================================= */

.services-benefits li {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 13px 16px;

    box-sizing: border-box;

    color: #616161;

    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;

    background: #ffffff;

    border: 1px solid #e7e7e7;

    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.03);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}


/* =========================================
   CERCLE DE VALIDATION
========================================= */

.benefit-icon {
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #238047;

    color: #ffffff;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    box-shadow:
        0 3px 8px rgba(35, 128, 71, 0.22);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}


/* =========================================
   HOVER LISTE
========================================= */

.services-benefits li:hover {
    transform: translateX(5px);

    border-color: #238047;

    background: #f8fcf9;

    box-shadow:
        0 5px 15px rgba(35, 128, 71, 0.08);
}

.services-benefits li:hover .benefit-icon {
    transform: scale(1.1);

    background: #145a35;
}


/* =========================================
   EMPTY STATE
========================================= */

.services-empty {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    min-height: 300px;

    padding: 50px 20px;

    background: #ffffff;

    border: 1px solid #e0e0e0;
}

.services-empty-icon {
    width: 80px;
    height: 80px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    color: #238047;

    font-size: 50px;
}

.services-empty h3 {
    margin: 0 0 10px;

    color: #090909;

    font-size: 24px;
}

.services-empty p {
    margin: 0;

    color: #707070;

    font-size: 16px;
}


/* =========================================
   PAGINATION
========================================= */

.services-pagination {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}

.services-pagination nav {
    display: flex;

    justify-content: center;
}

.services-pagination svg {
    width: 18px;
    height: 18px;
}

.services-pagination a,
.services-pagination span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 12px;

    margin: 0 3px;

    border: 1px solid #d4d4d4;

    background: #ffffff;

    color: #238047;

    text-decoration: none;

    font-size: 14px;
}

.services-pagination a:hover {
    background: #238047;

    border-color: #238047;

    color: #ffffff;
}

.services-pagination span[aria-current="page"] {
    background: #238047;

    border-color: #238047;

    color: #ffffff;
}


/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 1100px) {

    .services h3 {
        font-size: 25px;
    }

    .services-container {
        width: calc(100% - 60px);
    }

    .service-card {
        padding: 55px 25px 35px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p {
        font-size: 15px;
    }

    .services-bottom {
        max-width: 600px;
    }

    .services-bottom h3 {
        font-size: 28px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .services-section {
        padding: 40px 0;
    }

    .services-container {
        width: calc(100% - 30px);
    }

    .services-header {
        margin-bottom: 30px;
    }

    .services-eyebrow {
        font-size: 16px;

        margin-bottom: 12px;
    }

    .services-header h2 {
        font-size: 25px;

        line-height: 1.25;
    }

    .services-header h2 br {
        display: none;
    }


    /* =====================================
       GRID
    ===================================== */

    .services-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* =====================================
       CARD
    ===================================== */

    .service-card {
        min-height: auto;

        padding: 45px 25px 40px;
    }


    /* =====================================
       TITRE
    ===================================== */

    .service-card h3 {
        font-size: 20px;
    }


    /* =====================================
       DESCRIPTION
    ===================================== */

    .service-card p {
        max-width: none;

        font-size: 15px;
    }


    /* =====================================
       LIEN
    ===================================== */

    .service-card-link {
        padding-top: 25px;
    }


    /* =====================================
       BOUTON
    ===================================== */

    .services-action {
        margin-top: 30px;
    }


    /* =====================================
       POURQUOI CHOISIR
    ===================================== */

    .services-bottom {
        width: 100%;

        max-width: 100%;

        margin-top: 25px;

        padding: 20px 15px;
    }

    .services-bottom h3 {
        font-size: 25px;

        line-height: 1.25;

        margin-bottom: 25px;
    }


    /* =====================================
       LISTE
    ===================================== */

    .services-benefits {
        gap: 10px;
    }

    .services-benefits li {
        align-items: flex-start;

        gap: 11px;

        padding: 12px;

        font-size: 14px;

        line-height: 1.45;
    }


    /* =====================================
       ICONE CHECK
    ===================================== */

    .benefit-icon {
        flex: 0 0 25px;

        width: 25px;
        height: 25px;

        font-size: 12px;
    }


    /* =====================================
       EMPTY
    ===================================== */

    .services-empty {
        min-height: 250px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .services-container {
        width: calc(100% - 24px);
    }

    .service-card {
        padding: 35px 20px;
    }

    .services-header h2 {
        font-size: 22px;
    }


    /* =====================================
       ICONE SERVICE
    ===================================== */

    .service-icon {
        width: 60px;
        height: 60px;

        font-size: 52px;
    }

    .service-icon i {
        font-size: 65px;
    }


    /* =====================================
       POURQUOI CHOISIR
    ===================================== */

    .services-bottom {
        padding: 20px 10px;
    }

    .services-bottom h3 {
        font-size: 22px;

        margin-bottom: 20px;
    }


    /* =====================================
       LISTE
    ===================================== */

    .services-benefits {
        gap: 8px;
    }

    .services-benefits li {
        gap: 10px;

        padding: 11px;

        font-size: 13px;
    }

    .benefit-icon {
        flex: 0 0 23px;

        width: 23px;
        height: 23px;

        font-size: 11px;
    }
}