/* Start Hero Section */
.hero {
    padding-top: 100px;
    background: linear-gradient(
        52deg,
        rgba(243, 232, 238, 1) 10%,
        rgba(200, 209, 234, 1) 49%,
        rgba(255, 255, 255, 1) 100%
    );
    border-radius: 0px 0px 10% 10%;
    z-index: 3;
}

.heroframe {
    position: absolute;
    top: -234px;
    right: -341px;
    width: 70%;
    height: 100%;
    transform: rotate(-25deg);
}

.hero__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    line-height: clamp(30px, 5vw, 40px);
    color: var(--main-text-Color);
    margin-bottom: 16px;
}
.hero__subtitle {
    font-size: clamp(16px, 3vw, 30px);
    font-weight: 400;
    line-height: clamp(30px, 4vw, 48.72px);
    color: var(--second-text-Color);
}
.hero__img-box-content {
    position: relative;
}
.hero__img-small-box-img {
    position: absolute;
    top: -100px;
    right: -160px;
    z-index: 2;
    max-width: 200px;
    object-fit: cover;
}

.camera-svg {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 80px;
    z-index: 2;
}
.dots-svg {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 90px;
    z-index: 0;
}
.hero__img-box {
    position: relative;
    z-index: 2;
}
.hero__svg {
    position: absolute;
    left: -40px;
    top: -20px;
}
.hero__img-box::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 430px;
    background-color: #9fadd9;
    border-radius: 150px 150px 0 0;
    bottom: 0px;
    transform: translateX(-20%);
    z-index: -1;
}

.hero__img-box-svg {
    width: 400px;
    height: 440px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.hero__img-small-box-rectangle {
    display: none;
}
.small-camera {
    display: none;
}

.hero-experiences_skill {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: var(--primary-border-radius);
    z-index: 2;
    width: fit-content;
}
.experiences_skill-1 {
    top: 81px;
    right: -171px;
}
.experiences_skill-2 {
    top: 45%;
    left: -30px;
}
.experiences_skill-3 {
    top: 60%;
    right: -170px;
}

.experiences_skill-text-1 {
    font-size: 16px;
    font-weight: 600;
    line-height: 29.98px;
    color: var(--main-text-Color);
}
.experiences_skill-text-2 {
    font-size: 14px;
    font-weight: 500;
    line-height: 26.24px;
    color: var(--gray-color);
}
@media (max-width: 991px) {
    .small-camera {
        display: block;
        position: absolute;
        top: 270px;
        left: 50px;
    }
    .camera-svg {
        display: none;
    }
    .dots-svg {
        top: -68px;
        right: 138px;
        width: 85px;
    }
    .hero__img-box-svg {
        width: 330px;
    }
    .hero__img-box::before {
        width: 220px;
        height: 380px;
        transform: translateX(-18%);
    }
    .hero__img-small-box-rectangle {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .hero__img-small-box-img {
        display: none;
    }
    .price-course {
        width: 100% !important;
    }
    .btn-responsive {
        width: 100%;
        flex-direction: row !important;
        justify-content: space-between;
    }
}
@media (max-width: 768px) {
    .hero__img {
        max-width: 50px;
    }
    .hero__img-box-svg {
        width: 250px;
        height: 250px;
    }
    .hero__img-box::before {
        width: 170px;
        height: 300px;
        transform: translateX(-20%);
    }
    .experiences_skill-1 {
        top: 42px;
        right: -114px;
    }
    .experiences_skill-2 {
        top: 45%;
        right: -118px;
    }
    .experiences_skill-3 {
        top: 72%;
        right: -12px !important;
    }
}
/* End Hero Section */

/* Start home services */
.home-services__container-card {
    padding-bottom: 13px;
    background-color: var(--primary-light-color);
    border-radius: var(--primary-border-radius);
    overflow: visible;
}

.home-services__card {
    background-color: #fefcfb;
    border-radius: var(--primary-border-radius) var(--primary-border-radius) 20%
        0%;
    padding: 20px 0 40px 0;
    box-shadow: 0px 0px 6px #2243a41a;
    transform: translateX(10px);
    transition: 1s;
}
.home-services__card:hover {
    transform: translateX(0);
}
.home-services__img {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid var(--primary-light-color);
    box-shadow: 0px 0px 6px #2243a41a;
    transition: 0.3s;
    margin-top: -57px;
}
.home-services__card:hover .home-services__img {
    border: 1px solid var(--main-color);
}
.home-services__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 41.23px;
    color: var(--main-text-Color);
}
.home-services__subtitle {
    font-size: 16px;
    font-weight: 600;
    line-height: 29.98px;
    color: var(--gray-color);
    display: -webkit-flex;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.services-card:nth-of-type(4) {
    margin-bottom: 0 !important;
}
/* End home services */

/* Start Home About */
.home-about__title {
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 600;
    line-height: 74.96px;
    color: var(--main-text-Color);
}
.home-about__text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    color: var(--second-text-Color);
}
.home-about__link {
    margin-top: clamp(20px, 2vw, 40px);
    display: flex;
    justify-content: start;
    width: 100%;
}
.home-about__link a {
    width: 100%;
}
/* End Home About */
/* Start Home Contractors */
.home-contractors-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-contractors-content img {
    object-fit: contain;
}
/* Start Home Contractors */

/* Start Footer Header */
.home-contact__content {
    background-image: linear-gradient(
            to left,
            #121212cc 0%,
            #121212 50%,
            #121212cc 100%
        ),
        url("../assets/media/background/bg-footer-header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    padding: 10px 0;
    height: 426px;
}

.home-contact-pattern_box {
    position: absolute;
    top: 10px;
    right: 90px;
}

.home-contact_svg_box-2 {
    left: -15px;
    top: 40px;
}
.home-contact_svg_box-3 {
    right: 80px;
    top: 20px;
}

.home-contact_svg {
    position: absolute;
    z-index: -1;
}

.home-contact_svg-1 {
    left: 120px;
    top: 36px;
}
.home-contact_svg-2 {
    left: 42px;
    bottom: 10px;
    max-width: 300px;
}
.home-contact_svg-3 {
    right: 180px;
    bottom: 60px;
    transform: rotate(-150deg);
}

.students_comments {
    background-color: #f4f5f5;
}

@media (max-width: 991px) {
    .home-contact_svg {
        width: 70px;
    }
    .home-contact-pattern_box {
        top: 10px;
        right: 90px;
    }
    .home-contact_svg_box-1 {
        left: -30px;
        top: 5px;
    }
    .home-contact_svg_box-2 {
        left: 25px;
        top: 20px;
        width: 40px;
    }
    .home-contact_svg_box-3 {
        right: 10px;
        top: 10px;
        width: 60px;
    }
    .home-contact_svg-1 {
        left: 10px;
        top: 26px;
    }
    .home-contact_svg-2 {
        left: 15px;
        bottom: 10px;
        width: 150px;
    }
    .home-contact_svg-3 {
        right: 30px;
        bottom: 60px;
    }
}

.home__contact-box-title {
    color: #fff;
    font-size: clamp(24px, 7vw, 46px);
    font-weight: 600;
    line-height: clamp(44.98px, 15vw, 77px);
}
.home__contact-box-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 29.98px;
}
.home__contact-box-tel {
    background-color: #fff;
    max-width: 342px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--primary-border-radius);
}
.home__contact-box-link {
    font-size: 22px;
    line-height: 41.23px;
    font-weight: 500;
    color: var(--main-color);
}

