:root {
  --pry-clr: #2424d1;
  --pry-clr-dark: #1e1ea5;
  --pry-clr-light: #6767ce;
  --sec-clr: #851bde;
  --neutral-clr: #b2ab9a;
  --white: #fafafa;
  --black: rgb(22, 22, 25);
  --black-75: rgba(22, 22, 25, 0.75);
  --black-50: rgba(22, 22, 25, 0.5);
  --black-25: rgba(22, 22, 25, 0.25);
  --black-10: rgba(22, 22, 25, 0.1);
  --black-5: rgba(22, 22, 25, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  color: var(--black);
  line-height: 1.4;
  /* overflow: hidden; */
}

img {
  width: 100%;
}
a {
  text-decoration: none;
}

.container {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;

  /* overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory; */
}

/* section {
  width: 100%;
  height: 100vh;
} */

/* NAVIGATION  */
nav {
  background-color: var(--pry-clr);
  position: fixed;
  width: 100%;
  height: 60px;
  z-index: 1;
  top: 0;
}

.navbar {
  padding: 5px 0;
}

.navbar_nav {
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 80%;
  height: auto;
}

.nav_link {
  display: none;
}

.min-menu {
  display: block;
}

.nav_item {
  margin-left: 2.5rem;
  text-transform: uppercase;
}

.nav_item .navItem {
  font-size: 0.85rem;
  background-color: var(--white);
  color: var(--black);
  display: block;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 3px;
}

.nav_item .navItem:hover {
  background-color: var(--pry-clr-light);
  transition: all 0.5s;
}

.cta {
  font-size: 0.85rem;
  border-radius: 5px;
  background-color: var(--black);
  color: var(--white);
  display: block;
  padding: 8px 20px;
  text-decoration: none;
}

@media (min-width: 758px) {
  .logo {
    width: 25%;
  }
  .nav_link {
    display: flex;
    justify-content: end;
    align-items: center;
    list-style-type: none;
  }

  .min-menu {
    display: none;
  }
}
/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  height: auto;
  float: left;
  clear: both;
}

/* .outter_full_width {
  width: 100%;
  height: auto;
  float: left;
  clear: both;
} */

.carousel_inner {
  max-width: 100%;
  height: auto;
  margin: auto;
}

.carousel_slides {
  width: 100%;
  height: auto;
  position: relative;
}

/* .slide_one,
.slide_two,
.slide_three,
.slide_four {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
} */
/*
.slide_one {
  animation: slideOne 20s infinite;
}

.slide_two {
  animation: slideTwo 20s infinite;
}

.slide_three {
  animation: slideThree 20s infinite;
}

.slide_four {
  animation: slideFour 20s infinite;
}

.carousel_slides {
  max-width: 100%;
} */

/* @keyframes slideOne {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideTwo {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
} */

/* @keyframes slideThree {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
} */

/* @keyframes slideFour {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
} */

