@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --main-text: #14573a;
    --main-bg: #1b8354;
    --second-text: #222a26;
    --paragraoh-text: #313842;
    --container-width: 1100px;
    --bg-box: #f2fcf8;
}

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
}

body {
    background-color: #fff !important;
    background: url(../img/patternBackground.png) top center no-repeat;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    padding-top: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    background: url('../img/main_border.png') top center no-repeat;
    margin: 4rem auto;
    padding: 2rem 2rem;
    position: relative;
}

h2.main-title {
    display: block;
    width: 250px;
    background-color: #1b8354;
    position: absolute;
    top: -25px;
    right: 0;
    left: 0;
    margin: 0 auto;
    filter: drop-shadow(4px 0px 24px #1b835463);
    color: #fff;
    padding: 0.7rem 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 8px;
    text-align: center;
}

.conatiner-flex {
    display: flex;
    padding: 5rem 4rem 0rem;
    column-gap: 2rem;
    max-width: var(--container-width);
    flex-direction: column;

    row-gap: 3rem;
}

.section {
    margin: 0 auto;
    width: 100%;
    border-bottom: 2px dashed #1b835418;
    padding: 0rem 0 4rem;

    ul {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        place-content: center;

        gap: 1.5rem;

        li {
            list-style: none;

            border-radius: 0.75rem;

            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #1b835425;
            padding: 0.5rem;
            min-height: 80px;
            max-height: 80px;
            filter: drop-shadow(8px 16px 32px rgba(0, 0, 0, 0.07));
            background-color: #ffffff;

            img {
                object-fit: contain !important;
                max-width: 100%;


                height: 100%;
            }
        }
    }
}

.sectionHeading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('../img/border.png') bottom center no-repeat;
    background-size: contain !important;

    margin: 0.5rem 0 2rem;
    padding-bottom: 3rem;

    .icon {
        display: block;
    }

    h2 {
        text-align: center;
        color: #000;
    }
}

@media screen and (max-width: 460px) {
    html {
        overflow-x: hidden;
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }

    body {
        overflow-x: hidden;
    }

    .conatiner-flex {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 1rem 0.5rem;
    }

    .section ul {
        grid-template-columns: repeat(1, 1fr);
        padding-top: 1rem;
    }

    .section ul li img {
        height: 100%;
    }




}


@media screen and (min-width: 768px) {

    .section ul {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 1rem;
    }

}


@media screen and (min-width: 769px) {

    .section ul {
        grid-template-columns: repeat(3, 1fr);
        padding-top: 1rem;
    }

}