.home {
    position: relative;
}

.home .backgroundImage {
    width: 100%;
    height: 800px;
    z-index: -1;
}

.home .backgroundImage::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, rgba(17, 17, 27, 1) 0%, rgba(17, 17, 27, 0.3) 100%);
}

.home .content {
    position: absolute;
    top: 190px;
    color: white;
    width: 830px;
}

.home .content .Title {
    font-size: 70px;
    line-height: 100px;
    font-weight: 700;
    height: 300px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .home .content .Title {
        font-size: 68px;
    }
}

.home .content .Title span {
    color: var(--Secondary-color);
}

.home .content .des {
    font-weight: 300;
    font-size: 28px;
    line-height: 50px;
    margin: 20px 0px 30px;
    height: 100px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .home .content .des {
        font-size: 26px;
    }
}

.home .btnMore {
    margin: 0px;
}

.fill:hover {
    color: whitesmoke;
    border-color: var(--Primary-color);
}

.fill:before {
    content: "";
    position: absolute;
    background: var(--Primary-color);
    border-radius: 5px;
    outline: none;
    box-shadow: none;
    font-size: 18px;
    bottom: 0;
    left: 0;
    right: 0;
    top: 100%;
    z-index: -1;
    -webkit-transition: top 0.15s ease-in;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .fill:before {
        font-size: 16px;
    }
}

.fill:hover:before {
    top: 0;
}

@media (max-width: 1000px) {
    .home .content {
        width: 100%;
        left: 0px;
        padding: 0px 40px;
    }
}

@media (min-width: 500px) and (max-width: 800px) {
    .home .content {
        top: 125px;
    }

    .home .content .Title {
        font-size: 50px;
        height: 258px;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .home .content .Title {
            font-size: 48px;
        }
    }

    .home .content .des {
        height: 150px;
    }
}

@media (max-width: 500px) {
    .home .backgroundImage {
        height: 600px;
    }

    .home .content {
        padding: 0px 12px;
        top: 44px;
    }

    .home .content .Title {
        font-size: 27px;
        line-height: 40px;
        height: 150px;
        overflow: hidden;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .home .content .Title {
            font-size: 25px;
        }
    }

    .home .content .des {
        font-size: 18px;
        line-height: 40px;
        height: 128px;
        margin: 10px 0px 20px;
        overflow: hidden;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .home .content .des {
            font-size: 16px;
        }
    }
}

