/********************* Start services-card section *********************/
.main-cards {
    position: relative;
    z-index: 5;
}

    .main-cards .owl-stage {
        padding-top: 10px;
        padding-bottom: 20px;
    }

.services-card {
    position: relative;
    height: -moz-fit-content;
    height: fit-content;
    z-index: 5;
    background-color: #fff;
    padding: 7px;
    border-start-end-radius: 35px;
    border-start-start-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    counter-increment: post-counter;
}

    .services-card .image {
        width: 100%;
        height: 240px;
        overflow: hidden;
        border-start-end-radius: 30px;
        border-start-start-radius: 8px;
    }

        .services-card .image .service-img {
            width: 100%;
            height: 100%;
            -o-object-fit: scale-down;
            object-fit: scale-down;
            transition: all 600ms linear;
        }

    .services-card .service-content {
        transition: all 0.4s ease-in-out;
        padding: 20px 10px 35px;
        position: relative;
    }

        .services-card .service-content .small_icon {
            position: absolute;
            top: -20px;
            -webkit-text-fill-color: transparent;
            -webkit-text-stroke-width: 1.2px;
            -webkit-text-stroke-color: #c89f6b;
        }

html[lang=en] .services-card .service-content .small_icon {
    right: 20px;
}

html[lang=ar] .services-card .service-content .small_icon {
    left: 20px;
}

.services-card .service-content .small_icon::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    content: "0" counter(post-counter);
    line-height: 1;
    position: absolute;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0.6px;
    -webkit-text-stroke-color: #fff;
    transition: all 0.31s ease-in-out;
}

.services-card .service-content .service-name {
    color: #272727;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.services-card .service-content .desc {
    font-size: 14px;
    color: #383c44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services-card .service-content .price {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: #c89f6b;
    text-decoration: underline;
}

.services-card .service-content .buttons_con {
    display: flex;
    position: absolute;
    bottom: 0px;
    margin-top: 0;
    transform: translateY(60%);
    gap: 0;
}

html[lang=en] .services-card .service-content .buttons_con {
    left: 10px;
}

html[lang=ar] .services-card .service-content .buttons_con {
    right: 10px;
}

.services-card .service-content .main-btn {
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

    .services-card .service-content .main-btn:first-child {
        border-end-start-radius: 7px !important;
        border-start-end-radius: 0 !important;
    }

    .services-card .service-content .main-btn:last-child {
        border-end-start-radius: 0 !important;
        border-start-end-radius: 7px !important;
    }

.services-card .service-content svg {
    position: absolute;
    width: 137px;
    top: -70px;
    color: #e7e7e7;
    transition: all 0.31s ease-in-out;
}

html[lang=en] .services-card .service-content svg {
    right: 35px;
}

html[lang=ar] .services-card .service-content svg {
    left: 35px;
}

.services-card:hover .service-img {
    filter: grayscale(1) !important;
    transform: scale(1.2) rotate(3deg);
}

@media screen and (max-width: 425px) {
    .services-card .image {
        height: 200px;
    }

    .services-card .service-content .service-name {
        font-size: 14px;
    }

    .services-card .service-content .desc {
        font-size: 13px;
    }
}

.services-slider .owl-item .services-card .small_icon::before,
.team-slider .owl-item .services-card .small_icon::before {
    display: none;
}

.services-slider .owl-nav,
.team-slider .owl-nav {
    position: absolute;
    top: -70px;
}

html[lang=en] .services-slider .owl-nav,
html[lang=en] .team-slider .owl-nav {
    right: 0;
}

html[lang=ar] .services-slider .owl-nav,
html[lang=ar] .team-slider .owl-nav {
    left: 0;
}

@media only screen and (max-width: 425px) {
    .services-slider .owl-nav,
    .team-slider .owl-nav {
        display: none;
    }
}

/********************* End services-card section *********************/
/********************* Strat owl Carousel *********************/
.owl-nav {
    display: flex;
    gap: 7px;
    width: -moz-fit-content;
    width: fit-content;
}

    .owl-nav .owl-next,
    .owl-nav .owl-prev {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #c89f6b !important;
        background-color: #fff !important;
        color: #c89f6b !important;
        font-size: 12px !important;
        transition: all 0.3s ease;
    }

        .owl-nav .owl-next:hover,
        .owl-nav .owl-prev:hover {
            background-color: #c89f6b !important;
            color: #fff !important;
        }

.owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
}

    .owl-dots .owl-dot {
        border-radius: 50%;
        width: 7px;
        height: 7px;
        background-color: rgba(39, 34, 101, 0.24) !important;
        transition: all 0.3s ease;
    }

        .owl-dots .owl-dot.active {
            background-color: #c89f6b !important;
        }

/********************* End owl Carousel *********************/
/********************* Start After Crads section *********************/
.after_cards {
    margin-top: -201px;
    padding-top: 280px;
    padding-bottom: 40px;
    position: relative;
    z-index: 3;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

    .after_cards::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(10, 17, 40, 0.7);
        z-index: -1;
    }

