/* ----------- Global Style ------------- */
body {
  background-color: #f2f2f2;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: #2e3548;
  display: block;
  text-align: center;
}
.title.icon-before::before {
  content: url("../img/logo-steamcontrol.png");
  display: block;
  margin: 0 0.875rem;
}
.title span {
  color: #b1b1b1;
}
.title.text-white {
  color: #fff;
}
.content-text p,
.about_icons-description {
  font-size: 1.25rem;
  font-weight: 400;
  color: #2e3548;
}
.content-text.white p,
.about_icons-description.white {
  color: #f7f7f7;
}

/* ----- Swiper ----- */
.client .swiper-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.client .swiper-wrapper {
  align-items: center;
}
.client .swiper-slide {
  text-align: center;
  font-size: 18px;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.client .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 120px;
  filter: grayscale(1);
  object-fit: cover;
  transition: 0.3s ease;
}
.client .swiper-slide img:hover {
  filter: grayscale(0);
}

/* ----------- Menu ------------- */
.navbar .container {
  z-index: 10;
}
.navbar::after {
  content: "";
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
.navbar .menu {
  margin: 0;
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link {
  color: #fff;
}
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
  color: rgb(218, 204, 204);
}
.nav-item {
  position: relative;
  margin: 8px 20px;
  padding: 0;
  display: inline-block;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.nav-item a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 !important;
  display: inline-block;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  color: #2e3548;
}
.nav-item a::before {
  position: absolute;
  content: "";
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2e3548;
  opacity: 0;
  transition: all 250ms linear;
}
.nav-item a.active::before,
.nav-item a:hover::before {
  bottom: -8px;
  opacity: 1;
  background-color: #434d68;
}
[aria-current="page"]::before {
  bottom: -8px !important;
  opacity: 1 !important;
}

/* -------------- Carousel ------------- */
.carousel {
  position: relative;
  background-size: cover;
  background-position: center;
}
.carousel-line {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  background-color: #34394f;
}
.carousel::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}
.main.carousel {
  background-image: url("../img/home.webp");
  height: 100vh;
}
.content-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
  margin: 0 auto;
}
.content-carousel h2 {
  z-index: 10;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #080808;
}
/* ----------- About ------------- */
.page.about_us {
  background: #f2f2f2;
}
.about.carousel {
  background-image: url("../img/main.webp");
  background-position: top center;
  height: 60vh;
}

.about_icons {
  position: relative;
  background-image: url("../img/background-about-icons.webp");
  background-repeat: no-repeat;
  background-position: bottom left;
}
.about_icons-block {
  max-width: 100%;
}

.about_icons .box-image {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #3c3f52;
  border-radius: 50%;
  background-color: #ffffff;
}
.about_icons .box-image img {
  width: 48px;
  height: 48px;
}
.about_icons-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.75rem;
  color: #1b4091;
  text-transform: uppercase;
}
.about_icons-title.white {
  color: #ffffff;
}
/* ----------- Card-Services ------------- */
.page.services {
  background: linear-gradient(180deg, transparent 70%, #0060ad 70%);
  padding: 4rem 0;
}

.a-box {
  display: block;
  width: 240px;
  text-align: center;
  margin: 0 auto;
}

.img-container {
  height: 230px;
  width: 200px;
  overflow: hidden;
  border-radius: 0px 0px 20px 20px;
  display: inline-block;
}

.img-container img {
  transform: skew(0deg, -13deg);
  height: 250px;
  margin: -35px 0px 0px 0px;
  object-fit: cover;
}

.inner-skew {
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  padding: 0px;
  transform: skew(0deg, 13deg);
  font-size: 0px;
  margin: 30px 0px 0px 0px;
  background: #e4e4e5;
  height: 250px;
  width: 200px;
}
.card-title {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  padding: 120px 20px 20px 20px;
  border-radius: 20px;
  background: #fff;
  margin: -120px 0px 0px 0px;
  line-height: 19px;
}
.card-title h3 {
  margin: 20px 0px 10px 0px;
  color: #30354a;
  font-size: 18px;
}
.swiper-container .swiper-pagination-services {
  bottom: 0px;
}
.services__container .swiper-wrapper {
  padding-bottom: 1rem;
}
.img_services {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: 4px 8px 20px rgb(0 0 0 / 30%);
}
/* -------------- Client / Partners ------------- */
.page.client {
  padding-top: 4rem;
}
.client.bg-dark {
  background: #080808 !important;
}
.client img {
  max-width: 120px;
  height: auto;
}

/* -------- Project ---------- */

.project.carousel {
  background-image: url("../img/home.jpeg");
  background-position: center center;
  height: 60vh;
}
.project_group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.project_card {
  position: relative;
  width: 350px;
  height: 480px;
  padding: 1rem;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  background: #0060ad;
  margin: 1rem;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.project_card::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
  transition: 0.6s ease-in-out;
}
.project_card::after {
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(0, 0, 0, 0.85) 100%
  );
}
.project_card-content {
  opacity: 1;
  color: #ffffff;
  z-index: 100;
  transition: 0.3s ease-in-out;
}
.project_card:hover .project_card-content {
  opacity: 1;
}
.project_card-title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5rem;
}
.project_card-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
}
.project-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 3rem;
}
.block {
  background: #fff;
  width: 140px;
  height: 70px;
  margin-right: 4rem;
}
/* --------- Banner --------- */
.bg-banner {
  background-color: #080808;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpolygon fill='%23220000' points='1600 160 0 460 0 350 1600 50'/%3E%3Cpolygon fill='%23440000' points='1600 260 0 560 0 450 1600 150'/%3E%3Cpolygon fill='%23660000' points='1600 360 0 660 0 550 1600 250'/%3E%3Cpolygon fill='%23880000' points='1600 460 0 760 0 650 1600 350'/%3E%3Cpolygon fill='%23A00' points='1600 800 0 800 0 750 1600 450'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom;
}
.btn.btn-download {
  font-weight: 700;
  color: #222a2c;
  background: #ffffff;
  padding: 18px 32px;
  transition: 0.3s ease;
}
.btn.btn-download:hover {
  background: #080808;
  color: #ffffff;
}
/* -------- Form ---------- */
.page.contact-us {
  padding: 2rem;
}
.contact.carousel {
  background-image: url("../img/contactus.jfif");
  height: 40vh;
}
.form-contact {
  height: 85vh;
}
.bg-black {
  max-width: 700px;
  position: relative;
  z-index: 10;
  background: #212529;
  margin: 0 auto;
}
.contact-us img {
  object-fit: cover;
  height: 200px !important;
  width: 100%;
}
.contact-us .descricao {
  width: 100%;
}
.map {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  border: none;
}
.form input,
.form textarea {
  color: #ffffff;
  background: #161922;
  border: none;
}
.form input:focus,
.form textarea:focus {
  color: #ffffff;
  background: #161922;
}

