html{
  box-sizing: border-box;
  font-size: 100%;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

*, *::before, *::after{
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body{
  position: relative;
}

.navbar{
  width: 100vw;
  height: 10vh;
  padding: 0 2rem;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-logo{
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-links{
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  & > li{
    list-style-type: none;
    padding: .5rem;
  }

  & a{
    text-decoration: none;
    color: black;
    height: 100%;
  }

  & a:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #028855;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: black;
  margin: 2px 0;
  transition: 0.4s;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translateY(4px);
}

.hamburger.active div:nth-child(2) {
  display: none;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translateY(-4px);
}

.hero{
  width: 100vw;
  height: 90vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 1rem;
  padding: 5rem;
  background: url("./assets/landing-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content{
  width: 50%;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;

  & .hero-content-item{
    flex: 0 0 100%;
    transition: transform 0.5s ease;
    display: none;
  }

  & .hero-content-item.activated{
    display: block;
  }

  & h1{
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  & p{
    margin-bottom: 1rem;
  }
}

.hero-image{
  width: 50%;
  height: fit-content;
  overflow: hidden;

  & img{
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.carousel-indicators .indicator {
  width: 3rem;
  height: 1rem;
  background-color: #fff;
  border-radius: 5px;
  margin: 0 5px;
  opacity: 0.5;
  cursor: pointer;
}

.carousel-indicators .indicator.active {
  opacity: 1;
  background-color: #004FDA;
}

.about-us{
  padding: 3rem 1rem;
  background-color: #028855;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.about-us-image{
  width: 40%;

  & img{
    max-width: 100%;
    height: 600px;
    object-fit: contain;
  }
}

.about-us-content{
  color: white;
  flex-grow: 1;

  & h3{
    font-size: 3rem;
    font-weight: 700;
  }

  & > p > span{
    font-weight: 600;
  }
}

.call-to-action{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.call-to-action-content{
  width: 45%;

  & > h3{
    font-size: 1.5rem;
  }

  & > p{
    font-weight: 200;
  }
}

.call-to-action-btns{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  & > button{
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .3rem .8rem;
    gap: .5rem;

    & > div{
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }

    & img{
      width: 2rem;
      height: 100%;
    }

    & p:last-of-type{
      font-size: 1.5rem;
    }
  }
}

.benefits{
  width: 100%;
  padding: 5rem 7rem;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & > h3{
    text-align: center;
    margin-bottom: 5rem;
    font-size: 2.5rem;
  }
}

.benefits-one, .benefits-two{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.benefits-one{
  margin-bottom: 3rem;
}

.benefits-one > div, .benefits-two > div{
  text-align: center;
  width: 25%;

  & > h4{
    margin: 1rem 0;
  }

  & > p{
    font-weight: 200;
  }
}

.works{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 

  & > h3{
    text-align: center;
    margin-bottom: 5rem;
    font-size: 2.5rem;
  }
}

.container{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  gap: .3rem;
}

.square{
  /* width: 15rem; */
  height: 13rem;
  border-radius: 10px;
  width: 20%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  display: flex;
  align-items: center;
  justify-content: center; 
  flex-direction: column;
  padding: 1.5rem;

  & > p:first-of-type{
    margin-top: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
    align-self: flex-start;
  }

  & > p:last-of-type{
    font-weight: 300;
    align-self: flex-start;
  }
}

.arr-hrzn{
  display: block;
}

.arr-vert{
  display: none;
}

.contact{
  width: 100%;
  padding: 5rem 7rem;
  background-color: white;

  & > h3{
    text-align: center;
    margin-bottom: 5rem;
    font-size: 2.5rem;
  }
}

.contact-cta{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-details{
  width: 40%;

  & > h4{
    font-weight: 500;
    font-size: 2.25rem;
    margin-bottom: 1.2rem;
  }

  & > div{
    margin-bottom: 1.2rem;

    & > h6{
      font-size: 1.75rem;
      font-weight: 500;
    }

    & > p{
      font-weight: 300;
      font-size: 1.5rem;
    }
  }  
}

.contact-form{
  width: 60%;
  background-color: #DFDFDF;
  padding: 2rem;
  border-radius: 10px;

  & > div{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;

    label{
      margin-bottom: .5rem;
      font-weight: 500;
    }

    input, textarea{
      padding: .8rem;
      border: none;
      border-radius: 5px;
    }
  }
}

.form-btn{
  width: 100%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background: #028855;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;

  &:hover{
    background: #0bbc78;
  }
}

.footer{
  width: 100%;
  background: #028855;
  padding: 1rem 6rem;
}

.footer-one{
  display: flex;
  justify-content: space-between;

  & h3{
    color: white;
  }
}

hr{
  margin: 3rem 0;
}

.footer-two{
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;

  & > div{
    display: flex;
    gap: 1.5rem;

    & > p{
      font-weight: 300;
    }
  }
}

.footer-links{
  display: flex;
  gap: .8rem;

  & p{
    font-weight: 500;
  }

  & a{
    text-decoration: none;
    color: white;
  }
}

.primary-button{
  background-color: #004FDA;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  display: flex;
  gap: .5rem;

  &:hover{
    background-color: #3879e9;
  }
}

@media only screen and (max-width: 1100px) {
  .container{
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .arr-hrzn{
    display: none;
  }
  
  .arr-vert{
    display: block;
  }

  .square{
    width: 30%;
  }
}

@media only screen and (max-width: 768px) {
  .navbar{
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .navbar-logo{
    width: 35%;
  }

  .navbar-links {
    position: fixed;
    right: -100%;
    top: 10%;
    height: 100%;
    width: 250px;
    padding-top: 3rem;
    background-color: #004FDA;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.3s ease;

    & a{
      color: white;
    }
  }

  .navbar-links.active {
    right: 0;
    z-index: 10;
  }

  .navbar-links li {
    margin-bottom: 20px;
  }

  .hamburger {
    display: flex;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 5;
  }

  .overlay.active {
    display: block;
  }

  .hero{
    flex-direction: column;
    padding-bottom: 0;
  }

  .hero-content, .hero-image{
    width: 100%;
  }

  .hero-content{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 50%;

    & .hero-content-item{
      min-height: 50%;
    }

    & h1{
      font-size: 1.5rem;
    }

    & p{
      font-size: .8rem;
    }

    & button{
      margin-bottom: 1rem;
    }
  }

  .carousel-indicators .indicator{
    height: .5rem;
    width: 1.5rem;
  }

  .about-us{
    flex-direction: column-reverse;
  }

  .about-us-image{
    width: 100%;

    & img{
      width: 100%;
      height: 600px;
      object-fit: cover;
    }
  }

  .about-us-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    & h3{
      font-size: 1.5rem;
    }
  }

  .call-to-action{
    flex-direction: column;
  }

  .call-to-action-content{
    width: 100%;

    & > h3{
      font-size: 1rem;
    }
  }

  .call-to-action-btns{

    & > button{

      & img{
        width: 1rem;
      }

      & p:last-of-type{
        font-size: 1rem;
      }
    }
  }

  .benefits-one, .benefits-two{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: 2rem;
  }

  .benefits-one{
    margin-bottom: 2rem;
  }

  .benefits-one > div, .benefits-two > div{
    text-align: center;
    width: 100%;
  }

  .works{

    & > h3{
      font-size: 1.5rem;
    }
  }

  .square{
    width: 40%;
  }

  .contact{
    padding: 3rem 5rem;
  }

  .contact-cta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }

  .contact-details{
    width: 100%;
  }

  .contact-form{
    width: 100%;
  }

  .footer-links{
    flex-direction: column;
  }
}

@media only screen and (max-width: 480px){
  .navbar-logo{
    justify-content: flex-start;
  }

  .navbar-logo{
    width: 50%;
  }

  .hero{
    padding: 2rem;
  }

  .benefits{
    padding: 1.5rem 3rem;
  }

  .square{
    width: 50%;
  }

  .contact{
    padding: 1rem 2rem;
  }

  .footer{
    padding: 1rem 2rem;
  }
} 

body.no-scroll {
  overflow: hidden;
}