/*=============== SEARCH SERVICES ===============*/
.search__services {
    position: relative;
    padding-block: 17.25rem 8rem;
    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;
                    color: var(--gold);
                    font-weight: var(--font-semi-bold);
                }

                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 {
                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: none;

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

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

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

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

/*=============== SEARCH SERVICES ===============*/
.services {
    position: relative;
    padding-inline: 2rem;
    padding-block: 2rem;

    .services__container {

        .services__content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: column;
            gap: 99px;
            padding: 58px 47px;
            border-radius: 24px;
            background-color: white;
            box-shadow: 0px 0px 110px 0px #A5999933;

            .services__header {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 2px;
                z-index: 5;

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

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

            .services__items {
                position: relative;
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                width: 100%;
                row-gap: 45px;
                column-gap: 24px;
                z-index: 5;

                .services__item {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    width: 100%;
                    gap: 35px;
                    border-radius: 13px;
                    background-color: white;
                    box-shadow: 0px 10px 60px 0px #23223314;

                    .img {
                        width: 100%;
                        height: 275px;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            border-radius: 13px 13px 0 0;
                        }
                    }

                    .services__item__content {
                        position: relative;
                        display: flex;
                        justify-content: start;
                        align-items: start;
                        flex-direction: column;
                        gap: 35px;
                        padding: 0 21px 18px 21px;
                        width: 100%;

                        .body__content {
                            display: flex;
                            justify-content: start;
                            align-items: start;
                            flex-direction: column;
                            gap: 16px;

                            h3 {
                                font-size: 24px;
                                font-weight: var(--font-semi-bold);
                                color: #111D15;
                                width: 100%;
                            }

                            p {
                                font-size: 16px;
                                font-weight: var(--font-regular);
                                color: var(--gray);
                                display: -webkit-box;
                                -webkit-line-clamp: 3;
                                /* عدد السطور */
                                -webkit-box-orient: vertical;
                                overflow: hidden;
                            }
                        }

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

                            .arrow {
                                width: 44px;
                                height: 44px;
                                border: 1px solid #E8EAEB4D;
                                border-radius: 50%;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                transition: none;
                                background: #E8EAEB59;

                                i {
                                    font-size: 22px;
                                    color: var(--gray);
                                    transform: rotate(-35deg);
                                }
                            }

                            .address {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                gap: 4px;

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

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

                        .span__cat {
                            position: absolute;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 116px;
                            height: 30px;
                            border-radius: 4px;
                            background: var(--gold);
                            font-size: 16px;
                            font-weight: var(--font-regular);
                            color: white;
                            top: -30px;
                            right: 10px;
                            border: 1px solid #FFEBB7A6;
                            box-shadow: 0px 1px 2px 0px #0000000D;
                        }
                    }

                }
            }
        }
    }

    .services__pagination {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        z-index: 5;

        .page-number {
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 51px;
            height: 51px;
            border: 1px solid var(--ofwhite);
            background: white;
            color: var(--gray);
            font-size: 22px;
            font-weight: var(--font-semi-bold);
            border-radius: 4.8px;
            cursor: pointer;
            transition: none;
        }

        .page-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 51px;
            height: 51px;
            color: var(--gray);
            font-size: 14.36px;
            font-weight: 800;
            cursor: pointer;
            background-color: transparent;
        }


        .page-number.active {
            background: var(--gold);
            color: white;
            font-weight: var(--font-bold);
            border-color: var(--gold);
        }

        .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .page-numbers {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }
    }
}
}

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

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

    /*===============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;
                        }
                    }
                }
            }
        }
    }

    /*===============SEARCH SERVICES===============*/
    .services {
        padding-inline: 1.5rem;

        .services__container {
            .services__content {
                gap: 80px;
                padding: 48px 32px;

                .services__header {
                    h2 {
                        font-size: 32px;
                    }

                    span {
                        font-size: 17px;
                    }
                }

                .services__items {
                    row-gap: 32px;
                    column-gap: 18px;

                    .services__item {
                        gap: 28px;

                        .img {
                            height: 240px;
                        }

                        .services__item__content {
                            gap: 28px;
                            padding: 0 18px 16px 18px;

                            .body__content {
                                gap: 14px;

                                h3 {
                                    font-size: 21px;
                                }

                                p {
                                    font-size: 15px;
                                }
                            }

                            .bottom__item {
                                .arrow {
                                    width: 42px;
                                    height: 42px;
                                }

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

                            .span__cat {
                                width: 108px;
                                height: 28px;
                                font-size: 15px;
                            }
                        }
                    }
                }

                .services__pagination {
                    gap: 12px;

                    .page-number,
                    .page-btn {
                        min-width: 46px;
                        height: 46px;
                    }

                    .page-number {
                        font-size: 20px;
                    }

                    .page-numbers {
                        gap: 12px;
                    }
                }
            }
        }
    }
}