/********************* Start After Crads section *********************/
/********************* Start client-item section *********************/
.client-item {
    border-radius: 8px;
    border-start-start-radius: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    height: 120px;
}

@media screen and (max-width: 425px) {
    .client-item {
        height: 105px;
    }
}

.client-item .brand-img {
    max-width: 100px;
    transition: all ease 0.31s;
    opacity: 0.8;
}

@media screen and (max-width: 425px) {
    .client-item .brand-img {
        max-width: 85px;
    }
}

.client-item.two {
    position: relative;
    overflow: hidden;
}

    .client-item.two .brand-img {
        max-width: 120px;
    }

    .client-item.two::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: rgba(200, 159, 107, 0.5);
        width: 100%;
        height: 3px;
    }

.client-item:hover .brand-img {
    filter: grayscale(100%);
    opacity: 1;
}

/********************* End client-item section *********************/
/********************* Start customer_review section *********************/
.customers_con {
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    border-start-end-radius: 8px;
}

    .customers_con .owl-nav {
        position: absolute;
        bottom: 25px;
    }

html[lang=en] .customers_con .owl-nav {
    left: 30px;
}

html[lang=ar] .customers_con .owl-nav {
    right: 30px;
}

@media screen and (max-width: 768px) {
    html[lang=en] .customers_con .owl-nav {
        left: unset;
    }

    html[lang=ar] .customers_con .owl-nav {
        right: unset;
    }

    html[lang=en] .customers_con .owl-nav {
        right: 20px;
    }

    html[lang=ar] .customers_con .owl-nav {
        left: 20px;
    }
}

.customers_con .owl-dots {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    margin-top: 0;
}

html[lang=en] .customers_con .owl-dots {
    left: -30px;
}

html[lang=ar] .customers_con .owl-dots {
    right: -30px;
}

