* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #231F20;
  overflow-x: hidden;
}

p,
ul {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 3.2rem;
}



/* ************************************** */
/* REUSABLE COMPONENTS */
/* ************************************** */

.container {
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  row-gap: 3.2rem;
  column-gap: 3.2rem;
}

.grid--center--v {
  align-items: center;
}

.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3--cols {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4--cols {
  grid-template-columns: repeat(4, 1fr);
}
.grid--5--cols {
  grid-template-columns: repeat(5, 1fr);
}
.grid--6--cols {
  grid-template-columns: repeat(6, 1fr);
}

.cta-btn {
  background-color: #fff;
  padding: 1.2rem 4rem 1.2rem 4rem;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  text-decoration: none;

  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 2px 2px 10px #231f204f;

  border: none;

  cursor: pointer;
  z-index: 999;
  position: relative;

  transition: all 0.3s;
}


.cta-btn:link, .cta-btn:visited {
  color: #0C0C34;
}
.cta-btn:hover, .cta-btn:active {
  color: #0a0a2a;
   box-shadow: 4px 4px 20px #231f204f;
}

.p-link:link, .p-link:visited {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: all;
}

.p-link:hover, .p-link:active {
  color: #00ACED;
}

.heading-1 {
  font-family: "Bebas Neue", sans-serif;
  color: #fff;
  font-size: 9.8rem;
  letter-spacing: 0.2rem;
  z-index: 999;
  position: relative;
}

.heading-2 {
  font-family: "Bebas Neue", sans-serif;
  color: #707274;
  text-align: center;
  font-size: 3.6rem;
  margin-bottom: 8.6rem;
  letter-spacing: 0.1rem;
}

.heading-3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;

}

/* ************************************** */
/* HELPER CLASSES */
/* ************************************** */

.margin-bottom-large {
  margin-bottom: 8.6rem;
}

.text-white {
  color: #fff;
}

.text-align-left {
  text-align: left;
}

.row-gap {
  row-gap: 8.6rem;
}



/* ************************************** */
/* HEADER */
/* ************************************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;

  height: 9.6rem;
  max-width: 127rem;
  margin-top: 3.2rem;
}

.logo {
  height: 6.4rem;
}

.main-nav-list {
  list-style: none;
  
  font-size: 1.6rem;

  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin-bottom: 0;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  color: #231F20;

  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #00ACED;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  font-weight: 700;
  color: #00ACED;
  transition: all 0.3s;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  color: #0C0C34;
}

/* ************************************** */
/* MOBILE */
/* ************************************** */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 3rem;
}

.icon-mobile-nav[name="close-icon"] {
  display: none;
}


/* ************************************** */
/* HERO */
/* ************************************** */

.hero-section {
  background-color: #00ACED;
  background-image: url("../img/hero_bg.webp");
  background-blend-mode: multiply;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0 0 40px #231f20b4;


  padding: 8.6rem 0 8.6rem 0;

  position: relative;
  /* height: 80vh; */

  min-height: 614px;
  /* aspect-ratio: 1905 / 786;  */
  
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.hero-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 16 / 9.3; 
  z-index: 0;
  max-width: none;

}

 .hero-img-mobile {
    display: none;
    height: auto;
    width: auto;
  }

.hero-p {
  color: #fff;
  margin-bottom: 4.8rem;
  z-index: 999;
  position: relative;
}

/* ************************************** */
/* TRUSTED BY */
/* ************************************** */

.trusted-grid {
  align-content: center;
  justify-items: center;
}

.trusted-logo {
  width: 100%;
  height: auto;
}

/* ************************************** */
/* ABOUT US */
/* ************************************** */

.about-grid {
  align-items: start;
  /* height: 100%; */
}

.about-grid svg {
  align-self: start;
  height: auto; 
}

/* ************************************** */
/* SERVICES */
/* ************************************** */

.services-section {
  background-color: #00ACED;
  background-image: url("../img/section-bg.webp");
  background-blend-mode: multiply;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0 0 40px #231f20b4;

  padding: 8.6rem 0 8.6rem 0;
}

.service-card {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.6rem;
  padding: 3.2rem 1.6rem 3.2rem 1.6rem;
  box-shadow: 2px 2px 20px #231f204f;
  border-top-right-radius: 150px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;

  transition: all 0.3s;
  
}

