.all-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(166px, 1fr));
    gap: 16px;
}

.one-service {
    background-color: white;
    box-shadow: 0px 1px 10px 0px #959DA529;
    border-top: 3px solid #7869AA;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* بدلاً من center */
    padding: 20px;
    min-height: 180px;

}


.div-img-service {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-img-service img {
    width: 32px;
    height: 32px;
}

.one-service p {
    text-align: center;
    font-size: 18px;
    color: #333333;
    font-weight: bold;
    margin-top: 15px;
}

.new-contact-us {
    width: 100%;
    height: 600px;
    background-image: url('/assets/default/img/home/bg-contact.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* margin-top: 65px; */
    display: flex;
    align-items: center;
    justify-content: end;
    padding-left: 20px;
    position: relative;
}

.form-new-contact-us {
    width: 490px;
    background-color: #7869AA;
    padding: 30px;
    position: relative;
}

.form-new-contact-us .title {
    font-size: 24px;
    color: white;
    font-weight: bold;
    margin-bottom: 13px;
}

.form-new-contact-us .sub-title {
    font-size: 14px;
    color: white;
}

.form-new-contact-us img {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.interest-btn {
    background: linear-gradient(180deg, #E8BB84 0%, #F7941D 138.39%);
    box-shadow: 0px -4px 4px 0px #00000033 inset;
    box-shadow: 0px 4px 4px 0px #F9F7F33D inset;

    width: 100%;
    height: 56px;
    color: white;
    border: none;
    outline: none;
    border-radius: 8px;
    margin: 20px 0px;
    cursor: pointer;
    z-index: 90;
}

.join-home {
    margin-bottom: 140px;
    position: relative;
    margin-top: 40px;
}

.join-home-right {
    width: 47%;
}

.join-home-right .title {
    font-size: 35px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 18px;
}

.join-home-right .description {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
}

.join-home-left {
    width: 47%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.trainee {
    position: absolute;
    background-color: white;
    border: 2px solid #7869AA;
    padding: 15px 20px;
    border-radius: 8px;
    top: -30px;
    left: 25px;
}

.img-join-bottom {
    position: absolute;
    bottom: -100px;
    left: 10px;
}

.soon {
    position: relative;
}

.soon-right {
    width: 47%;
    position: relative;
    z-index: 1;
}

.soon-left {
    width: 50%;
}

.div-img-soon {
    width: 90%;
    box-shadow: 0px 0px 20px 0px #00000033;
    height: 580px;
    border-radius: 12px;
    background-color: white;
}

.div-img-soon img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.square-soon {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: -1;
}

.pattern-soon {
    position: absolute;
    width: 148px !important;
    height: 90px !important;
    border-radius: 0px !important;
    bottom: 30px;
    left: 0;
    z-index: -1;
}

.reviews-home {
    margin-bottom: 90px;
}

.reviews-home-left {
    width: 55%;
    height: 560px;
    position: relative;
}

.reviews-home-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-home-right {
    width: 35%;
    position: relative;
    margin-right: 80px;
}

.reviews-home-right .title {
    margin-top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}

.reviews-home-right .description {
    color: #333333;
}

.reviews-container {
    position: absolute;
    width: 672px;
    margin-top: 30px;
    box-shadow: 0px 8px 44px 0px #959DA533;

}

.one-rev {
    background-color: white;
    box-shadow: 0px 8px 44px 0px #959DA533;
    border: 1px solid #D7DADD;
    padding: 40px 30px;

}

.one-rev-description {
    font-size: 20px;
    color: #333333;
}

.one-rev-author {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-top: 10px;
}

.div-featured-images {
    width: 90%;
    margin: 40px auto 100px auto;
    height: 660px;
    position: relative;
}

.bg-featured-images {
    width: 100%;
    height: 100%;
    background: linear-gradient(166.41deg, #F7941D -1.95%, #61509E 98.12%);

    transform: rotate(4deg);
}

.featured-images-container {
    position: absolute !important;
    top: 0;
    width: 100%;
    height: 100%;
}

.one-featured-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.one-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(75%);
}

.title-featured-images {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
}

.arrow-featured-images {
    width: 40px !important;
    height: 40px !important;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    z-index: 10;
}

.arrow-featured-images.swiper-button-next::after,
.arrow-featured-images.swiper-button-prev::after {
    font-size: 16px !important;
    color: #F7941D;
    font-weight: bold !important;
    
}
.arrow-featured-images.swiper-button-prev::after{
transform: rotate(180deg);
}
.arrow-featured-images.swiper-button-next::after{
    transform: rotate(-180deg);
}
.bottom-contact-us {
    width: 90%;
    margin: -10px auto 40px auto;
}

.bottom-contact-right {
    width: 47%;
}

.title-bottom-contact {
    font-size: 35px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 13px;
}

.div-info-contact {
    margin-top: 40px;
}

.div-info-contact .title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
}

.time-info-contact {
    width: 47%;
    box-shadow: 0px 8px 44px 0px #959DA529;
    border-radius: 16px;
    border-right: 5px solid #7869AA;
    padding: 20px 20px 60px 20px;
}

.info-contact {
    width: 67%;
    box-shadow: 0px 8px 44px 0px #959DA529;
    border-radius: 16px;
    padding: 20px 20px 60px 20px;
    border-right: 5px solid #7869AA;
}

.featured-image-info {
    width: 50%;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.featured-image-info p {
    color: white;
    text-align: center;
}

.featured-image-info p:first-child {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 7px;
}

.title-new-courses {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
}

.switch-service-partner {
    display: flex;
    flex-direction: column;
}

.home-partners {
    margin-top: -20px !important;
}

.home-organizations-card-org9 {
    background-color: #E9E9E9;
}

.free-home {
    margin-top: -90px !important;
}
.logo-featured-img{
    position: absolute;
    z-index: 10;
    width: 170px !important;
    height: 80px !important;
    top: 10px;
    right: 10px;
    filter: none !important;
}

@media screen and (max-width: 1116px) {

    .div-featured-images {
        margin: 50px auto 150px auto;
    }

    .join-home {
        flex-direction: column;
        margin-bottom: 80px;
    }

    .join-home-left,
    .join-home-right {
        width: 100%;
    }

    .trainee,
    .img-join-bottom {
        display: none !important;
    }

    .join-btns {
        margin-bottom: 20px
    }

    .soon {
        flex-direction: column-reverse;
    }

    .soon-left {
        width: 100%;
    }

    .soon-right {
        margin-top: 50px;
        width: 100%;
    }

    .reviews-home {
        flex-direction: column;
        margin-bottom: 250px;
    }

    .reviews-home-right {
        margin: 0px auto;
        width: 90%;
        height: 150px;
    }

    .reviews-home-right p {
        text-align: center;
    }

    .reviews-home-left {
        width: 100%;
        height: 428px;
    }

    /* .swiper-pagination-rev {
        position: absolute;
        bottom: -700px !important;
    } */

    /* .reviews-container {
        bottom: -350px;
    } */
    .wrap-rev {
        position: absolute;
        width: 100%;
        top: 450px;
    }
}

@media screen and (max-width: 1070px) {

    .bottom-contact-us-1 {
        flex-direction: column;
        position: relative;
        margin-bottom: 400px;
    }

    .bottom-contact-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bottom-contact-left {
        width: 80% !important;
        margin-top: 30px !important;
    }

    .title-bottom-contact,
    .desc-bottom-contact {
        text-align: center;
    }

    .div-info-contact {
        position: absolute;
        bottom: -330px;
        width: 90%;
        margin: auto;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 847px) {
    .all-services {
        gap: 12px
    }

    .div-img-service {
        width: 30px;
        height: 30px;
    }

    .div-img-service img {
        width: 18px;
        height: 18px;
    }

    .one-service {
        min-height: 160px;
        margin-bottom: 10px;
    }

    .one-service p {
        font-size: 9px;
        margin-top: 5px;
    }

    .form-new-contact-us p {
        text-align: center;
    }

    .form-new-contact-us .title {
        font-size: 20px;
    }

    .new-contact-us {
        justify-content: center;
    }

    .new-contact-us {
        height: 400px;
        padding-left: 0px;
    }

    .form-new-contact-us {
        margin-top: 800px;

    }

    .bottom-contact-us {
        height: 480px;
    }

    .bottom-contact-us-1 {
        margin-bottom: 550px;
    }

    .div-info-contact {
        bottom: -470px;
    }
}

@media screen and (max-width: 700px) {
    .reviews-home-left {
        width: 100%;
        height: 328px;
    }

    .wrap-rev {
        top: 380px;
    }

    .reviews-container {
        width: 90%;
    }

    .reviews-home-right .title {
        font-size: 20px;
    }

    .reviews-home-right .description {
        font-size: 16px;
    }

    .one-rev p {
        font-size: 16px;
    }

    .one-rev img {
        width: 35px;
        height: 28px;
    }

    /* .swiper-pagination-rev {
        bottom: -530px !important;
    } */

}


@media screen and (max-width: 654px) {

    .form-new-contact-us {
        width: 80%;
    }

    .new-contact-us {
        height: 248px;
        padding-left: 0px;

    }

    .form-new-contact-us {
        margin-top: 650px;

    }

    .bottom-contact-us {
        height: 440px;
    }

}

@media screen and (max-width: 661px) {
    .logo-featured-img{
    width: 113px !important;
    height: 53px !important;
    }
    .video-containerr {
        padding-top: 30px !important;
    }

    .home-partners {
        margin-top: -80px !important;
    }

    .div-services {
        margin-top: -55px !important;
    }

    .switch-service-partner {
        flex-direction: column-reverse;
    }

    .reviews-home {
        margin-bottom: 280px;
    }

    .free-home {
        margin-top: -55px !important;
    }

    .best-sellers-home {
        margin-top: -10px !important;
    }

    .best-sellers-home-bottom {
        margin-bottom: 10px !important;
    }

    .books-home {
        margin-top: 0px !important;
    }

    .a-soon {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .res-home-number {
        margin-top: 20px !important;
        margin-bottom: 5px;
    }

    .home-organizations-card {
        padding: 18px !important;
    }

    .home-organizations-card-org9 {
        padding: 8px !important;
        background-color: #E9E9E9;
    }

    .new-contact-us {
        margin-top: 35px !important;
    }

    .organizations-logo {
        width: 150px !important;
    }

    .swiper-wrapper-partners {
        margin-bottom: 20px !important;
    }

    .slide-partner {
        height: 66px !important;
    }

    .featured-image-info {
        width: 100%;
    }

    .featured-image-info p:first-child {
        font-size: 14px;
        text-shadow: 2px 2px #0f0f0fe8 !important;
    }

    .featured-image-info p:last-child {
        font-size: 12px;
        text-shadow: 1px 1px #0f0f0fe8 !important;
    }

    .title-new-services {
        font-size: 15px !important;
    }

    .title-new-courses {
        font-size: 20px;
        margin-right: -15px;
    }

    .a-view-all-new {
        height: 40px !important;
        margin-left: -15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .a-view-all-new button {
        border: none !important;
        padding: 0px !important;
        font-weight: bold;
        font-size: 14px !important;
    }

    .best-sellers-home-bottom {
        margin-bottom: -25px !important;
    }

    .free-home-bottom {
        margin-bottom: 8px !important;
    }

    .p-new-hero {
        text-align: center;
    }

    .arrows-side {
        display: none !important;
    }

    .title-partner {
        text-align: center;
        font-size: 13px !important;
        margin-bottom: -23px !important;
        margin-top: 10px;
        line-height: 1.5 !important;
        border-top: 1px solid #80808038 !important;
        width: 100% !important;
        padding-top: 10px !important;
        white-space: nowrap;
    }

    .swiper-pagination {
        display: none !important;
    }

    .bottom-contact-us-1 {
        margin-bottom: 440px;
    }

    .div-info-contact {
        flex-direction: column;
        bottom: -410px;
        width: 100%;
    }

    .time-info-contact {
        width: 100%;
    }

    .title-bottom-contact {
        font-size: 20px;
    }

    .desc-bottom-contact {
        font-size: 14px;
    }

    .time-info-contact .title,
    .info-contact .title {
        font-size: 16px !important;
    }

    .time-info-contact p,
    .info-contact p {
        font-size: 14px;
    }

    .bottom-contact-left {
        width: 100% !important;
    }

    .info-contact {
        width: 100%;
    }

    .title-featured-images {
        font-size: 20px;
        margin-bottom: -30px;
    }

    .div-featured-images {
        margin: 50px auto 0px auto;
    }

    .main-img-join {
        width: 100% !important;
        height: 320px !important;
        margin-top: 15px;
    }

    .join-home-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .join-home-right p {
        text-align: center;
    }

    .join-home-right .title {
        font-size: 20px;
    }

    .join-home-right .description {
        font-size: 14px;
    }

    .one-join {
        margin-bottom: 5px !important;
    }

    .join-btns {
        position: absolute;
        bottom: -60px;
        margin-bottom: 0px !important;
    }

    .join-btns button {
        width: fit-content !important;
        padding: 7px 30px !important;
        height: 40px !important;
        font-size: 13px !important;
    }

    .soon-left,
    .soon-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .soon-left p {
        text-align: center;
    }

    .soon-word {
        font-size: 17px !important;
    }

    .soon-title {
        font-size: 20px !important;
    }

    .square-soon,
    .pattern-soon {
        display: none !important;
    }

    .div-img-soon {
        height: 320px;
    }

    .soon {
        margin-bottom: 120px;
    }

    .soon-btn {
        position: absolute;
        bottom: -90px;
    }

    .div-featured-images {
        height: 380px;
    }
}

@media screen and (max-width: 599px) {
    .all-services {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media screen and (max-width: 556px) {
    /* .swiper-pagination-rev {
        bottom: -550px !important;
    } */


}

@media screen and (max-width: 520px) {
    .all-services {
        gap: 0px 13px !important;
    }

    .one-service {
        min-height: 82px;
        padding: 7px 5px;
    }

    /* .one-service p {
        font-size: 9px;
    } */

    .form-new-contact-us {
        width: 90%;
    }
}

@media screen and (max-width: 505px) {
    .all-services {
        grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    }

}

@media screen and (max-width: 456px) {
    .reviews-home {
        margin-bottom: 370px;

    }
}

@media screen and (max-width: 400px) {

    /* .swiper-pagination-rev {
        bottom: -630px !important;
    } */

    .all-services {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    }
}

@media screen and (max-width: 391px) {
    .bottom-contact-us-1 {
        margin-bottom: 500px;
    }

    .div-info-contact {
        flex-direction: column;
        bottom: -470px;
        width: 100%;
    }
}