/* End Footer Header */

.recommended__courses {
    /* min-height: 100vh; */
    padding: 3.5rem 0;
    background-image: url(../assets/media/pattern/background-remommended-course.png);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}
.course_name {
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.recommended__courses_recommended {
    color: var(--second-text-Color);
    line-height: 1.8;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.course__price {
    font-size: 24px;
}
.recommended__courses_description {
    line-height: 2;
}

.recommended__course {
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    .course--price {
        border-right: 1px solid #1212121a;
    }
}
.course-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-details .d-flex.justify-content-between {
    margin-top: auto;
}

.course-details h4 {
    max-height: 3.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* marque style */
#second-marqueee-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-slider-wrapper {
    display: flex;
    align-items: center;
    will-change: transform;
}

.marquee-slider-slide img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
/* Swiper */

.section-title-name {
    font-size: 34px;
    font-weight: 600;
    margin: 30px 0;
}
.swiper {
    overflow: visible;
}
.slide {
    position: relative;
}
.figma_icon img,
.slide_image img {
    width: 50px;
    position: absolute;
}
.figma_icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -35px;
    right: -5px;
}
.figma_icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide_image {
    overflow: hidden;
}
.slide_image img {
    width: 10%;
    bottom: 0;
    left: 0;
}

.showall_button {
    display: none;
}

.swiper-pagination {
    transform: translateY(40px);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 6px;
    border-radius: 4px;
    background: var(--main-color) !important;
    border: 1px solid var(--main-color);
}
.swiper-pagination-bullet-active {
    width: 30px;
    height: 6px;
    border-radius: 4px;
    /* background: var(--main-color) !important; */
}

/* Posts */

.image_writer-post {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e6c238;
    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
.posts {
    background-color: #f4f5f5;
    padding: 2rem;
}

/* .post_body::after {
    content: "";
    width: 91%;
    height: 45px;
    background-color: red;
    position: absolute;
    top: -6%;
    left: 0;
    border-radius: 211px 210px 37px 0;
    clip-path: polygon(0% 0%, 0% 0%, 100% 56%, 0% 58%);
} */

@media (max-width: 768px) {
    .course--price {
        flex-direction: row !important;
        justify-content: space-between;
        margin-top: 1rem;
    }
    .showall_button {
        display: block;
        margin-top: 1rem;
    }

    .showall-head {
        display: none;
    }
}

/* Rate Section */

.rate {
    direction: rtl;
}

.rate h4 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.5;
    /* width: 50%; */
}

/* .rate h4 p {
  white-space: nowrap;
} */

.rate_text {
    width: 70%;
    text-align: right;
    color: #7a8582;
    line-height: 1.7;
}

.image-ui-1 {
    position: relative;
}
.image-ui-0 {
    z-index: 111111;
    position: relative;
}
.image-ui {
    position: absolute;
    bottom: 25px;
    left: 57px;
}

/* Rate Card */

.rate {
    direction: rtl;
}

.rate h4 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.5;
    /* width: 50%; */
}

