/* ========================================
======= Done By Mohamed Elshamhout ========
=========================================*/




/* Main Varibales  */

:root {
    --primaryColor: #181a1b;
    --secondaryColor: #f6c141;
    --mediumColor: #efefef;
    --grayColor: #5b5b5b;
}

/*  main bootstrap classes  */
.bg-dark {
    background-color: var(--primaryColor) !important;
}

.text-secondary {
    color: var(--secondaryColor) !important;
}

.text-weight-500 {
    font-weight: 500;
}

/* Custom fonts using  */

@font-face {
    font-family: arFont;
    src: url(../assest/fonts/readexPro-Light.ttf);
    font-weight: 200;
}

@font-face {
    font-family: arFont;
    src: url(../assest/fonts/readexPro-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: arFont;
    src: url(../assest/fonts/readexPro-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: brandFont;
    src: url(../assest/fonts/Ubuntu-Arabic_R.ttf);
    font-weight: 500;
}

/*   =============================  */
* {
    font-family: arFont;
    font-weight: 400;
}

body {
    text-align: start;
}

body::-webkit-scrollbar,
.myScrolling::-webkit-scrollbar,
textarea::-webkit-scrollbar {
    width: 10px;
    background-color: #e1e1e1;
    border-radius: 5px;
}

body::-webkit-scrollbar-track,
.myScrolling::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track {
    background-color: transparent;
}

body::-webkit-scrollbar-thumb,
.myScrolling::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
    background-color: var(--secondaryColor);
    border-radius: 5px;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    background-image: url("../assest/images/icons/close.png");
    width: 25px;
    height: 18px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Start Navbar  style  */
.navbar {
    padding: 1.5vw 5vw;
    justify-content: space-between;
    direction: ltr;
}

.navbar-collapse {
    flex-grow: 0;
}

/* brand  */
.navbar-brand {
    /* border-inline-end: #fff 2px solid; */
    padding: 0px;
    /* padding-inline-end: 1vw; */
}

.navbar-brand p {
    margin: 0px;
    font-size: calc(14px + .75vw);
    font-family: brandFont;
    text-align: center;
}

.navbar-brand img {
    width: calc(60px + 8vw);
}

.navbar-brand p:last-of-type {
    font-size: calc(11px + .34vw);
}

/* nav links */
.navbar-dark .navbar-nav .nav-link {
    font-size: calc(15px + .35vw);
    padding: 1vw 1.75vw;
    color: #fff;
    transition: ease-in-out .35s all;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #eec35a;
    /*var(--secondaryColor);
     transform: scale(1.05, 1.05) rotateY(45deg); */

}




/* End Navbar Styling  */

/* start main page styling  */
/* Start Main Banner Styling  */
.mainBaner {
    position: relative;
}

.mainBaner img {
    width: 100%;
    height: 43.7vw;
    transform: scale(-1, 1);
    object-fit: cover;
}

.mainBaner .banerText {
    font-size: calc(5px + 2vw);
    position: absolute;
    top: 1vw;
    bottom: 1vw;
    margin: auto 0;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    max-width: 66%;
    padding-inline-start: 5vw;
    line-height: calc(15px + 2.65vw);
    font-weight: 200;
}

.mainBaner .banerText span {
    font-size: calc(17px + 3vw);
    font-weight: 500;
    line-height: calc(23px + 4vw);
}

/* start my story style  */


.myStory p {
    font-size: calc(8px + 1.4vw);
    color: var(--primaryColor);
    font-weight: 400;
    /* height: 23vw; */
    max-height: calc(23vw);
    overflow: hidden;
    line-height: calc((23vw + 30px) / 8);
    overflow: hidden;
    transition: ease-in-out 1s all;
    padding: 15px;
    margin-inline-end: 5px;
}

.myStory p.more {
    /* height: auto; */
    max-height: 65vh;
    overflow-y: scroll;
    padding-inline-start: 20px;
    -webkit-box-shadow: 0 0 10px 3px var(--mediumColor);
    -moz-box-shadow: 0 0 10px 3px var(--mediumColor);
    box-shadow: 0 0 10px 3px var(--mediumColor);
    border-radius: 15px;

}

.myStory p::-webkit-scrollbar {
    width: 5px;
    background-color: #e1e1e1;
    border-radius: 5px;
}


.myStory p::-webkit-scrollbar-track {
    background-color: transparent;
}


.myStory p::-webkit-scrollbar-thumb {
    background-color: var(--secondaryColor);
    border-radius: 5px;
}


/* start advice styling  */
.advice {
    position: relative;
}

.advice .bgImg {
    height: 40vw;
}

.bgImg {
    max-height: 100vh;
    object-fit: cover;
    width: 100%;
    transform: scale(-1, 1);
}

.advice .banerText {
    position: absolute;
    top: 1vw;
    bottom: 1vw;
    margin: auto 0;
    display: flex;
    /* color: #fff; */
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    padding-inline-end: 6.5vw;
    /* line-height: calc(15px + 2.65vw); */
    margin-inline-start: 50%;
    display: inline-flex;
    left: 0;
    right: 0;
}

.advice .banerText p {
    color: #fff;
    font-size: 2.5vw;
    margin-bottom: 0px;
    font-weight: 200;
}

.advice .banerText p.text-secondary {
    font-weight: 400;
}

.advice .sign {
    width: 10vw;
    min-width: 70px;
    margin-inline-start: auto;
}

/* strat projects styling  */
.articleTitle {
    font-size: calc(10px + 2vw);
    font-weight: bold;
    color: var(--primaryColor);
    text-align: center;
}

/* start projects  */
.projects ul {
    list-style-type: none;
    padding: 0px;
}

.project {
    background-color: var(--mediumColor);
    transition: all ease-in-out .5s;
}

.project:hover {
    -webkit-box-shadow: 1.5px 3px 9.5px 5.5px #dddddd;
    -moz-box-shadow: 1.5px 3px 9.5px 5.5px #dddddd;
    box-shadow: 1.5px 3px 9.5px 5.5px #dddddd;
    border-radius: 1.5vw;
    overflow: hidden;
    transform: scale(.97, .97);
}

.project a {
    color: var(--primaryColor);
    text-decoration: none;
}

.project .col {
    display: flex;
    flex-direction: column;
}

.project img {
    width: 28.6vw;
    height: 24.3vw;
    min-width: 85px;
    min-height: 78px;
    object-fit: cover;
}

.project h5 {
    font-weight: bold;
    font-size: calc(8px + 1.5vw);
}

.project p {
    font-size: calc(8px + 1.2vw);
    margin: 0px;
    height: calc(2.5vw *4);
    overflow: hidden;
    line-height: 2.5vw;
}

.project .moreBtn {
    margin-top: auto;
    margin-inline-start: auto;
}

.moreBtn {
    padding: 0px;
    border-bottom: 2px solid;
    color: var(--grayColor);
    border-radius: 0px;
    font-size: calc(8px + 1vw);
    transition: ease-in-out .35s all;
}

.moreBtn:hover {
    color: var(--secondaryColor);
    transform: scale(1.05, 1.05);
}

/* Start Booking Styling  */
.booking {
    position: relative;
}

.booking .content {
    position: absolute;
    top: 3vw;
    bottom: 5vw;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: start;
    max-width: 60%;
    padding-inline-start: 5vw;
    left: 0;
    right: 0;
    /* background: rgba(255, 255, 255, .25); */
}

.booking .largeText {
    color: var(--secondaryColor);
    font-size: calc(12px + 2.5vw);
    font-weight: 500;
}

.booking .mediumText {
    color: #fff;
    font-size: calc(10px + 1.5vw);
}

.booking .smallText {
    color: #fff;
    font-size: calc(8px + 1vw);
}

.booking .btn {
    border: 2px solid;
    color: var(--secondaryColor);
    border-color: var(--secondaryColor);
    border-radius: 3vw;
    width: 10vw;
    min-width: 100px;
    font-size: calc(8px + .65vw);
    transition: ease-in-out .35s all;
    margin-top: calc(20px + 3vw);

}

.booking .btn:hover {
    background-color: var(--secondaryColor);
    color: #fff;
    /* transform: scale(1.05, 1.05) rotateY(45deg); */

}

/* start events styling */
.events .item {
    /* width: 23vw; */
    background-color: var(--primaryColor);
    transition: all ease-in-out .5s;

}

.events .item:hover {
    -webkit-box-shadow: 1.5px 3px 9.5px 5.5px #dddddd;
    -moz-box-shadow: 1.5px 3px 9.5px 5.5px #dddddd;
    box-shadow: 1.5px 3px 9.5px 5.5px #dddddd;
    border-radius: 1.5vw;
    overflow: hidden;
    transform: scale(.94, .94);
    cursor: pointer;
}

.events .item img {
    /* width: 23vw; */
    height: 23.5vw;
    object-fit: cover;
}

.events .info .title {
    color: #fff;
    font-size: calc(10px + .45vw);
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}

.events .info .country {
    color: #fff;
    font-size: calc(10px + .45vw);
    font-weight: 200;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}


.owl-dots,
.owl-nav {
    display: block !important;
}

.owl-nav button {
    position: absolute;
    top: 0px;
    bottom: 3vw;
    width: 8vw;
    /* background-color: #fff !important; */
    background-image: linear-gradient(to right, rgba(255, 255, 255, .01), #fff) !important;
}

.owl-nav button:first-of-type {
    background-image: linear-gradient(to left, rgba(255, 255, 255, .01), #fff) !important;
}

.owl-nav button span {
    font-size: calc(8px + 3vw);
}

.owl-nav button:hover span {
    color: var(--secondaryColor);
}

.owl-nav button.owl-prev {
    left: 0px;
}

.owl-nav button.owl-next {
    right: 0px;
}

.owl-dots {
    text-align: center;
    margin-top: 2.25vw;
}

.owl-dot {
    width: 1.5vw;
    height: 1.5vw;
    min-width: 15px;
    min-height: 15px;
    background: #fff !important;
    border: 2px solid var(--primaryColor) !important;
    border-radius: 50%;
    margin: .65vw;
    transition: .5s all ease-in-out;
}

.owl-dot.active {
    background-color: var(--primaryColor) !important;
}

/* End main page styling  */

/* Start Footer Styling  */
footer {
    background-color: var(--primaryColor);
    height: 33.4vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer h4 {
    color: #fff;
    font-size: calc(12px + 1.5vw);
    font-weight: 500;
    text-align: center;
}

.socailMedia {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;

}

.socailMedia .btn {
    box-shadow: none;
    width: 3vw;
    height: 3vw;
    min-width: 38px;
    min-height: 38px;
    padding: 0px;
    margin: .9vw;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px 3px var(--primaryColor);
    -moz-box-shadow: 0 0 10px 3px var(--primaryColor);
    box-shadow: 0 0 10px 3px var(--primaryColor);
    transition: ease-in-out .5s all;
}

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

.socailMedia .btn:hover {
    -webkit-box-shadow: 0 0 10px 3px var(--secondaryColor);
    -moz-box-shadow: 0 0 10px 3px var(--secondaryColor);
    box-shadow: 0 0 10px 3px var(--secondaryColor);
    transform: scale(1.2, 1.2);
}



html[dir="rtl"] .bgImg {
    transform: none;
}

html[dir="rtl"] .owl-nav button.owl-next {
    left: 0px;
    right: auto;
}

html[dir="rtl"] .owl-nav button.owl-prev {
    right: 0px;
    left: auto;
}

html[dir="rtl"] .project p {

    height: calc(2.55vw *4);
}

html[dir="rtl"] .owl-nav button {
    background-image: linear-gradient(to left, rgba(255, 255, 255, .01), #fff) !important;
}

html[dir="rtl"] .owl-nav button:first-of-type {
    background-image: linear-gradient(to right, rgba(255, 255, 255, .01), #fff) !important;
}

@media only screen and (max-width: 1199px) {
    .myStory p {
        line-height: calc((23vw + 60px) / 8);
    }
}

@media only screen and (max-width: 991px) {
    .myStory p {
        line-height: calc((23vw + 45px) / 8);
    }

    .project p {
        height: calc(3vw *4);
        line-height: 3vw;
    }

    html[dir="rtl"] .project p {
        height: calc(3vw *4);
        line-height: 3vw;
    }
}

@media only screen and (max-width: 767px) {
    .mainBaner .banerText span {
        font-size: calc(17px + 2vw);
    }

    .myStory p {
        line-height: calc((50vw - 30px) / 8);
        max-height: calc(50vw);
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: calc(15px + .35vw);
        padding: 2.2vw 0px;
        transform: none !important;
    }

    .navbar-brand {
        /* border-inline-end: 0px; */
        /* border-inline-start: #fff 2px solid;
        padding-inline-end: 0px;
        padding-inline-start: 10px; */
    }

}

@media only screen and (max-width: 599px) {
    .events .item img {
        height: 40.5vw;
    }

    .owl-nav button {
        height: 50px;
        width: 50px;
        border-radius: 25px;
        top: 0px;
        bottom: 40px;
        margin: auto;
    }

    .booking .smallText {
        font-size: calc(8px + 1.25vw);
    }

    .booking .btn {
        border-radius: 8vw;
        font-size: calc(8px + 1.25vw);
    }

    .project p {
        height: calc(4vw *3);
        line-height: 4vw;
    }

    html[dir="rtl"] .project p {
        height: calc(4vw *3);
        line-height: 4vw;
    }

    .advice .banerText p {
        font-size: 3vw;
    }
}