@media (min-width: 1400px) {
  .home_main_section {
    height: 75vh;
  }
  .reach_more_sec {
    height: 75vh;
  }
  .for_consumer_main_sec {
    align-items: center;
    height: 75vh;
  }
  .for_consumer_main_sec .food_lover_img img {
    position: absolute;
    right: 3rem;
    bottom: 0;
    width: 645px;
    height: 593px;
    object-fit: contain;
  }
  .contact_us_sec {
    height: 75vh;
  }
}

@media (min-width: 992px) {
  .food_item_icons .col-lg-2 {
    width: 20%;
  }
  .form_sec .col-lg-2 {
    width: 20%;
  }
}


@media (max-width: 992px) {
  header nav .navbar-nav .nav-item .nav-link {
    text-align: center;
  }
  .food_item_icons .col-lg-2 {
    width: 33%;
  }
  .btn-wrap .next-btn {
    right: 0%;
    bottom: 0%;
  }
  .inner_heading_images {
    right: 0rem;
  }
  .join_btn {
    padding: 10px 30px;
  }
  .order_process .order_bike {
    position: initial;
    margin-bottom: 1rem;
  }
  .order_process .list-group .list-group-item {
    padding-left: 1rem;
  }
  .order_process .list_bg {
    padding: 2rem;
  }
  .reach_more_sec {
    background-position: right;
  }
  .contact_us_sec {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .for_consumer_main_sec h1 {
    font-size: 26px;
    line-height: 1.3em;
  }
  .for_consumer_main_sec p {
    font-size: 14px;
    line-height: 1.3em;
  }
  .contact_us_sec h1 {
    font-size: 26px;
    line-height: 1.3em;
  }
  .contact_us_sec p {
    font-size: 14px;
    line-height: 1.3em;
  }
  .about_us_sec h1 {
    font-size: 32px;
    line-height: 1.3em;
  }
  .about_us_sec p {
    font-size: 16px;
    line-height: 1.3em;
  }
  .ef_network {
    height: 100%;
  }
  .ef_network_vendors {
    height: 100%;
  }
  .pay_online {
    height: 100%;
  }
  .ef_network_left h6 {
    font-size: 20px;
  }
  .rating {
    gap: 35px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    padding: 10px 0;
  }
  .navbar-brand img {
    width: 180px;
  }
  .navbar-sticky-on .navbar-brand-sticky {
    display: inline;
    width: 180px !important;
  }
  .home_main_section h1 {
    color: #255202;
    font-size: 24px;
  }
  .food_item_icons .col-lg-2 {
    width: 50%;
  }
  .food_item_icons img {
    width: 70px;
    height: 70px;
    object-fit: contain;
  }
  .arrow_img {
    background: url(../images/home/list_icon.png) no-repeat left center;
    height: 28px !important;
    padding-left: 44px;
  }

  .ef_network ul li {
    margin-bottom: 48px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3em;
  }
  .join_btn {
    padding: 10px 30px;
  }

  .arrow_img {
    height: 38px;
  }

  .inner_heading span {
    position: relative;
    animation: animation 14s ease infinite;
    -webkit-animation: animation 14s ease infinite;
  }

  .fade-container {
    width: 340px;
    height: 300px;
  }

  .fade-container img {
    width: 340px;
    height: 300px;
  }

  .form_sec {
    padding: 5rem 1.5rem;
  }
  .order_process #border_left {
    height: 260px;
  }
  .order_process .list_bg {
    padding: 1rem;
  }
  .reach_more_sec {
    padding-top: 2.5rem;
  }
  .reach_more_sec h1 {
    font-size: 26px;
  }
  .contact_form .card {
    padding: 2rem;
  }
  .contact_form .card h2 {
    font-size: 26px;
  }
  .reach_more_sec p {
    font-size: 14px;
  }
  .contact_us_sec {
    height: 50vh;
    text-align: center;
  }
  .about_us_sec {
    text-align: center;
  }
  .about_content img {
    margin-bottom: -4rem;
  }
  .about_sec2 {
    padding: 4rem 0;
  }
  .other_bg {
    text-align: center;
  }

  .home_main_section h1 {
    color: #255202;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
  }
  .inner_heading {
    height: 40px;
    line-height: 40px;
  }

  @keyframes animation {
    0%,
    100% {
      top: 0;
    }
    20% {
      top: 0;
    }
    25% {
      top: -40px;
    }
    45% {
      top: -40px;
    }
    50% {
      top: -80px;
    }
    70% {
      top: -80px;
    }
    75% {
      top: -120px;
    }
    95% {
      top: -120px;
    }
  }

  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
  }
  p {
    font-size: 14px;
  }
  .all_food_sec .content p {
    font-size: 14px;
  }
  .delivering_content h2 {
    font-size: 32px;
  }
  .ef_network h2 {
    font-size: 42px;
  }
  .ef_network p {
    font-size: 14px;
  }
  .quality_sec h2 {
    font-size: 26px;
  }
  .testimonials h2 {
    font-size: 26px;
  }
  .form_sec h2 {
    font-size: 26px;
  }
  .other_bg h1 {
    font-size: 26px;
  }
}

@media (max-width: 375px) {
  .reach_more_sec {
    height: 120vh;
  }
  .reach_more_sec h1 {
    font-size: 24px;
    line-height: 1.3em;
  }
  .fade-container {
    width: 280px;
    height: 240px;
  }

  .fade-container img {
    width: 280px;
    height: 240px;
  }

  .home_main_section h1 {
    color: #255202;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
  }
  .inner_heading {
    height: 40px;
    line-height: 40px;
  }

  @keyframes animation {
    0%,
    100% {
      top: 0;
    }
    20% {
      top: 0;
    }
    25% {
      top: -40px;
    }
    45% {
      top: -40px;
    }
    50% {
      top: -80px;
    }
    70% {
      top: -80px;
    }
    75% {
      top: -120px;
    }
    95% {
      top: -120px;
    }
  }
}

@media (max-width: 320px) {
  .home_main_section {
    height: 115vh;
  }
  .form_sec h2 {
    font-size: 22px;
  }
  .reach_more_sec {
    height: 150vh;
  }
  .for_consumer_main_sec {
    height: 150vh;
  }
  .contact_us_sec {
    height: 100vh;
  }
  .rating {
    gap: 30px;
  }
}
