body {
    margin: 0;    
}

* {
    box-sizing: border-box;
}



.topnav ul {
    list-style-type: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #ffffff;
}

.topnav ul li {
    float: left;
    margin:  30px 10px 30px 50px;
}

.topnav ul li a {
    text-decoration: none;
    text-align: center;
    color: #000000;
    font-size: 25px;
    font-weight: bolder;

}

.topnav ul li a:hover {
    color: #04AA6D;
}

.topnavul li a:active {
    color: #04AA6D;
}

/*style the search bar*/
.search {
    margin: 30px 10px 30px 50px;
    float: left;
}

/*style the search bar*/
.topnav [type="search"] {
    outline: none;
    padding: 10px 5px;
    font-weight: bold;
    color: #000000;
    background: transparent;
    border: 2px solid #04AA6D;
    border-right: none;
    border-radius: 20px;
}

.flex-container {
    display: flex;
}

.flex-item-left {
    flex: 70%;
    background-color: #030d24;
    height: 500px;
    padding: 30px 50px 30px 20px;
}

.flex-item-right {
    flex: 30%;
    padding: 20px;
    height: 500px;
    background-color: #ddd;
}

.flex-item-left h1 {
    font-size: 5vw;
    color: #ffffff;
    border-bottom: 2px solid#ddd;
    text-align: center;
}

input[type="email"] {
    padding: 10px 10px;
    background-color: #ffffff;
    outline: none;
    border: 2px solid #04AA6D;
    color: #000000
;
    border-right: 2px solid #04AA6D;
}

button {
    border: 2px solid #04AA6D;
    padding: 10px 10px;
    background-color: #04AA6D;
    font-family: verdana;
    font-weight: bold;
    margin-left: -10px;
}

.topnav button {
    border: 2px solid #04AA6D;
    padding: 10px 20px 10px 20px;
    background-color: #04AA6D;
    font-family: verdana;
    font-weight: bold;
    border-radius: 20px;
    margin-left: -40px;

}


.inline {
    
    margin-left: 25%;
}

.image {
    background: linear-gradient(rgba(0,0,16,0.7), rgba(0,0,16,0.7)), url(images/f.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
    height: 450px;
    position: relative;
}
@media screen and (max-width:1050px) {
    .flex-container {
        flex-direction: column;
    }
}



@media screen and (max-width:600px) {
    .column {
        flex: 100%;
    }
}

.service-container {
    width: 100%;
    padding: 30px;
    background-color: rgb(37, 135, 173);
}

.service-item {
    width:85%;
    margin: auto;
    padding: 20px;
    display: flex;
}

.column {
    flex: 33.3%;
    padding: 20px;
    text-align: center;
}

#media {
    height: 50px;
}

img {
    max-width: 100%;
    height: auto;
}

.column img {
    border-radius: 100% 100%;
    height: 110px;
    width: 170;
}

.image h3 {
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    position: absolute;
    font-size: 25px;
    font-weight: bold;
}

.service-container h1 {
    color: #ffffff;
    text-align: center;
    width: 100%;
    font-weight: bolder;
    border-bottom: 2px solid#ddd;
}

.learnmore a {
    bottom: 60px;
    background-color: rgb(37, 135, 173);
    padding: 10px 10px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 2px;
    text-align: center;
}

.service-text {
    text-align: center;
    background-color: #ffffff;
    padding: 10px;
}

@media screen and (max-width:800px) {
    .service-item {
        flex-direction: column;
    }
}

.about-us-images {
    background: linear-gradient(rgba(0,0,16,0.5), rgba(0,0,16,0.5)), url(images/r3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    position: relative;
    object-fit: cover;
    object-position: 10px 100px;
    position: relative;
}

.about-us-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.about-us-text h1 {
    font-size: 40px
}

.about-us-text p {
    font-size: 20px
}

.top
{
    text-align: center;
}

.top button {
    padding: 15px 50px;
    border-radius: 30px;
    background-color: #ffffff;
    text-align: center;
    border: none;
}


@media screen and (max-width:600px) {
    .learnmore a {
        left: 35%;
    }
}

.flex-container .flex-item-left h3,p {
    text-align: center;
    color: #ffffff;
}

.form-container {
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    height: 400px;
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid#ddd;
    text-align: center;
}

.form-container input[type="email"] {
    margin-top: 10px;
    border-radius: 5px;
    border: 2px solid#ddd;
    outline: none;
    border-radius: 20px;
    width: 79%;
    background: transparent;
}

.form-container input[type="text"] {
    padding: 10px 10px;
    border-radius: 5px;
    border: 2px solid#ddd;
    margin-top: 10px;
    outline: none;
    border-radius: 20px;
    width: 79%;
    background: transparent;
}

textarea {
    resize: none;
    padding: 10px 10px;
    border-radius: 5px;
    border: 2px solid#ddd;
    margin-top: 10px;
    outline: none;
    overflow: auto;
    height: 50px;
    width: 80%;
    background: transparent;
    color: #ffffff;
}

form p {
    padding: 5px 20px;
    font-family: verdana;
    font-weight: bold;
    background-color: #030d24;
    margin-top: 20px;
    border-radius: 20px;
}

@media screen and (max-width:600px) {
    .form-container {
        width: 100%;
    }
}

.close-foot {
    background-color: #000000;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
}

.first {
    margin-bottom: 40px;
   }

  .first ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 50%;
    margin: auto;
    overflow: hidden;
  }


  .first ul li a{
    margin: 30px 20px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
  } 

  .first ul li {
    float: left;
  }

  .second ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 40%;
    margin: auto;
    overflow: hidden;
  }

  .second ul li {
    float: left;
  }

  .second ul li a{
    margin: 30px 30px;
    text-decoration: none;
    color: #ffffff;
    font-size: 30px;
    padding: 20px;
    text-align: center;
  } 

  

  @media screen and (max-width:600px){
    .first ul {
        display: block;
    }
  }

  

  @media screen and (max-width:600px){
    .second ul li {
        display: inline;
    }
  }

  .close-foot p {
    color: #ffffff;
    font-size: 30px;
    text-align: center;
  }

  footer {
    color: #ffffff;
    background-color: #000000;
    width: 100%;
    text-align: center;
    border-top: 5px solid #ffffff;
    padding: 10px;
  }