:root{
    --palet : #FDCB9E#00B7C2#0F4C75#1B262C;
    --c1 : 27, 38, 44;
    --c2 : 15, 76, 117;
    --c3 : 0, 183, 194;
    --c4 : 253, 203, 158;
}
a:hover{
    text-decoration: none;
}


#navbar{
    position: fixed;
    padding: 20px 40px;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    transition-duration: 0.5s;
}

#logo img{
    width: 75px;
    height: 65px;
}

#toggler{
    position: absolute;
    left: 40px;
    top: 30px;
    color: white;
    cursor: pointer;
    font-size: 30px;
}
#nav{
    position: fixed;
    background-color: rgba(0,0,0,0.8);
    width: 240px;
    right: -240px;
    top: 0;
    bottom: 0;
    line-height: 2.5em;
    padding-top: 30px;
    transition-duration: 0.4s;
}
#nav a{
    color: white;
    padding: 0 20px;
    font-weight: 500;
}
#nav a:hover{
    color: rgb(var(--c3));
}

#top-carousel .carousel-item{
    height: 100vh;
    min-height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#top-carousel .carousel-overlay{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    padding-top: 120px;
}
#top-carousel li{
    width: 25px;
    height: 25px;
    border-radius: 50%;
}
#top-carousel .carousel-content{
    color: white;
    max-width: 900px;
    margin: 10% auto;
    padding: 0 70px;
}
#top-carousel .carousel-title{
    margin-bottom: 50px;
    font-size: 26px;
    line-height: 1.5em;
}
#top-carousel .carousel-text{
    margin-bottom: 50px;
    font-weight: 300;
}
#about{
    background: url("../images/about/world.jpg") center / cover no-repeat fixed;
    padding: 60px 0;
    position: relative;
}

.section-header h3{
    font-size: 32px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
}
.section-header p {
    text-align: center;
    padding-bottom: 30px;
    max-width: 800px;
    margin: 30px auto;
}

#about::before{
    position: absolute;
    content: '';
    background-color: rgba(255 , 255, 255 , 0.9);
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

#about .container{
    position: relative;
}
#about .card{
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
#about .card-img-top{
    height: 300px;
}
#about .card-body{
    height: 250px;
}
#about .card-title{
    font-size: 20px;
}
#about .card-text{
    color: #444;
    font-size: 14px;
    text-align: justify;
    word-wrap: break-word;
}

#services{
    padding: 60px 0;
}
#services .col-12{
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}
#services img{
    width: 150px;
    height: 150px;
}
#services h4{
    margin-right: 150px;
    margin-bottom: 15px;
    font-weight: bold;
}
#services .description{
    /*margin: 0 55px 40px 20px;*/
    margin-right: 150px;
    margin-bottom: 40px;
    color: #555;
    font-size: 14px;
    text-align: justify;
}


#stats{
    background: url("../images/other/stats.jpg") center / cover no-repeat fixed;
    padding: 60px 0 10px 0;
    color: white;
    position: relative;
}
#stats:before{
    content: '';
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#stats .container{
    position: relative;
}

#stats span{
    font-size: 56px;
    font-weight: 600;
    color:rgb(var(--c3));
    font-family: yekanf;
}
#stats h5{
    font-size: 20px;
    font-family: yekan;
    margin-top: 20px;
    margin-bottom: 60px;
}


#projects{
    padding: 60px 30px;
    background-color: #f4f4f4;
}
#projects .card{
    margin-top: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
#projects .card:hover > .card-body .card-title{
    color: rgb(var(--c3))!important;
}

#projects .card-img-top{
    max-width: 300px;
    height: 300px;
    overflow: hidden;
}

#projects img{
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition-duration: 0.4s;

}

#projects img:hover{
    transform: scale(1.1,1.1);
    cursor: pointer;
    opacity: 0.8;
}
#projects .card-body{
    height: 170px;
    position: relative;
}
#projects .card-date{
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
}
#projects .card small{
    color:#a9a9a9
}
#projects .card-title{
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}
#projects .card-text{
    font-size: 14px;
}