.service-card:hover {
  transform: translateY(-1.2rem);
}

.service-img {
  border-radius: 100%;
}

.service-card-p {
  text-align: center;
}

.service-link-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.8rem;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 2.4rem;

  color: #fff;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;

  transition: all 0.3s;
}

/* .service-link:link, .service-link:visited {
  
} */
.service-link:hover, .service-link:active {
  transform: translateY(-1.05rem);
}



.service-link-icon {
  height: 4.8rem;
}

/* ************************************** */
/* GALLERY  */
/* ************************************** */

.gallery-img {
  overflow: hidden;
  width: 100%;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;

  transition: all 0.4s;
}

.gallery-img img:hover {
  transform: scale(1.05);
}

/* ************************************** */
/* AREAS WE SERVE */
/* ************************************** */

.areas-section {
  background-color: #00ACED;
  background-image: url("../img/section-bg.webp");
  background-blend-mode: multiply;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  padding: 8.6rem 0 8.6rem 0;

  color: #fff;
}

.areas-img {
  width: 100%;
  height: auto;

  transition: all 0.3s;
}

.areas-img:hover {
  transform: scale(1.05);
}

/* ************************************** */
/* CTA */
/* ************************************** */

.cta-section {
  background-color: #00ACED;
  padding: 8.6rem 0 8.6rem 0;
  background-image: url("../img/cta-bg.webp");
  background-blend-mode: multiply;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  box-shadow: inset 0 0 40px #231f20b4;
}

.cta-form label {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 0.8rem;

  color: #fff;
}

.cta-form input,
select {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 8px;
  margin-bottom: 2.4rem;
  background-color: #fff;
}

.form-textarea {
    border: none;
    border-radius: 8px;
    margin-bottom: 2.4rem;
    padding: 1.2rem;
}

.cta-disclaimer {
  margin-top: 2rem;
  color: #fff;
}

/* ************************************** */
/* FOOTER */
/* ************************************** */

.footer-logo {
  height: 8rem;
  margin-bottom: 4.8rem;
}

.footer-link {
  text-decoration: none;
}

.footer-link:link, .footer-link:visited {
  color: #231F20;
  transition: all 0.3s;
}

.footer-link:hover, .footer-link:active {
  color: #00ACED;
  transition: all 0.3s;
}

.footer-heading {
  font-size: 3rem;
  margin-bottom: 4.8rem;
}

.heading-4 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.social-flex {
  display: flex;
  gap: 2.4rem;
}

.footer-social-icon {
  height: 3.2rem;
}

.fb-share-button {
  margin-top: 1.6rem;
  
}

/* ****************************************************************** */
/* PRODUCTS PAGE */
/* ****************************************************************** */
/* ************************************** */
/* HERO */
/* ************************************** */


.product-hero-section {
  background-color: #00ACED;
  background-image: url("../img/hero_bg.webp");
  background-blend-mode: multiply;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0 0 40px #231f20b4;


  padding: 20rem 0 20rem 0;

  position: relative;

}


.product-hero-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
}

/* ************************************** */
/* SPEC GRID */
/* ************************************** */

.specs-grid {
  justify-items: center;
  align-items: center;
}

.spec-list {
  list-style-type: none;
}

.spec-img {
  height: 80%;
  width: auto;
}

.spec-list-mobile {
  display: none;
}

/* .spec-list-desktop {
  
} */

/* ************************************** */
/* FIXTURES */
/* ************************************** */

.fixtures-section {
  background-color: #00ACED;
  background-image: url("../img/section-bg.webp");
  background-blend-mode: multiply;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0 0 40px #231f20b4;

  padding: 8.6rem 0 8.6rem 0;
}



.fixtures-img {
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  margin-bottom: 2.4rem;
  width: 100%;
  height: auto;
}

.fixtures-desc {
  font-weight: 700;
  color: #fff;
  text-align: center;
}




/* ************************************** */
/* GATES */
/* ************************************** */

.gates-section {
  background-color: #00ACED;
  background-image: url("../img/section-bg.webp");
  background-blend-mode: multiply;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0 0 40px #231f20b4;

  padding: 8.6rem 0 8.6rem 0;
}


