/*=============== HOME ===============*/
.home {
    padding-block: 13.6875rem 3.875rem;
    position: relative;
    background: var(--red-gradiant);
    min-height: 100vh;

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../image/Background\ home.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.4;
        z-index: 0;
    }

    .home__container {
        .home__content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 6.4375rem;
            z-index: 5;

            .header__content {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                text-align: center;
                gap: 3px;

                h1 {
                    font-size: 42px;
                    font-weight: var(--font-bold);
                    color: white;
                }

                p {
                    font-size: 18px;
                    font-weight: var(--font-regular);
                    color: var(--gold);
                }
            }

            .body__content {
                position: relative;
                margin-bottom: 6.125rem;
                max-width: 100%;

                .group__marquee {
                    position: relative;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    max-width: 100%;
                    flex-direction: column;
                    overflow: hidden;

                    .container__marquee {
                        --width: 132px;
                        --duration: 50s;
                        --number_img: 10;
                        display: flex;
                        overflow: hidden;
                        max-width: 100%;


                        img {
                            width: var(--width);
                            offset: shape(from calc(var(--width)/-2) 50%, hline by calc(sibling-count()*max(100%/var(--number_img), var(--width) + 10px)));
                            animation: maquree var(--duration) linear infinite calc(-1*sibling-index()*var(--duration)/sibling-count());
                            border-radius: 4px;
                        }

                        &:nth-child(2) img {
                            animation-direction: reverse;
                        }

                    }

                    .container__marquee__mobile {
                        display: none;
                    }

                    &::after,
                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        transform: rotate(180deg);
                        width: 274px;
                        height: 101%;
                        background: linear-gradient(270.31deg,
                                #5F0101 8%,
                                rgba(96, 1, 1, 0.7) 30%,
                                rgba(96, 1, 1, 0.5) 55%,
                                rgba(96, 1, 1, 0) 75%);
                        z-index: 1;
                    }

                    &::after {
                        left: 0;
                    }

                    &::before {
                        right: 0;
                        transform: rotate(0);
                    }
                }

                .mobile__img {
                    position: absolute;
                    width: 255px;
                    height: 520px;
                    top: 70%;
                    left: 50%;
                    transform: translate(-50%, -50%);

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }

                    a {
                        position: absolute;
                        top: 90%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        width: 200px;
                        height: 42px;
                        background-color: white;
                        border-radius: 35px;
                        z-index: 5;
                        box-shadow: 0px 2px 44px 0px #828080;
                        gap: 3px;
                        color: var(--gold);
                        font-size: 18px;
                        font-weight: var(--font-semi-bold);
                    }
                }

            }

            .bottom__content {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 28px;

                span {
                    position: relative;
                    font-size: 13px;
                    font-weight: var(--font-regular);
                    color: white;

                    &::after {
                        position: absolute;
                        content: "";
                        width: 100%;
                        height: 7px;
                        left: 0;
                        bottom: -10px;
                        background-image: url(../image/line.webp);
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: contain;

                    }
                }

                .category__items {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 14px;

                    .item {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 8px;
                        padding: 8px 16px;
                        background-color: #8B000045;
                        border-radius: 48px;
                        color: #FBEBE8;

                        img {
                            width: 24px;
                            height: 24px;
                            object-fit: contain;
                        }

                        i {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
    }
}

/*=============== SEARCH SERVICES ===============*/
.search__services {
    position: relative;
    padding-block: 10.75rem 14.75rem;
    background-image: url(../image/bg\ search\ serv.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    .search__services__container {

        .search__services__content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 62.26px;

            .search__header {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 7px;

                h2 {
                    font-size: 40px;
                    font-weight: var(--font-semi-bold);
                    color: #232233;

                }

                p {
                    font-size: 18px;
                    font-weight: var(--font-regular);
                    color: var(--black);

                    a {
                        color: var(--red);
                        font-weight: var(--font-bold);
                    }
                }
            }

            .form {
                max-width: 1150px;
                width: 100%;
                box-shadow: 0px 0px 147.17px 0px #E6E5E0;

                form {
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    flex-wrap: wrap;
                    width: 100%;
                    background-color: white;
                    border: 1.13px solid var(--ofwhite);
                    border-radius: 8px;
                    gap: 12.13px;
                    padding: 9.06px;
                    padding-left: 36px;

                    .form__group {
                        position: relative;
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        gap: 3px;
                        border-right: 1.13px solid var(--ofwhite);
                        padding-right: 12px;

                        label {
                            font-size: 13.58px;
                            font-weight: var(--font-semi-bold);
                            color: var(--black);
                        }

                        input {
                            width: 250px;
                            padding: 8px 12px;
                            font-size: 18px;
                            font-weight: var(--font-regular);
                            color: var(--gray);
                        }

                        select {
                            width: 180px;
                            font-size: 16px;
                            font-weight: var(--font-regular);
                            color: var(--gray);
                            border: none;
                            outline: none;
                            background-color: transparent;
                            cursor: pointer;
                            appearance: none;
                            /* مهم */
                            -webkit-appearance: none;
                            -moz-appearance: none;
                        }

                        i {
                            font-size: 14px;
                            position: absolute;
                            right: 45px;
                            top: 50%;
                            transform: translateY(-50%);
                            pointer-events: none;
                            color: #D9D9D9;
                        }
                    }

                    button, .btn-clear {
                        min-width: 110px;
                        height: 45px;
                        border-radius: 5px;
                        gap: 8px;
                        font-size: 16px;
                        font-weight: var(--font-medium);
                        border: none;
                        color: white;
                        cursor: pointer;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        padding-inline: 15px;
                        white-space: nowrap;
                    }

                    button {
                        background-color: var(--gold);
                    }

                    .btn-clear {
                        background-color: var(--red);
                    }

                    .form__group:nth-child(3) {
                        border-right: 1.13px solid var(--ofwhite);
                        padding-right: 12px;
                    }

                    .form__group:nth-child(4) {
                        border-right: none !important;
                        padding-right: 0 !important;
                    }
                }
            }

            .popular__search {
                position: relative;
                z-index: -1;
                display: flex;
                justify-content: center;
                align-items: start;
                flex-direction: column;
                gap: 9px;
                max-width: 960px;
                width: 100%;

                span {
                    font-size: 20.38px;
                    font-weight: var(--font-semi-bold);
                    color: var(--black);
                }

                .popular__search__items {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 16px;

                    a {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        padding: 8px 14px;
                        background-color: var(--ofwhite);
                        border-radius: 5px;
                        font-size: 18px;
                        font-weight: var(--font-regular);
                        color: var(--gray);
                        transition: all 0.3s ease-in-out;

                        &:hover {
                            background-color: var(--gold);
                            color: white;
                        }

                        &.active {
                            background-color: var(--gold);
                            color: white;
                        }
                    }
                }
            }
        }
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: linear-gradient(180deg, #EDBC40 0%, rgba(237, 188, 64, 0) 100%);
        opacity: 0.3;
        z-index: 0;
        filter: blur(20px);
    }

    &::before {
        top: 35px;
        left: 35px;
    }

    &::after {
        bottom: 35px;
        right: 35px;
    }
}

/*=============== CATEGORY ===============*/
.category {
    position: relative;
    background: var(--red-gradiant);
    padding-block: 10rem 2rem;
    overflow: hidden;

    .category__container {

        .category__content {
            display: flex;
            justify-content: space-between;
            align-items: start;
            flex-direction: column;
            gap: 119px;
            z-index: 5;
            position: relative;

            .category__header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;

                .text {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    gap: 2px;

                    span {
                        font-size: 18px;
                        font-weight: var(--font-medium);
                        color: #EDBC40;
                    }

                    h2 {
                        font-size: 36px;
                        font-weight: var(--font-bold);
                        color: white;
                    }
                }

                a {
                    width: 242px;
                    height: 52px;
                    background: var(--gold-gradiant);
                    border-radius: 5px;
                    border: 2px solid white;
                    font-size: 22px;
                    font-weight: var(--font-medium);
                    color: white;
                }
            }

            .categories__items {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 60px;

                .item {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-direction: column;
                    padding: 33px 33px 0px 33px;
                    border-radius: 12px;
                    width: 345px;
                    height: 390px;

                    .header_item {
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        gap: 4px;
                        width: 100%;

                        span {
                            font-size: 20px;
                            font-weight: var(--font-medium);
                            color: var(--gray);
                        }

                        h3 {
                            font-size: 44px;
                            font-weight: 800;
                            color: var(--black);
                        }
                    }

                    .img {
                        width: 255px;
                        height: 184px;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    &:nth-child(odd) {
                        background-color: #FCF6E9;
                    }

                    &:nth-child(even) {
                        background-color: #F4E6E6;
                    }
                }
            }
        }
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../image/bg\ category.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.4;
    }

    &::before {
        content: "Huna Arab";
        position: absolute;
        bottom: -4%;
        left: 70%;
        transform: translateX(-50%);
        font-size: 178px;
        font-weight: var(--font-medium);
        width: 100%;
        text-shadow: 0px 0px 20px #9C1E1E14;
        color: #592C2C;
        opacity: 0.2;
    }
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
    background-color: #E8EAEB3B;
    padding-block: 13.4375rem 10.75rem;

    .testimonials__container {

        .testimonials__content {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: column;
            gap: 53px;

            .testimonial__header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: column;
                gap: 4px;
                margin-bottom: 53px;

                span {
                    font-size: 24px;
                    font-weight: var(--font-regular);
                    color: var(--gray);
                }

                h2 {
                    font-size: 40px;
                    font-weight: var(--font-semi-bold);
                    color: var(--red);
                }
            }

            .testimonials__swiper {
                width: 100%;
                padding-block: 3rem;

                .swiper-slide {
                    position: relative;
                    display: flex;
                    justify-content: space-between;
                    align-items: start;
                    flex-direction: column;
                    gap: 15px;

                    .category-tag {
                        position: absolute;
                        top: 15px;
                        right: 15px;
                        font-size: 22px;
                        font-weight: var(--font-regular);
                        color: var(--red);
                        letter-spacing: 0.5px;
                    }

                    border-radius: 12px;
                    padding: 20px 11px;
                    box-shadow: 0px 2px 24px 0px #00000014;
                    background-color: white;
                    width: 572px !important;
                    opacity: 0.5;
                    transform: scale(0.9);
                    transition: transform 0.4s ease,
                    opacity 0.4s ease;

                    .header__testimonial {
                        display: flex;
                        justify-content: start;
                        align-items: center;
                        gap: 15px;

                        .img {
                            width: 105px;
                            height: 105px;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                border-radius: 50%;
                                border: 3px solid var(--red);
                            }
                        }

                        .data {
                            display: flex;
                            justify-content: center;
                            align-items: start;
                            gap: 1px;
                            flex-direction: column;

                            h3 {
                                font-size: 25.67px;
                                font-weight: var(--font-bold);
                                color: var(--black);
                            }

                            span {
                                font-size: 22px;
                                font-weight: var(--font-regular);
                                color: var(--red);
                            }
                        }
                    }

                    .body__testimonial {
                        max-width: 540.8333129882812px;
                        width: 100%;

                        p {
                            font-size: 18px;
                            font-weight: var(--font-medium);
                            color: var(--gray);
                            width: 100%;
                            display: -webkit-box;
                            -webkit-line-clamp: 4;
                            /* عدد السطور */
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }
                    }

                    .bottom__testimonials {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        width: 100%;

                        .rate {
                            display: flex;
                            justify-content: space-between;
                            align-items: start;
                            gap: 14px;

                            .google {
                                display: flex;
                                justify-content: space-between;
                                align-items: start;
                                flex-direction: column;
                                gap: 2px;

                                img {
                                    width: 106px;
                                    height: 36px;
                                }

                                span {
                                    font-size: 10.24px;
                                    font-weight: var(--font-regular);
                                    color: black;
                                }
                            }

                            .reviews {
                                display: flex;
                                justify-content: space-between;
                                align-items: start;
                                flex-direction: column;
                                gap: 9.6px;

                                span {
                                    font-size: 11px;
                                    font-weight: var(--font-semi-bold);
                                    color: black;
                                }

                                .stars {
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    gap: 8.3px;

                                    i {
                                        font-size: 22px;
                                        color: var(--gold);
                                    }
                                }
                            }
                        }

                        .btns {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            gap: 12px;

                            span {
                                width: 57px;
                                height: 57px;
                                border-radius: 50%;
                                color: white;
                                font-size: 30px;
                            }

                            .btn_prime {
                                background-color: var(--gold);
                            }

                            .btn_second {
                                background-color: #40C351;
                            }
                        }
                    }
                }

                .swiper-slide-active.testimonial__slide {
                    opacity: 1;
                    transform: scale(1);
                }
            }

            .custom-nav {
                position: absolute;
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 65%;
                top: 60%;
                transform: translateY(-50%);
                z-index: 5;

                .my-prev-testimonials,
                .my-next-testimonials {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 62px;
                    height: 62px;
                    background-color: white;
                    color: var(--red);
                    border: 1px solid var(--red);
                    border-radius: 50%;
                    font-size: 35px;
                    cursor: pointer;
                    transition: all 0.3s ease-in-out;

                    &:hover {
                        background-color: var(--red);
                        color: white;
                        box-shadow: 0px 0px 20px 0px #A59999;
                    }
                }
            }

            .teachers-pagination {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 17px;
                width: 100%;
                flex-wrap: wrap;

                .swiper-pagination-bullet {
                    position: relative;
                    width: 16px;
                    height: 16px;
                    background-color: var(--gray);
                    border-radius: 50%;
                }

                .swiper-pagination-bullet-active {
                    background-color: var(--gold);

                    &::after {
                        position: absolute;
                        content: "";
                        width: 20px;
                        height: 20px;
                        border: 1px solid var(--gold);
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        border-radius: 50%;
                    }
                }
            }
        }
    }
}

/*=============== SAVE TIME ===============*/
.save__time {
    padding-block: 10.96875rem;
    background-image: url(../image/bg\ time.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    .save__time__container {

        .save__time__content {
            display: flex;
            justify-content: space-between;
            align-items: start;

            .save__time__data {
                display: flex;
                justify-content: space-between;
                align-items: start;
                flex-direction: column;
                gap: 28px;

                .items {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    gap: 24px;
                    margin-bottom: 14px;

                    .item {
                        position: relative;
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        height: 92px;
                        width: 151px;
                        padding-inline: 12px;
                        gap: 6px;
                        border-radius: 10px;

                        i {
                            font-size: 26px;
                            color: white;
                        }

                        span {
                            font-size: 14px;
                            font-weight: var(--font-bold);
                            color: white;
                            text-transform: uppercase;
                        }

                        .icon {
                            position: absolute;
                            color: white;
                            opacity: 0.15;
                            right: 1px;
                            bottom: 3px;
                            font-size: 40px;
                        }

                        &:nth-child(1) {
                            background: linear-gradient(0deg, #FFB600, #FFB600);
                        }

                        &:nth-child(2) {
                            background: var(--red);
                        }

                        &:nth-child(3) {
                            background: linear-gradient(0deg, #FFB600, #FFB600);
                        }
                    }
                }

                .save__text {
                    display: flex;
                    justify-content: space-between;
                    align-items: start;
                    flex-direction: column;
                    gap: 7px;
                    width: 457px;

                    h2 {
                        font-size: 28px;
                        font-weight: var(--font-bold);
                        color: var(--black);
                        text-transform: uppercase;

                        span {
                            color: var(--gold);
                        }
                    }

                    p {
                        font-size: 18px;
                        font-weight: var(--font-regular);
                        color: var(--black);
                    }
                }

                .btns {
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    gap: 15px;

                    a {
                        width: 208px;
                        height: 48px;
                        border-radius: 5px;
                        font-size: 18px;
                    }

                    .btn_prime {
                        background-color: var(--red);
                        color: white;
                        box-shadow: 0px 0px 14px 0px #8B00004A;
                        font-weight: var(--font-semi-bold);
                    }

                    .btn_second {
                        background-color: white;
                        color: var(--gray);
                        font-weight: var(--font-regular);
                        border: 1px solid var(--ofwhite);
                        box-shadow: 0px 0px 18px 0px #0000001C;
                    }
                }
            }

            .save__time__img {
                position: relative;
                width: 486px;
                height: 486px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 50%;
                    border: 6px solid var(--ofwhite);
                    box-shadow: 0px 0px 100px 0px #18303F4D;
                }

                .img2 {
                    position: absolute;
                    width: 199px;
                    height: 199px;
                    border-radius: 50%;
                    border: 6px solid var(--ofwhite);
                    bottom: -10%;
                    right: -5%;
                }
            }
        }
    }
}

/* ===================== Responsive ===================== */
@media (max-width: 1200px) {

    /*=============== HOME ===============*/
    .home {
        padding-block: 12rem 3.5rem;

        .home__container {
            .home__content {
                gap: 5.5rem;

                .header__content {
                    h1 {
                        font-size: 38px;
                    }

                    p {
                        font-size: 17px;
                    }
                }

                .body__content {

                    .group__marquee {
                        .container__marquee {
                            --width: 120px;
                        }

                        &::after,
                        &::before {
                            width: 220px;
                        }
                    }

                    .mobile__img {
                        width: 230px;
                        height: 470px;

                        a {
                            width: 180px;
                            height: 40px;
                            font-size: 16px;
                        }
                    }
                }

                .bottom__content {
                    gap: 24px;

                    .category__items {
                        gap: 12px;
                        flex-wrap: wrap;
                    }
                }
            }
        }
    }

    /*===============SEARCH SERVICES===============*/
    .search__services {
        padding-block: 15rem 7rem;

        .search__services__container {
            .search__services__content {
                gap: 54px;

                .search__header {
                    h2 {
                        font-size: 36px;
                    }

                    p {
                        font-size: 17px;
                    }
                }

                .form {
                    max-width: 900px;

                    form {
                        padding: 9px 9px 9px 24px;

                        .form__group {
                            input {
                                width: 260px;
                            }

                            select {
                                width: 190px;
                            }

                            i {
                                right: 34px;
                            }
                        }

                        button {
                            width: 115px;
                        }
                    }
                }

                .popular__search {
                    max-width: 900px;

                    span {
                        font-size: 19px;
                    }

                    .popular__search__items {
                        a {
                            font-size: 17px;
                        }
                    }
                }
            }
        }
    }

    /*=============== CATEGORY ===============*/
    .category {
        padding-block: 8rem;

        .category__container {
            .category__content {
                gap: 90px;

                .category__header {
                    .text {
                        h2 {
                            font-size: 32px;
                        }
                    }

                    a {
                        width: 220px;
                        height: 48px;
                        font-size: 20px;
                    }
                }

                .categories__items {
                    gap: 30px;

                    .item {
                        width: 100%;
                        height: 360px;
                        padding: 26px 26px 0 26px;

                        .header_item {
                            span {
                                font-size: 18px;
                            }

                            h3 {
                                font-size: 36px;
                            }
                        }

                        .img {
                            width: 220px;
                            height: 165px;
                        }
                    }
                }
            }
        }

        &::before {
            font-size: 140px;
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 11rem 9rem;

        .testimonials__container {
            .testimonials__content {
                gap: 46px;

                .testimonial__header {
                    margin-bottom: 42px;

                    span {
                        font-size: 22px;
                    }

                    h2 {
                        font-size: 36px;
                    }
                }

                .testimonials__swiper {
                    .swiper-slide {
                        width: 500px !important;
                        padding: 18px 12px;

                        .header__testimonial {
                            .img {
                                width: 95px;
                                height: 95px;
                            }

                            .data {
                                h3 {
                                    font-size: 23px;
                                }

                                span {
                                    font-size: 20px;
                                }
                            }
                        }

                        .body__testimonial {
                            max-width: 100%;

                            p {
                                font-size: 17px;
                            }
                        }

                        .bottom__testimonials {
                            .rate {
                                gap: 12px;

                                .reviews {
                                    .stars {
                                        gap: 7px;

                                        i {
                                            font-size: 20px;
                                        }
                                    }
                                }
                            }

                            .btns {
                                span {
                                    width: 52px;
                                    height: 52px;
                                    font-size: 27px;
                                }
                            }
                        }
                    }
                }

                .custom-nav {
                    width: 78%;

                    .my-prev-testimonials,
                    .my-next-testimonials {
                        width: 56px;
                        height: 56px;
                        font-size: 30px;
                    }
                }
            }
        }
    }

    /*===============SAVE TIME===============*/
    .save__time {
        padding-block: 9rem;

        .save__time__container {
            .save__time__content {
                gap: 40px;

                .save__time__data {
                    gap: 24px;

                    .items {
                        gap: 16px;

                        .item {
                            width: 138px;
                            height: 88px;
                        }
                    }

                    .save__text {
                        width: 420px;

                        h2 {
                            font-size: 26px;
                        }

                        p {
                            font-size: 17px;
                        }
                    }

                    .btns {
                        gap: 12px;

                        a {
                            width: 190px;
                            height: 46px;
                            font-size: 17px;
                        }
                    }
                }

                .save__time__img {
                    width: 430px;
                    height: 430px;

                    .img2 {
                        width: 175px;
                        height: 175px;
                    }
                }
            }
        }
    }
}

@media (max-width: 991px) {

    /*=============== HOME ===============*/
    .home {
        padding-block: 10rem 3rem;
        min-height: auto;

        .home__container {
            .home__content {
                gap: 4.5rem;

                .header__content {
                    h1 {
                        font-size: 32px;
                    }

                    p {
                        font-size: 16px;
                    }
                }

                .body__content {

                    .group__marquee {
                        .container__marquee {
                            --width: 105px;
                            --duration: 42s;
                        }

                        &::after,
                        &::before {
                            width: 150px;
                        }
                    }

                    .mobile__img {
                        width: 205px;
                        height: 420px;

                        a {
                            width: 165px;
                            height: 38px;
                            font-size: 15px;
                        }
                    }
                }

                .bottom__content {
                    gap: 22px;

                    span {
                        font-size: 12px;
                    }

                    .category__items {
                        gap: 10px;
                        flex-wrap: wrap;

                        .item {
                            padding: 8px 14px;
                        }
                    }
                }
            }
        }
    }

    /*===============SEARCH SERVICES===============*/
    .search__services {
        padding-block: 13rem 6rem;

        .search__services__container {
            .search__services__content {
                gap: 46px;

                .search__header {
                    text-align: center;

                    h2 {
                        font-size: 32px;
                    }

                    p {
                        font-size: 16px;
                    }
                }

                .form {
                    max-width: 100%;

                    form {
                        justify-content: center;
                        gap: 14px;
                        padding: 18px;

                        .form__group {
                            width: calc(50% - 7px);
                            padding-right: 0;

                            input,
                            select {
                                width: 100%;
                            }

                            i {
                                right: 12px;
                            }
                        }

                        button, .btn-clear {
                            width: 100%;
                            max-width: 220px;
                        }
                    }
                }

                .popular__search {
                    max-width: 100%;

                    span {
                        font-size: 18px;
                    }

                    .popular__search__items {
                        gap: 12px;

                        a {
                            font-size: 16px;
                        }
                    }
                }
            }
        }

        &::before,
        &::after {
            width: 85px;
            height: 85px;
        }
    }

    /*=============== CATEGORY ===============*/
    .category {
        padding-block: 7rem 2rem;

        .category__container {
            .category__content {
                gap: 70px;

                .category__header {
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                    gap: 20px;

                    .text {
                        align-items: center;

                        span {
                            font-size: 17px;
                        }

                        h2 {
                            font-size: 28px;
                        }
                    }

                    a {
                        width: 210px;
                        height: 46px;
                        font-size: 18px;
                    }
                }

                .categories__items {
                    grid-template-columns: repeat(2, 1fr);
                    gap: 24px;
                    width: 100%;

                    .item {
                        height: 330px;
                        padding: 24px 20px 0 20px;

                        .header_item {
                            span {
                                font-size: 16px;
                            }

                            h3 {
                                font-size: 34px;
                            }
                        }

                        .img {
                            width: 270px;
                            height: 180px;
                        }
                    }
                }
            }
        }

        &::before {
            font-size: 110px;
            bottom: -2.5%;
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 9rem 7.5rem;

        .testimonials__container {
            .testimonials__content {
                gap: 38px;

                .testimonial__header {
                    margin-bottom: 34px;

                    span {
                        font-size: 20px;
                    }

                    h2 {
                        font-size: 31px;
                        text-align: center;
                    }
                }

                .testimonials__swiper {
                    padding-block: 2rem;

                    .swiper-slide {
                        width: 430px !important;
                        padding: 16px 12px;
                        gap: 14px;

                        .header__testimonial {
                            gap: 12px;

                            .img {
                                width: 82px;
                                height: 82px;
                            }

                            .data {
                                h3 {
                                    font-size: 20px;
                                }

                                span {
                                    font-size: 17px;
                                }
                            }
                        }

                        .body__testimonial {
                            p {
                                font-size: 15px;
                                line-height: 1.4;
                            }
                        }

                        .bottom__testimonials {
                            gap: 14px;

                            .rate {
                                gap: 10px;

                                .google {
                                    img {
                                        width: 94px;
                                        height: auto;
                                    }
                                }

                                .reviews {
                                    gap: 7px;

                                    .stars {
                                        gap: 6px;

                                        i {
                                            font-size: 17px;
                                        }
                                    }
                                }
                            }

                            .btns {
                                gap: 10px;

                                span {
                                    width: 46px;
                                    height: 46px;
                                    font-size: 24px;
                                }
                            }
                        }
                    }
                }

                .custom-nav {
                    width: 92%;
                    top: 58%;

                    .my-prev-testimonials,
                    .my-next-testimonials {
                        width: 50px;
                        height: 50px;
                        font-size: 27px;
                    }
                }

                .teachers-pagination {
                    gap: 14px;

                    .swiper-pagination-bullet {
                        width: 14px;
                        height: 14px;
                    }

                    .swiper-pagination-bullet-active {
                        &::after {
                            width: 18px;
                            height: 18px;
                        }
                    }
                }
            }
        }
    }

    /*===============SAVE TIME===============*/
    .save__time {
        padding-block: 7.5rem;

        .save__time__container {
            .save__time__content {
                flex-direction: column-reverse;
                align-items: center;
                gap: 50px;

                .save__time__data {
                    align-items: center;
                    text-align: center;
                    gap: 22px;

                    .items {
                        justify-content: center;
                        width: 100%;
                        gap: 14px;
                        margin-bottom: 8px;

                        .item {
                            width: 145px;
                            height: 86px;
                            align-items: start;
                            text-align: start;
                        }
                    }

                    .save__text {
                        width: 100%;
                        max-width: 560px;
                        align-items: center;
                        text-align: center;

                        h2 {
                            font-size: 24px;
                        }

                        p {
                            font-size: 16px;
                        }
                    }

                    .btns {
                        justify-content: center;
                        flex-wrap: wrap;

                        a {
                            width: 185px;
                            height: 46px;
                            font-size: 16px;
                        }
                    }
                }

                .save__time__img {
                    width: 400px;
                    height: 400px;

                    .img2 {
                        width: 165px;
                        height: 165px;
                        bottom: -6%;
                        right: -2%;
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {

    /*=============== HOME ===============*/
    .home {
        padding-block: 8.5rem 2.5rem;

        .home__container {
            .home__content {
                gap: 4.5rem;

                .header__content {
                    h1 {
                        font-size: 27px;
                        line-height: 1.5;
                    }

                    p {
                        font-size: 14px;
                    }
                }

                .body__content {

                    .group__marquee {
                        gap: 8px;

                        .container__marquee {
                            --width: 88px;
                            --duration: 36s;
                        }

                        &::after,
                        &::before {
                            width: 90px;
                        }
                    }

                    .mobile__img {
                        width: 175px;
                        height: 360px;
                        top: 68%;

                        a {
                            width: 145px;
                            height: 34px;
                            font-size: 13px;
                        }
                    }
                }

                .bottom__content {
                    gap: 18px;

                    span {
                        font-size: 12px;

                        &::after {
                            bottom: -8px;
                        }
                    }

                    .category__items {
                        gap: 8px;
                        flex-wrap: wrap;

                        .item {
                            padding: 7px 12px;
                            font-size: 13px;
                        }
                    }
                }
            }
        }
    }

    /*===============SEARCH SERVICES===============*/
    .search__services {
        padding-block: 11rem 5rem;

        .search__services__container {
            .search__services__content {
                gap: 38px;

                .search__header {
                    h2 {
                        font-size: 28px;
                    }

                    p {
                        font-size: 15px;
                        text-align: center;
                    }
                }

                .form {
                    form {
                        flex-direction: column;
                        align-items: stretch;
                        gap: 12px;
                        padding: 16px;

                        .form__group {
                            width: 100%;
                            gap: 6px;
                            border-right: none;
                            border-bottom: 1px solid #E5E7EB;
                            padding-bottom: 10px;

                            label {
                                font-size: 13px;
                            }

                            input {
                                width: 100%;
                                font-size: 16px;
                                padding: 8px 0;
                            }

                            select {
                                width: 100%;
                                font-size: 15px;
                                padding-block: 8px;
                            }

                            i {
                                right: 0;
                                top: 60%;
                            }
                        }

                        button {
                            max-width: 100%;
                            height: 44px;
                            font-size: 15px;
                        }
                    }
                }

                .popular__search {
                    gap: 8px;

                    span {
                        font-size: 17px;
                    }

                    .popular__search__items {
                        gap: 10px;
                        justify-content: start;

                        a {
                            font-size: 15px;
                            padding: 7px 12px;
                        }
                    }
                }
            }
        }

        &::before,
        &::after {
            width: 70px;
            height: 70px;
            filter: blur(16px);
        }

        &::before {
            top: 25px;
            left: 20px;
        }

        &::after {
            bottom: 25px;
            right: 20px;
        }
    }

    /*=============== CATEGORY ===============*/
    .category {
        padding-block: 6rem 2rem;

        .category__container {
            .category__content {
                gap: 50px;

                .category__header {
                    .text {
                        span {
                            font-size: 15px;
                        }

                        h2 {
                            font-size: 24px;
                        }
                    }

                    a {
                        width: 190px;
                        height: 44px;
                        font-size: 16px;
                    }
                }

                .categories__items {
                    grid-template-columns: 1fr;
                    gap: 20px;

                    .item {
                        max-width: 420px;
                        width: 100%;
                        margin-inline: auto;
                        height: 310px;

                        .header_item {
                            h3 {
                                font-size: 34px;
                            }
                        }

                        .img {
                            width: 250px;
                            height: 170px;
                        }
                    }
                }
            }
        }

        &::before {
            font-size: 85px;
            left: 73%;
            bottom: -1%;
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 7rem 6rem;

        .testimonials__container {
            .testimonials__content {
                gap: 30px;

                .testimonial__header {
                    margin-bottom: 24px;

                    span {
                        font-size: 17px;
                    }

                    h2 {
                        font-size: 26px;
                    }
                }

                .testimonials__swiper {
                    padding-block: 1rem;

                    .swiper-slide {
                        width: 100% !important;
                        max-width: 520px;
                        padding: 15px 25px;
                        gap: 22px;
                        border-radius: 10px;

                        .header__testimonial {
                            gap: 10px;

                            .img {
                                width: 72px;
                                height: 72px;

                                img {
                                    border-width: 2px;
                                }
                            }

                            .data {
                                h3 {
                                    font-size: 18px;
                                }

                                span {
                                    font-size: 15px;
                                }
                            }
                        }

                        .body__testimonial {
                            p {
                                font-size: 14px;
                            }
                        }

                        .bottom__testimonials {
                            gap: 16px;

                            .rate {
                                width: 100%;
                                justify-content: space-between;
                                gap: 12px;

                                .google {
                                    img {
                                        width: 88px;
                                    }

                                    span {
                                        font-size: 9px;
                                    }
                                }

                                .reviews {
                                    gap: 6px;

                                    span {
                                        font-size: 10px;
                                    }

                                    .stars {
                                        gap: 5px;

                                        i {
                                            font-size: 15px;
                                        }
                                    }
                                }
                            }

                            .btns {
                                width: 100%;
                                justify-content: end;

                                span {
                                    width: 42px;
                                    height: 42px;
                                    font-size: 22px;
                                }
                            }
                        }
                    }
                }


                .teachers-pagination {
                    gap: 12px;

                    .swiper-pagination-bullet {
                        width: 12px;
                        height: 12px;
                    }

                    .swiper-pagination-bullet-active {
                        &::after {
                            width: 16px;
                            height: 16px;
                        }
                    }
                }
            }
        }
    }

    /*===============SAVE TIME===============*/
    .save__time {
        padding-block: 6rem;

        .save__time__container {
            .save__time__content {
                gap: 40px;

                .save__time__data {
                    gap: 20px;

                    .items {
                        gap: 10px;
                        margin-bottom: 0;

                        .item {
                            width: 100%;
                            max-width: 220px;
                            height: 82px;

                            i {
                                font-size: 23px;
                            }

                            span {
                                font-size: 13px;
                            }

                            .icon {
                                font-size: 34px;
                            }
                        }
                    }

                    .save__text {
                        gap: 6px;

                        h2 {
                            font-size: 22px;
                            line-height: 1.5;
                        }

                        p {
                            font-size: 15px;
                            line-height: 1.8;
                        }
                    }

                    .btns {
                        width: 100%;
                        gap: 10px;

                        a {
                            width: 100%;
                            max-width: 250px;
                            height: 44px;
                            font-size: 15px;
                        }
                    }
                }

                .save__time__img {
                    width: 320px;
                    height: 320px;

                    img {
                        border-width: 5px;
                    }

                    .img2 {
                        width: 130px;
                        height: 130px;
                        border-width: 5px;
                        bottom: -4%;
                        right: 0;
                    }
                }
            }
        }
    }
}

@media (max-width: 576px) {
    .section {
        padding-inline: 1rem;
    }

    /*=============== HOME ===============*/
    .home {
        padding-block: 7.5rem 2rem;

        .home__container {
            .home__content {
                gap: 135px;

                .header__content {
                    gap: 3px;

                    h1 {
                        font-size: 32px;
                        line-height: 1.6;
                    }

                    p {
                        font-size: 14px;
                    }
                }

                .body__content {
                    margin-bottom: 1.5rem;

                    .group__marquee {
                        gap: 6px;

                        .container__marquee {
                            --width: 58.49251174926758px;
                            --duration: 30s;
                        }

                        .container__marquee__mobile {
                            display: flex;
                        }

                        &::after,
                        &::before {
                            width: 35px;
                        }
                    }

                    .mobile__img {
                        width: 166px;
                        height: 340px;
                        top: 50%;

                        a {
                            width: 80%;
                            height: 32px;
                            font-size: 12px;
                        }
                    }
                }

                .bottom__content {
                    gap: 20px;

                    span {
                        font-size: 13px;

                        &::after {
                            height: 6px;
                            bottom: -7px;
                        }
                    }

                    .category__items {
                        column-gap: 7px;
                        row-gap: 14px;

                        .item {
                            padding: 6px 10px;
                            font-size: 12px;
                            border-radius: 30px;
                        }
                    }
                }
            }
        }
    }

    /*===============SEARCH SERVICES===============*/
    .search__services {
        padding-block: 9rem 4rem;
        padding-inline: 1rem;

        .search__services__container {
            .search__services__content {
                gap: 52px;

                .search__header {
                    text-align: center;
                    gap: 5px;

                    h2 {
                        font-size: 22px;
                        line-height: 1.4;
                    }

                    p {
                        font-size: 14px;
                        line-height: 1.7;
                    }
                }

                .form {
                    form {
                        padding: 18.5px 21px;
                        gap: 10px;
                        border-radius: 6px;

                        .form__group {
                            label {
                                font-size: 14px;
                            }

                            input {
                                font-size: 14px;
                            }

                            select {
                                font-size: 14px;
                            }

                            i {
                                font-size: 12px;
                            }
                        }

                        button {
                            height: 45px;
                            font-size: 18px;
                        }
                    }
                }

                .popular__search {
                    span {
                        font-size: 16px;
                    }

                    .popular__search__items {
                        gap: 8px;

                        a {
                            font-size: 14px;
                            padding: 6px 10px;
                        }
                    }
                }
            }
        }

        &::before,
        &::after {
            width: 58px;
            height: 58px;
            filter: blur(14px);
            opacity: 0.25;
        }

        &::before {
            top: 10%;
            left: 10px;
        }

        &::after {
            bottom: 65%;
            right: 10px;
        }
    }

    /*=============== CATEGORY ===============*/
    .category {
        padding-block: 4.5rem;
        overflow: hidden;

        .category__container {
            .category__content {
                gap: 68px;

                .category__header {
                    gap: 41px;

                    .text {
                        gap: 0;
                        align-items: center;
                        text-align: center;
                        width: 100%;

                        span {
                            font-size: 14px;
                        }

                        h2 {
                            font-size: 19px;
                            line-height: 1.5;
                            max-width: 100%;
                        }
                    }

                    a {
                        width: 219px;
                        height: 42px;
                        font-size: 19px;
                        border-width: 1px;
                    }
                }

                /* هنا بيتحول لسويبر */
                .categories__items {
                    display: flex;
                    gap: 0;
                    width: 100%;
                    overflow: visible;
                    padding-left: 51px;

                    .item {
                        width: 100%;
                        max-width: 240px;
                        height: 272px;
                        padding: 18px 14px 0 14px;
                        border-radius: 8px;
                        margin-inline: 0;

                        .header_item {
                            gap: 2px;

                            span {
                                font-size: 14px;
                            }

                            h3 {
                                font-size: 31px;
                                line-height: 1.3;
                            }
                        }

                        .img {
                            width: 178px;
                            height: 128px;

                            img {
                                object-fit: contain;
                            }
                        }
                    }
                }

                /* Pagination */
                .categories-pagination {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 6px;
                    width: 100%;
                    margin-top: 4px;

                    .swiper-pagination-bullet {
                        width: 10px;
                        height: 10px;
                        background-color: #FBEBE8;
                        opacity: 1;
                        border-radius: 50%;
                        transition: 0.3s ease;
                    }

                    .swiper-pagination-bullet-active {
                        position: relative;
                        background-color: var(--gold);

                        &::after {
                            content: "";
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            width: 14px;
                            height: 13px;
                            background-color: transparent;
                            border: 1px solid white;
                            border-radius: 50%;
                            opacity: 0.5;
                        }
                    }
                }
            }
        }

        &::before {
            display: none;
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 5.5rem 4.5rem;

        .testimonials__container {
            .testimonials__content {
                gap: 31px;

                .testimonial__header {
                    margin-bottom: 28px;

                    span {
                        font-size: 14px;
                    }

                    h2 {
                        font-size: 22px;
                        line-height: 1.4;
                    }
                }

                .testimonials__swiper {
                    .swiper-slide {
                        padding: 10px;
                        gap: 10px;
                        border-radius: 6px;
                        width: auto !important;

                        .header__testimonial {
                            gap: 7px;

                            .img {
                                width: 52px;
                                height: 52px;
                            }

                            .data {
                                h3 {
                                    font-size: 14px;
                                }

                                span {
                                    font-size: 12px;
                                }
                            }
                        }

                        .body__testimonial {
                            p {
                                font-size: 11px;
                                line-height: 1.4;
                                width: 254px;
                            }
                        }

                        .bottom__testimonials {
                            gap: 14px;
                            margin-top: 3px;
                            width: 100%;

                            .rate {
                                align-items: center;
                                gap: 6px;

                                .google {
                                    gap: 1px;

                                    img {
                                        width: 52px;
                                    }

                                    span {
                                        font-size: 5px;
                                    }
                                }

                                .reviews {
                                    gap: 4px;

                                    span {
                                        font-size: 5px;
                                    }

                                    .stars {
                                        gap: 2px;

                                        i {
                                            font-size: 14px;
                                        }
                                    }
                                }
                            }

                            .btns {
                                gap: 5px;
                                justify-content: flex-end;

                                span {
                                    width: 29px;
                                    height: 29px;
                                    font-size: 16px;
                                }
                            }
                        }
                    }
                }

                .teachers-pagination {
                    gap: 10px;

                    .swiper-pagination-bullet {
                        width: 10px;
                        height: 10px;
                    }

                    .swiper-pagination-bullet-active {
                        &::after {
                            width: 12px;
                            height: 12px;
                        }
                    }
                }

                .custom-nav {
                    width: 100%;
                    top: 60%;

                    .my-prev-testimonials,
                    .my-next-testimonials {
                        width: 35px;
                        height: 35px;
                        font-size: 20px;
                    }
                }
            }
        }
    }

    /*===============SAVE TIME===============*/
    .save__time {
        padding-block: 4.8rem;

        .save__time__container {
            .save__time__content {
                gap: 69px;

                .save__time__data {
                    gap: 28px;

                    .items {
                        width: 100%;

                        .item {
                            max-width: 100%;
                            height: 78px;
                            padding-inline: 10px;
                            gap: 6px;

                            i {
                                font-size: 21px;
                            }

                            span {
                                font-size: 14px;
                            }

                            .icon {
                                font-size: 30px;
                            }
                        }
                    }

                    .save__text {
                        h2 {
                            font-size: 20px;
                        }

                        p {
                            font-size: 14px;
                        }
                    }

                    .btns {
                        a {
                            max-width: 100%;
                            height: 48px;
                            font-size: 16px;
                        }
                    }
                }

                .save__time__img {
                    width: 280px;
                    height: 280px;

                    img {
                        border-width: 4px;
                    }

                    .img2 {
                        width: 115px;
                        height: 115px;
                        border-width: 4px;
                        bottom: -10%;
                        right: -2%;
                    }
                }
            }
        }
    }
}

/*==================== CHOICES CSS OVERRIDES ====================*/
.choices {
    width: 213px;
    font-family: var(--body-font);
    margin-bottom: 0 !important;
}

.choices__inner {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: auto !important;
    display: flex;
    align-items: center;
}

.choices__list--single {
    padding: 0 !important;
    font-size: 16px;
    font-weight: var(--font-regular);
    color: var(--gray);
}

.choices__list--dropdown {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    z-index: 100 !important;
    background-color: #fff !important;
    margin-top: 12px !important;
    overflow: hidden !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: rgba(139, 0, 0, 0.05) !important;
    color: var(--red) !important;
}

.choices__list--dropdown .choices__item {
    font-size: 14px;
    padding: 12px 16px !important;
    font-weight: var(--font-medium);
    transition: all 0.2s ease;
}


.choices[data-type*="select-one"].is-open::after {
    transform: translateY(-50%) rotate(180deg) !important;
    color: var(--red) !important;
}

.choices__input {
    background-color: #F7FAFC !important;
    border: 1px solid #EDF2F7 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    margin: 10px !important;
    width: calc(100% - 20px) !important;
}

.choices__input:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(237, 188, 64, 0.1) !important;
}

.form__group i {
    display: none !important;
}

.choices__placeholder {
    opacity: 0.8;
    color: var(--gray);
}

/* Custom Scrollbar for Dropdown */
.choices__list--dropdown .choices__list {
    max-height: 190px !important;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar {
    width: 5px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-track {
    background: transparent;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb {
    background: rgba(139, 0, 0, 0.15);
    border-radius: 10px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* RTL Support */
[dir="rtl"] .choices[data-type*="select-one"]::after {
    right: auto !important;
    left: 15px !important;
    margin-left: 0 !important;
}

[dir="rtl"] .choices__list--dropdown {
    text-align: right;
}

[dir="rtl"] .choices__list--single {
    padding-right: 0 !important;
    padding-left: 24px !important;
}