:root{
    --white-text-color:#fff;
    --highlight-color:#f44336;
    --dark-text-color:#1f1e1e;
    --light-dark-text-color:#3d3d3d;
    --light-box-shadow-color:rgba(0,0,0,0.2);
    --light-box-background-color:#fff3f3;
    --light-box-background-color-2:#e5d7f7b2;
    --light-black-background-color:#bdbcbc85;
    --light-services-background:#dfe8f891;
}
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

 /* header style */
.header{
    min-height: 100vh;
    width:100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(/images/hero.jpg);
    background-position:center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav .hero-text{
    font-size: 38px;
    font-weight: 700;
    text-decoration: none;
    color:var(--white-text-color);
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding:8px 12px ;
    position: relative;
}
.nav-links ul li a{
    color: var(--white-text-color);
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background:var(--highlight-color);
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: var(--white-text-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
    color: var(--white-text-color);

}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color:  var(--white-text-color);
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: var(--white-text-color);
    border: 1px solid var(--white-text-color);
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
}
.hero-btn:hover{
    border: 1px solid var(--highlight-color);
    background: var(--highlight-color);
}
nav .s-icon{
display: none;
}
/*services*/
.services{
    width: 80%;
    margin: auto;
    padding-top: 40px;
    text-align: center;

}
h1{
    color:var(--dark-text-color);
    font-size: 36px;
    font-weight: 600;
}
p{
    font-size: 20px;
    font-weight: 400;
    color: var(--light-dark-text-color);
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.row .services-col{
    flex-basis: 31%;
    background: var(--light-box-background-color);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.row .services-col:hover{
    box-shadow: 0 0 20px 0px var(--light-box-shadow-color) ;
}
.row .services-col h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.services-img{
    width: 80px;
    height: 80px;
}
.btn-more{
    width: 80%;
    text-decoration: none;
    height: 25px;
    padding: 10px;
    border: 1px solid var(--dark-text-color);
    color: var(--dark-text-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 1s;
    display: inline-block;
    margin-bottom: 10px;
}
.btn-more:hover{
    border: 1px solid var(--highlight-color);
    background: var(--highlight-color);
}
.blog-section{
    text-align: center;
    width:80%;
    margin: auto;
}
.blog-col{
    flex-basis: 28%;
    border-radius: 10PX;
    margin-bottom: 5%;
    margin-top: 20px;
    text-align: center;
    padding: 10px; 
    transition: 0.5s;
    border: 1px solid var(--light-box-background-color-2);
    background: var(--light-box-background-color-2);
}
.blog-col img{
    width: 90%;
    border-radius: 10px;
}
.blog-col p{
    padding: 0;
    padding-bottom: 25px;
    text-align: left;
}
.blog-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}
.blog-col:hover{
    box-shadow: 0 0 20px 0px var(--light-box-shadow-color) ;
}
.footer{
    text-align: center;
    width: 100%;
    margin:20px auto auto 0;
    background:var(--light-black-background-color) ;
}
.footer p{
    padding: 10px;
    font-size: 12px;
    display: inline-block;
}
.li-home{
    padding-left: 10px;
    text-align: left;
    margin-left: 20px;
}

/*Services page*/
.services-header{
    width: 100%;
    height: 50vh;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(/images/hero.jpg);
    background-position:center;
    background-size: cover;
    position: relative;
}
.services-header h1{
    text-align: center;
    color: var(--white-text-color);
}
.services-hero-text{
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.services-hero-text p {
    color: var(--white-text-color);
}
.services-items{
    margin: 5% auto 10px auto;
    width: 90%;
    display: flex;
    border-radius: 10px;
    text-align: center;
    padding: 30px;
    list-style-type: none;
    justify-content: space-between;
    background: var(--light-services-background);
    transition: 0.5s;
}
.services-ul{
    padding-left: 40px;
    text-align: left;
    list-style-type:square;
}
.services-items:hover{
    box-shadow: 0 0 20px 0px var(--light-box-shadow-color);
}

.services-items-col{
    flex: 50%;
}

.services-items-col img{
    width: 600px;
    height: 300px;
    margin-right:10 px;
    border-radius: 10px;
    transition: 0.5s;
    padding: 40;
}
.services-items-col img:hover{
    box-shadow: 0 0 20px 0px var(--light-box-shadow-color) ;
}
.left{
    margin-left: 20px;
}
.left h3{
    margin-top: 20px;
    margin-left: 15px;
    text-align: left;
}
.left p{
    font-size: 16px;
    line-height: 25px;
    margin-left: 10px;
    text-align: left;
}
.apply-btn{
    width: 60%;
    border: 1px solid #029709d8;
    border-radius: 10px;
    padding: 10px;
    height: 30px;
    text-decoration: none;
    margin: 10px;
    display: inline-block;
    transition: 0.5s;
    color: var(--dark-text-color);
}
.apply-btn:hover{
    background: #029709d8;
    color: var(--white-text-color);

}
.map-row{
    width: 90%;
    background-color: var(--light-black-background-color);
    text-align: center;
    padding: 10px;
    margin: auto;
    border-radius: 10px;
    display: flex;
    margin-top: 30px;
    justify-content: space-between;
    transition: 0.5s;
}
.map-row:hover{
    box-shadow: 0 0 20px 0px var(--light-box-shadow-color) ;
}
.map-col{
    flex-basis: 50%;
    text-align: left;
    padding-left: 40px;
}
.map-col span{
    margin-left: 15px;
    margin-top: 20px;
    font-size: 45px;
    color: #0493e6cc;
}
.map-col p{
    text-align: left;    
}
.mymap{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.mymap iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.pricing-table{
    width: 80%;
    margin: auto;
}
.mytable{
    width: 100%;
    margin-top: 20px;
    
    
}

tr{
    height: 50px;
}
td{
    padding: 10px;
}
.pricing-table p{
    text-align: center;
    border-radius: 10px;
}
.pricing-table:hover{
    box-shadow: 0 0 20px 0px var(--light-box-shadow-color) ;
}
thead tr{
    background: #0cf50493;
}
tbody tr:nth-child(odd) {
    background-color: #D6EEEE;
  }
  tbody tr:nth-child(even) {
    color: var(--light-dark-text-color);
  }
/*css for small devices*/
@media (max-width:960px){

    /*header*/
    .nav-links ul li:hover::after{
        background:var(--white-text-color);
        width: 100%;
    }
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    nav .hero-text{
        font-size: 24px !important;
    }
    .nav-links{
        position: absolute;
        background-color: var(--highlight-color);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2 ;
        transition: 1s;
    }
    nav .s-icon{
        display: block;
        color: var(--white-text-color);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .pricing-table{
    width: 100%;}

    /*services*/
    .row{
        flex-direction: column;
    }
    .left{
        border: none;
        margin-left: 0px;
    }
    .services-items{
        flex-direction: column;
    }
    .services-items-col img{
        width: 100%;
        height: auto;
    }
    .map-row{
        flex-direction: column;
    }

}