/*Table Content
==========================
    # General
        - Fonts
    # Links
    # Headings
    # Lists
    # Images
*/


/* General
======================= */
/* Fonts */
@font-face {
    font-family: 'OpenSans-Bold';
    src: url(../vendor/fonts/OpenSans-Bold.ttf);
}

body{
    font-size: 15px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}
.wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.main {

}
/* Links
==========================*/
a{
    
}
a, a:hover, a:focus{
    text-decoration: none;
}
/* Headings 
========================== */
h1, h2, h3, h4, h5, h6 {
    display: block;
    margin: 0;
}
p{
    margin: 0;
}
/*Lists
==========================*/
ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Images
=========================== */
img{
    display: block;
    max-width: 100%;
    height: auto;
}
/* Section Setting
============================ */ 
.section-lg{
    padding: 50px 0;
}
/* Start Nav
=========================== */
nav{
    padding: 20px 40px !important;
    background-color: #373377;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
nav .navbar-nav{
    display: block;
    margin: auto;
    text-align: center;
}
nav ul li{
    position: relative;
    display: inline-block;
    margin: 0 50px;
}
nav ul li:after{
    position: absolute;
    width: 100%;
    height: 0px;
    bottom: -8px;
    background-color: #42c8ff;
    content: '';
    left: 0;
    transition: all 0.3s ease-in-out;
}
nav ul li.active:after,
nav ul li:hover:after{
    height: 3px;
}
nav ul li a{
    color: #fff;
    font-size: 18px;
   transition: all 0.3s ease-in-out;
}
nav ul li.active a,
nav ul li a:hover{
     color: #42c8ff;
}
.navbar-toggler i:before{
    color: #fff;
    font-size: 30px;
}

/* Start upclicks
=========================== */
.upclicks{
    margin-top: 67px;
    background-image: url(../images/top-bk.png), url(../images/city.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom , top;
    padding: 120px 0;
}
.upclicks .logo img{
    margin: auto;
    display: block;
}
.upclicks .up{
    color: #fff;
    font-size: 30px;
}
@media(max-width:992px){
    .upclicks{
        padding: 30px 0;
    }
}
/* Start Home
=========================== */
.home{
    padding: 100px 0;
    font-size: 22px;
    line-height: 2em;
    font-weight: 500;
/*    background-image: url(../images/dots.jpg);*/
    background-repeat: no-repeat;
    background-size: cover;
}
@media(max-width:992px){
    .home{
        padding: 50px 0;
    }
}
/* Start services
===================================== */
.services{
    padding: 100px 0;
    background-image: url(../images/dots.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.services h1{
    color: #4b478b;
}
.services .serv{
    text-align: center;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px 15px;
    box-shadow: 0 0 10px #aaa;
    height: 410px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    margin-bottom: 20px;
}
.services p{margin: 50px 0;}
.services .serv:hover{
    background-color: #4b478b;
    color: #fff !important;
}
.services .serv img{
    width: 60px;
    height: 60px;
    display: block;
    margin: auto;
    transition: all 0.4s ease-in-out;
}
.services .serv:hover img{
    filter: brightness(0.5) invert(1);
    transform: rotate(360deg);
}
.services .serv h4{
    margin: 30px 0;
    color: #4b478b;
    transition: all 0.4s ease-in-out;
}
.services .serv:hover h4,.services .serv:hover p{color: #fff !important;}
@media(max-width:678px){
    .services .serv{
        width: 80%;
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }
}
/* Start works
===================================== */
.back-ground{
    background-image: url(../images/works-bk.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.works{
    padding: 50px 0;
}
.works h1{
    color: #4b478b;
    margin-bottom: 30px;
}
.works p{
    margin: 50px 0;
}
.works .project{
    transition: all 0.4s ease-in-out;
    margin-bottom: 30px;
    height: 500px;
}
.works .project .link{
    position: relative;
    height: 400px;
    overflow: hidden;
    transition: all 2s ease-in-out;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position-y: 0;
}
.works .project .link:hover{
    background-position-y: 100%;
}
.works .project .link img{
    height: 100%;
}
.works .project .link .overlay{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
}
.works .project .link:hover .overlay{
    top: 0;
}
.works .project .link .overlay i{
    width: 60px;
    height: 60px;
    margin: auto;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    position: absolute;
    top: 40%;
    left: calc(50% - 40px);
    color: #4b478b;
    font-size: 23px;
}
.works .project:hover{
    box-shadow: 0 0 10px #aaa;
}
.works .project h4{
    margin: 15px 0;
    color: #4b478b;
}
.works .project .text{
    padding: 0 20px;
    padding-bottom: 20px;
}
.works .app{
/*    background-color: #dfdfdf;*/
    border-radius: 7px;
    box-shadow: 0 0 10px #373377;
    margin-bottom: 30px;
}
.mob-works img{
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
.works .app .app-info{
    padding: 20px;
}
.works .app .app-info span{
    margin: 10px 0;
    display: block;
}
.works .app .app-info a img{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    border: 1px solid #aaa;
}
.reverse{
    direction: rtl !important;
}
.reverse img{
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
/* Start contact
===================================== */
.contact{
    padding: 70px 0;
    background-image: url(../images/demo-2.png);
}
.contact h1{
    color: #4b478b;
}
.contact p{margin: 50px 0;}
.contact .info{
    background-color: #373377;
    padding: 40px;
    color: #fff;
    position: absolute;
    left: -60px;
    width: 100%;
}
.contact .info h2{
    margin-bottom: 25px;
}
.contact .info i{
    font-size: 30px;
    display: inline-block;
}
.contact .info p{
    display: inline-block;
    margin: 20px;
}
.contact .info a{margin: 10px;}
.contact .info a img{
    width: 35px;
    height: 35px;
    display: inline-block;
    border-radius: 50%;
}
.contact .message h2{
    color: #4b478b;
}
.contact .message form{
    width: 70%;
    display: block;
    margin: auto;
}
.contact .message input{
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 10px 15px; 
    border-radius: 7px;
    border: 1px solid #eee;
}
.contact .message textarea{
    padding: 10px 15px;
    width: 100%;
    border-radius: 7px;
    border: 1px solid #eee;
    height: 100px;
}
.contact .message button{
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 10px;
    background-color: #373377;
    color: #fff;
    border: none;
    cursor: pointer;
}
.cmargin-left{
     margin-left: 100px;
}
@media(max-width:992px){
    .contact .info{
        position: unset;
        margin-bottom: 30px;
    }
    .cmargin-left{
        margin-left: 0px;
    }
}
/* Start Footer
============================================== */
footer{
    background-image: url(../images/bottom-bk.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 150px 0 20px 0;
    color: #fff;
}
footer img{
    margin: 20px auto;
    display: block;
    width: 150px;
    height: 150px;
}
footer p span{
    color: #42c8ff;
    font-weight: bold;
    margin: 0 5px;
}