@media screen and (max-width: 1200px) {
  .hero_content_container_left h1 {
    font-size: 3rem;
  }
  .hero_content_container_left p {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 1024px) {
  .main_hero {
    background: none;
  }
  .hero_content_container_right {
    padding: 0rem 0rem;
  }
}
@media screen and (max-width: 900px) {
  .hero_content_container_left h1 {
    font-size: 2.5rem;
  }
  .hero_content_container_left p {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 768px) {
  .nav {
    display: none;
    margin-left: 0;
    padding-top: 0rem;
  }
  .nav a {
    margin-bottom: 2rem;
  }
  .show-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f6faff;
    height: 100%;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 220px;
    padding-top: 4rem;
    overflow: auto;
  }

  header .nav_bar {
    display: flex;
    align-items: center;
  }
  header .nav_bar .fa-times {
    display: none;
  }
  .hero_content_container_left h1 {
    font-size: 2rem;
  }
  .hero_content_container_left p {
    font-size: 1.1rem;
  }

  .main_hero {
    width: 80%;
    margin: auto;
    padding-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(49%, 1fr));
  }
  .hero_content_container_right form {
    width: 100%;
  }
  /* locations */
  .location_card {
    flex-basis: 45%;
  }
  .location_card:nth-child(3) {
    margin-left: 0;
  }
}

@media screen and (max-width: 600px) {
  .how_to_order_services_item {
    flex-basis: 1;
    margin-top: 3.5rem;
  }

  .location_card:nth-child(3) {
    margin-left: 0;
  }
  .contact {
    flex-direction: column;
  }
  .contact form,
  .contact section {
    flex: 1;
    width: 100%;
    margin: auto;
  }
  .contact form {
    margin-top: 2rem;
  }

  .footer_section:nth-child(2n) {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .our_service_middle,
  .our_service_bottom {
    display: flex;
    flex-direction: column-reverse;
  }
  .our_service_bottom div {
    width: 100%;
  }
  .how_to_order_services_container {
    flex-direction: column;
  }
  .how_to_order_services_item:nth-child(1n) {
    margin-left: 0;
  }
  .how_to_order_services_item:nth-child(2n) {
    margin-right: 0;
  }
  .location_card {
    flex-basis: 100%;
  }
  .location_card:nth-child(1) {
    margin-right: 0;
  }
}