/* .rate h4 p {
  white-space: nowrap;
} */

.rate_text {
    width: 70%;
    text-align: right;
    color: #7a8582;
    line-height: 1.7;
}

.image-ui-1 {
    position: relative;
}
.image-ui-0 {
    z-index: 111111;
    position: relative;
}
.image-ui {
    position: absolute;
    bottom: 25px;
    left: 57px;
}

/* Rate Card */
.chat_image {
    top: -30px;
    left: 30%;
}
.over-flow {
    overflow: hidden;
    padding: 2rem;
}
.overlay_rate {
    background-color: #c8d1ea;
    padding-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0px 4px 16px 0px #0000001a;
}
.rate_card {
    background-color: #fff;
    padding: 1rem;
    padding-right: 2.5rem;
    /* border: 1px solid red; */
    border-radius: 20px 20px 50px 20px;
}

.rate_name {
    font-size: 24px;
    font-weight: 600;
}

.stars i {
    color: #2243a4;
}

.frame-rate_image {
    border: 1px solid #2243a4;
    position: relative;
    border-radius: 20px;
    width: 70%;
}
.image_comments {
    position: relative;
    height: 100%;
    overflow: hidden;
    left: -15px;
    top: 10px;
    border-radius: 20px;
    img {
        width: 100%;
        height: 100%;
    }
    .coute_image {
        height: 150px;
        width: 150px;
        border-radius: 50%;
        background-color: #4c66b680;
        position: absolute;
        bottom: -30px;
        left: -35px;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        img {
            width: 25%;
            height: 25%;
            objec-fit: contain;
            transform: translateX(20px);
        }
    }
}
.rate__imge {
    position: absolute;
    img {
        border-radius: 20px;
        margin: 1rem 1rem 0 0;
        position: relative;
        z-index: 2;
        overflow: hidden;
    }
}

/* .rate__imge img::after {
  content: " ";
  display: flex;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  background-color: red;
} */

.bg-image-rate {
    position: absolute;
    bottom: 24%;
    left: 25%;
    width: 200px;
    height: 300px;
    transform: rotate(-10deg);
}

@media (max-width: 768px) {
    .recommended__course{
        height: 370px;
    }
    .hero__text {
        margin-top: 4rem;
    }
    .rate_person {
        flex-wrap: wrap !important;
        justify-content: center;
    }
    .frame-rate_image {
        height: 250px;
        width: 250px !important;
        img {
            width: 100%;
            height: 100% !important;
        }
    }

    .rate__imge {
        /* position: absolute; */
        img {
            border-radius: 20px;
            margin: 1rem 1rem 0 0;
            position: relative;
            z-index: 2;
        }
    }
    .image-ui-1 {
        display: none;
    }

    .posts {
        padding: 2rem 0;
    }
}
@media (max-width: 1024px) {
    .coute_image {
        display: none !important;
    }
}

@media (max-width: 375px) {
    .hero-experiences_skill {
        padding: 3px 6px;
    }
    .experiences_skill-1 {
        top: 42px;
        right: -68px;
        img {
            width: 25px;
        }
    }
    .experiences_skill-2 {
        top: 45%;
        right: -70px;
        img {
            width: 25px;
        }
    }

    .experiences_skill-text-1 {
        font-size: 14px;
        font-weight: 400;
        line-height: 29.98px;
        color: var(--main-text-Color);
    }
    .experiences_skill-text-2 {
        font-size: 12px;
        font-weight: 300;
        line-height: 26.24px;
        color: var(--gray-color);
    }
}
