@import url(helper.css);


*,
* button:focus {
    outline: 0;
}

:root {
    --cr-main: #D5A261;
    --cr-sub: #EAE1D0;
    --cr-dark: #0A0F11;
}

// ------------------ colors -------------------
.cr-main {
    color: var(--cr-main) !important;
}

.bg-main {
    background-color: var(--cr-main) !important;
    border-color: var(--cr-main) !important;
    color: #fff !important;
}

.border-main {
    border-color: var(--cr-main) !important;
}

.hover-main:hover {
    color: var(--cr-main);
}

.hover-bg-main:hover {
    background-color: var(--cr-main);
    border-color: var(--cr-main);
    color: #fff !important;
}

.cr-sub {
    color: var(--cr-sub) !important;
}

.bg-sub {
    background-color: var(--cr-sub) !important;
    border-color: var(--cr-sub) !important;
    color: #fff !important;
}

.border-sub {
    border-color: var(--cr-sub) !important;
}

.hover-sub:hover {
    color: var(--cr-sub);
}

.hover-bg-sub:hover {
    background-color: var(--cr-sub);
    border-color: var(--cr-sub);
    color: #fff !important;
}

.cr-dark {
    color: var(--cr-dark) !important;
}

.bg-dark {
    background-color: var(--cr-dark) !important;
    border-color: var(--cr-dark) !important;
    color: #fff !important;
}

.border-dark {
    border-color: var(--cr-dark) !important;
}

.hover-dark:hover {
    color: var(--cr-dark);
}

.hover-bg-dark:hover {
    background-color: var(--cr-dark);
    border-color: var(--cr-dark);
    color: #fff !important;
}


html::-webkit-scrollbar {
    height: 20px;
    width: 10px;
    background: #f1f1f1;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
    background: #999;
    -webkit-border-radius: 0;
    border-radius: 10px;
}

html::-webkit-scrollbar-corner {
    background: #999;
    border-radius: 10px;
}

body {
    font-family: "Changa", sans-serif;
    text-decoration: none;
    font-size: 0.9em;
    overflow-x: hidden;
    position: relative;
    // background-color: #ecf2fc;
    // background: linear-gradient(45deg , #ecf2fc , transparent);
    direction: rtl;
    color: var(--cr-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    // font-family: "mt-halal";
    font-kerning: none;
}

body a:hover {
    text-decoration: none;
}

body a:focus {
    outline: 0;
}

body ul {
    list-style-type: none;
    margin: 0;
}

[type=email],
[type=number],
[type=tel],
[type=url] {
    direction: inherit;
}

.btn-default:active,
.btn-default:active:focus,
.btn-default:active:hover,
.btn-default:focus,
.btn-default:hover,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
    -webkit-appearance: none;
}

.btn:active,
.btn:active:focus,
.btn:active:hover,
.btn:focus,
.btn:hover,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    transition: all 0.6s ease;
    outline: 0;
}


/* ==================== global style ============================== */

