@media (min-width: 320px) and (max-width: 1270px) {
  html {
    font-size: 50%;
  }

  nav {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 100%;
    padding: 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-top: 1px solid var(--white);
    z-index: 100;
  }

  .nav-truck-hide {
    display: none !important; /* force hide when added */
  }

  nav li a {
    font-size: 2rem;
    color: var(--black) !important;
    font-weight: 700;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    border-bottom: 1px solid var(--black);
    width: 100%;
  }
  nav li a:hover {
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .header-social-link {
    display: none;
  }
  .header-mobile-btn {
    display: block;
  }
  .header-close-btn {
    display: none;
  }
  .header-menu {
    max-width: 132rem;
    padding: 2rem;
    /* background-color: var(--black); */
  }
  .header_logo img {
    width: 50%;
  }
  .header-menu-btn {
    color: var(--black);
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .grid-two-cols {
    grid-template-columns: 1fr;
  }
  .grid-three-cols {
    grid-template-columns: 1fr;
  }
  .grid-four-cols {
    grid-template-columns: 1fr;
  }
  .hero-style {
    height: 45vh;
  }
  .safety-comliance .grid {
    gap: 1rem;
  }
  .safety-comliance .grid-four-cols {
    grid-template-columns: 1fr 1fr;
  }
  .subfooter{
    flex-wrap: wrap;
  }
}
