/* Large devices (1200px and down) */
@media only screen and (max-width: 1200px) {
  .hero-text-box {
    width: 100%;
    padding: 0 2%;
  }

  .row {
    padding: 0 2%;
  }
}

/* Medium devices (tablets, 1023px and down) */
@media only screen and (max-width: 1023px) {
  body {
    font-size: 18px;
  }

  section {
    padding: 60px 0;
  }

  .long-copy {
    width: 80%;
    margin: 10%;
  }

  .steps-box {
    margin-top: 10px;
  }

  .works-step {
    margin-bottom: 40px;
  }

  .works-step:last-of-type {
    margin-bottom: 60px;
  }

  .app-screen {
    width: 50%;
  }

  .icon-small {
    width: 17px;
    margin-right: 5px;
  }

  .city-feature {
    font-size: 90%;
  }

  #customers {
    padding: 80px 20px 100px;
  }

  #cities {
    margin-top: 50px;
  }

  .plan-box {
    width: 100%;
    margin-left: 0;
  }

  .plan-price {
    font-size: 250%;
  }

  .contact-form {
    width: 80%;
  }
}

  .meals-showcase li {
        flex: 1 1 50%;
        max-width: 50%;
  }
  /* Keep background image fixed only on large screens */
@media only screen and (max-width: 900px) {
    .section-testimonials {
        background-attachment: scroll;
    }
}


/* Tablets and below (767px and down) */
@media only screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 30px 0;
  }

  .row,
  .hero-text-box {
    padding: 0 4%;
    width: 100%;
  }

  .col {
    width: 100%;
    margin: 0 0 4% 0;
  }

  .main-nav {
    display: none;
    float: none;
    text-align: center;
    margin: 20px 0;
  }

  .mobile-nav-icon {
    display: inline-block;
  }

  .app-screen {
    width: 40%;
  }

  .steps-box:first-child {
    text-align: center;
  }

  .works-step div {
    height: 40px;
    width: 40px;
    margin-right: 15px;
    padding: 4px;
    font-size: 120%;
  }

  .works-step {
    margin-bottom: 20px;
  }

  .works-step:last-of-type {
    margin-bottom: 20px;
  }

  .long-copy {
    width: 100%;
    margin: 0;
  }

  .city-feature {
    font-size: 85%;
  }

  .plan-box {
    padding: 0 5%;
  }

  .section-form {
    padding-top: 80px;
    margin-top: 80px;
  }
  .section-testimonials {
        background-attachment: scroll; /* Prevent fixed background issues */
        background-size: cover; /* Ensure the image covers the section */
        padding: 50px 0; /* Add padding to maintain spacing */
        min-height: 900px;
        margin-top: 1600px;
    }
    
  #testimonials {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    
  }

  #testimonials h2 {
    font-size: 2rem;
  }
}
.meals-showcase li {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .meal-photo {
        margin-bottom: 20px;
    }
    /* Stack meal images vertically on small screens */
@media only screen and (max-width: 767px) {
    .meals-showcase li {
        width: 100%;
        float: none;
        display: block;
    }
}





/* Small phones (480px and down) */
@media only screen and (max-width: 480px) {
  section {
    padding: 25px 0;
  }

  h1 {
    font-size: 180%;
  }

  h2 {
    font-size: 150%;
  }

  .contact-form {
    width: 100%;
  }

  .hero-text-box {
    padding: 0 4%;
  }

  .btn:link,
  .btn:visited {
    margin-bottom: 10px;
  }

  #testimonials {
    padding: 40px 16px;
  }

  #testimonials h2 {
    font-size: 1.6rem;
  }
}


