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


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

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


.mainBack {
    background-color: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
}

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


.subBack {
    background-color: var(--subColor) !important;
    border-color: var(--subColor) !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: 'Tajawal', sans-serif;
    text-decoration: none;
    font-size: 0.9em;
    overflow-x: hidden;
    position: relative;
    // background-color: #FDFAFA;
    font-weight: 400;
    direction: rtl;
    color: #282A30;
}

h1,
h2,
h3
 {
    font-weight: 900;
    margin: 0;
    line-height: 1.6;
}

h4,
h5,
h6{
    font-weight: 700;
}

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

body a:focus {
    outline: 0;
}

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



.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;
}

.form-control,
.form-select {
    min-height: 50px;
    background-color: #fff;
    border: 0;
    padding: 5px 15px;
    width: 100%;
    border-radius: 5px;
    &:focus {
        box-shadow: none;
    }
    &.brdr {
        border: 1px solid #9993;
        border-radius: 7px;
    }
}

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

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

a:hover {
    color: #999;
}

ul {
    padding: 0;
}

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

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;
}

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

.bg_gray {
    background-color: #F8F6F1;
}

.bg_light {
    background-color: #F9FBFF;
}

.section_padding {
    padding: 80px 0;
}



// ------------ swiper pag & nav -----------
.swiper-pagination-bullet {
    width: 35px;
    height: 2px;
}

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

.swiper-button-next:after,
.swiper-button-prev:after {
    color: var(--mainColor);
    font-size: 25px;
    font-weight: bold;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: 5%;
    right: auto;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 5%;
    left: auto;
}

// ---------- img_title  ----------
.img_title{
    display: flex;
    .icon{
        width: 38px;
        object-fit: contain;
    }
    h6{
        color: var(--mainColor);
        font-size: 20px;
        font-weight: 500;
        margin: 0 20px;
    }
}

.section_title{
    h2{
        font-size: 40px;
        line-height: 1.5;
        font-weight: 500;
        margin-bottom: 50px;
        span{
            color: var(--mainColor);
            text-decoration: underline;
        }
    }
}

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

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

// ------------ buttons ------------

.butn {
    border: 1px solid var(--mainColor);
    padding: 12px 40px;
    text-align: center;
    background-color: var(--mainColor);
    font-size: 14px;
    border-radius: 0;
    span {
        color: #fff;
    }

    &:hover {
        background-color: var(--subColor);
        border-color: var(--subColor);
        span {
            color: #fff;
        }
    }

    &.butn_line{
        background: transparent;
        span{
            color: var(--mainColor);
        }
        &:hover{
            background-color: var(--mainColor);
            border-color: var(--mainColor);
            span{
                color: #fff;
            }
        }
    }

    &.butn_whline{
        background: transparent;
        border-color: #fff;
        span{
            color: #fff;
        }
        &:hover{
            background-color: var(--mainColor);
            border-color: var(--mainColor);
            span{
                color: #fff;
            }
        }
    }

    &.butn_light{
        background: #FFEECC;
        border: 0;
        span{
            color: #BB943B;
        }
        &:hover{
            background-color: var(--mainColor);
            span{
                color: #fff;
            }
        }
    }

    &.butn_dark{
        background: #000;
        border: 0;
        span{
            color: #fff;
        }
        &:hover{
            background-color: var(--mainColor);
            span{
                color: #000;
            }
        }
    }

    &.butn_white{
        background: #fff;
        border: 0;
        span{
            color: #000;
        }
        &:hover{
            background-color: var(--mainColor);
            span{
                color: #fff;
            }
        }
    }
}

// --------------- dropdown ----------------

.dropdown-toggle::after {
    position: relative;
    top: 5px;
    opacity: 0.5;
    // display: none;
}
.dropdown-menu {
    min-width: 170px;
    padding: 10px 0;
    border-radius: 15px;
    border: 0;
    box-shadow: 0 0 20px #0001;
    top: calc(100% + 10px);
    .dropdown-item {
        padding: 6px 20px;
        font-size: 13px;
    }
}

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

.form-check-input:focus {
    box-shadow: none;
}

/* --------------- navbar --------------- */
.navbar{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    z-index: 99;
    .navbar-brand{
        position: relative;
        img{
            position: relative;
            z-index: 2;
            width: 135px;
            object-fit: contain;
        }
    }
    .navbar-collapse{
        flex-wrap: wrap;
        justify-content: end;
    }
    .top_links{
        width: 100%;
        margin-bottom: 30px;
        a{
            font-size: 15px;
            color: #000;
            margin-inline-end: 30px;
            &:last-of-type{
                margin: 0;
            }
            i{
                color: var(--subColor);
            }
        }
    }
    .navbar-nav{
        padding: 30px;
        .nav-item{
            .nav-link{
               font-size: 16px;
               color: #282A30;
               margin: 10px;
               font-weight: 500;
               &:hover,
               &.active{
                color: var(--mainColor);
               }
            }
        }
    }
}

