/* BELOW 1220px */

@media (max-width: 76.25rem) {
  .header-grid {
    grid-template-columns: 0.5fr 3fr 5fr 0.5fr;
  }

  .container {
    max-width: 90vw;
  }

  .section-img {
    height: 40rem;
  }
  .section-img2 {
    height: 55rem;
  }

  .features-grid {
    grid-template-columns: 0.95fr 1fr;
  }

  .hero-section h1 {
    font-size: 5.6rem;
  }
}

/* BELOW 1080px */

@media (max-width: 67.5rem) {
  .hero-section h1 {
    font-size: 4.6rem;
  }

  .section-img {
    height: 35rem;
  }

  .features-img {
    height: 30rem;
  }

  .icon {
    font-size: 4rem;
  }

  .btn {
    width: 20rem;
  }

  .btn strong {
    font-size: 1.2rem;
    font-weight: 400;
  }

  .btn .md-text {
    font-size: 1.6rem;
  }

  .cta-section {
    background-image: url(../img/bg\ 2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    margin-top: 4.8rem;
    margin-bottom: 4.8rem;
  }

  .contact-links {
    display: none;
  }
}

/* BELOW 904px */

@media (max-width: 56.5rem) {
  .open,
  .close,
  .nav {
    visibility: visible;
  }

  .app-features-section .contained-text {
    max-width: 80vw;
  }

  .header {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left .cta {
    justify-content: center;
    margin-bottom: 2.4rem;
  }

  .hero-section h1 {
    font-size: 4.6rem;
  }

  .md-text {
    font-size: 1.6rem;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
  }

  .features-left {
    margin-bottom: 2.4rem;
  }

  .features-left .section-img {
    height: 35rem;
  }

  .section-img {
    height: 35rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .text {
    font-size: 1.4rem;
  }

  .app-features-section {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .nav {
    height: 55vh;
  }

  /* .features-img {
    height: 25rem;
  } */
}

/* BELOW 776px */

@media (max-width: 48.5rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-section h1 {
    font-size: 3.8rem;
  }

  .section-img {
    height: 35rem;
  }

  .section-img2 {
    height: 35rem;
  }

  .features-img {
    height: 35rem;
  }

  .icon {
    font-size: 3rem;
  }

  .cta {
    gap: 1.2rem;
  }

  .cta-left {
    display: none;
  }

  .btn {
    width: 17.5rem;
    gap: 0.8rem;
  }

  .cta-section {
    background-color: #2c5d40;
    padding: 2.4rem 0;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  h3 {
    padding-bottom: 0;
  }

  .app-features-grid {
    display: flex;
    flex-direction: column;

    text-align: center;
  }

  .order-2,
  .order-4 {
    text-align: center;
  }

  .app-feature-textbox .icon {
    font-size: 5rem;
  }
}

/* .remove {
  display: hidden;
} */

/* BELOW 648px */

@media (max-width: 40.5rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left .cta {
    justify-content: center;
    margin-bottom: 2.4rem;
  }

  /* .hero-right .section-img {
    height: 35rem;
  } */
}

/* BELOW 424px */

@media (max-width: 26.5rem) {
  .cta {
    flex-direction: column;
  }

  .hero-right .section-img {
    height: 30rem;
  }

  .features-left .section-img {
    height: 30rem;
  }

  .features-img {
    height: 30rem;
  }

  h4 {
    font-size: 3.6rem;
  }

  .feature-textbox .icon {
    font-size: 3rem;
  }

  .hero-section h1 {
    font-size: 3.2rem;
  }

  .cta {
    display: grid;
    grid-template-columns: 1fr;

    justify-items: center;
  }

  .cta-right {
    text-align: center;
  }

  .md-text {
    font-size: 1.4rem;
  }

  .app-features-section {
    padding-top: 0;
    padding-bottom: 1.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: flex-start;
    gap: 1.2rem;

    margin-top: 2.4rem;
    margin-bottom: 0;
  }

  .contact-us-section {
    padding: 2.4rem 0;
  }
}
