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

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


.mainBack {
    background-color: var(--mainColor) !important;
    border-color: var(--mainColor) !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;
    font-family: 'El Messiri', sans-serif;
    text-decoration: none;
    font-size: 0.9em;
    overflow-x: hidden;
    position: relative;
    background-color: #FDFAFA;
    font-weight: 300;
    direction: rtl;
}

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: 15px;
    line-height: 1.8;
    color: #777;
}

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

.bg_gray {
    background-color: #fffef2;
}

.bg_light {
    background-color: #F9FBFF;
}

.section_padding {
    padding: 80px 0;
}



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

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

// ---------- section head ----------
.section_head{
    position: relative;

    h2{
        position: relative;
        font-size: 40px;
        padding-inline-start: 60px;
        &::after{
            position: absolute;
            content: "";
            right: 0;
            top: 50%;
            width: 40px;
            height: 1px;
            background-color: #000;
        }
    }

    .p{
        color: #838FAE;
        font-size: 12px;
    }
}


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

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

    &:hover {
        background-color: #000;
        border-color: #000;
        span {
            color: #fff;
        }
    }

    &.butn_line{
        background: transparent;
        span{
            color: var(--mainColor);
        }
        &:hover{
            background-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: 30px 0;
    z-index: 99;
    .navbar-brand{
        position: relative;
        img{
            position: relative;
            z-index: 2;
            width: 90px;
            object-fit: contain;
        }
    }
    .navbar-nav{
        .nav-item{
            .nav-link{
                position: relative;
                font-weight: 400;
                font-size: 14px;
                margin: 0 20px;
                text-transform: capitalize;
                color: #fff;
                opacity: 0.7;
                padding: 10px 0;
                &::after{
                    position: absolute;
                    content: "";
                    right: 0;
                    bottom: 0;
                    width: 40px;
                    height: 2px;
                    background-color: #fff;
                    opacity: 0;
                    transition: all 0.2s ease;
                }
                &.active,
                &:hover{
                    opacity: 1;

                    &::after{
                        opacity: 1;
                    }
                }                
            }
        }
    }
}

/* --------------- header --------------- */
header{
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    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.4;
        background-color: #2E211B;
    }

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

    .info{
        text-align: center;
        h1{
            color: #fff;
            margin-bottom: 20px;
            font-size: 50px;
        }

        p{
            font-size: 20px;
            color: #EAEAEA;
            margin-bottom: 40px;
        }
    }

}

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

.about {
    height: 860px;
    .info{
        h2{
            font-size: calc(3vw + 30px );
            font-weight: 300;
            margin-bottom: 30px;
            span{
                font-weight: bold;
                color: var(--mainColor);
            }
        }
        h5{
            margin-top: 50px;
            font-weight: 100;
            font-size: 40px;
            color: var(--mainColor);
            margin-bottom: 20px;
        }
        .text{
            font-size: 23px;
            color: #3D3738;
        }
    }

    .img{
        position: relative;
        img{
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            height: 700px;
            max-width: none;
            max-height: none;
        }
    }
}

/* ------------ products style ------------- */
.products{
    .product_row{
        margin-bottom: 70px;
        &:last-of-type{
            margin-bottom: 0;
        }

        &:nth-of-type(odd){
            .img{
                padding: 30px 30px 0 0 ;
                &::before{
                    left: auto;
                    right: 0;
                }
            }
        }

        .info{
            h4{
                font-size: 27px;
                margin-bottom: 20px;
            }

            .text{
                font-size: 15px;
                color: #777;
                margin-bottom: 15px;
            }

            .price{
                font-size: 35px;
                text-transform: uppercase;
                margin-bottom: 30px;
                small{
                    font-size: 20px;
                }
            }
            
        }

        .img{
            position: relative;
            height: 375px;
            padding: 30px 0 0 30px;
            &::before{
                position: absolute;
                content: "";
                left: 0;
                top: 0;
                width: calc(100% - 30px);
                height: calc(100% - 30px);   
                background-color: #FFEECC;             
            }
            img{
                position: relative;
                z-index: 5;
                height: 100%;
                width: 100%;
                object-fit: cover;
            }
        }
    }
    
}


/* ------------ features style ------------- */
.features{
    // padding-bottom: 80px;
    .feature_card{
        padding: 30px;
        background-color: #fff;
        margin-bottom: 15px;
        .icon{
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: #F8FAFC;
            margin-bottom: 15px;
            font-size: 20px;
            color: var(--mainColor);
        }

        .info{
            h6{
                font-size: 22px;
                margin-bottom: 10px;
            }

            .text{
                color: #848282;
                font-size: 14px;
            }
        }
    }
}


/* ------------ clients style ------------- */
.clients{
    .clients_slider{
        padding: 70px 0;
        position: relative;
        overflow: hidden;
        &::after{
            position: absolute;
            content: "";
            left: 10%;
            top: 0;
            width: 80%;
            height: 100%;
            background-color: #FEF7ED;
        }
        .client_card{
            padding: 30px;
            background-color: #fff;
            position: relative;
            z-index: 5;
            .author{
                display: flex;
                align-items: center;
                .img{
                    width: 70px;
                    height: 70px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 50%;
                    overflow: hidden;
                    margin-inline-end: 15px;
                    flex-shrink: 0;
                    img{
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
                .cont{
                    p{
                        font-size: 16px;
                        margin-bottom: 5px;
                    }
    
                    .stars{
                        color: var(--mainColor);
                    }
                }
            }
    
            .info{
                margin-top: 30px;
                h6{
                    font-size: 18px;
                    color: #2C3C4D;
                    margin-bottom: 10px;
                }
                .text{
                    font-size: 14px;
                    color: #8c959f;
                }
            }
        }

        .swiper-pagination{
            bottom: 30px;
        }
    }
}


/* ------------ footer style ------------- */
//start Footer
footer{
    background-color: #120801;
    position: relative;
    overflow: hidden;

    .logo_content{
        display: flex;
        align-items: center;
        .img{
            margin-inline-end: 15px;
            flex-shrink: 0;
        }

        p{
            line-height: 2;
        }
    }

    .links{
        a{
            margin: 10px 0;
        }
    }

    .card_title{
        font-size: 16px;
        color: #fff;
        margin-bottom: 15px;
    }

    p,
    a{
        font-size: 14px;
        color: #fff;
        opacity: 0.7;
    }

    .contact{
        p{
            margin: 10px 0;
        }
        .form-group{
            display: flex;
            margin-top: 20px;
            button{
                background-color: var(--mainColor);
                color: #fff;
                padding: 12px 25px;
                border: 0;
                flex-shrink: 0;
            }

            input{
                background-color: #fff;
                border: 0;
                width: 100%;
                padding: 5px 25px;
            }
        }
    }
}


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

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

@media screen and (max-width: 991px) {
    header {
        overflow: hidden;
        padding: 150px 0 50px;
    }

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

    .about .img img{
        position: relative;
        top: 0;
        left: 0;
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        transform: translateX(0);
    }

    .about{
        height: max-content;
        .order-2{
            margin-top: 30px;
        }
    }

    .products {
        .product_row {
            &:nth-of-type(even) .col-lg-4{
                order: 3;
            }
            .info{
                margin-top: 30px;
            }
        }
    }

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

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

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

/* ======= */

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