/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px;
  height: 654px;
}

.hero_image {
  width: 300px;
  height: 300px;
  aspect-ratio: 2 / 1;
}

.hero_info_container {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.hero_title {
  font-weight: 600;
  font-size: 29px;
  line-height: 58.09px;
  margin: 0px;
  text-shadow: 0px 2px 3.5px #00000040;
  color: #0971d2;
  height: 50px;
}

.hero_title--secondary {
  font-weight: 600;
  font-size: 23px;
  line-height: 43.57px;
  margin: 0px;
  height: 39px;
  text-shadow: 0px 2px 3.5px #00000040;
  color: #0971d2;
}

.hero_subtext {
  color: #0971d2;
  font-weight: bold;
}

.hero_info_container:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Info Section */
.info {
  background-color: #0971d2;
  padding: 40px;
}
.info_line {
  border-top: 1px solid #fff;
  width: 100%;
  border-width: 5px;
}

.info_title {
  color: #ffffff;
  font-weight: normal;
}

.info_subtitle {
  color: #ffffff;
  font-weight: bold;
}

.info_description {
  color: #ffffff;
}

.info_container {
  max-width: 610px;
}

/* List Services  */
.list_services_container {
  background-image: url("../assets/images/backgroundlistservicesimage.webp");
  width: 100%;
  opacity: 90%;
  height: 870px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.list_content_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.list_services_title {
  color: #ffffff;
  margin: 0px;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 13px;
  opacity: 100%;
  padding-right: 25px;
  padding-bottom: 50px;
  padding-left: 25px;
  padding-top: 50px;
  font-weight: normal;
}

.list_image_container {
  background-color: #0b99ff;
  width: 152px;
  height: 152px;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list_image {
  width: 97px;
  height: 87px;
  object-fit: contain;
}

.list_text {
  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  line-height: 29.05px;
}

.list_content {
  text-align: center;
  margin-bottom: 30px;
}

/* ---Media Queries--- */

/* Small Devices, Large Phones */
@media only screen and (min-width: 576px) and (max-width: 767px) {
  .hero_info_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 25px;
  }
  .hero_description {
    width: 90%;
  }

  .hero_image {
    width: 350px;
    height: 350px;
  }
}

/* Medium Devices, Tablets */
@media only screen and (min-width: 768px) {
  .list_content_container {
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    height: 300px;
  }

  .list_services_container {
    height: 500px;
    background-attachment: fixed;
  }

  .list_services_title {
    margin-bottom: 50px;
    padding-left: 45px;
  }

  .hero {
    flex-direction: row;
    padding: 15px;
    justify-content: center;
  }

  .info_line {
    width: 15%;
  }

  .list_text {
    font-size: 20px;
  }

  .hero_image {
    width: 400px;
    height: 400px;
  }

  .hero_info_container {
    width: 400px;
    height: 100%;
  }

  .hero_title {
    font-size: 30px;
    white-space: nowrap;
  }
  .hero_title--secondary {
    font-size: 25px;
  }

  .hero_info_container:nth-child(2) {
    justify-content: center;
  }
}

@media only screen and (min-width: 1024px) {
  .hero_description {
    width: 90%;
  }

  .hero {
    justify-content: space-around;
    height: 550px;
    margin-bottom: 145px;
  }

  .hero_info_container {
    width: 500px;
  }

  .hero_title {
    font-size: 38px;
  }

  .hero_title--secondary {
    font-size: 28px;
  }

  .info {
    padding-left: 60px;
  }

  .list_services_title {
    padding-left: 70px;
    padding-bottom: 25px;
    font-size: 20px;
  }

  .list_content_container {
    justify-content: space-around;
  }
}

@media only screen and (min-width: 1200px) {
  .info_line {
    width: 5%;
  }

  .list_services_title {
    font-size: 24px;
  }

  .list_text {
    font-size: 20px;
  }

  .hero_title {
    font-size: 48px;
  }
  .hero_title--secondary {
    font-size: 30px;
  }

  .hero_image {
    width: 500px;
    height: 500px;
  }
}

@media only screen and (min-width: 1440px) {
  .hero_title {
    font-size: 68px;
  }
  .hero_title--secondary {
    font-size: 50px;
    margin-top: 20px;
  }

  .hero_info_container {
    width: 640px;
  }

  .hero_description {
    font-size: 22px;
  }

  .btn {
    padding: 14px 25px;
    font-size: 18px;
  }

  .hero_image {
    width: 600px;
    height: 600px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .hero {
    padding: 25px;
  }
}
