/* start variables*/
:root{
    --transition-duration: 0.3s;
    --main-color:#19c8fa;
    --transparent-color: rgb(15 116 143 / 70%);
    --general-line-height: 2;
    --text-color: #777;
    --general-padding-top: 100px;
    --general-padding-bottom: 100px;
}
/* end variables */
/*start  global rules*/
*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding:0;
    margin:0;
}
html{
    scroll-behavior:smooth;
}
body{
    font-family: "Open Sans", sans-serif;
}
ul{
    list-style: none;
}
.container{
    padding-left: 15px;
    padding-right: 15px;
    margin-right: auto;
    margin-left: auto;
}
/*media queries*/
/* small*/
@media(min-width :768px){
    .container{
        width:750px;
    }
}
/* medium */
@media(min-width: 992px){
    .container{
        width:970px;
    }
}
/* large */
@media(min-width: 1200px){
    .container{
        width:1170px;
    }
}
/*end  global rules*/
/* start component*/
.main-heading{
    text-align:center;
}
.main-heading h2{
    font-weight:normal;
    font-size:40px;
    position:relative;
    margin-bottom:70px;    
    text-transform: uppercase;
}
.main-heading h2::before{
    content:"";
    position: absolute;
    background-color: #333;
    transform: translatex(-50%);
    -webkit-transform: translatex(-50%);
    -moz-transform: translatex(-50%);
    -ms-transform: translatex(-50%);
    -o-transform: translatex(-50%);
    left:50%;
    height:2px;
    width:140px;
    bottom:-30px;
}
.main-heading h2::after{
    content:"";
    position:absolute;
    left:50%;
    transform: translatex(-50%);
    -webkit-transform: translatex(-50%)    ;
    -moz-transform: translatex(-50%)    ;
    -ms-transform: translatex(-50%)    ;
    -o-transform: translatex(-50%)    ;
    height:14px;
    width:14px;
    border:2px solid #333;
    border-radius: 50%;
    bottom:-38px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background-color: white;
}
.main-heading p{
    line-height: var(--general-line-height);
    font-weight: 200;
    color:#777;
    width: 550px;
    margin: 0 auto 100px;
    max-width: 100%;
}
/* end component*/
/*start header section*/
header{
    position:absolute;
    left:0;
    width:100%;
    z-index:2;
}
header .container{
    display:flex;
    justify-content: space-between;
    align-items: center;
    position:relative;
    min-height: 97px;
}
header .container::after{
    content:"";
    position:absolute;
    height: 1px;
    width:calc(100% - 30px);
    background-color: #a2a2a2;
    bottom:0;
    left:15px;
}
header .container .logo img{
    height:40px;
}
header .container nav{
    flex:1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}
