* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

#banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), #009688),
    url(images/banner.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.logo {
  width: 140px;
  position: absolute;
  top: 4%;
  left: 10%;
}

.banner_text {
  text-align: center;
  color: #fff;
  padding-top: 180px;
}

.banner_text h1 {
  font-size: 150px;
  font-family: "Kaushan Script", cursive;
}

.banner_text p {
  font-size: 25px;
  font-style: italic;
}

.banner_btn {
  margin: 70px auto 0;
}

.banner_btn a {
  width: 150px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: #fff;
  border: 0.5px solid #fff;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}

.banner_btn a span {
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  z-index: -1;
  transition: 0.5s;
}

.banner_btn a:hover span {
  width: 100%;
}

.banner_btn a:hover {
  color: #000;
}

#side_nav {
  width: 250px;
  height: 100vh;
  position: fixed;
  right: -250px;
  top: 0;
  background: #009688;
  z-index: 2;
  transition: 0.5s;
}

nav ul li {
  list-style-type: none;
  margin: 50px 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
}

#menu_btn {
  width: 50px;
  height: 50px;
  background: #009688;
  text-align: center;
  position: fixed;
  right: 30px;
  top: 20px;
  z-index: 3;
  border-radius: 3px;
  cursor: pointer;
}

#menu_btn img {
  width: 20px;
  margin-top: 15px;
}

@media screen and (max-width: 770px) {
  .banner_text h1 {
    font-size: 75px;
  }

  .banner_text p {
    font-size: 15px;
    margin-top: 15px;
  }

  .banner_btn a {
    display: block;
    margin: 20px auto;
  }
}

/**Features**/

#features {
  width: 100%;
  padding: 70px 0;
}

.title_text {
  text-align: center;
  padding-bottom: 70px;
}

.title_text p {
  margin: auto;
  font-size: 20px;
  color: #009688;
  font-weight: bold;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.title_text p::after {
  content: "";
  width: 50px;
  height: 30px;
  position: absolute;
  background: linear-gradient(#019578, #fff);
  top: -20px;
  left: 0;
  z-index: -1;
  transform: rotate(10deg);
  border-top-left-radius: 35px;
  border-bottom-right-radius: 35px;
}

.title_text h1 {
  font-size: 45px;
}

.feature_box1 {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}

.feature_box2 {
  flex-basis: 50%;
}

.feature_img {
  flex-basis: 50%;
  margin: auto;
}

.feature_img img {
  width: 70%;
  border-radius: 10px;
}

.feature_box2 h1 {
  text-align: left;
  color: #009688;
  font-weight: 100px;
  margin-bottom: 10px;
}

.feature_desc {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.feature_icon .fa {
  width: 50px;
  height: 50px;
  font-size: 30px;
  line-height: 50px;
  border: 1px solid #009688;
  border-radius: 8px;
  color: #009688;
}

.feature_text p {
  text-align: initial;
  padding: 0 20px;
}

@media screen and (max-width: 770px) {
  .title_text h1 {
    font-size: 35px;
  }
  .feature_box2 {
    flex-basis: 100%;
  }
  .feature_img {
    flex-basis: 100%;
  }
  .feature-img img {
    width: 100%;
  }
}

/**Services**/

#service {
  width: 100%;
  padding: 70px 0;
  background: #efefef;
}

.service_box {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
}

.single_service {
  flex-basis: 48%;
  text-align: center;
  border-radius: 7px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
}

.single_service img {
  width: 100%;
  border-radius: 7px;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 7px;
  cursor: pointer;
  background: linear-gradient(rgba(0, 0, 0, 0.5), #009688);
  opacity: 0;
  transition: 1s;
}

.single_service:hover .overlay {
  opacity: 1;
}

.service_desc {
  width: 80%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 1s;
}

hr {
  background: #fff;
  height: 2px;
  border: 0;
  margin: 15px auto;
  width: 60%;
}

.service_desc p {
  font-size: 14px;
}

.single_service:hover .service_desc {
  opacity: 1;
  bottom: 40%;
}

@media screen and (max-width: 770px) {
  .single_service {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .service_desc p {
    font-size: 12px;
  }
  .single_service:hover .service_desc {
    bottom: 25% !important;
  }
  hr {
    margin: 10px auto;
  }
}

/**Testimanials**/

#testimonials {
  width: 100%;
  padding: 70px 0;
}

.testimonials_row {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.testimonials_col {
  width: 28%;
  padding: 10px;
  margin-bottom: 30px;
  border-radius: 5px;
  box-shadow: 0 10px 20px 3px #00968814;
  cursor: pointer;
  transition: transform 0.5s;
}

.testimonials_col p {
  font-size: 15;
}

.user {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.user img {
  width: 100px;
  margin-right: 20px;
  border-radius: 3px;
}

.user_info .fa {
  margin-left: 10px;
  color: #27c0ff;
  font-size: 20px;
}

.user_info small {
  color: #009688;
}

.testimonials_col:hover {
  transform: translateY(-7px);
}

@media screen and (max-width: 770px) {
  .testimonials_col {
    width: 100%;
  }
}

/**footer**/

#footer {
  padding: 100px 0 20px;
  background: #efefef;
  position: relative;
}

.footer_row {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer_left,
.footer_right {
  flex-basis: 45%;
  padding: 10px;
  margin-bottom: 20px;
}

.footer_right {
  text-align: right;
}

.footer_row h1 {
  margin: 10px 0;
}

.footer_row p {
  line-height: 35px;
}

.footer_row .fa,
.footer_right .fa {
  margin: 10px;
  font-size: 20px;
  color: #009688;
}

.footer_img {
  max-width: 370px;
  opacity: 0.1;
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
}

.social_links {
  text-align: center;
}

.social_links .fa {
  height: 40px;
  width: 40px;
  font-size: 20px;
  line-height: 40px;
  border: 1px solid #009688;
  margin: 30px 5px 0;
  color: #009688;
  cursor: pointer;
  transition: 0.5s;
}

.social_links .fa:hover {
  background: #009688;
  color: #fff;
  transform: translateY(-7px);
}

.social_links p {
  font-size: 18px;
  margin-top: 30px;
}

.common_btn {
  padding: 15px 16px;
  margin-left: 80%;
  background: transparent;
  outline: none;
  border: 2px solid #009688;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  margin-top: -250px;
}

@media screen and(max-width: 770px) {
  .footer_left,
  .footer_right {
    flex-basis: 100%;
    font-size: 14px;
  }
  .footer_img {
    top: 25%;
  }
  .common_btn {
    flex-basis: 100%;
    padding: 15px 16px;
  }
}
