@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

:root {
  --primary-color: #047aed;
  --secondary-color: #1c3fa8;
  --dark-color: #002240;
  --light-color: #f4f4f4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
}
.logoImage{
    height: 200px;
    width: 50%;
}
.navbar ul{
    list-style-type: none;
    display: flex;
}
.navbar a{
    text-decoration: none;
    color: #333;
    padding: 10px; /*Adding more space into the nav links*/
    margin: 0 5px; /*Adding more space into the nav links*/
}
.navbar a:hover{
    border-bottom: 2px #fff solid;
}
h1,
h2{
    font-weight: 300;
    line-height: 1.2;
}
p{
    margin: 10px 0;
}
img{
    width: 100%;
}
/*navbar*/
.navbar{
    background-color: #f4f4f4;
    color: #fff;
    height: 120px;
}
/*Showcase area*/
.deskTopDelete{
    display: none;
}
.showcase{
    height: 400px;
    background-color:#f4f4f4;
    color: #333;
    position: relative; /*In case we want to position anything within it absolute*/
}

.showcase h1{
    font-size: 40px;
}

.showcase p{
    margin: 20px 0;
}


.showcase .grid{
    overflow: visible;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 30px;
}

.showcase-form{
    position: relative;
    top: 60px;
    height: 350px;
    width: 400px;
    padding: 40px;
    z-index: 100; /*This makes sure that the form is always in front*/
}
.showcase-form .form-control{
    margin: 30px 0;
}
.showcase-form input[type='text'],
.showcase-form input[type='email']{
    border: 0;
    border-bottom: 1px solid #b4becb;
    width: 100%;
    padding: 3px;
    font-size: 16px;
}
.showcase-form input:focus{
    outline: none;
}
.showcase::before, 
.showcase::after{
    content: '';
    position: absolute;
    height: 100px;
    bottom: -70px;
    right: 0;
    left: 0;
    background: #fff; /*turning that box into white to remove the blue*/
    transform: skewY(-4deg);
}



/*Utilities*/
.container{
    max-width: 1100px;
    margin: 0 auto;
   
   /*removing the white space ontop of the navbar*/
    padding: 0 40px;
}
.card{ /*This is the form*/
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0, 0.2); /*the alpha makes it transparent.*/
    padding: 20px;
    margin: 10px;
}
.btn{
    display: inline-block;
    padding: 10px 30px;
    cursor: pointer;
    background: #19543E;
    color: #fff;
    border: none;
    border-radius: 5px;
}
.btn-outline{
    background-color: transparent;
    border: 1px #19543E solid;
    text-decoration: none;
    color: #19543E;
}
.btn:hover{
    transform: scale(0.98);
}
.flex{
    display: flex;
    justify-content: space-between; /*centers everything a puts it at the centre of the web page*/
    align-items: center;    /*centers items according to the axis. if we are in horizontal state (display: flex) the items will be centred at the centre of the x-axis*/
    height: 100%;
}
.grid{
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/*About page */
.about .row{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 8rem;
}

.about .row .image{
    flex: 1 1 40rem;
    padding:2rem;
}

.about .row .image img{
    height:100%;
    width:100%;
    object-fit: cover;
}

.about .row .content{
    flex: 1 1 40rem;
    padding:2rem;
}

.about .row .content h3{
    color:#333;
    font-size: 4rem;
}

.about .row .content p{
    color:#666;
    font-size: 1.7rem;
    padding:1rem 0;
}
.moreText{
    display: none;
}
.text.show-more .moreText{
    display: inline;
}

/*about page ends here*/
/*Mission, vision, objects starts here*/

.icons{
    padding: 30px;
    margin-top: 100px;
}
.icons h3{
    font-weight: bold;
    margin-bottom: 15px;
}
.icons i{
    background-color: #0E4732;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 15px;
    color: #fff;
}
.flex-items{
    display: flex;
    text-align: center;
    justify-content: center;
}
.flex-items div{
    padding: 20px;
}


/*Services page starts here*/

.service{
    min-height: 100vh;
    text-align: center;
}

.service .box-container{
    display: flex;
    flex-wrap: wrap;
}
.box-container .box{
    width: 25%;
    align-items: center;
}


.heading{
    display: inline-block;
    color: #333;
    margin: 2rem 0;
    padding: 1rem 0;
    padding-top: 8rem;
    font-size: 3rem;
    border-bottom: 2px solid #0E4732;
}

/*copy and paste*/
.image{
    width: 320px;
    height: 320px;
}




/*Services page ends here*/

/*Contact page*/
.showcaseContact{
    height: 400px;
    background-color:#047aed;
    color: #fff;
    position: relative;
}
.btn-contact{
    background-color: #047aed;
    display: inline-block;
    padding: 10px 30px;
    cursor: pointer;
    color: #fff;
    border: none;
    border-radius: 5px;
}
.Elliot{
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
@keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
    }
  
    100% {
      transform: translateX(0);
    }
  }
  
  @keyframes slideInFromRight {
    0% {
      transform: translateX(100%);
    }
  
    100% {
      transform: translateX(0);
    }
  }
  
  @keyframes slideInFromTop {
    0% {
      transform: translateY(-100%);
    }
  
    100% {
      transform: translateX(0);
    }
  }
  
  @keyframes slideInFromBottom {
    0% {
      transform: translateY(100%);
    }
  
    100% {
      transform: translateX(0);
    }
  }
/*Media queries*/
@media (max-width: 768px) {
    .grid,
    .showcase .grid,
    .stats .grid,
    .cli .grid,
    .cloud .grid,
    .features-main .grid,
    .docs-main .grid {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr;
    }
  
    .showcase {
      height: auto;
    }
  
    .showcase-text {
      text-align: center;
      margin-top: 40px;
      animation: slideInFromTop 1s ease-in;
    }
  
    .showcase-form {
      justify-self: center;
      margin: auto;
      animation: slideInFromBottom 1s ease-in;
    }
    .service .box-container{
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 500px) {
    .navbar{
        height: 110px;
    }
    .navbar ul {
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.1);
        
      }
      .showcase-form{
          width: 300px;
      }
    .flex-items{
        display: flex;
        flex-direction: column;
    }
    .logoImage{
        height: 200px;
        width: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobileDelete{
        display: none;
    }
    .deskTopDelete{
        display: block;
        margin-top: 30px;
        background-color: rgba(0, 0, 0, 0.1);
    }
    .deskTopDelete li{
        display: inline;
        list-style: none;
        padding: 10px;
    }
    .deskTopDelete a{
        text-decoration: none;
        color: #333;
    }
    .service .box-container{
        max-width: 260px;
    }
    .box-container .box{
        width: 100%;
        align-items: center;
    }
    .box img{
        width: 260px;
    }
    .box{
        text-align: center;
    }
  }