header nav .toggle-menu{
    color:white;
    font-size: 22px;
}
@media(min-width: 768px){
    header nav .toggle-menu{
        display:none;
    }
}
header .container nav ul{
    display: flex;
}
@media(max-width: 767px){
    header .container nav ul{
        display:none;
    }
}
header nav .toggle-menu:hover + ul{
    display: flex;
    flex-direction: column;
    width:100%;
    left:0;
    top:100%;
    position:absolute;
    background-color: rgb(0 0 0 /50%);
}
header nav .toggle-menu:hover + ul li a{
    padding:15px;
}
header .container nav ul li a{
    text-decoration: none;
    color: white;
    padding:40px 10px;
    font-size: 14px;
    transition: var(--transition-duration);
    display:block;
    -webkit-transition: var(--transition-duration);
    -moz-transition: var(--transition-duration);
    -ms-transition: var(--transition-duration);
    -o-transition: var(--transition-duration);
    position: relative;
    z-index: 2;
}
header nav ul li a.active , 
header nav ul li a:hover{
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
header nav .form{
    width: 40px;
    height: 30px;
    position: relative;
    margin-left: 30px;
    border-left: 1px solid white;
}
header nav .form i{
    color:white;
    position:absolute;
    top:50%;
    transform: translatey(-50%);
    -webkit-transform: translatey(-50%);
    -moz-transform: translatey(-50%);
    -ms-transform: translatey(-50%);
    -o-transform: translatey(-50%);
    right:0;
}
/*end header section*/
/*start landing*/
.landing{
    min-height:100vh;
    background-image: url("../images/landing.jpg");
    background-size: cover;
    background-color: #1f2021;
    position:relative
}
.landing .overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0 0 0 /60%);
}
.landing .text{
    position:absolute;
    left: 0;
    top:50%;
    transform: translatey(-50%);
    -webkit-transform: translatey(-50%);
    -moz-transform: translatey(-50%);
    -ms-transform: translatey(-50%);
    -o-transform: translatey(-50%);
    width:50%;
    padding:50px;
    color:white;
    background-color: var(--transparent-color);
    display:flex;
    justify-content: flex-end;
}
.landing .text .content{
    max-width: 500px;
}
@media(max-width: 767px){
    .landing .text{
        width:100%;
    }
    .landing .text .content{
        max-width:100%;
    }
}
.landing .text .content h2{
    line-height: var(--general-line-height);
    text-transform:uppercase;
    font-weight: normal;
    font-size: 30px;
    margin-bottom: 20px;
}
.landing .text .content p{
    font-size: 14px;
    line-height: var(--general-line-height);
}
.landing .change-background{
    position:absolute;
    top:50%;
    transition: translate(-50%);
    -webkit-transition: translate(-50%);
    -moz-transition: translate(-50%);
    -ms-transition: translate(-50%);
    -o-transition: translate(-50%);
    color:white
}
@media(max-width: 767px){
    .landing .change-background{
        display:none;
    }
}
.landing .left{
    left:30px;
}
.landing .right{
    right: 30px;
}
.landing .bullets{
    position:absolute;
    left:50%;
    transform: translatex(-50%);
    -webkit-transform: translatex(-50%);
    -moz-transform: translatex(-50%);
    -ms-transform: translatex(-50%);
    -o-transform: translatex(-50%);
    bottom: 30px;
    display:flex;
}
.landing .bullets li{
    width:20px;
    height:20px;
    border:1px solid white;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin-right: 10px;
}
.landing .bullets li.active{
    background-color: var(--main-color);
    border-color: var(--main-color);
}
/*end landing*/
/* start services section */
.services{
    padding-top: var(--general-padding-top);
    padding-bottom: var(--general-padding-bottom);

}
@media(min-width: 786px){
    .services .services-container{
        display:grid;
        grid-template-columns: repeat(auto-fill , minmax(450px, 1fr));
        grid-column-gap: 40px;
        grid-row-gap:60px;
    }
    
}
.services .serv-box{
    display:flex;
}
.services .serv-box i{
    margin-right: 50px;
}
@media(max-width: 767px){
    .services .serv-box{
        display:flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
    .services .serv-box i{
        margin:0 0 30px;
    }
}
.services .serv-box h3{
    color: var(--main-color);
    margin-bottom:30px;
}
.services .serv-box p{
    line-height:var(--general-line-height);
    color:var(--text-color);
    
}
/* end services section */
/* start design section */
.design{
    padding-top: var(--general-padding-top);
    padding-bottom: var(--general-padding-bottom);
    height:600px;
    background-image: url(../images/design-features.jpg);
    position: relative;
    background-size: cover;
    display:flex;
    align-items: center;
    overflow: hidden;
}
.design::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0 0 0 /60%);
}
.design .image,
.design .text{
    z-index:3;
    position:relative;
    flex:1;
}
.design .image{
    text-align: center;
}
.design .image img{
    position:relative;
    bottom: -150px;
}
.design .text{
    color:white;
    padding:50px;
    background-color: var(--transparent-color);
}
.design .text h2{
    text-transform: uppercase;
    line-height: var(--general-line-height);
    font-weight:normal;
    margin-top:-20px;
    margin-bottom: 20px;
}
.design .text ul li{
    padding:15px;

}
.design .text ul li::before{
    content:'\f108';
    font-family: 'Font Awesome 5 Free';
    font-weight:900;
    margin-right:15px;
}
@media(max-width: 767px){
    .design .image{
        display: none;
    }

}
/* end design section */
/* start portfolio sectoin */
.portfolio{
    padding-top: var(--general-padding-top);
    padding-bottom: var(--general-padding-bottom);
}
.portfolio .shuffle{
    display:flex;
    justify-content: center;
}
.portfolio .shuffle li{
    padding: 10px;
}
.portfolio .shuffle li.active{
    background-color: var(--main-color);
    color:white;
}
.portfolio .imgs-container{
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
}
.portfolio .imgs-container .box{
    position:relative;
    overflow:hidden;
}
.portfolio .imgs-container .box:hover .caption{
    bottom:0;
}
.portfolio .imgs-container .box:hover img{
    transform: rotate(2deg) scale(1.1);
    -webkit-transform: rotate(2deg) scale(1.1);
    -moz-transform: rotate(2deg) scale(1.1);
    -ms-transform: rotate(2deg) scale(1.1);
    -o-transform: rotate(2deg) scale(1.1);
}
@media(min-width:786px){
    .portfolio .imgs-container .box{
    flex-basis: 50%;
}
}
@media(min-width:1199px){
    .portfolio .imgs-container .box{
    flex-basis: 25%;
}
}
.portfolio .imgs-container .box img{
    max-width: 100%;
    transition: var(--transition-duration);
    -webkit-transition: var(--transition-duration);
    -moz-transition: var(--transition-duration);
    -ms-transition: var(--transition-duration);
    -o-transition: var(--transition-duration);
}
.portfolio .imgs-container .box .caption{
    position:absolute;
    left: 0;
    padding:20px;
    background-color: white;
    width: 100%;
    transition:var(--transition-duration);
    -webkit-transition:var(--transition-duration);
    -moz-transition:var(--transition-duration);
    -ms-transition:var(--transition-duration);
    -o-transition:var(--transition-duration);
    bottom: 100%;
}
.portfolio .imgs-container .box .caption h4{
    font-weight: normal;
    color:var(--text-color);
    line-height: var(--general-line-height);
}
.portfolio .imgs-container .box .caption p{
    line-height: var(--general-line-height);
    color:var(--main-color);
}
.portfolio .more{
    background-color: var(--main-color);
    color:white;
    display:flex;
    justify-content: center;
    text-decoration: none;
    width:fit-content;
    padding:15px 20px;
    margin:30px auto;
    text-transform: uppercase;
}
/* end portfolio sectoin */
/* start video section */
.video{
    position:relative;
}
.video::before{
    content:'';
    background-color: rgba(0 0 0 /40%);
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
}
.video video{
    width:100%;
}
.video .text{
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translatey(-50%);
    -webkit-transform: translatey(-50%);
    -moz-transform: translatey(-50%);
    -ms-transform: translatey(-50%);
    -o-transform: translatey(-50%);
    z-index: 3;
    background-color: var(--transparent-color);
    text-align: center;
    padding: 50px;
    color: white;
}
.video .text h2{
    line-height: var(--general-line-height);
    font-weight: normal;
    text-transform: uppercase;
}
.video .text p{
    line-height: var(--general-line-height);
    margin-bottom: 20px;
}
.video .text button{
    background-color: black;
    padding:10px 20px;
    color:white;
    border-style: none;
    text-transform: uppercase;
}
/* end video section */
/* start about */
.about{
    padding-top: var(--general-padding-top);
    overflow:hidden;
    text-align: center;
}
.about img{
    position:relative;
    bottom:-120px;
    margin-top:-120px;
    max-width: 100%;
}
@media(max-width:767px){
    .about img{
        bottom:-60px;
        margin-top:-60px;
    }
}
/* end about */
/* start stat*/
.stat{
    background-image: url("../images/stats.png");
    width:cover;
    padding-bottom: var(--general-padding-bottom);
    padding-top: var(--general-padding-top);
    position: relative;
    text-align: center;
}
.stat::before{
    content:'';
    background-color: rgba(0 0 0 /70%);
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
}
.stat .container{
    position: relative;
    display:flex;
    flex-wrap: wrap;
}
.stat .container .box{
    background-color: var(--transparent-color);
    color:white;
    padding:50px;
}
@media(max-width:767px){
    .stat .container .box{
        flex-basis: 100%;
    }
}
@media(min-width:768px){
    .stat .container .box{
        flex-basis: 50%;
    }
}
@media(min-width:992px){
    .stat .container .box{
        flex-basis: 25%;
    }
}
.stat .container .box i{
    background-color: black;
    border-radius:50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    -ms-border-radius:50px;
    -o-border-radius:50px;
    width:40px;
    height:40px;
    display:flex;
    justify-content: center;
    align-items: center;
    margin:0 auto 30px;
}
.stat .container .box .number{
    font-size: 50px;
    font-weight: bold;
    margin:0 0 20px;
}
.stat .container .box p{
    font-size: 14px;
}
/* end stat*/
/* start skills section */
.our-skills{
    padding-bottom: var(--general-padding-bottom);
    padding-top: var(--general-padding-top);   
}
.our-skills .container{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media(min-width: 992px){
    .our-skills .container > div{
        flex-basis: 45%;
    }
}

.our-skills .container > div > h3{
    margin: 0 0 30px;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
}
.our-skills .container > div > p{
    color:var(--text-color);
    line-height: var(--general-line-height);
    text-align: center;
    margin-bottom:50px;
}
.our-skills .testimonials .content{
    display: flex;
    margin-bottom:30px;
    align-items: center;
}
.our-skills .testimonials .content img{
    width:100px;
    height:100px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin-right: 50px;
}
@media(max-width: 767px){
    .our-skills .testimonials .content{
        flex-direction: column;
        text-align: center;
    }
    .our-skills .testimonials .content img{
        margin:0 auto 20px;
    }
}
.our-skills .testimonials .content .text{
    line-height: var(--general-line-height);
    border-bottom: 1px solid #ccc;
}
.our-skills .testimonials .content .text p{
    text-align: right;
    color:var(--text-color);
    font-size: 14px;
    margin-bottom: 10px;
}
.our-skills .testimonials .bullets{
    display:flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
} 
.our-skills .testimonials .bullets li{
    height:14px;
    width:14px;
    border-radius:50%;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    -ms-border-radius:50%;
    -o-border-radius:50%;
    margin-right: 10px;
    border:1px solid #aaa;
}
.our-skills .testimonials .bullets li.active{
    background-color: var(--main-color);
    border-style: none;
}
.our-skills .skills .prog-holder{
    margin-bottom: 40px;
    
}
.our-skills .skills .prog-holder h4{
    margin-bottom: 15px;
    font-weight: normal;
    text-transform: uppercase;
}
.our-skills .skills .prog-holder .prog{
    height:30px;
    background-color: #dedadc;
    
}
.our-skills .skills .prog-holder .prog span{
    display: block;
    background-color: var(--main-color);
    height:100%;
    position:relative;
}
.our-skills .skills .prog-holder .prog span::before{
    content: attr(data-progress);
    position: absolute;
    background-color: black;
    color: white;
    right: -18px;
    top: -40px;
    padding:4px 0;
    text-align: center;
    width:40px;
    border-radius:4px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
}
.our-skills .skills .prog-holder .prog span::after{
    content: '';
    position: absolute;
    border-width: 8px;
    top: -15px;
    right: -8px;
    border-color: black transparent transparent transparent;
    border-style: solid;
}
/* end skills section */
/* start quote section */
.quote{
    padding-bottom: var(--general-padding-bottom);
    padding-top: var(--general-padding-top); 
    background-image: url("../images/quote.jpg");
    background-size: cover;
    text-align: center;
    position: relative;
    color:white;
}
.quote::before{
    content:'';
    position: absolute;
    background-color: rgba(0 0 0 /75%);
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
}
.quote .container{
    position: relative;
}
.quote q{
    font-size: 30px;
    margin-bottom: 20px;
    display: block; 
}
/* end quote section */
/* start pricing section*/
.pricing{
    padding-bottom: var(--general-padding-bottom);
    padding-top: var(--general-padding-top); 
}
.pricing .plans{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 30px;
}
.pricing .plans .plan{
    background-color: #FCFCFC;
    text-align: center;
}
.pricing .plans .plan .head{
    padding:40px 20px 20px;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
.pricing .plans .plan .head h3{
    color: var(--text-color);
    margin:-10px auto 10px;
    font-size: 15px;
    font-weight:normal;
    text-transform: uppercase;
}
.pricing .plans .plan .head span{
    font-size:50px;
    font-weight: bold;
    position:relative;
}
.pricing .plans .plan .head span::before{
    content: '$';
    position: absolute;
    font-size: 25px;
    top: -20px;
    left: -40px;
    margin-right: 15px;
    font-weight: normal;
}
.pricing .plans .plan .head span::after{
    content: '/MO';
    position: absolute;
    font-size: 20px;
    right: -55px;
    bottom: -2px;
    margin-left: 15px;
    font-weight: normal;
}
.pricing .plans .plan ul{
    border-bottom: 1px solid var(--main-color);
}
.pricing .plans .plan ul li{
    padding:20px;
    position:relative;
}

.pricing .plans .plan ul li:not(:last-child)::after{
    content:"";
    position:absolute;
    width: 140px;
    height: 1px;
    background-color: var(--main-color);
    left:50%;
    transform: translatex(-50%);
    -webkit-transform: translatex(-50%);
    -moz-transform: translatex(-50%);
    -ms-transform: translatex(-50%);
    -o-transform: translatex(-50%);
    bottom: 0;
}
.pricing .plans .plan .foot a{
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    border: 1px solid var(--main-color);
    width:fit-content;
    margin: 30px auto;
}
.pricing .container .contact-text{
    padding-top: 50px;
    text-align: center;
    color: var(--text-color);
}
.pricing .container .contact-link{
    padding: 0 20px;
    text-decoration: none;
    text-align: center;
    display: block;
    border: 10px solid var(--main-color);
    color: white;
    background-color: var(--main-color);
    width: fit-content;
    margin: 20px auto;
}
/* end pricing section*/
/* start subscribing section */
.subscribe{
    padding-top: var(--general-padding-top);
    padding-bottom:var(--general-padding-bottom);
    background-image:url("../images/subscribe.jpg");
    background-size: cover;
    position:relative;
    color:white;
}
.subscribe::before{
    content:"";
    background-color: rgba(0 0 0 /50%);
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}
.subscribe .container{
    position:relative;
    display:flex;
    align-items: center;
}
@media(max-width:991px){
    .subscribe .container{
        flex-direction: column;
    }
}
.subscribe .container form{
    display:flex;
    position:relative;
    width:500px;
    max-width: 100%;
}
.subscribe .container form ::placeholder{
    color:white;
}
.subscribe .container form i{
    position:absolute;
    top:50%;
    transform: translatey(-50%);
    -webkit-transform: translatey(-50%);
    -moz-transform: translatey(-50%);
    -ms-transform: translatey(-50%);
    -o-transform: translatey(-50%);
    left:7%;
}
.subscribe .container form input[type="email"]{
    border: 1px solid white;
    border-right:none;
    background-color: transparent;
    padding:20px 20px 20px 60px;
    caret-color: var(--main-color);
    width:calc(100% - 130px);
}
.subscribe .container form input[type="email"]:focus,
.subscribe .container form input[type="submit"]:focus{
    outline:none;
}
.subscribe .container form input[type="submit"]{
    width:130px;
    background-color: var(--main-color);
    color:white;
    padding:10px 20px;
    border:1px solid white;
    border-left:none;
    text-transform: uppercase;

}
.subscribe p{
    line-height: var(--general-line-height);
    margin-left:50px;
}
@media(max-width:991px){
    .subscribe p{
        margin:30px 0 0 ;
    }
}
/* end subscribing section */
/* start contact section */
.contact{
    padding-top: var(--general-padding-top);
    padding-bottom: var(--general-padding-bottom);
}
.contact .content{
    display: flex;
    justify-content: space-between;
}
@media(max-width:767px){
    .contact .content{
        flex-direction:column;
    }
}
.contact .content form{
    flex-basis:70%;
}
.contact .content form .main-input{
    padding:20px;
    display:block;
    border:1px solid #ccc;
    margin-bottom: 30px;
    width:100%;
}
.contact .content form .main-input:focus{
    outline:none;
}
.contact .content form textarea.main-input{
    height:200px;
}
.contact .content form input[type="submit"]{
    background-color: var(--main-color);
    color:white;
    border:none;
    right:0;
    padding:20px;
    margin-left:auto;
    display:flex;
    text-transform: uppercase;
    cursor: pointer;
}
.contact .content .info{
    flex-basis:25%;
}
@media(max-width:767px){
    .contact .content .info{
        order:-1;
        text-align:center;
    }
}
.contact .content .info h4{
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight:500;
    font-size: 18px;
}
.contact .content .info .phone{
    display:block;
    color:var(--text-color);
    margin-bottom: 10px;;
}
.contact .content .info h4:nth-of-type(2){
    margin-top: 90px;
}
@media(max-width:767px){
    .contact .content .info h4:nth-of-type(2){
        margin-top:30px;
    }
}
.contact .content .info address{
    color:var(--text-color);
    line-height:var(--general-line-height);
}
@media(max-width:767px){
    .contact .content .info address{
        margin-bottom:30px;
    }
}
/* end contact section */
/*start footer section*/
.footer{
    padding-top:calc(var(--general-padding-top)/2);
    padding-bottom: calc(var(--general-padding-bottom)/2);
    background-image: url("../images/subscribe.jpg");
    background-size: cover;
    position:relative;
    color:white;
    text-align:center;
}
.footer::before{
    content:'';
    position:absolute;
    background-color: rgba(0 0 0 /70%);
    top:0;
    left:0;
    height:100%;
    width: 100%;
}
.footer .container img{
    margin-bottom: 20px;
}
.footer .container{
    position: relative;
}
.footer p:not(.copyright){
    margin: 100px auto 20px;
    text-transform: uppercase;
    font-size: 25px;
    border-bottom: 1px solid white;
    width:fit-content;
}
.footer .icons i{
    font-size: 25px;
    padding-right: 20px;
    margin: 20px auto 100px;
}
.footer .copyright{
    font-size:20px;
}
.footer .copyright span{
    color:var(--main-color);
    font-weight: bold;
}
/*end footer section*/