@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ###########################html styling############################## */

body{
    font-family:'Montserrat', sans-serif;
    line-height: 1.7;
}
html{
    font-size: 62.5%;
}
ul li{
    list-style: none;
}
a{
    font-size: 1.6rem;
    text-decoration: none;
}
p, li{
    font-size: 1.6rem;
    margin-bottom: 0.5em;
    letter-spacing: 0.15em;
}
h1,h2,h3{
    margin-bottom: 0.5em;
    letter-spacing: 0.15em;
    font-weight: 500;
}




/* ###################################utility classes############################### */


.container{
    max-width: 12000px;
    width: 90%;
    margin: 0 auto;
}


.btn{
    display: inline-block;
    padding: 0.5em 1.5em;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0.5em 0em;
}
.btn-primary{
    background-color: white;
    border-radius: 10rem;
}

.btn-primary:hover{
    background-color: #ddd;
}

.btn-secondary{
    border: 2px solid black;
    border-radius: 1.5em;
    color: black;
    background-color: #fff;
}
.btn-secondary:hover{
    background-color: #ddd;
}

.lg-heading{
    font-size: 3.5rem;
}

.md-heading{
    font-size: 2.2rem;
}

.text-red{
    color: red;
}

.text-light{
    color: white;
}

.text-dark{
    color: black;
}

.text-gray{
    color: gray;
}

.bg-dark{
    background-image: linear-gradient( 111.4deg,  rgba(7,7,9,1) 6.5%, rgba(27,24,113,1) 93.2% );
}



/* ############################header styling############################## */




header{
    height: 95vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)) ,url("../pic/pexels-peng-liu-169647.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.nav-bar .logo{
    float:left ;
}
 .nav-bar .nav-items{
    float: right;
    margin-top: 1.0rem;
}
.nav-bar{
    padding: 1.0rem;
}
.nav-bar::after{
    content:"" ;
    display: block;
    clear: both;
}


.nav-bar a{
    padding: 0.3rem;
}

.nav-bar .nav-items .nav-item{
    display: inline-block;
    padding: 1rem;
    text-transform: uppercase;
}

.nav-bar a:hover{
    border-bottom: 1px solid white;
}