.gate-img {
  overflow: hidden;
  width: 100%;
  height: auto;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;

  transition: all 0.4s;
}

.gate-img img:hover {
  transform: scale(1.05);
}

/* ************************************** */
/* BELOW 1150px */
/* ************************************** */

@media (max-width: 71.875rem) {
  /* SERVICES */
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ************************************** */
/* BELOW 1080px */
/* ************************************** */

@media (max-width: 67.5rem) {
  /* HERO */
  .hero-grid, .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .heading-1 {
    text-align: center;
  }
  .hero-p {
    text-align: center;
  }
  .cta-btn{
    text-align: center;
  }
  .hero-img {
    opacity: 0.5;
    position: 0;
  }
  /* CTA */
  .cta {
    grid-template-columns: 1fr;
    text-align: center;

  }
  .cta-heading {
    text-align: center;
  }

  /* PRODUCTS HERO */
  .product-hero {
    grid-template-columns: 1fr;
  }
  .products-heading {
    text-align: center;
  }
  .product-hero-img {
    opacity: 0.5;
  }

}

/* ************************************** */
/* BELOW 960px */
/* ************************************** */

@media (max-width: 60rem) {
  /* FOOTER */
  .footer {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ************************************** */
/* BELOW 900px */
/* ************************************** */

@media (max-width: 56.25rem) {
  html {
    font-size: 56%;
  }
  /* ************************************** */
  /* MOBILE NAV*/
  /* ************************************** */

  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.5s ease-in;
    transform: translatex(100%);

    z-index: 9998;

    /* HIDE */
    opacity: 0;

    /* unaccessible to mouse / keyboard */
    pointer-events: none;

    /* hide from screen readers */
    visibility: hidden;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translatex(0);
  }

  .nav-open .icon-mobile-nav[name="close-icon"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="hamburger-icon"] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 5rem;
    font-size: 2rem;
  }
  /* TRUSTED */
  .trusted-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* CTA */
  .cta-section {
     background-image: url("../img/section-bg.webp");
  }
}

/* ************************************** */
/* BELOW 865px */
/* ************************************** */

@media (max-width: 54.0625rem) {
  /* SPECS */
  .specs-grid {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }
  .specs-weight {
    font-weight: 400;
  }
  .spec-list-desktop {
  display: none;
  }
  .spec-list-mobile {
    display: block;
  }
}

/* ************************************** */
/* BELOW 700px */
/* ************************************** */

@media (max-width: 43.75rem) {
  /* GALLERY */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ************************************** */
/* BELOW 630px */
/* ************************************** */

@media (max-width: 39.375rem) {
  /* ABOUT LAYOUT */
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-p, .completed-p, .completed-h3 {
    text-align: center;
  }
  /* SERVICES */
  .service-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .service-link-section {
    flex-direction: column;
  }
  /* AREAS */
  .areas {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }
  .areas-heading {
    text-align: center;
  }
  /* GATES */
  .gates-grid {
    grid-template-columns: 1fr;
  }
}


/* ************************************** */
/* BELOW 500px */
/* ************************************** */

@media (max-width: 31.25rem) {
  /* HERO */
  .hero-section {
    padding: 8.6rem 0 25rem 0;
  }
  .hero-img {
    display: none;
  }
  .hero-img-mobile {
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
  }
  .heading-1 {
    font-size: 5rem;
  }
  /* FOOTER */
  .footer {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    text-align: center;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* PRODUCTS HERO */

  .product-hero-img {
    display: none;
  }
  .product-hero-section {
    padding: 15rem 0 30rem 0;
  }
}

/* ************************************** */
/* BELOW 400px */
/* ************************************** */

@media (max-width: 25rem){
  /* PRODUCTS HERO */
  .product-hero-section {
    padding: 15rem 0 20rem 0;
  }
}




/* ************************************** */
/* BELOW 330px */
/* ************************************** */

@media (max-width: 20.625rem) {
  /* HERO */
  .hero-section {
    padding: 8.6rem 0 20rem 0;
  }
  /* TRUSTED */
  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* GALLERY */
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  /* FIXTURES */
  .fixtures-grid {
    grid-template-columns: 1fr;
  }
}