*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  transition: all 300ms;
}

html,
body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

.container {
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 24px;
}

.button-primary {
  padding: 10px 25px;
  background-color: #c55a11;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #c55a11;
}

.button-primary:hover {
  color: #c55a11;
  background-color: #fff;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  height: 450px;
}

.card img {
  height: 42px;
}

.card p {
  font-size: 20px;
  text-transform: uppercase;
  color: #2f2e2e;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: 0;
  max-width: 150px;
  text-align: center;
}

.card span {
  font-size: 16px;
  color: #2f2e2e;
  max-width: 250px;
}

input {
  padding: 3px 3px 3px 24px;
  font-size: 18px;
  border: none;
  font-family: inherit;
  height: 35px;
  font-size: 16px;
  border-radius: 20px;
  width: 100%;
  margin-top: 20px;
}

textarea {
  padding: 12px 10px 3px 24px;
  resize: none;
  width: 100%;
  font-family: inherit;
  border: none;
  font-size: 16px;
  border-radius: 20px;
}

textarea::placeholder {
  font-size: 16px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.header img {
  max-height: 75px;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header nav a:not(:last-of-type) {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.header nav a:hover {
  color: #c55a11;
}

@media screen and (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 24px;
  }
}

@media screen and (max-width: 800px) {
  .header nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero {
  position: relative;
  padding: 280px 0;
  overflow: hidden;
}

.hero video {
  position: absolute;
  width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(197, 90, 17, 0.3);
  z-index: 1;
}

.hero > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 55px;
  text-align: center;
  line-height: 100%;
}

.hero p {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
}

@media screen and (max-width: 800px) {
  .hero h1 {
    font-size: 35px;
  }
}

.welcome {
  background-color: #c55a11;
  color: #fff;
  padding: 60px 0;
}

.welcome > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.welcome h2 {
  font-size: 36px;
}

.welcome span {
  font-size: 15px;
}

.welcome p {
  font-size: 18px;
  line-height: 150%;
}

@media screen and (max-width: 800px) {
  .welcome p {
    font-size: 16px;
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

@media screen and (max-width: 400px) {
  .features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.services {
  background-color: #c55a11;
  color: #fff;
  padding: 80px 0;
}

.services > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.services h3 {
  font-size: 50px;
}

.services p {
  font-size: 22px;
  font-weight: 500;
  line-height: 150%;
}

.services .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.services .grid > div p {
  font-size: 40px;
  font-weight: 600;
}

.services .grid > div ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  margin-top: 20px;
}

@media screen and (max-width: 900px) {
  .services .grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  height: 700px;
  background-image: url("../assets/contact-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(197, 90, 17, 0.3);
  z-index: 1;
}

.contact > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  height: 100%;
  color: #fff;
  position: relative;
  z-index: 2;
}

.contact h4 {
  font-size: 20px;
}

.contact h3 {
  font-size: 40px;
  text-align: center;
}

.contact .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.contact textarea {
  margin-top: 20px;
  height: 150px;
}

.contact button {
  margin: 20px auto;
}

@media screen and (max-width: 900px) {
  .contact .grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  border: 1px solid #00000033;
  box-shadow: 0px 4px 4px 0px #00000040 inset;
  background: #383838;
}

.footer > div {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  color: #fff;
  padding: 35px 0;
}

@media screen and (max-width: 980px) {
  .footer > div {
    flex-direction: column-reverse;
    border: none;
    box-shadow: none;
    background: transparent;
  }
}

.footer h5 {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
}

.footer h5 span {
  font-size: 13px;
  letter-spacing: 0%;
}

.footer img {
  max-width: 270px;
}

.footer p {
  max-width: 325px;
  font-weight: 800;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: 0%;
}
