*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/baby.png);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 1% 4%;
    justify-content: space-between;
    align-items: center;
}
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: #fff;
    text-decoration: none;
    font-size: 15px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #3649f4;
    display: block;
    margin: auto;
    transition: 0.5%;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 20%;
    left: 5%;
    transform: translate(-0,-0) ;
    text-align: left;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#fff;
    border: 1px solid #fff;
    padding: 8px 20px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #3649f4;
    background: #3649f4;
    transition: 1s;
}

nav .fas{
    display: none;
}



@media(max-width: 768px){
    .text-box h1{
        font-size: 30px;
    }
    .text-box p{
        font-size: 12px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #3649f4;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fas{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}

  
/*--------------- course ------------------*/

.course{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    color: #000;
}
h1{
    font-size: 36px;
    font-weight: 600;
}

.course p{
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    flex-direction: center;
}

.row2{
    margin-top: 0%;
    display: flex;
    justify-content: space-between;
}

.course-col{
    flex-basis: 31%;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20p 12px;
    box-sizing: border-box;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 30px 0;
}


.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width: 768px){
    .course h1{
        font-size: 28px;
    }
    .course p{
        font-size: 12px;
    }
    .row{
        flex-direction: column;
    }
    .row2{
        flex-direction: column;
    }
}


/*--------------------would you like to--------------------*/

.cta{
   margin: 0px auto;
   width: 100%;
   background-color: #4169E1;
   background-position: center;
   background-size: cover;
   position: relative;
   text-align: center;
   font-size: medium;
   padding: 20px 0;
   padding-top: 50px;
}

.cta h2{
    color: #fff;
    font-style: normal;
    margin-bottom: 20px;
    padding: 0;
}

.cta p{
    color: #fff;
    margin-bottom: 20px;
    padding: 0;
}

@media(max-width: 768px){
    .cta h2{
        font-size: 18px;
    }
    .cta p{
        font-size: 12px;
    }
}


/*------------------------------footer----------------------*/

.footer{
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100x;
    background: #000;
}
.container{
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
.container .sec h2{
    position: relative;
    color: #fff;
    font-weight: 300;
    margin-bottom: 15px;
    margin-top: 10px;
}

.container .sec h2::before{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ffeb3b;
}
.container .sec p{
    color: #fff;
}
.sci{
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 50px);
    grid-gap: 10px;
}
.sci li{
    list-style: none;
}
.sci li a{
    display: inline-block;
    width: 48px;
    height: 48px;
    background: #000;
    display: grid;
    align-content: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;  
}
.sci li a:hover{
    background: #555;
}
.sci li a .fas{
    color: #fff;
    font-size: 20px;
}
.quicklinks{
    position: relative;
}
.quicklinks li{
    list-style: none;
}
.quicklinks li a{
    color: #f7f7f7;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}
.quicklinks li a:hover{
    color: #ffeb3b;
}
.info{
    position: relative;
}
.info li{
    display: grid;
    grid-template-columns: 30px 1fr;
    margin-bottom: 16px;
}
.info li span:nth-child(1){
    color: #fff;
    font-size: 20px;
}
.info li span{
    color: #fff;
}
.info a{
    color: #f7f7f7;
    text-decoration: none;
}
.info li a:hover{
    color: #ffeb3b;
}

@media (max-width: 768px){
    .footer{
      padding: 40px;
    }
  .container{
      grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 768px){
    .container{
        grid-template-columns: repeat(1,1fr);
    }    
    }  


/*------------------------------footer2-------------------------------*/
.footer2{
    width: 100%;
    text-align: center;
    padding: 0px 0;
    color: #fff;
    background-color: #000;
}
.footer2 p{
    margin: 0px 0 0px;
    font-size: 14px;
    color: #fff;
}
@media(max-width: 768px){
    .footer2 p{
        font-size: 10px;
    }
}

/*----------------------------------------- about us page ------------------------*/

.sub-header{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/about.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.text-box2{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 20%;
    left: 5%;
    transform: translate(-0,-0) ;
    text-align: center;
}
.text-box2 h1{
    font-size: 50px;
}
.text-box2 p{
    margin: 10px 0 40px;
    font-size: 16px;
    color: #fff;
}
@media(max-width: 768px){
    .text-box2 h1{
        font-size: 24px;
    }
    .text-box2 p{
         font-size: 15px;
    }
}





/*----------------------------------- about us page ----------------------------------*/

.about-us{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: rgb(15, 1, 1);
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.about-col{
    flex-basis: 31%;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20p 12px;
    box-sizing: border-box;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 30px 0;
}
.about-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

.blue-btn{
    border: 1px solid #3649f4;
    background: transparent;
    color: #3649f4;
}

.blue-btn:hover{
    color: #fff;
}

@media(max-width: 768px){
    .about-us h1{
        font-size: 24px;
    }
    .about-us p{
         font-size: 15px;
    }
}


/*-------------------------our services---------------------*/

.services{
   margin: 70px auto;
   width: 100%;
   height: 80vh;
   background-color: #fff;
   background-position: center;
   background-size: cover;
   position: relative;
   text-align: center;
   padding: 20px;
   padding-top: 20px 0;
   color: #000;
}
h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 2%;
    display: flex;
    justify-content: space-between;
}

.services-col{
    flex-basis: 31%;
    background: transparent;
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20p 10px;
    box-sizing: border-box;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 30px 0;
}
.services-col:hover{
    box-shadow: 0 0 20px 0px #777;
}
@media(max-width: 768px){
    .services h1{
        font-size: 24px;
    }
    .services p{
         font-size: 15px;
    }
}
 /*------------------------Blog Page ---------------------------*/
 .sub-header4{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/blog.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
/*---------------------------products page--------------------------*/

.sub-header2{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/products.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}




/*--------------------------- contact us page---------------------------------*/

.sub-header3{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/contact.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
    font-size: 18px;
}

.contact-col{
     flex-basis: 48%;
     margin-bottom: 30px;
}
.contact-col h1{
    font-family: sans-serif;
}
.contact-col p{
    font-family: sans-serif;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fas{
    font-size: 28px;
    color: #3649f4;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15x;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;

}

/*---------sub menu---------*/
ul .sub-menu{
    position: absolute;
    right: 0;
    text-align: left;
    background: #0e1a83;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

ul .sub-menu li{
   width: max-content;
}
ul li:hover .sub-menu{
    max-height: 300px;
}

@media(max-width: 768px){
    .nav-links ul.sub-menu{
        padding: 0;
        right: -30px;
    }
}

/*-------------------------------- Human Milk Bank Products-----------------------------------*/
.drop-header{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/hmbe.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

/*----------------------------------Medical & Lab Equipments-------------------------------*/
.drop-header2{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/mle.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
/*-----------------------------Braest Pump Products--------------------------------------*/
.drop-header3{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/bpe.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
/*------------------------------------Other Essential Equipments----------------------------*/
.drop-header4{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/ome.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}



/*------------------Products----------------------------*/
.products{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 8px;
}
.products-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: center;
}
.products-col img{
    width: 100%;
    border-radius: 10px;
}
.products-col p{
    padding: 0;
}
.products-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: center;
}