/* --------------- header --------------- */
header{
    .head_slider{
        .swiper-slide{
            position: relative;
            min-height: 100vh;
            padding-top: 150px;
            height: 700px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background-image: url(../images/header.png);
            background-size: cover;
            background-repeat: no-repeat;
            &::after{
                position: absolute;
                content: "";
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                opacity: 0.7;
                background-color: #D3C7A7;
            }
        }
    }

    .container{
        position: relative;
        z-index: 2;
    }

    .info{
        position: relative;
        z-index: 10;

        h5{
            color: var(--mainColor);
            font-size: 40px;
            text-decoration: underline;
            font-weight: normal;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(50px);
            filter: blur(2px);
            transition: all 0.4s ease;
        }

        h1{
            color: #282A30;
            font-size: 50px;
            font-weight: 600;
            margin-bottom: 50px;
            opacity: 0;
            transform: translateY(50px);
            filter: blur(2px);
            transition: all 0.4s ease;
            transition-delay: 0.2s;
        }

        .butn{
            opacity: 0;
            transform: translateY(50px);
            filter: blur(2px);
            transition: all 0.4s ease;
            transition-delay: 0.4s;
        }
    }

    .swiper-slide-active{
        .info{
            h5,
            h1,
            .butn{
                opacity: 1;
                transform: translateY(0);
                filter: blur(0);
            }
        }
    }

    .swiper-pagination{
        bottom: 60px !important;
        .swiper-pagination-bullet {
            width: 15px;
            height: 15px;
        }
    }
}


/* --------------- about --------------- */
.about{
    .info{
        h2{
            font-size: 50px;
            line-height: 1.5;
            font-weight: 500;
            margin-bottom: 50px;
            span{
                color: var(--mainColor);
                text-decoration: underline;
                display: block;
            }
        }

        .text{
            font-size: 18px;
            margin-bottom: 30px;
        }
    }
    .img{
        height: 600px;
        position: relative;
        img{
            border-radius: 30px;
            overflow: hidden;
        }

        .btrn{
            position: absolute;
            top: -15px;
            left: -50px;
        }
    }
}


/* --------------- gallery --------------- */
.gallery{
    .small_imgs{
        .img_card{
            .img{
                height: 330px;
            }
            .info{
                padding: 30px;
            }
        }
    }

    .large_imgs{
        .img_card{
            .img{
                height: 660px;
            }
            .info{
                padding: 50px;
            }
        }
    }

    .img_card{
        position: relative;
        .info{
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: #0009;
            z-index: 5;
            display: flex;
            align-items: flex-end;
            text-align: center;
            opacity: 0;
            transition: all 0.4s ease;
            .cont{
                transform: translateY(30px);
                transition: all 0.4s ease;
                h2{
                    color: #fff;
                    font-size: 40px;
                    margin-bottom: 20px;
                }
                h5{
                    color: #fff;
                    font-size: 18px;
                    margin-bottom: 20px;
                }
                .text{
                    color: #fff;
                    font-size: 14px;
                }
            }
        }

        &:hover{
            .info{
                opacity: 1;
                .cont{
                    transform: translateY(0);
                }
            }
        }
    }
}

/* --------------- contact --------------- */
.contact{
    padding-bottom: 200px;
    background-image: url(../images/contact.png);
    background-size: cover;
    background-position: bottom;
    .form-control{
        margin-bottom: 30px;
        font-size: 13px;
        color: #777;
        min-height: 60px;
    }
}

/* --------------- about --------------- */

/* ------------ footer style ------------- */
//start Footer
footer{
    padding-top: 50px;
    .logo{
        margin-bottom: 20px;
        img{
            width: 100px;
        }
    }

    .text{
        font-size: 16px;
    }

    .links{
        margin-top: 50px;
        a{
            color: var(--mainColor);
            margin: 0 20px;
            font-weight: 500;
        }
    }
    .foot{
        margin-top: 50px;
        border-top: 1px solid #9993;
        padding: 30px 0;
    }

    .social_links{
        margin-bottom: 15px;
        a{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #fff;
            box-shadow: 0 0 5px #0001;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 5px;
            &:hover{
                background-color: var(--mainColor);
                color: #fff;
            }
        }
    }
}


/* -------------------- responsive style ------------------------- */

@media screen and (min-width: 1400px) {
    .partners_contact .contact_wrapper .content {
        padding-right: calc((100vw - 1320px) / 2);
    }
}

@media screen and (max-width: 991px) {
    header {
        overflow: hidden;
        height: max-content;
    }

    .navbar .navbar-brand img{
        width: 100px;
    }

    .navbar-collapse{
        background-color: #fff;
        margin-top: 20px;
        padding: 20px 10px;
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-item.nav_lang .nav-link {
        border-right: 0;
        padding-inline-start: 0;
    }

    .navbar-dark .navbar-toggler{
        margin-top: 25px;
        background-color: var(--mainColor);
        border-color: var(--mainColor);
    }

    .navbar .top_links{
        text-align: center !important;
    }

    .about{
        overflow: hidden;
    }

    header .info h1 span.mainColor {
        font-size: 40px;
    }

    header .info h1 span.subColor {
        font-size: 45px;
    }

    footer{
        .links{
            margin: 40px 0;
        }
    }

}

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

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

/* ======= */

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