.form input[type="submit"] {
  padding: 12px 32px;
  width: 100%;
}

/* ------ Footer ------ */
.bg-rodape {
  position: relative;
  background: #212529;
}

@media (min-width: 768px) {
  .title {
    display: flex;
    align-items: center;
    text-align: left;
  }
  .title span {
    margin: 0 0.5rem;
  }
  .about_us {
    background-image: url("../img/background-about.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
  }
  .about_icons {
    background-position-x: -885px;
  }
  .about_icons-block {
    max-width: 80%;
  }
  .about_icons-title.white {
    color: #2e3548;
  }
  .content-text.white p,
  .about_icons-description.white {
    color: #2e3548;
  }
  .img_services {
    height: 300px;
  }
  .project_card {
    width: 310px;
    height: 440px;
  }
  .project_card::after {
    background: linear-gradient(
      180deg,
      transparent 50%,
      rgba(0, 0, 0, 0.45) 100%
    );
  }
  .project_card.hover::after {
    background: linear-gradient(
      180deg,
      transparent 20%,
      rgba(0, 0, 0, 0.85) 100%
    );
  }
  .project_card-content {
    opacity: 0;
  }
  .contact-us img {
    height: 500px !important;
    width: initial;
  }
  .contact-us .descricao {
    width: 75%;
  }
}
@media (min-width: 1024px) {
  .navbar .menu {
    position: relative;
  }
  .about_icons {
    background-position-x: -570px;
  }
  .about_icons-block {
    max-width: 68%;
  }
  .about_icons-item:nth-child(2) {
    margin-left: 4rem;
  }
  .about_icons-item:nth-child(3) {
    margin-left: 8rem;
  }
  .project_card {
    width: 350px;
    height: 480px;
  }
  .img_services {
    width: 500px;
    height: 500px;
  }
  .form-contact {
    height: 55vh;
  }
}
@media (min-width: 1280px) {
  .about_icons {
    background-position-x: -385px;
  }
  .about_icons-block {
    max-width: 58%;
  }
  .form-contact {
    height: 90vh;
  }
}
@media (min-width: 1440px) {
  .about_icons {
    background-position-x: -105px;
  }
  .about_icons-block {
    max-width: 58%;
  }
  .form-contact {
    height: 75vh;
  }
}

.wpcf7 form .wpcf7-response-output {
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2; /* Blue */
  color: #fff;
}

.wpcf7 form.init .wpcf7-response-output {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450; /* Green */
  color: #fff;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232; /* Red */
  color: #fff;
}

.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f56e28; /* Orange */
  color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #ffb900; /* Yellow */
  color: #fff;
}
