.d_main-container{
    width: 100%;
    height: 440px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.d_card-container{
    width: 300px;
    height: max(300px, 250px);
}
.d_card-image{
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.d_card-line{
    width: 95%;
    height: 1px;
    background-color: #d4d4d4;
    margin: 0.5rem auto;
}

.d_card-title{
    display: flex;
    flex-direction: column;
}
.d_main-title{
    font-weight:bolder ;
    font-size: 3em;

}
.d_sub-title{
    font-size: 1.8em;
    line-height: 1.8rem;
    color:grey;
}

/*last section questions*/
.d_main-container-questions{
    width: 100%;
    height: auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border: 1px dashed gainsboro;
    padding: 1rem;
    margin-bottom: 1rem;
}

.d_subcontainer-questions{
    padding: 1.5rem 3rem;
    width: 100% !important;
}
.d_en-text{
    text-align: left;
}

.d_ar-text{
    text-align: right;
    flex-direction: row-reverse !important;
}

.d_main-title-questions{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.d_main-title-questions p{
    font-size: 2em;
    font-weight: bolder;
    line-height: 1em;
}
.d_main-title-questions img{
    width: 30px;
    height: 30px;
    margin: 0 0.5rem;
}
.d_section-questions{
    margin-bottom: 1.5rem;
}

@media only screen and (max-width: 1024px) {
    .d_main-container{
        height: max(320px, 250px);
        margin-bottom: 0.3rem;
    }

    .d_card-container{
        width: 30%;
        height: max(320px, 250px);
    }

    .d_card-line{
        width: 75%;
    }
    .d_card-image{
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .d_card-image img{
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        object-fit:cover;
    }

    .d_section-questions p {
        line-height: 1.6em;
        font-size: 1.4em;
    }
    .d_section-questions h2 {
        line-height: 1.6em;
        font-size: 1.9em;
    }
    .d_subcontainer-questions{
        height: auto;
        max-height: 550px;
    }

}

@media only screen and (max-width: 769px) {
    .d_main-container{
        height: max(330px, 100px);
        margin-bottom: 0.2rem;
    }

    .d_card-container{
        width: 29%;
        height: max(300px, 100px);

    }

    .d_card-line{
        width: 75%;
    }
    .d_card-image{
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .d_card-image img{
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        object-fit:cover;
    }

    .d_card-title .d_main-title{
        font-size: 2.2em;
    }
    .d_card-title .d_sub-title{
        font-size: 1.6em;
        line-height: 1.4em;
    }
    .d_section-questions p {
        line-height: 1.5em;
        font-size: 1.3em;
    }

    .d_subcontainer-questions{
        height: auto;
        max-height: 550px;
    }
}

@media only screen and (max-width: 600px) {
    .d_main-container{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
        margin-bottom: 1rem ;
        width: 100%;
    }

    .d_card-container{
        width: 33%;
        height: max(135px, 100px);
    }

    .d_card-line{
        width: 75%;
    }
    .d_card-image{
        width: 100%;
        height: 70px;
        margin: 0 auto;
    }
    .d_card-image img{
        width: 70px;
        height: 70px;
        background-size: cover;
        background-position: center;
        object-fit:cover;
    }

    .d_main-title{
        font-size: 1.3em;
        line-height: 1.5em;
    }
    .d_sub-title{
        font-size: 1em;
        line-height: 1em;
    }
    .d_text-hidden-mobile{
        display: none;
    }
    .d_new-text-size{
        line-height: 20px;
        font-size: max(2.3vw, 11px);
    }
    .d_card-title .d_main-title{
        font-size: 1.3em;
        line-height: 1.5em;
    }
    .d_card-title .d_sub-title{
        font-size: 1em;
        line-height: 1.2em;
    }
    /*    style questions section  */
    .d_main-container-questions{
        padding: 0.8rem 0.3rem;

    }
    .d_subcontainer-questions{
        padding: 0.5rem 0.7rem;
        height: max(400px, 350px);
    }

    .d_main-title-questions p{
        font-size: 1.2em;
        line-height: 1em;
    }
    .d_main-title-questions img{
        width: 15px;
        height: 15px;
        margin-right: 0.5rem;
    }
    .d_section-questions h2 {
        font-size: 1.1em;
    }
    .d_section-questions p {
        font-size: 0.9em;
        line-height: 1.7em;
    }
}