body {
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

header {
  background-color: #000000;
  display: flex; 
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  a {
    text-decoration: none;
    color: #ffffff;
    margin-left: 20px;
    font-weight: 400;
    font-size: 14px;
    &:hover {
      color: #bebebe;
    }
    &.active {
      font-weight: 600;
      border-bottom: solid 1px #ffffff;
    }
  }
}

main {
  min-height: calc(100vh - 204px);
}

footer {
  background-color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 30px;
  color: #ffffff;
  height: 134px;
}

.logo {
  display: flex;
  align-items: center;
  margin: 0;
}

.logo-img {
  width: 70px;
  height: 70px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  height: 94px;
  justify-content: space-between;
  a {
    text-decoration: none;
    color: #ffffff;
    &:hover {
      color: #bebebe;
    }
  }
  i {
    width: 16px;
    padding-right: 8px;
  }
}

.copyright-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  .copyright-img {
    height: 110px;
    max-width: 192px;
  }
  .copyright {
    font-weight: 300;
    font-size: 12px;
    padding-bottom: 10px; 
  }
}

.info-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #323232;
  .info-text-container {
    max-width: 900px;
  }
}

.info-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  .value-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 700px;
    .info-card {
      margin-bottom: 30px;
      width: 146px;
      height: 146px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;

      &.construction {
        color: #cd7400;
        border: 6px solid #cd7400;
        background: radial-gradient(circle at center, #ffffff 50%, #ffd9a6);
      }

      &.engineering {
        color: #00940e;
        border: 6px solid #00940e;
        background: radial-gradient(circle at center, #ffffff 50%, #beffaf);
      }

      &.management {
        color: #000fab;
        border: 6px solid #000fab;
        background: radial-gradient(circle at center, #ffffff 50%, #aab1ff);
      }

      &.about {
        color: #CFFF04;
        border: 6px solid #CFFF04;
        &:hover {
          animation: fade-in .6s ease-out forwards;
          cursor: none;
          background-color: #CFFF04;

          .info-description {
            display: flex;
            color: #000000;
          }
          i {
            display: none;
          }
          .info-card-title {
            display: none;
          } 
        }
      }

     .info-card-content {
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        
        .info-card-title {
          font-size: 20px;
        }
      }
      .info-icon {
        height: 60px;
        padding-bottom: 8px; 
      }
      i {
        font-size: 50px;
        padding-bottom: 8px;
      }
      .info-description {
        display: none;
      }
    }
    a {
      transition: transform 0.3s ease-in-out;
      text-decoration: none;
      &:hover {
        cursor: pointer;
        transform: translateY(-6px);
        box-shadow: 0 4px 4px rgba(0,0,0,.14);
      }
    }
  }
}

.supporting-image {
  width: 100%;
  height: 430px;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  background-size: 100%;
  background-position: top;
  display: flex;
  align-items: center;
  &.home {
    background-image: url("../assets/images/IMG_5237.jpeg");
  }
  &.about {
    background-image: url("../assets/images/IMG_5251.jpeg");
    height: 200px;
  }
  &.services {
    background-image: url("../assets/images/IMG_5217.jpeg");
    height: 200px;
  }
  &.careers {
    background-image: url("../assets/images/IMG_9610.jpeg");
    height: 200px;
    background-position: center;
  }
  &.subcontractors {
    background-image: url("../assets/images/IMG_5276.jpeg");
    height: 200px;
  }
  &.contact {
    background-image: url("../assets/images/IMG_5297.jpeg");
    height: 200px;
    background-position: center;
  }
}

.supporting-image-text {
  color: #ffffff;
  font-size: 50px;
  font-weight: 900;
  padding-left: 40px;
  display: flex;
  width: 100%;
  flex-direction: column;
  animation: slideRight 0.8s ease-out forwards;
}

.tagline {
  font-size: 36px;
  font-weight: 600;
  padding: 24px 24px 0 0;
  animation: slideLeft 0.8s ease-out forwards;
  display: flex;
  justify-content: flex-end;
}

@keyframes fade-in { 
  from {
    opacity: 0;
  }
  to { 
    opacity: 1; 
  } 
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* Home page */

.text-subtext {
  padding-top: 8px;
  font-size: 32px;
}

.learn-more {
  padding: 10px 16px;
  margin: 16px 0;
  width: fit-content;
  border: solid 2px #ffffff;
  border-radius: 10px;
  background-color: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  &:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  }
}

.home-info {
  padding: 30px 60px 30px;
  animation: slideIn 0.8s ease-out forwards;
}

/* About page */

.about-content {
  animation: slideIn 0.8s ease-out forwards;
  line-height: 18px;
}

.about-description {
  font-size: 16px;
  line-height: 24px;
  padding: 32px 60px 10px;
  max-width: 900px;
}

.values-container {
  background: #000000;

  h1 {
    padding-top: 40px;
    color: white;
  } 
}

.employees-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 0 30px;
  justify-content: space-between;
  .employee-card {
    padding: 0 30px 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    text-align: center;
    .employee-photo {
      height: 100px;
      width: auto;
    }
    .employee-name {
      font-weight: 600;
      padding: 8px 0;
    }
    .employee-title {
      font-size: 14px;
    }
  }
}

