/**************************/
/* BELOW 1344px (Smaller desktops) */
/**************************/

@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }

  .heading-primary {
    font-size: 4.4rem;
  }
}

/**************************/
/* BELOW 1200px (Landscape Tablets) */
/**************************/

@media (max-width: 75em) {
  html {
    /* 9px / 16px  */
    font-size: 56.25%;
  }

  .grid {
    column-gap: 4.8rem;
    row-gap: 6.4rem;
  }

  .heading-secondary {
    font-size: 3.6rem;
  }

  .heading-tertiary {
    font-size: 2.4rem;
  }

  .header {
    padding: 0 3.2rem;
  }

  .hero {
    gap: 4.8rem;
  }

  .hero-img {
    width: 80%;
  }

  .modal {
    width: 60%;
  }

}

/**************************/
/* BELOW 944px (Tablets) */
/**************************/

@media (max-width: 59em) {
  html {
    font-size: 50%;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 8rem;
    gap: 6.4rem;
  }

  .section-hero {
    padding: 10rem 0 48rem 0;
    text-align: center;
  }

  .hero-img {
    width: 65%;
  }

  .downalod-app {
    justify-content: center;
  }

  .hero-img-box-reletive {
    display: none;
  }

  .hero-img-box {
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
  }

  /* .jalso-testimonial-slider .carousel {
    height: 26rem;
  } */
  .jalso-testimonial-slider .carousel-inner {
    height: 100%;
  }

  .step-number {
    font-size: 7.4rem;
    width: 8.5rem;
    height: 8.5rem;
  }

  .step-number svg {
    width: 65%;
  }

  .grid--footer {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    gap: 1.6rem;
  }

}

/**************************/
/* BELOW 770px (Tablets) */
/**************************/
@media (max-width: 770px) {
  .copyright-col {
    flex-wrap: wrap;
  }

  .term-box {
    width: 100%;
    justify-content: center;
  }

}

/**************************/
/* BELOW 704px (Smaller tablets) */
/**************************/

@media (max-width: 44em) {

  .grid--3-cols,
  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .diets {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .heading-secondary {
    margin-bottom: 4.8rem;
  }
}

/**************************/
/* BELOW 544px (Phones) */
/**************************/

@media (max-width: 34em) {

  .section-title {
    font-size: 3.6rem;
    line-height: 1.3;
  }

  .margin-bottom-sm {
    margin-bottom: 3rem;
  }

  .modal {
    width: 90%;
  }

  .grid {
    row-gap: 4.8rem;
  }

  .grid--2-cols,
  .grid--3-cols,
  .grid--4-cols {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn:link,
  .btn:visited {
    padding: 2.4rem 1.6rem;
  }

  .hero {
    padding: 0 3.2rem;
  }

  .hero-img {
    width: 60%;
  }

  .logos img {
    height: 1.2rem;
  }

  .step-img-box:nth-child(2) {
    grid-row: 4;
  }

  .step-text-box:last-child {
    grid-row: 7;
  }

  .step-number {
    margin: 0 auto 2.4rem auto;
  }

  .jalso-primary-btn {
    width: 100%;
  }

  .mobile-gap {
    row-gap: 10rem;
  }

  .step-img,
  .testimonial-img {
    margin: auto;
  }

  .step-img-box {
    transform: translateY(2.4rem);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-box-img {
    width: 40%;
  }

  .category {
    font-size: 2.8rem;
  }

  /* .jalso-testimonial-slider .carousel {
    height: 36rem;
  } */

  .jalso-testimonial-slider .carousel-caption {
    padding: 3rem 0 0 6.8rem;
    width: 100%;
    height: 220px;
    position: relative;
  }

  .jalso-testimonial-slider .carousel-control-prev {
    right: 20% !important;
  }

  .explore .step-description {
    width: 100% !important;
  }

  .coming-box {
    font-size: 1.6rem;
  }

  .grid--footer {
    grid-template-columns: 1fr;
  }

  .alert {
    font-size: 2.3rem;
    padding: 2rem 3rem 2rem 2rem;
  }

  .copyright-col {
    flex-direction: column;
  }

  .copyright {
    width: 100% !important;
  }

  .mobile-center {
    text-align: center;
  }

  .footer .list-group,
  .copyright-col {
    justify-content: center;
    align-items: center;
  }

  .copyright-col p {
    font-size: 1.4rem;
  }

  .step-text-box {
    text-align: center;
  }
}


/**************************/
/* BELOW 380px (Phones) */
/**************************/

@media (max-width: 380px) {
  .explore-btn {
    display: flex;
    flex-direction: column;
  }

  .btn,
  .btn:link,
  .btn:visited {
    margin-bottom: 2rem;
  }

  .coming-box {
    text-align: center !important;
  }

  .alert {
    padding: 2rem 3rem 2rem 0rem;
  }


}