/*courses*/
.ourCourses .content {
    border-radius: 10px;
    display: flex;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

.ourCourses .backgroundStudio {
    background: linear-gradient(135deg, rgba(222, 233, 253, 1) 0%, rgba(255, 237, 226, 1) 100%);
    padding: 30px;
    border-radius: 10px;
}

.ourCourses .backgroundCourse {
    background: linear-gradient(135deg, rgba(255, 225, 206, 1) 0%, rgba(255, 245, 207, 1) 100%);
    padding: 30px;
    border-radius: 10px;
}

.ourCourses .backgroundLearners {
    background: linear-gradient(135deg, rgba(255, 248, 220, 1) 0%, rgba(234, 255, 223, 1) 100%);
    padding: 30px;
    border-radius: 10px;
}

.ourCourses .backgroundStudents {
    background: linear-gradient(135deg, rgba(255, 241, 219, 1) 0%, rgba(255, 239, 239, 1) 100%);
    padding: 30px;
    border-radius: 10px;
}

.ourCourses .backgroundStudio .icon {
    color: #2c79ff;
}

.ourCourses .backgroundCourse .icon {
    color: #fd7e2e;
}

.ourCourses .backgroundLearners .icon {
    color: #7ba368;
}

.ourCourses .backgroundStudents .icon {
    color: #f79009;
}

.ourCourses .icon i {
    margin-top: 10px;
    font-size: 40px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourCourses .icon i {
        font-size: 38px;
    }
}

.ourCourses .des {
    text-align: center;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    font-size: 20px;
    margin-top: 16px;
    font-weight: 500;
    width: 100%;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourCourses .des {
        font-size: 18px;
    }
}

.ourCourses .des span {
    font-size: 25px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourCourses .des span {
        font-size: 23px;
    }
}

/*Teacher*/

.ourExperience .content {
    border: 1px solid #f1f3f9;
    border-radius: 20px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0px 10px 40px -26px rgba(0, 0, 0, 0.08);
}

.ourExperience .content .imageTeacher {
    width: 380px;
    height: 300px;
    border: 1px solid #f1f3f9;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
}

.ourExperience .content .title {
    font-size: 24px;
    font-weight: 700;
    margin: 18px 0px 10px;
    line-height: 35px;
    height: 35px;
    overflow: hidden;
    text-align: center;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourExperience .content .title {
        font-size: 22px;
    }
}

.ourExperience .content .des {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    height: 30px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourExperience .content .des {
        font-size: 18px;
    }
}

.reviews {
    margin: 20px 0px 10px 0px;
}

.reviews .rating {
    color: var(--Secondary-color);
}

.reviews p span {
    font-size: 20px;
    font-weight: 600;
    margin: 0px 5px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .reviews p span {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .ourExperience .content {
        padding: 0px;
    }

    .ourExperience .content .body {
        padding: 12px;
    }

    .ourExperience .content .title {
        margin: 6px 0px 10px;
    }
}

/*ourPopular*/
.ourPopular {
    background-color: var(--Section-color);
}

.ourPopular .content .imageCourse {
    height: 300px;
}

.ourPopular .content {
    border: 1px solid #dfe4ed;
    border-radius: 20px;
    overflow: hidden;
}

.ourPopular .content .body {
    background-color: white;
    padding: 25px;
}

.ourPopular .content .body .tag {
    background-color: #f8f5f0;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    width: fit-content;
    border-radius: 10px;
    color: var(--Secondary-color);
    height: 42px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .tag {
        font-size: 14px;
    }
}

.ourPopular .content .body .name {
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    height: 35px;
    margin: 20px 0px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .name {
        font-size: 22px;
    }
}

.ourPopular .content .body .detail i {
    color: var(--Primary-color);
    font-size: 20px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .detail i {
        font-size: 18px;
    }
}

.ourPopular .content .body .detail span {
    font-size: 18px;
    font-weight: 500;
    margin: 0px 12px 0px 6px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .detail span {
        font-size: 16px;
    }
}

.ourPopular .content .body .des {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    margin: 20px 0px;
    color: #3f3f43;
    height: 150px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .des {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .ourPopular .content .body {
        padding: 12px;
    }

    .ourPopular .content .body .name,
    .ourPopular .content .body .des {
        margin: 10px 0px;
    }
}

/*case study */
.OurCaseStudy .cardCase {
    border: 1px solid #e4e5eb;
    padding: 20px;
    border-radius: 20px;
}

.OurCaseStudy .imageCaseStudy {
    height: 350px;
    border-radius: 20px;
}

.OurCaseStudy .imageCaseStudy img {
    border-radius: 20px;
}

.OurCaseStudy .cardCase .title {
    font-size: 26px;
    font-weight: 700;
    margin: 20px 0px;
    line-height: 45px;
    height: 90px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .OurCaseStudy .cardCase .title {
        font-size: 24px;
    }
}

.OurCaseStudy .cardCase .date {
    font-size: 20px;
    line-height: 35px;
    font-weight: 600;
    height: 35px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .OurCaseStudy .cardCase .date {
        font-size: 18px;
    }
}

.OurCaseStudy .cardCase .des {
    font-size: 20px;
    font-weight: 500;
    line-height: 35px;
    color: #3f3f43;
    height: 190px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .OurCaseStudy .cardCase .des {
        font-size: 18px;
    }
}

.OurCaseStudy .cardCase .bodyCard {
    padding: 12px;
}

@media (max-width: 500px) {
    .OurCaseStudy .cardCase {
        padding: 0px;
    }

    .OurCaseStudy .imageCaseStudy {
        border-radius: 20px 20px 0px 0px;
    }

    .OurCaseStudy .imageCaseStudy img {
        border-radius: 20px 20px 0px 0px;
    }

    .OurCaseStudy .cardCase .title {
        margin: 5px 0px;
        font-size: 24px;
        height: 135px;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .OurCaseStudy .cardCase .title {
            font-size: 22px;
        }
    }

    .OurCaseStudy .cardCase .des {
        font-size: 18px;
        height: 175px;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .OurCaseStudy .cardCase .des {
            font-size: 16px;
        }
    }

    .OurCaseStudy .cardCase .date {
        font-size: 18px;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .OurCaseStudy .cardCase .date {
            font-size: 16px;
        }
    }

    .OurCaseStudy .cardCase .bodyCard {
        padding: 12px;
    }
}
