/* Hero Section */
/* #004475 */
.hero_services {
  background-image: url("../assets/images/servicesimages/serviceshero.webp");
  padding: 50px 0px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 1.5 auto;
  height: 654px;
}

.hero_services_title {
  font-weight: 700;
  color: #ffffff;
  line-height: 77.45px;
  font-size: 40px;
  margin: 0;
  height: 60px;
}

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

.hero_services_content_container {
  padding: 15px;
}

/* 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;
  line-height: 24.2px;
}

/* List Services */

.list_content_left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 15px;
}

.list_service_line--blue {
  border-bottom: 1px solid #0971d2;
  width: 100%;
  border-width: 5px;
  display: block;
}

.list_description {
  color: #0971d2;
  line-height: 24.2px;
  font-size: 15px;
  font-weight: 400;
  opacity: 100%;
}

.list_title {
  color: #0971d2;
  font-weight: 400;
  line-height: 38.73px;
  font-size: 25px;
}

.list_title--white {
  color: #ffffff;
  font-weight: 400;
  line-height: 38.73px;
  font-size: 25px;
}

.list_description--white {
  color: #ffffff;
  line-height: 24.2px;
  font-size: 15px;
  font-weight: 400;
}

.list_service_line--white {
  border-bottom: 1px solid #ffffff;
  width: 100%;
  border-width: 5px;
  display: block;
}

.list_content_right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 15px;
  background-color: #0971d2;
}

.list_content_image_container {
  width: 300px;
  height: auto;
}

.list_content_image {
  width: 100%;
  height: 100%;
  max-width: 500px;
  object-fit: cover;
  min-width: 300px;
}

/* CTA */

.cta {
  background-color: #0971d2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 35px;
  height: 300px;
}

.cta_title {
  color: #ffffff;
  font-weight: 400;
  line-height: 43.57px;
  margin: 0;
  font-size: 30px;
  text-wrap: nowrap;
}

.cta_description {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-weight: 400;
  line-height: 28.15px;
  font-size: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

/* Medium Devices, Tablets */
@media only screen and (min-width: 768px) {
  .hero_services {
    background-size: cover;
    background-position: 50% 30%;
    background-attachment: fixed;
  }

  .hero_services_content_container {
    margin: 25px;
  }
  .hero_services_description {
    font-size: 19px;
  }

  .hero_services_title {
    font-size: 54px;
  }
  .list_content_right {
    flex-direction: row;
    padding: 25px 20px 25px 25px;
  }

  .list_content_left {
    flex-direction: row;
    padding: 25px 20px 25px 25px;
  }

  .list_content_container {
    flex: 1 1 50%;
    min-width: 374px;
  }

  .list_title {
    margin-bottom: 5px;
  }

  .list_title--white {
    margin-bottom: 5px;
    text-wrap: nowrap;
  }

  .list_service_line--blue {
    width: 15%;
  }

  .list_service_line--white {
    width: 15%;
  }

  .info_line {
    width: 10%;
  }

  .cta_description {
    overflow-wrap: break-word;
    inline-size: 720px;
  }
}

/* Desktops */
@media only screen and (min-width: 1024px) {
  .hero_services {
    height: 715px;
  }

  .hero_services_content_container {
    margin: 25px;
  }

  .hero_services_description {
    font-size: 24px;
  }

  .hero_services_title {
    font-size: 64px;
  }

  .list_service_line--blue {
    width: 15%;
  }

  .list_service_line--white {
    width: 15%;
  }

  .list_title {
    margin-bottom: 5px;
    font-size: 26px;
  }

  .list_title--white {
    margin-bottom: 5px;
    font-size: 26px;
    text-wrap: nowrap;
  }

  .list_description {
    font-size: 18px;
  }

  .list_description--white {
    font-size: 18px;
  }

  .list_content_left {
    padding: 15px 40px;
  }

  .list_content_right {
    padding: 15px 40px;
  }

  .info {
    padding-left: 60px;
  }
}

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

  .list_title {
    text-wrap: nowrap;
  }
}

@media only screen and (min-width: 1400px) {
  .hero_services_content_container {
    margin: 40px;
  }
  .list_title {
    margin-bottom: 15px;
    font-size: 25px;
  }

  .list_title--white {
    margin-bottom: 15px;
    font-size: 25px;
  }

  .list_description {
    font-size: 19px;
    line-height: 30px;
  }

  .list_description--white {
    font-size: 19px;
    line-height: 30px;
  }

  .info_title {
    font-size: 25px;
    margin-bottom: 2px;
    margin-top: 8px;
  }

  .info_description {
    font-size: 19px;
    margin-top: 7px;
  }

  .list_content_image {
    max-width: 500px;
  }

  .list_content_container--image-right {
    display: flex;
    justify-content: flex-end;
  }

  .list_content_container--image-left {
    display: flex;
    justify-content: flex-start;
  }
}