/* Services Page */
.services-info {
  animation: slideIn 0.8s ease-out forwards;
  line-height: 24px;
  text-align: center;
  .service-box {
    display: flex;
    justify-content: center;

    &.engineering {
      background-color: #000000;
      color: #ffffff;
        .line-break {
          border: 1px solid #ffffff !important;
        }
      .service-description {
        color: #e1e1e1 !important;
      }
    }

    .service-text {

      .service-title {
        padding: 40px 0 8px 0;
        font-weight: 600;
        font-size: 28px;
        display: flex;
        justify-content: center;
      }
      .line-break {
        width: 80px;
        border: 1px solid #000000;
      }
      .service-description {
        display: flex;
        padding: 0 20px 24px;
        color: #323232;
        max-width: 900px;

        .service-photos {
          padding: 20px;
          width: 170px;
          height: 170px;
          border-radius: 50%;
          object-fit: cover;
        } 

        p {
          font-size: 16px;
        }
      }
    }
  }
}

/* Careers Page */
.careers-info {
  .no-job-postings {
    width: 100%;
    height: calc(100vh - 404px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #323232;
    i {
      font-size: 80px;
      color: #b2b2b2;
      padding-bottom: 16px;
    }
    .no-postings-title {
      font-size: 20px;
      font-weight: 600;
      padding-bottom: 8px;
    }
    .no-postings-description  {

    }
  }
  #job-list {
    padding: 40px;
    display: flex;
    justify-content: center;

    .job-container {
      display: flex;
      max-width: 900px;
      background-color: #e9e9e9;
      padding: 20px;
      border-radius: 4px;

      .job-text {

        .job-title {
          font-size: 22px;
          font-weight: 600;
        }

        .job-description {
          padding-top: 8px;
        }
      }

      .apply-btn-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;

        .apply-btn {
          text-decoration: none;
          background-color: #000000;
          color: #ffffff;
          font-weight: 600;
          padding: 8px;
          border-radius: 4px;
        }
      }
    }
  }
}


/* Contact Page */
.contact-info {
  animation: slideIn 0.8s ease-out forwards;
  padding-top: 24px;
}


.nav-toggle { 
  position: absolute; 
  left: -9999px; 
}

.mobile-nav {
  display: none;
}

.mobile-dropdown {
  display: none;
}


@media (max-width:744px) {
  .nav-container {
    display: none;
  }
  .mobile-nav {
    display: block;
    color: #ffffff;
  }
  .nav-toggle:checked ~ header .mobile-dropdown { 
    display: flex; 
    position: absolute;
    right: 10px;
    top: 54px;
    flex-direction: column;
    background-color: #f4f4f4;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.14);
    padding: 8px 0;
    a {
      color: #000000;
      margin: 0;
      padding: 10px;
      &.active {
        background-color: #e0e0e0;
        font-weight: 400;
      }
    }
  }
  .logo-img {
    width: 66px;
    height: 66px;
  }
  footer {
    flex-direction: column;
    align-items: start;
    height: fit-content;
  }
  .supporting-image {
    height: 200px;
  }
  .supporting-image-text {
    font-size: 32px;
  }
  .tagline {
    display: none;
  }
  .text-subtext {
    font-size: 22px;
  }
  .learn-more {
    margin: 12px 0;
  }
  .info-card {
    width: 146px !important;
  }
  .info-card-content {
    padding: 26px !important;
  }
  .info-text {
    text-align: center;
    padding-bottom: 20px;
    line-height: 24px;
  }
  .info-images {
    padding: 0;
  }
  .value-row {
    align-items: center;
    flex-direction: column;
  }
  .copyright-container {
    flex-direction: row;
    padding-bottom: 20px;
  }
  .about-content {
    padding: 0;
  }
  .employees-container {
    padding: 0;
    align-items: center;
    flex-direction: column;
  }
  .employee-card {
    padding: 0 0 30px 0 !important;
  }
  .service-description {
    flex-direction: column;

    .service-photos {
      padding: 4px 0 0 0 !important;
    }
    p {
      margin: 0;
    }

    &.engineering {
      flex-direction: column-reverse;
    } 
  }
  .no-job-postings {
  }
}