#projects .owl-dot {
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    outline: 0;
    background-color: #ddd;
}

#projects .owl-dots{
    text-align: center;
}

#projects .owl-dot.active {
    background-color: rgb(var(--c3));
}



#team{
    padding: 60px 0;
}

#team .card{
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
}

#team .card .card-img-top{
    height: 300px;
    max-width: 300px;
    object-fit: cover;
    object-position: center;
}
#team .card-img-overlay{
    background-color: rgba(0 , 0 , 0 , 0.3);
    text-align: center;
    color: white;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: end;*/
}
#team a{
    color: white;
}



#clients{
    padding: 60px 0;
    background-color: white;
}

#clients img{
    opacity: 0.5;
    padding: 15px;
    transition-duration: 0.4s;
    height: 170px;
}

#clients img:hover{
    opacity: 1;
}

#clients .owl-dot {
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    outline: 0;
    background-color: #ddd;
}

#clients .owl-dots{
    text-align: center;
}

#clients .owl-dot.active {
    background-color: rgb(var(--c3));
}



#blog{
    padding: 60px 30px;
    background-color: #f4f4f4;
}
#blog .card{
    margin-top: 20px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
#blog .card:hover > .card-body .card-title{
    color: rgb(var(--c3))!important;
}
#blog .card-img-top{
    max-width: 350px;
    height: 350px;
    overflow: hidden;
}
#blog img{
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition-duration: 0.4s;

}
#blog img:hover{
    transform: scale(1.1,1.1);
    cursor: pointer;
    opacity: 0.8;
}
#blog .card-body{
    height: 200px;
    position: relative;
}
#blog .card-date{
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
}
#blog .card small{
    color:#a9a9a9
}
#blog .card-title{
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}
#blog .card-text{
    font-size: 14px;
}
#blog .owl-dot {
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    outline: 0;
    background-color: #ddd;
}
#blog .owl-dots{
    text-align: center;
}
#blog .owl-dot.active {
    background-color: rgb(var(--c3));
}



#footer{
    background-color: #222;
    padding-top: 60px;
    font-weight: 300;
    font-size: 14px;
}

#footer h5{
    font-weight: 400;
    padding-bottom: 15px;
    border-bottom: 2px #555 solid;
    margin-bottom: 20px;
}

#footer .col-lg-3{
    margin-bottom: 40px;
}

#footer li{
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

#footer li:first-child{
    padding-top: 0;
}

#footer li a{
    color: #ddd;
    transition-duration: 0.3s;
}

#footer li a:hover{
    color: rgb(var(--c3));
}

#footer li i{
    color: #ddd;
    padding-left: 8px;
}

#footer .links{
    margin-top: 60px;
}

#footer .links a{
    font-size: 18px;
    display: inline-block;
    width: 34px;
    height: 34px;
    background-color: #444;
    color: #eee;
    line-height: 2.1em;
    margin-left: 4px;
    border-radius: 50%;
    text-align: center;
    transition-duration: 0.3s;
}

#footer .links a:hover {
    background-color: rgb(var(--c3));
    color: #fff;
}

#footer input {
    float: right;
    border: 0;
    padding: 4px;
    width: 70%;
}



#go-to-top{
    position: fixed;
    bottom: 15px;
    left:15px;
    display: inline-block;
    width: 46px;
    height: 46px;
    background-color: rgba(0 , 0 , 0 , 0.3);
    color:white;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 2.8em;
    transition-duration: 0.5s;
    z-index: 100;
}

#go-to-top:hover{
    background-color: rgba(var(--c3) , 0.8);
}


@media (min-width: 768px) {
    #top-carousel .carousel-title{
        font-size: 36px;
    }
}

@media (min-width: 992px) {
    #toggler{ display: none;}
    #nav{
        position: static;
        width: auto;
        background-color: transparent;
        padding-top: 15px;
    }
    #nav li{
        float: right;
    }
    #navbar{
        display: flex;
    }
    #logo{
        order: 1;
        margin-right: auto;
    }
}