@media screen and (max-width: 768px) {
    .customers_con .owl-dots {
        top: unset;
        bottom: -22px;
        transform: translate(0);
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    html[lang=en] .customers_con .owl-dots {
        left: unset;
    }

    html[lang=ar] .customers_con .owl-dots {
        right: unset;
    }
}

.customer_review {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

    .customer_review .content .text {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.8;
        max-height: 150px;
        overflow-y: auto;
        padding-inline-end: 12px;
    }

        .customer_review .content .text::-webkit-scrollbar {
            width: 3px;
        }

    .customer_review .content .name {
        font-family: fontBold;
        font-size: 15px;
    }

    .customer_review .customer-img {
        flex-shrink: 0;
        width: 240px;
        height: 240px;
        position: relative;
        z-index: 2;
        border: 1px solid #f0f0f0;
    }

        .customer_review .customer-img::after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100px;
            height: calc(100% + 20px);
            border: 4px solid rgba(200, 159, 107, 0.5);
            border-start-end-radius: 8px;
            z-index: -1;
        }

html[lang=en] .customer_review .customer-img::after {
    right: -15px;
}

html[lang=ar] .customer_review .customer-img::after {
    left: -15px;
}

.customer_review .customer-img .img {
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    -o-object-fit: cover;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .customer_review {
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
    }

        .customer_review .content .text {
            max-height: -moz-fit-content;
            max-height: fit-content;
            font-size: 12px;
            margin-bottom: 25px;
        }

        .customer_review .content .name {
            font-size: 14px;
        }

        .customer_review .customer-img {
            height: 200px;
            width: 100%;
        }
}

/********************* Start customer_review section *********************/
/********************* Start team-card section *********************/
.team_sec {
    position: relative;
    z-index: 3;
    background-color: rgba(200, 159, 107, 0.04);
}

.team-card {
    position: relative;
    height: 320px;
    border-start-end-radius: 10px;
    border-end-start-radius: 10px;
    margin-bottom: 50px;
}

    .team-card .team-img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        border-start-end-radius: 10px;
        border-end-start-radius: 10px;
        transition: all 600ms linear;
    }

    .team-card .team-content {
        background-color: #fff;
        padding: 14px 24px 18px;
        position: absolute;
        overflow: hidden;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        bottom: -35px;
        z-index: 1;
        text-align: center;
        border-start-end-radius: 10px;
        border-end-start-radius: 10px;
    }

        .team-card .team-content .name {
            font-size: 16px;
            line-height: 1.2;
            transition: all 0.3s ease;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .team-card .team-content .jop {
            color: #272727;
            font-size: 14px;
            letter-spacing: 0.2px;
            line-height: 1;
            transition: all 0.31s ease-in-out;
        }

        .team-card .team-content::before {
            position: absolute;
            content: "";
            left: 0;
            bottom: 0;
            height: 3px;
            width: 100%;
            background-color: #c89f6b;
            z-index: -1;
            transition: all 0.31s ease-in-out;
        }

    .team-card:hover .team-img {
        filter: grayscale(1) !important;
    }

    .team-card:hover .team-content .name,
    .team-card:hover .team-content .jop {
        color: #fff;
    }

    .team-card:hover .team-content::before {
        height: 100%;
    }

    .team-card:hover::before {
        opacity: 1;
        visibility: visible;
    }

@media screen and (max-width: 576px) {
    .team-card {
        height: 260px;
    }

        .team-card .team-content .name {
            font-size: 14px;
        }

        .team-card .team-content .jop {
            font-size: 12px;
        }
}

/********************* End team-card section *********************/
/********************* Start legal_con section *********************/
.legal_sec {
    margin-bottom: -100px;
    position: relative;
    z-index: 9;
}

.legal_con {
    position: relative;
    padding: 40px;
    border-start-end-radius: 15px;
    border-end-start-radius: 15px;
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .legal_con {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 425px) {
    .legal_con {
        padding: 30px 15px;
    }
}

@media screen and (max-width: 992px) {
    .legal_con {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
}

.legal_con::after {
    content: "";
    position: absolute;
    top: -14px;
    left: -14px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(200, 159, 107, 0.2);
    border-start-end-radius: 15px;
    border-end-start-radius: 15px;
    z-index: -1;
}

@media screen and (max-width: 576px) {
    .legal_con::after {
        display: none;
    }
}

.legal_con .content {
    width: 640px;
}

@media screen and (max-width: 992px) {
    .legal_con .content {
        width: 100%;
    }
}

.legal_con .content .title {
    font-size: large;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
}

@media screen and (max-width: 992px) {
    .legal_con .content .title {
        font-size: 15px;
    }
}

.legal_con .content .title .sm-img {
    max-width: 20px;
    opacity: 0.5;
}

.legal_con .content .text {
    line-height: 1.9;
}

@media screen and (max-width: 992px) {
    .legal_con .content .text {
        font-size: 13px;
    }
}

/********************* End legal_con section *********************/
/********************* Start gallary section *********************/
.gallary {
    gap: 30px;
}

@media screen and (max-width: 425px) {
    .gallary {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 15px;
    }
}

.gallary .gallary-item {
    height: 220px;
    position: relative;
    transition: all 0.4s ease-in-out;
    margin-bottom: 15px;
}

@media screen and (max-width: 425px) {
    .gallary .gallary-item {
        height: 195px;
    }
}

.gallary .gallary-item .fancybox-img {
    position: absolute;
    bottom: -20px;
    background: #c89f6b !important;
    z-index: 3;
    overflow: hidden;
    border: 1px solid #c89f6b;
}

html[lang=en] .gallary .gallary-item .fancybox-img {
    right: 20px;
}

html[lang=ar] .gallary .gallary-item .fancybox-img {
    left: 20px;
}

.gallary .gallary-item .gallary-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
    border-start-end-radius: 14px;
    border-end-start-radius: 14px;
}

.gallary .gallary-item:hover {
    transform: translateY(-7px);
}

/********************* End gallary section *********************/
/********************* Start Video section *********************/
.video-card {
    background-color: #fff;
    border-start-end-radius: 14px;
    border-end-start-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

    .video-card .video-container {
        width: 100%;
        height: 220px;
        position: relative;
    }

        .video-card .video-container .player-con {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            /* cursor: pointer; */
        }

            .video-card .video-container .player-con:hover .play-v {
                width: 45px;
                height: 45px;
                background-color: #c89f6b;
                outline-color: rgba(246, 115, 17, 0.568627451);
            }

        .video-card .video-container .play-v {
            background-color: rgba(200, 159, 107, 0.8);
            font-size: 15px;
            width: 40px;
            height: 40px;
            color: #fff;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            outline: 5px solid transparent;
            transition: all 0.3s ease;
        }

    .video-card .video {
        width: 100%;
        height: 100%;
    }

/********************* End video section *********************/
/********************* start Contact section *********************/
.contact-sec {
    margin-top: -200px;
    position: relative;
    z-index: 5;
}

@media screen and (max-width: 992px) {
    .contact-sec {
        margin-top: 0;
    }
}

.map {
    width: 100%;
    height: 432px;
    border-radius: 15px;
}

    .map.sm {
        height: 330px;
    }

@media screen and (max-width: 992px) {
    .map {
        height: 300px !important;
    }
}

.contact-style {
    height: 100%;
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 70px 50px;
    border-start-end-radius: 50px;
    border-end-start-radius: 50px;
}

@media screen and (max-width: 992px) {
    .contact-style {
        padding: 30px 20px;
        border-radius: 0;
    }
}

.contact-title {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

@media screen and (max-width: 425px) {
    .contact-title {
        font-size: 15px;
    }
}

.contact-info {
    font-size: 14px;
    color: #000;
    margin-bottom: 35px;
    line-height: 1.7;
}

@media screen and (max-width: 425px) {
    .contact-info {
        font-size: 13px;
    }
}

.contact_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
    background-color: #c89f6b;
    padding: 15px;
    color: #fff;
    flex-wrap: wrap;
}

    .contact_box .name {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
    }

        .contact_box .name i {
            margin-top: 3px;
        }
