/**************************/
/* BELOW 1248px */
/**************************/

@media (max-width: 78rem) {
  .container {
    max-width: 90vw;
  }

  .header-sub {
    max-width: 90vw;
  }

  .line-header {
    padding-top: 6.4rem;
  }

  .about-us {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr, 1fr, 1fr);
  }

  .modal-content {
    width: 65%;
  }
}

/**************************/
/* BELOW 1032px */
/**************************/

@media (max-width: 64.2rem) {
  .main-nav-list li:nth-child(4) {
    display: none;
  }

  .main-nav-list {
    gap: 3.2rem;
  }

  .section {
    padding-top: 8.4rem;
  }

  .last-section {
    padding-bottom: 8.4rem;
  }

  .sub-heading-type-4 {
    font-size: 4.4rem;
  }

  .why-us .sub-heading-type-2 {
    font-size: 4.2rem;
  }

  .cta {
    column-gap: 5.2rem;
  }

  .cta .sub-heading-type-2 {
    font-size: 4rem;
  }

  .sub-heading-type-3 {
    font-size: 3rem;
  }

  .modal-primary-heading {
    font-size: 3.6rem;
  }

  .modal-sub-heading {
    font-size: 2.4rem;
  }
}

/**************************/
/* BELOW 832px */
/**************************/

@media (max-width: 52rem) {
  .main-nav-list li {
    font-size: 1.4rem;
  }

  html {
    background-image: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 14));
  }

  .main-nav-list {
    gap: 2.4rem;
  }

  .text {
    font-size: 1.6rem;
  }

  .hero-description {
    max-width: 80vw;
    margin-top: 3.2rem;
  }

  .text--lg--margin {
    margin-bottom: 3.2rem;
  }

  .line-header {
    padding-top: 4.2rem;
  }

  .sub-heading-type-2 {
    font-size: 4.2rem;
  }

  .what-we-offer {
    grid-template-columns: 1fr 1fr;
  }

  .what-we-offer .sub-heading-type-2 {
    font-size: 3.15rem;
  }

  .why-us .sub-heading-type-2 {
    font-size: 3.5rem;
  }

  .spc-1 {
    grid-row: 3 / 4;
  }

  .spc-2 {
    grid-row: 7 / 8;
  }

  .cta {
    column-gap: 3.6rem;
  }

  .cta .sub-heading-type-2 {
    font-size: 3.8rem;
  }

  .footer-grid {
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-nav {
    display: none;
  }

  .modal-primary-heading {
    font-size: 2.8rem;
  }

  .modal-sub-heading {
    font-size: 2rem;
  }

  .modal-text-2 {
    font-size: 1.4rem;
  }
}

/**************************/
/* BELOW 688px */
/**************************/