a,
span,
img {
    display: inline-block;
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

ul {
    padding: 0;
}

img {
    max-width: 100%;
    max-height: 100%;
}

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

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

.object-top {
    object-position: top;
}

.object-bottom {
    object-position: bottom;
}

.dnf-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.df-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

p {
    font-size: 15px;
    // color: #666;
    line-height: 1.7;
    margin: 0;
}

// .card{
//     border: 0;
//     padding: 30px;
//     border-radius: 10px;
// }

.text,
.text * {
    font-size: 14px;
    line-height: 1.8;
    // color: #757575;
}

small.text {
    font-size: 12px;
}

.section-padding {
    padding: 130px 0;
}


.dropdown {
    .dropdown-menu {
        border-radius: 10px;
        padding: 10px;
        border: 0;
        box-shadow: 15px 15px 30px #0001;

        .dropdown-item {
            font-size: 14px;
            padding: 0.5rem 1rem;
            border-radius: 10px;
        }
    }
}


/* --------------- loader --------------- */
.ScrollSmoother-wrapper {
    z-index: 999;
}


/* --------------- to_top button --------------- */

.progress-wrap {
    position: fixed;
    left: 20px;
    bottom: 20px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px #0001;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateX(-100px);
    z-index: 99;
    transition: all 200ms linear;

    &::after {
        background: url(../images/top-arrow.png);
        background-size: contain;
        background-repeat: no-repeat;
        content: '';
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        position: absolute;
        color: #000;
        left: 13px;
        top: 13px;
        height: 25px;
        width: 25px;
        display: block;
    }

    svg {
        path {
            fill: #f8f8f8;
        }

        &.progress-circle {
            path {
                stroke: #000;
                stroke-width: 5;
                box-sizing: border-box;
            }
        }
    }

    &.active-progress {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/* --------------- butn --------------- */
.butn {
    padding: 13px 35px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    text-transform: capitalize;
    border: 0;

    &:hover {
        box-shadow: 7px 10px 15px #18191b22;
        transform: translateY(-2px);
    }

    &.butn-blur {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }

    &.butn-white {
        background: #fff;
        color: var(--cr-main);

        &:hover {
            background-color: var(--cr-main);
            color: #fff;
        }
    }

    &.butn-border {
        background-color: #fff;
        border: 1px solid var(--cr-main);
        color: var(--cr-main);

        &:hover {
            background-color: var(--cr-main);
            border-color: var(--cr-main);
            color: #fff;
        }
    }

    &.md-butn {
        padding: 12px 25px;
        font-size: 13px;
    }

    &.blur-wh-butn {
        background-color: #fff1;
        backdrop-filter: blur(10px);
    }

    &.hvr-scale {
        &:hover {
            transform: scale(1.1);
        }
    }

    &.hvr-txt-trans {
        position: relative;
        overflow: hidden;

        .txt {
            position: relative;
            display: inline-block;
            transition: all 0.4s ease;

            &::after {
                content: attr(data-text);
                display: inline-block;
                position: absolute;
                top: 50%;
                left: 50%;
                opacity: 0;
                transform: translate(-50%, 100%);
                transition: opacity .3s, transform .3s;
                transition-timing-function: cubic-bezier(.455, .03, .515, .955);
                white-space: nowrap;
            }

            span {
                transition: all 0.4s ease;
            }
        }

        &:hover {
            .txt {
                span {
                    transform: translateY(-150%);
                    opacity: 0;
                }

                &::after {
                    transform: translate(-50%, -50%);
                    opacity: 1;
                }
            }
        }
    }

}



/* --------------- navbar --------------- */
.navbar {
    position: fixed;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    background: rgba(10, 15, 17, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: #fff;
    transition: all 0.5s ease;
    z-index: 99;

    .navbar-nav {
        position: relative;

        .nav-item {
            .nav-link {
                position: relative;
                padding: 5px 40px;
                font-size: 16px;
                color: #fff;

                &::after {
                    position: absolute;
                    content: "";
                    left: 0;
                    top: 50%;
                    width: 3px;
                    height: 3px;
                    border-radius: 50%;
                    background-color: #fff;
                }

                &:hover {
                    text-decoration: underline;
                }
            }

            &:last-of-type {
                .nav-link {
                    &::after {
                        display: none;
                    }
                }
            }
        }
    }

    &.nav-scroll {
        position: fixed;
        top: 0;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0;
        border: 0;
        background-color: var(--cr-dark);
    }

}

.letters-line {
    .word {
        transition: all 0.5s ease !important;
    }
}


/* --------------- header --------------- */
.hero {
    position: relative;
    padding: 200px 0;
    // overflow: hidden;
    color: #fff;
    z-index: 10;

    &::after {
        position: absolute;
        content: "";
        left: 0;
        bottom: -5px;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #EAE1D0 0%, rgba(234, 225, 208, 0) 76.29%);
        z-index: -1;
    }

    .info {
        position: relative;
        text-align: center;
        z-index: 5;
        pointer-events: none;

        .butn {
            pointer-events: all;
        }
    }

    h1 {
        font-size: clamp(40px, 10vw, 90px);
    }

}

.flip-scroll-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.flip-scroll-st1 {
    transform: translateY(150px) rotateX(-35deg) scale(0.8);
    opacity: 0;
}


/* --------------- about --------------- */
.about {
    position: relative;
    background-color: var(--cr-sub);
    // background-image: url(../images/pattern1.png);
    // background-size: cover;
    // background-position: bottom;
    z-index: 10;

    .imgs {
        position: relative;
        padding-bottom: 50px;

        .main-img {
            position: relative;

            &::before {
                position: absolute;
                content: "";
                right: 0;
                top: 245px;
                width: 30px;
                height: 30px;
                border-bottom-right-radius: 30px;
                background-color: transparent;
                box-shadow: 5px 5px 0 5px var(--cr-sub);
            }

            &::after {
                position: absolute;
                content: "";
                left: 196px;
                bottom: 0;
                width: 30px;
                height: 30px;
                border-bottom-right-radius: 30px;
                background-color: transparent;
                box-shadow: 5px 5px 0 5px var(--cr-sub);
            }
        }

        .img2 {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 300px;
            height: 300px;
            padding: 15px;
            border-top-left-radius: 25px;
            background-color: var(--cr-sub);

            img {
                border-radius: 30px;
            }
        }
    }

    .trng {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -3px;
        height: 40px;
    }
}



/* --------------- services --------------- */
.services {
    position: relative;
    z-index: 10;
    overflow: hidden;

    .cards {
        position: relative;
        display: flex;
        justify-content: center;
        z-index: 10;

        .service-card {
            margin: 0 -30px;

            &:nth-child(1) {
                background-color: var(--cr-sub);
                transform: rotate(-15deg);
            }

            &:nth-child(2) {
                background-color: var(--cr-dark);
                color: var(--cr-main);
                transform: rotate(15deg);
            }

            &:nth-child(3) {
                background-color: var(--cr-main);
                color: #fff;
                transform: rotate(-7.5deg);
            }

            &:nth-child(4) {
                background-color: var(--cr-dark);
                color: var(--cr-main);
                transform: rotate(5.8deg);
            }

            &:nth-child(5) {
                background-color: var(--cr-sub);
                transform: rotate(8deg);
            }
        }
    }

}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 280px;
    width: 240px;
    border-radius: 30px;
    padding: 30px 15px;
    background-color: #f9f9f9;
    margin-top: 30px !important;
    transition: all 0.5s ease;

    h6 {
        font-size: 18px;
        line-height: 1.5;
        font-weight: 400;
    }
}

/* --------------- fields --------------- */
.fields {
    position: relative;
    background-color: var(--cr-main);
    // background-image: url(../images/pattern2.png);
    // background-size: cover;
    padding-bottom: 250px;
    color: #fff;
    z-index: 10;
    overflow: hidden;

    .bg-txt {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 90%;
        z-index: -1;
    }

    .field-card {
        position: relative;

        .img {
            position: relative;
            height: 525px;
            border-radius: 30px;
            overflow: hidden;

            &::after {
                position: absolute;
                content: "";
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(0deg, rgba(10, 15, 17, 0.6) 0%, rgba(10, 15, 17, 0) 89.21%);
                border-radius: 30px;
            }
        }

        .float-info {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            padding: 40px;
            z-index: 10;
        }
    }

}

.swiper-arrows {
    position: relative;
    width: 80px;
    display: flex;

    .swiper-button-prev,
    .swiper-button-next {
        position: static;
        margin: 0;
        width: 40px;
        height: 32px;
        border: 1px solid #fff;
        opacity: 1 !important;

        &::after {
            font-size: 12px;
            filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(3deg) brightness(10000%) contrast(102%);
        }
    }

    .swiper-button-prev {
        background-color: #fff;
        border-radius: 20px 0 0 20px;

        &::after {
            filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(3deg) brightness(0%) contrast(102%);
        }
    }

    .swiper-button-next {
        border-radius: 0 20px 20px 0;
    }
}


/* --------------- apply --------------- */
.apply {
    position: relative;
    // background-image: url(../images/pattern3.png);
    // background-size: cover;
    overflow: hidden;

    .kaaba {
        position: absolute;
        left: 0;
        bottom: 0;
        height: 80%;
        transform: translateX(-40%);
    }

}


/* --------------- packages --------------- */
.packages {
    position: relative;
    background-color: var(--cr-sub);
    z-index: 10;

    .trng {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -3px;
        height: 40px;
    }

}

.package-item {
    position: relative;
    padding: 10px;
    background-color: #fff;
    border-radius: 30px;
    margin-bottom: 30px;

    &:nth-of-type(2) {
        background-color: var(--cr-main);

        .cr-main {
            color: #fff !important;
        }

        .item {
            border-color: #fff3;
        }
    }

    &:nth-of-type(3) {
        background-color: #000;
        color: #fff;

        .item {
            border: 0;
        }
    }

    .item {
        position: relative;
        padding: 40px 30px;
        border-inline-end: 2px solid #9993;
        height: 100%;
    }

    .list-dots {
        position: relative;

        li {
            position: relative;
            font-size: 16px;
            padding-inline-start: 20px;
            margin: 10px 0;

            &::before {
                position: absolute;
                content: ".";
                right: 0;
                top: -5px;
            }
        }
    }
}


/* --------------- features --------------- */
.features {
    position: relative;

    .cards {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        gap: 0 24px;

        .feat-card {
            position: relative;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            width: calc(20% - 20px);
            margin-bottom: 24px;

            .float-info {
                position: absolute;
                bottom: 0;
                right: 0;
                width: 100%;
                padding: 20px 20px 50px;
                z-index: 5;
                height: 45%;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .shap {
                position: absolute;
                right: 20px;
                top: 20px;
                z-index: 5;
            }

            &:nth-of-type(1),
            &:nth-of-type(2),
            &:nth-of-type(4) {
                .float-info {
                    * {
                        color: #fff;
                    }
                }
            }

        }
    }
}


/* --------------- footer --------------- */
.footer {
    position: relative;


    .links {
        position: relative;

        a {
            position: relative;
            font-size: 16px;
            margin: 3px 0;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    .social-links {
        position: relative;

        a {
            position: relative;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #999;
            margin-inline-end: 10px;
            margin-top: 10px;

            &:hover {
                border-color: var(--cr-main);
                background-color: var(--cr-main);
                color: #fff;
            }
        }
    }

    .foot {
        position: relative;
        border-top: 1px solid #9999;
        padding: 30px 0;
    }

}


/* --------------- login --------------- */
.login-form {
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 50px;
    border-radius: 20px;

    .form-control {
        background-color: #f8f9fa;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 15px 20px;
        font-size: 13px;
        height: auto;
        direction: rtl;

        &:focus {
            border-color: var(--cr-main);
            box-shadow: none;
            background-color: #fff;
        }
    }

    .password-field {
        position: relative;

        .toggle-password {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #999;
        }
    }
}

.form-check-input:checked {
    background-color: var(--cr-main);
    border-color: var(--cr-main);
}


/* --------------- to_top --------------- */


/* ======== */

@media screen and (max-width: 991px) {

    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        transform: translate(0);

        .navbar-nav {
            .nav-item {
                .nav-link {
                    margin: 10px 0;
                    padding: 0;

                    &::after {
                        display: none;
                    }
                }
            }
        }

        &.nav-scroll {
            right: 0;
            left: 0;
            width: 100%;
        }
    }

    .fsz-30 {
        font-size: 18px !important;
    }

    .fsz-40 {
        font-size: 25px !important;
    }

    .fsz-35 {
        font-size: 25px !important;
    }

    .fsz-24 {
        font-size: 18px !important;
    }

    .fsz-60 {
        font-size: 30px !important;
    }

    .mb-60 {
        margin-bottom: 20px !important;
    }

    .hero {
        padding-bottom: 50px;

        h1 {
            font-size: 40px;
        }
    }

    .services {
        .cards {
            display: block;

            .service-card {
                transform: rotate(0) !important;
                width: 100%;
                margin: 10px 0 !important;
                height: 200px;
            }
        }
    }

    .fields {
        padding-bottom: 100px;
    }

    .apply {
        padding-bottom: 0;

        .kaaba {
            position: relative;
        }
    }

    .packages .trng {
        display: none;
    }

    .package-item .item {
        border-inline-end: 0;
        border-bottom: 2px solid rgba(153, 153, 153, 0.2);
    }

    .features {
        .cards {
            position: relative;
            display: block;

            .feat-card {
                width: 100%;
                margin: 10px 0;
                height: 200px;

                .float-info {
                    height: 60%;
                }
            }
        }
    }


    .th-180 {
        height: 80px !important;
    }

    .flip-scroll-st1 {
        transform: translateY(0) rotateX(0) scale(1);
        opacity: 1;
    }

}

@media screen and (max-width: 787px) {}

/* ======= */

@media screen and (max-width: 480px) {}

// -------- en direction --------
html[dir="ltr"] {

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

    body {
        direction: ltr;
        font-family: 'Poppins', sans-serif;
    }
}