.content {
  height: 30vh;
  width: 100%;
  background-image: url(../img/handpump.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 2s;

  animation-name: animate;
  animation-direction: alternate-reverse;
  animation-play-state: running;
  animation-timing-function: ease-in-out;
  animation-duration: 20s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

@keyframes animate {
  0% {
    background-image: url(../img/road-bulldozer.jpg);
  }

  /* 25% {
    background-image: url(../img/tanya-grypachevskaya-Oc0VsVlNy9U-unsplash.jpg);
  } */
  50% {
    background-image: url(../img/structural-foundation.jpg);
  }
  /* 75% {
    background-image: url(../img/tezos-FRkuSI_dtmM-unsplash.jpg);
  } */
  100% {
    background-image: url(../img/worksite.jpg);
  }
}

.top {
  position: absolute;
  background-color: #0056b3;
  width: 60%;
  padding: 1rem 1.5rem;
  top: 100px;
  left: 40px;
  color: var(--white);
}

.top h1 {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.top p {
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

@media (min-width: 758px) {
  .content {
    height: 100vh;
  }
  .top {
    position: absolute;
    background-color: #0056b3;
    width: 40%;
    padding: 2rem 3rem;
    top: 200px;
    left: 100px;
    color: var(--white);
  }

  .top h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .top p {
    font-size: 1rem;
    margin-bottom: 1.1rem;
  }
}

.h-text {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2.5rem;
}

.h-text::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--sec-clr);
}

.services {
  background-color: var(--black-5);
  padding: 5rem 0;
}

.services h2 {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.container_serv {
  width: 800px;
  max-width: 60%;
  margin: 0 auto;
}

.s_flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service_item {
  padding: 2rem;
  text-align: center;
  box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  transition: 1s ease-in-out;
}

.service_item:hover {
  transform: scale(1.2);
}

.service_item img {
  margin-bottom: 1rem;
  width: 50%;
}

.text-content h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.text-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.text-content a {
  display: inline-block;
  text-decoration: none;
  padding: 3px 12px;
  border-radius: 3px;
}

@media (min-width: 768px) {
  .s_flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .services {
    background-color: var(--black-5);
    height: 100vh;
    padding: 5rem 0;
  }
}

/* ABOUT SECTION */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  font-size: 1rem;
}

.about_img {
  background-image: url(../img/crane.jpg);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
  height: 25vh;
}

.about_content {
  background-color: var(--white);
  align-self: center;
  padding: 2rem 4rem;
  text-align: center;
  /* height: 90vh; */
  /* width: 45vw; */

  box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
}

.about_content h4 {
  margin-bottom: 1.6rem;
}

.about_content p {
  margin-bottom: 1.1rem;
}

.btn {
  display: block;
  padding: 8px 16px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  border-radius: 5px;
}

.btn-primary {
  color: var(--white);
  background-color: var(--sec-clr);
  border: 1px solid var(--sec-clr);
}

.btn-secondary {
  border: 1px solid var(--sec-clr);
}

@media (min-width: 768px) {
  .about {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    height: 100vh;
    font-size: 1rem;
  }

  .about_img {
    height: 100vh;
  }

  .about_content {
    background-color: var(--white);
    align-self: center;
    padding: 2rem 4rem;
    margin-left: -5rem;
    height: 90vh;
    width: 48vw;
    text-align: left;

    box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  }
  .btn {
    display: inline-block;
    margin-right: 10px;
  }
}

/* PHILOSOPHY */
#philosophy {
  height: 100vh;
}
.philosophy-main {
  background-color: var(--black-5);
  padding: 5rem 0;
}
.philosophy {
  background-color: var(--black-25);
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 8rem 0; */
}

.process {
  /* display: flex;
  justify-content: space-between;
  gap: 5px; */
  text-align: center;
  margin-top: 9rem;
  padding-bottom: 3rem;
}

.p-item {
  /* background-color: #2424d1; */
  margin-bottom: 6rem;
}

.process span {
  background-color: var(--pry-clr-light);
  padding: 3rem;
  border-radius: 100%;
}

.process h4 {
  font-size: 0.85rem;
  margin-top: 4rem;
}
.process p {
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

.p-item {
  padding: 0 3rem;
}

@media (min-width: 768px) {
  .process {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    text-align: center;
    margin-top: 9rem;
    padding-bottom: 3rem;
  }
}

/* FORM SECTION */
.contact {
  background-color: var(--black-10);
  padding-top: 4rem;
}

.form_section {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 15px;
}

.form-item {
  padding: 0 2.5rem;
}
.form-flex {
  display: flex;
  flex-direction: column;
  font-size: 2rem;
}

.form-item > div {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.loc-box,
.tel-box,
.email-box {
  padding: 5px 15px;
  background-color: var(--white);
  width: 100%;
  height: 30%;

  box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 10px 10px 18px -3px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .loc-box,
  .tel-box,
  .email-box {
    width: 300px;
    margin-left: 200px;
    height: 22%;
  }
}

.form-item > div h3 {
  text-transform: uppercase;
  margin-bottom: 10px;
}

#fcf-form {
  display: block;
}

.fcf-body {
  margin: 0;
  font-family: -apple-system, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  padding: 30px;
  padding-bottom: 10px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  max-width: 100%;
}

.fcf-form-group {
  margin-bottom: 1rem;
}

.fcf-input-group {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

.fcf-form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: var(--black-5);
  background-clip: padding-box;
  border: 1px solid #ced4da;
  outline: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
  border: 1px solid #313131;
}

select.fcf-form-control[size],
select.fcf-form-control[multiple] {
  height: auto;
}

textarea.fcf-form-control {
  font-family: -apple-system, Arial, sans-serif;
  height: auto;
}

label.fcf-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.fcf-credit {
  padding-top: 10px;
  font-size: 0.9rem;
  color: #545b62;
}

.fcf-credit a {
  color: #545b62;
  text-decoration: underline;
}

.fcf-credit a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.fcf-btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .fcf-btn {
    transition: none;
  }
}

.fcf-btn:hover {
  color: #212529;
  text-decoration: none;
}

.fcf-btn:focus,
.fcf-btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
  color: var(--white);
  background-color: var(--pry-clr);
  border-color: var(--pry-clr);
}

.fcf-btn-primary:hover {
  color: var(--white);
  background-color: var(--pry-clr-light);
  border-color: var(--pry-clr-light);
}

.fcf-btn-primary:focus,
.fcf-btn-primary.focus {
  color: var(--white);
  background-color: var(--pry-clr-dark);
  border-color: var(--pry-clr-dark);
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fcf-btn-lg,
.fcf-btn-group-lg > .fcf-btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.fcf-btn-block {
  display: block;
  width: 100%;
}

.fcf-btn-block + .fcf-btn-block {
  margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block,
input[type="reset"].fcf-btn-block,
input[type="button"].fcf-btn-block {
  width: 100%;
}

/* FOOTER LINKS */
footer {
  background-color: var(--pry-clr-dark);
}

.footer_container {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 2rem 0;
}

.footer-flex > div {
  margin-bottom: 1.5rem;
}

.links li {
  list-style-type: none;
  margin-bottom: 1.1rem;
}

.links li a {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
}

.copyright {
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  .footer-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-flex > div {
    margin-bottom: 0;
  }

  .links {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .links li {
    list-style-type: none;
    /* padding: 0.8rem 0; */
    font-size: 1rem;
  }

  .links li a {
    margin-left: 1rem;
  }

  .copyright {
    text-align: right;
    color: white;
  }
}