@media (max-width: 43rem) {
  .main-nav-list li:nth-child(1) {
    display: none;
  }

  .section {
    padding-top: 6.4rem;
  }

  .last-section {
    padding-bottom: 6.4rem;
  }

  .sub-heading-type-4 {
    font-size: 4.4rem;
  }

  .primary-heading {
    font-size: 4.8rem;
  }

  .sub-heading-type-2 {
    font-size: 3.8rem;
  }

  .service-sub-header {
    grid-column: 1 / -1;
  }

  .what-we-offer .btn--right {
    grid-column: 1 / -1;
    grid-row: 10 / 11;
  }

  .what-we-offer .sub-heading-type-2 {
    font-size: 4.4rem;
  }

  .cta {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .get-in-touch {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }

  .cta .sub-heading-type-2 {
    font-size: 4.4rem;
  }

  .why-us .sub-heading-type-2 {
    font-size: 4.4rem;
  }

  .why-us {
    grid-template-columns: 1fr;
  }

  .why-us .btn--right {
    grid-row: 6 / 7;
  }

  .modal-content {
    width: 75%;
  }
}

/**************************/
/* BELOW 608px */
/**************************/

@media (max-width: 38rem) {
  .line {
    display: none;
  }

  .line-header {
    display: flex;
    justify-content: center;

    padding-top: 4.8rem;
  }

  .line-header p {
    font-weight: 500;
    font-size: 2.1rem;
  }

  .section {
    padding-top: 5.2rem;
  }

  .last-section {
    padding-bottom: 5.2rem;
  }

  .sub-heading-type-4 {
    font-size: 3.6rem;
  }

  .gallery-text {
    font-size: 2.4rem;
  }

  .hero-description {
    max-width: 90vw;
    text-align: center;
  }

  .btn--container {
    display: flex;
    justify-content: center;
  }

  .sub-heading-type-2 {
    font-size: 3.1rem;
  }

  .embed-video {
    max-width: 90vw;
    /* display: none; */
  }

  .what-we-offer {
    display: flex;
    flex-direction: column;
  }

  .what-we-offer .btn--right {
    order: 10;
    margin-left: auto;
  }

  .spc-3 {
    order: 2;
  }
  .spc-4 {
    order: 3;
  }
  .spc-5 {
    order: 4;
  }
  .spc-6 {
    order: 5;
  }
  .spc-7 {
    order: 6;
  }
  .spc-8 {
    order: 7;
  }
  .spc-9 {
    order: 8;
  }
  .spc-10 {
    order: 9;
  }

  .cta .sub-heading-type-2 {
    font-size: 4.15rem;
    text-align: center;
  }

  .spc-11 p {
    text-align: center;
  }

  .get-in-touch {
    display: flex;
    flex-direction: column;
  }

  .contact-details {
    justify-content: center;
  }

  .sub-heading-type-3 {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-socials {
    grid-row: 1 / 3;
  }

  .opening-hours {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .modal-content {
    width: 85%;
  }

  .modal-primary-heading {
    font-size: 2.4rem;
  }

  .modal-sub-heading {
    font-size: 1.8rem;
  }

  .modal-promo {
    font-size: 2.4rem;
  }

  .modal-text-2 {
    font-size: 1.3rem;
  }
}

/**************************/
/* BELOW 496px */
/**************************/

@media (max-width: 31rem) {
  .main-nav-list li {
    font-size: 1.2rem;
  }

  .main-nav-list li:nth-child(3) {
    display: none;
  }

  .main-nav-list {
    gap: 2rem;
  }

  .section {
    padding-top: 3.2rem;
  }

  .last-section {
    padding-bottom: 6.4rem;
  }

  .sub-heading-type-4 {
    font-size: 3.2rem;
  }

  .gallery-text {
    font-size: 2rem;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
  }

  .img-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .img-2 {
    grid-column: 3 / 5;
    /* grid-row: 1 / 3; */
  }
  .img-3 {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .img-4 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }
  .img-5 {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }
  .img-6 {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
  }
  .img-10 {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
  }
  .img-13 {
    grid-column: 1 / -1;
    grid-row: 5 / 6;
  }
  .img-14 {
    grid-column: 1 / 3;
    grid-row: 6 / 8;
  }
  .img-7 {
    grid-column: 3 / 5;
    grid-row: 6 / 7;
  }
  .img-11 {
    grid-column: 3 / 5;
    grid-row: 7 / 8;
  }
  .img-8 {
    display: none;
  }
  .img-9 {
    grid-column: 1 / 3;
    grid-row: 8 / 9;
  }
  .img-12 {
    grid-column: 3 / 5;
    grid-row: 8 / 9;
  }
  /* .img-6 {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
  .img-7 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }
  .img-8 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .img-9 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
  }
  .img-11 {
    grid-column: 4 / 5;
    grid-row: 6 / 7;
  }
  .img-13 {
    grid-column: 1 / 4;
    grid-row: 6 / 7;
  } */

  .modal-content {
    width: 90%;
  }

  .modal-primary-heading {
    font-size: 2rem;
  }

  .modal-sub-heading {
    font-size: 1.4rem;
  }

  .modal-promo {
    font-size: 2rem;
  }

  .modal-text-2 {
    font-size: 1rem;
  }

  .close {
    font-size: 2rem;
  }
}

/**************************/
/* BELOW 375px */
/**************************/

@media (max-width: 23.5rem) {
  .main-nav-list li:first-child {
    display: none;
  }

  .line-header p {
    font-size: 1.6rem;
  }

  .hero-section .line-header {
    padding-top: 1.2rem;
  }

  .section {
    padding-top: 2.4rem;
  }

  .last-section {
    padding-bottom: 6.4rem;
  }

  .sub-heading-type-4 {
    font-size: 2.7rem;
  }

  .gallery-text {
    font-size: 1.8rem;
  }

  .why-us-list .icon {
    display: none;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;

    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .modal-primary-heading {
    font-size: 1.6rem;
  }

  .modal-sub-heading {
    font-size: 1.1rem;
  }

  .modal-promo {
    font-size: 1.6rem;
  }

  .modal-text-2 {
    font-size: 0.8rem;
  }
}