@media (max-width: 991px) {

    /*===============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;
        }
    }

    /*===============SEARCH SERVICES===============*/
    .services {
        padding-inline: 1rem;

        .services__container {
            .services__content {
                gap: 65px;
                padding: 40px 22px;

                .services__header {
                    h2 {
                        font-size: 28px;
                        text-align: center;
                    }

                    span {
                        font-size: 16px;
                        text-align: center;
                    }
                }

                .services__items {
                    grid-template-columns: repeat(2, 1fr);
                    row-gap: 26px;
                    column-gap: 16px;

                    .services__item {
                        .img {
                            height: 220px;
                        }

                        .services__item__content {
                            gap: 24px;
                            padding: 0 16px 16px 16px;

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

                                p {
                                    font-size: 14px;
                                }
                            }

                            .bottom__item {
                                .arrow {
                                    width: 40px;
                                    height: 40px;

                                    i {
                                        font-size: 20px;
                                    }
                                }

                                .address {
                                    i {
                                        font-size: 16px;
                                    }

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

                            .span__cat {
                                top: -30px;
                                right: 10px;
                                width: 102px;
                                font-size: 14px;
                            }
                        }
                    }
                }

                .services__pagination {

                    .page-number,
                    .page-btn {
                        min-width: 42px;
                        height: 42px;
                    }

                    .page-number {
                        font-size: 18px;
                    }

                    .page-numbers {
                        gap: 10px;
                    }
                }
            }
        }

        &::after {
            height: 45%;
        }
    }
}

@media (max-width: 768px) {

    /*===============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;
        }
    }

    /*===============SEARCH SERVICES===============*/
    .services {
        padding-inline: 0.75rem;
        padding-block: 1.5rem;

        .services__container {
            .services__content {
                gap: 50px;
                padding: 32px 16px;
                border-radius: 18px;

                .services__header {
                    h2 {
                        font-size: 24px;
                    }

                    span {
                        font-size: 15px;
                    }
                }

                .services__items {
                    grid-template-columns: 1fr;
                    row-gap: 22px;

                    .services__item {
                        gap: 22px;
                        border-radius: 12px;

                        .img {
                            height: 230px;

                            img {
                                border-radius: 12px 12px 0 0;
                            }
                        }

                        .services__item__content {
                            gap: 22px;
                            padding: 0 14px 14px 14px;

                            .body__content {
                                gap: 12px;

                                h3 {
                                    font-size: 19px;
                                }

                                p {
                                    font-size: 14px;
                                    -webkit-line-clamp: 3;
                                }
                            }

                            .bottom__item {
                                .arrow {
                                    width: 38px;
                                    height: 38px;

                                    i {
                                        font-size: 18px;
                                    }
                                }

                                .address {
                                    span {
                                        font-size: 13px;
                                    }
                                }
                            }

                            .span__cat {
                                width: 96px;
                                height: 27px;
                                font-size: 13px;
                                top: -30px;
                                right: 10px;
                            }
                        }
                    }
                }

                .services__pagination {
                    gap: 10px;

                    .page-number,
                    .page-btn {
                        min-width: 38px;
                        height: 38px;
                    }

                    .page-number {
                        font-size: 16px;
                    }

                    .page-btn {
                        font-size: 13px;
                    }

                    .page-numbers {
                        gap: 8px;
                    }
                }
            }
        }

        &::after {
            height: 38%;
        }
    }
}

@media (max-width: 576px) {

    /*===============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;
        }
    }

    /*===============SEARCH SERVICES===============*/
    .services {
        padding-inline: 0.5rem;
        padding-block: 1rem;

        .services__container {
            .services__content {
                gap: 38px;
                padding: 43px 17px;
                border-radius: 14px;
                box-shadow: 0px 0px 110px 0px #A5999933;

                .services__header {
                    h2 {
                        font-size: 26px;
                        line-height: 1.4;
                        text-align: center;
                    }

                    span {
                        font-size: 14px;
                        text-align: center;
                    }
                }

                .services__items {
                    row-gap: 27px;

                    .services__item {
                        gap: 35px;
                        border-radius: 8px;

                        .img {
                            height: 200px;
                            border-radius: 8px 8px 0 0;
                        }

                        .services__item__content {
                            gap: 18px;
                            padding: 0 12px 12px 12px;

                            .body__content {
                                gap: 10px;

                                h3 {
                                    font-size: 22px;
                                }

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

                            .bottom__item {
                                .arrow {
                                    width: 44px;
                                    height: 44px;

                                    i {
                                        font-size: 22px;
                                    }
                                }

                                .address {
                                    gap: 3px;

                                    i {
                                        font-size: 18px;
                                    }

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

                            .span__cat {
                                width: 98px;
                                height: 30px;
                                font-size: 14px;
                                top: -14px;
                                right: 12px;
                            }
                        }
                    }
                }

                .services__pagination {
                    gap: 12px;

                    .page-number,
                    .page-btn {
                        min-width: 39px;
                        height: 39px;
                    }

                    .page-number {
                        font-size: 19px;
                    }

                    .page-btn {
                        font-size: 14px;
                    }

                    .page-numbers {
                        gap: 12px;
                    }
                }
            }
        }

        &::after {
            height: 30%;
        }
    }
}