/* #####################################header content styling###################### */
.header-content h1{
     text-transform: uppercase;
     font-weight: 700;
}
.header-content{
    position: absolute;
    text-align: center;
    background: linear-gradient(rgbe(0,0,0,.2),rgba(0,0,0,.2));
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.header-content p{
    text-transform: uppercase;
}


/* ############################show case styling########################### */

.show-case{
    background-color: #ddd;
    padding: 10rem 0;
}

.row{
    height: 350px;
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px #aaa;
}

.row1{
    margin-bottom: 10rem;
}


.row1 .img-box, .row2 .text-box{
    float: left;
    width: 50%;
}
.row2 .img-box, .row1 .text-box{
    float: right;
    width: 50%;
}

.row .img-box{
   height: 100%;
}
.row .text-box{
   padding: 3rem;
}

.row .img-box img{
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ###################################### features styling ################################ */


.features{
    padding: 10rem 0rem;
}


.box{
    width: 33.3333333%;
    float: left;
    padding: 2rem;
    text-align: center;
}

.box-wrapper{
    box-shadow: 0px 0px 20px 0px #6d6969;
}


.box1,.box3{
    background-image: linear-gradient( 111.4deg,  rgba(7,7,9,1) 6.5%, rgba(27,24,113,1) 93.2% );
}

.box2{
background-image: linear-gradient( 90.1deg,  rgba(84,212,228,1) 0.2%, rgba(68,36,164,1) 99.9% );;
}

.box-wrapper::after{
    content:"";
    display: block;
    clear: both;
}


/* ############################# footer styling ########################## */

.footer{
    background-image: linear-gradient( 111.4deg,  rgba(7,7,9,1) 6.5%, rgba(27,24,113,1) 93.2% );
    color: white;
    padding: 2rem;
    text-align: center;
}

.social-media-links a{
    color: white;
    margin: 1rem;
}


.social-media-links a:hover{
    color: #6d6969;
}


/* ##################################### about nav styling ################################## */


.about{
    padding: 5rem 0rem;
}

.about-heading::after{
    content: "";
    display: block;
    border: 3px solid brown;
    width: 100%;
}

/* ############################### about box wrapper ######################################## */

.about-wraper{
    text-align: center;
    margin-top: 2rem;
}

.about-wraper::after{
    content: "";
    display: block;
    clear: both;
}


.about-wraper .left{
    float: left;
    width: 50%;
}


.about-wraper .right{
     float: right;
     width: 50%;    
}


.about-wraper li::before{
    content: "\2713";
    font-weight: bold;
    padding-right: 1rem;
}

/* #################################### about counts styling ###################################### */


.counts{
    margin-top: 3rem;
} 

.count-item{
    float: left;
    width: 25%;
    text-align: center;
}

.counts::after{
    content: "";
    display: block;
    clear: both;
}


.count-item span{
     font-size: 3rem;
     font-weight: 700;
     color: red;
}


.count-item p{
    color: red;
    font-weight: 700;
    font-size: 1.8rem;
}


/* ############################################ about banner ################################# */


.cta-banner{
    background-image: linear-gradient( 111.4deg,  rgba(7,7,9,1) 6.5%, rgba(27,24,113,1) 93.2% );
    color: white;
    padding: 1rem;
    box-shadow: 0px 0px 20px 0px #6d6969;
    margin-top: 3rem;
}

.cta-banner-right{
    float: right;
}

.cta-banner-left{
    float: left;
}


.cta-banner::after{
    content: "";
    display: block;
    clear: both;
}

.cta-btn{
    text-align: center;
    display: inline-block;
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    border: 4px solid white;
    padding: 0.3em 2em;
    letter-spacing: 0.5rem;
    color: white;
}


.cta-text{
    font-weight: 700;
    font-size: 2rem;
    margin-top: 1.5rem;
}








/* ################################ contact page styling ########################### */



.contact-form{
    padding: 5rem 0rem;
    background-color: #f7f7f7f7;
}

.form-wraper .company-address{
    background-color: #fff;
    float: left;
    width: 49%; 
    padding: 1rem;
    height: 760px;
}


.form-wraper .company-address h2{
      display: inline-block;
      text-transform: uppercase;
}

.form-wraper .address-group{
     margin-bottom: 3rem;
}

.form-wraper .company-address img{
      max-width: 90%;
      min-height: 40rem;
      object-fit: cover;
      object-position: left;
}

.form-wraper::after{
    content: "";
    display: block;
    clear: both;
}



/* ########################################### form styling ################################ */

.form-wraper .form{
    font-size: 1.6rem;
    background-color: #fff;
    float: right;
    width: 49%; 
    padding: 1rem;
    height: 760px;
}

.form h1::after{
    content: "";
    display: block;
    border: 3px solid red;
    width: 100%;
}

.form-wraper .form label{
    display: block;
}



.form-wraper .form input{
    padding: 0.5rem;
    width: 100%;
}






.form-wraper .form .form-group{
    margin-bottom: 1.2rem;
}


.form-wraper .form textarea{
    width: 100%;
    height: 300px;
    padding: 1rem;
}


.form-btn{
    display: block;
    margin: 0 auto;
    padding: 0.5em 3em ;
    font-size: 1.8rem;
    text-transform: uppercase;
    background-color: red;
    color: white;
    box-shadow: 0px 0px 20px 0px #6d6969;
    outline: none;
    border: none;
    cursor: pointer;
}


/* ######################################### media queries ######################################### */



@media (max-width: 500px){
    html{
        font-size: 50%;
    }

    .nav-bar .nav-items, .nav-bar .logo{
        float: none;
        display: block;
        width: 100%;
        text-align: center;
    }


    .header-content h1{
      margin-top: 3rem;
    }


    /* .header-content p{
        margin-bottom: 10rem;
    } */


    .row{
        height: auto;
        width: 100%;
    }


    .row .img-box,.row .text-box{
        float: none;
        width: 100%;
        text-align: center;
    }


    .features .box{
        float: none;
        width: 100%;
        text-align: center;
        box-shadow: 0px 0px 20px 0px #6d6969;
    }


    .features .box2,
    .features .box3{
        margin-top: 7rem;
    }

    .box-wrapper{
       box-shadow: none;
    }

    .cta-banner-left,
    .cta-banner-right{
        float: none;
        width: 100%;
        text-align: center;
    }


    .form-wraper .company-address{
        float: none;
        width: 100%;
        height: auto;
        margin-bottom: 5rem;
    }

    .form-wraper .form{
        float: none;
        width: 100%;
        height: auto;
    }
    
    
}



@media (min-width: 501px) and (max-width: 768px){
    html{
        font-size: 50%;
    }

    .nav-bar .nav-items, .nav-bar .logo{
        float: none;
        display: block;
        width: 100%;
        text-align: center;
    }

    p{
        font-size: 1.8rem;
    }

/* 
    .header-content h1{
        display: none;
    } */


    /* .header-content p{
        margin-bottom: 10rem;
    } */


    .row{
        height: auto;
        width: 100%;
    }


    .row .img-box,.row .text-box{
        float: none;
        width: 100%;
        text-align: center;
    }


    .features .box{
        float: none;
        width: 100%;
        text-align: center;
        box-shadow: 0px 0px 20px 0px #6d6969;
    }


    .features .box2,
    .features .box3{
        margin-top: 7rem;
    }

    .box-wrapper{
       box-shadow: none;
    }

    .cta-banner-left,
    .cta-banner-right{
        float: none;
        width: 100%;
        text-align: center;
    }


    .form-wraper .company-address{
        float: none;
        width: 100%;
        height: auto;
        margin-bottom: 5rem;
    }

    .form-wraper .form{
        float: none;
        width: 100%;
        height: auto;
    }
}


@media (min-width: 769px) and (max-width: 1200px){
    html{
        font-size: 56.25%;
    }

    .row .text-box h2{
        font-size: 2.2rem;
        font-weight: 500;
    }
}


@media(orientation: landscape) and (max-height: 500px){
    .header{
        height: 80vmax;
    }
}

