@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');
@import url('./icomoon.css');

:root {
  /* --primary-color: rgb(228, 134, 27); */
  --primary-color: rgb(128, 128, 128);
  --background: #f0f0f0;
  --overlay-color: rgba(107, 114, 128, 0.99);
  --overlay-color2: rgba(228, 134, 27, 0.2);
  --overlay-color3: rgba(128, 128, 128, 0.8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  position: relative;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden !important;
  max-width: 100vw;
  /* background-color: var(--background); */
}

a {
  text-decoration: none;
}

.logo {
  width: 25rem;
  height: 70%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );

  position: absolute;
  z-index: 999;
  width: 100%;
  height: 100px;
}

.logos-container {
  width: 70%;
  height: 60%;
  display: flex;
  align-items: center;
}

.logos-container img {
  width: 100%;
  height: auto;
  border-bottom: 5px solid var(--overlay-color);
}

nav p {
  margin: 0;
}

.burger {
  display: none;
  border: transparent;
  border-radius: 50%;
  padding: 5px 10px;
  background-color: transparent;
  font-size: 20px;
  color: var(--primary-color);
}

.burger:focus {
  outline: none;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  position: relative;
  color: lightgray;
  font-size: 1.6rem;
}

nav ul li a:hover {
  color: var(--background);
}

nav ul li a::after {
  content: '';
  background-color: var(--overlay-color);
  position: absolute;
  height: 2px;
  width: 100%;
  left: 0;
  bottom: -18px;
  transition: transform 0.2s ease;
  opacity: 0;
}

nav ul li a:hover::after {
  transform: translateY(-15px);
  opacity: 1;
}

.nav__item {
  color: var(--overlay-color3);
  font-weight: bold;
}

/* 
  =======================================
  Hero section 
  =======================================
  */

.hero {
  display: grid;
  place-content: center;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.hero img {
  filter: brightness(40%);
  height: 100vh;
  width: max-content;
}

.hero div {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

.hero div > * {
  margin-top: 30px;
}

.hero h1 {
  color: var(--primary-color);
  font-weight: 400;
  font-size: 3.5rem;
}

.hero p {
  color: lightgray;
  font-size: 1.8rem;
}

.hero a {
  color: var(--background);
  background-color: var(--primary-color);
  padding: 10px;
  width: auto;
  font-size: 1.8rem;
  border-radius: 5px;
  transition: all 400ms ease;
}

.hero a:hover {
  background-color: var(--background);
  color: var(--primary-color);
  transform: scale(1.1);
}

.section2 {
  position: relative;
  top: 0;
}

.section2 * {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.section2 div {
  display: flex;
  flex-direction: inherit;
  align-items: inherit;
  justify-content: center;
}

.section2 div + div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section2 div h2 {
  display: inline-block;
  margin: 40px 0;
  font-size: 3.4rem;
  font-weight: 300;
  text-align: center;
  color: var(--primary-color);
}

.divisor {
  width: 80vw !important;
  height: 1px;
  background-color: #333;
  opacity: 0.6;
  margin: 0 auto;
  margin-bottom: 40px;
  z-index: -1;
}

.section2 div h4 {
  font-size: 2.2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  color: #a2a5a7;
}

.section2--container {
  margin: 13px 0;
  width: 80vw;
  max-width: 700px;
}

.section2--container :is(h5, p) {
  text-align: center;
}

.section2--container h5 {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 24px;
  margin-bottom: 13px;
  color: var(--primary-color);
}

.section2--container p {
  margin: 0 0 20px 0;
  color: var(--overlay-color3);
  font-size: 15px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0.2px;
  padding: 0 10px;
}

.section2--icon-container {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 200px;
  border: 15px solid #f0f0f0;
  padding: 50px;

  margin-bottom: 26px;
  transition: background-color 400ms ease-in-out;
  border-radius: 50%;
  background: #f0f0f0;
  box-shadow: 25px 25px 50px #cccccc, -25px -25px 50px #ffffff;
}

.icon {
  font-size: 6.4rem;
  color: var(--primary-color);
  margin: auto;
  transition: color 400ms ease-in-out;
}

.section3 div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section3 div h2 {
  display: inline-block;
  margin: 40px 0;
  font-size: 3.4rem;
  font-weight: 300;
  text-align: center;
  color: var(--primary-color);
}

.section3 div h4 {
  font-size: 2.2rem;
  font-weight: 300;
  text-align: center;
  margin: 40px 20px;
  padding: 0 15px;
  color: var(--overlay-color3);
}

.portfolio h2 {
  margin-bottom: 0;
  display: inline-block;
  margin: 40px auto;
  font-size: 3.4rem;
  font-weight: 300;
  text-align: center;
  color: var(--primary-color);
  width: 100%;
}

.portfolio--container {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: auto;
  height: auto;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-left: 10px;
}

.slides {
  scroll-snap-align: start;
  height: 100%;
  width: 90%;
  margin: 0 5px;
  transform: scale(1);
  transition: 0.4s ease;
  padding-left: 10px;
}

.slides:hover {
  transform: scale(0.98);
  transition: transform 0.4s ease;
}

.section4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 40px;
  background-color: var(--overlay-color3);
}

.section4--text-container h3 {
  font-size: 2.4rem;
  font-weight: 400;
  text-align: center;
  line-height: 34px;
  color: #f0f0f0;
  margin-top: 26px;
}

.section4--text-container h6 {
  display: block;
  margin: 26px auto;
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
  line-height: 2.3rem;
  color: lightgray;
}

.section4 .button {
  color: #fff;
  padding: 9px 20px;
  border: 1px solid var(--background);
  padding: 10px 15px;
  font-size: 1.6rem;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  margin-bottom: 26px;
}

.section5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 52px;
}

.section5 .icomoon-arrow-right-2 {
  font-size: 1.4rem;
}

.section5 * {
  margin: 13px 0;
}

.section5 img {
  width: 80vw;
  height: 100%;
  margin-top: 3.5rem;
  border-radius: 2rem;
  box-shadow: 25px 25px 50px #cccccc, -25px -25px 50px #ffffff;
}

.section5 h3 {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--overlay-color);
}

.section5 h3:nth-child(3) {
  color: #a2a5a7;
}

.section5 h6 {
  display: block;
  padding: 0 20px;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
  color: var(--overlay-color3);
}

.section5 a {
  font-size: 2.2rem;
  outline: 0;
  color: var(--primary-color);
  transition: all 400ms ease;
}

.section5 a:hover {
  transform: scale(1.1);
}

.section6 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.grid {
  --cols: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(Max(calc(100% / var(--cols, 1)), 250px), 1fr));
  width: 100%;
}

.section6 div div {
  display: flex;
  flex-direction: row;
  margin: 26px 0;
  width: 100%;
}

.section6 div div div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0 5px 26px;
}

.section6 .icon.process {
  padding: 15px;
  border-radius: 50%;
  transition: all 400ms ease-in-out;
  border: 10px solid var(--background);
  border-radius: 50%;
  background: #f0f0f0;
  box-shadow: 25px 25px 50px #cccccc, -25px -25px 50px #ffffff;
}

.section6 h2 {
  font-size: 2.8rem;
  text-align: center;
  font-weight: 400;
  margin: 26px 0;
  color: var(--overlay-color);
}

.section6 h4 {
  color: #a2a5a7;
  font-size: 1.8rem;
  text-align: center;
  font-weight: 300;
}

.section6 h5 {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--overlay-color);
}

.section6 p {
  font-size: 1.2rem;
}

/* 
  =======================================
  Footer section 
  =======================================
  */

footer {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  background-color: var(--overlay-color3);
  text-align: center;
  vertical-align: bottom;
}

footer p {
  font-size: 1rem;
  color: #f0f0f0;
}

footer div {
  margin-top: 10px;
}

.footer--social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer--social div {
  display: flex;
  text-align: left;
}

.footer--social div ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.footer--social div ul li {
  color: #fff;
  font-size: 1.3rem;
  list-style: none;
}

.footer--social i {
  display: inline-block;
  font-size: 2.5rem;
  color: #f0f0f0;
  margin: 10px 10px 13px 10px;
  border: 2px solid transparent;
  padding: 5px;
  transition: 400ms ease-in-out;
  border-radius: 50%;
}

.footer--social img {
  height: 80px;
  margin-bottom: 10px;
  margin-left: 10px;
}

/* 
=======================================
 Subpages styles 
=======================================
 */

nav.alt {
  position: relative;
  color: #fff;
  background-color: var(--background);
  box-shadow: 0px -5px 17px 0px #000000;
}

nav.alt ul li a:hover {
  color: var(--overlay-color);
}

.fa-bars:before {
  color: #000;
}

.about-main {
  margin-bottom: 40px;
}

.about-main h2 {
  font-size: 4.5rem;
  font-weight: 400;
  margin: 20px 0;
  margin-left: 20px;
  color: var(--primary-color);
}

.about-container {
  margin: 0 20px;
}

.about-container h3 {
  font-size: 2rem;
  margin: 0 auto;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  width: fit-content;
  color: rgba(0, 0, 0, 0.5);
}

.about-container p {
  font-size: 1.6rem;
  line-height: 3.5rem;
  color: var(--overlay-color3);
}

.about-container h4 {
  font-size: 1.6rem;
  line-height: 3.5rem;
  color: white;
  font-weight: 400;
}

.about-value {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-value h2 {
  margin-bottom: 20px;
}

.about-value div {
  width: 340px;
  height: 50px;
  background-color: var(--overlay-color3);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-bottom: 10px;
}

.about-value div p {
  margin: 0;
}

.clients {
  width: 100%;
  margin-top: 50px;
}

.clients h2 {
  font-size: 2.5rem;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--primary-color);
  display: block;
  margin: 20px auto;
  text-align: center;
}

.clients p {
  margin-left: 20px;
  font-size: 1.6rem;
  line-height: 2.8rem;
  width: 60%;
  display: block;
  margin: 0 auto;
  text-align: center;
  color: var(--overlay-color3);
}

.clients span {
  display: block;
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.clients div:last-child {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 40px 0;
}

.clients div:last-child img {
  margin: 20px;
  scroll-snap-align: start;
}

/* 
=======================================
Services page section
=======================================
*/

.services-main h2 {
  font-size: 4.5rem;
  font-weight: 400;
  margin: 20px 0;
  margin-left: 20px;
  color: var(--primary-color);
}

.services-main h4 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.services-container {
  margin: 0 20px;
}

.services-container .services-subtitle {
  font-size: 36px;
  font-weight: 300;
  line-height: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: left;
  /* line-height: 36px; */
}

.services-container div p {
  font-size: 1.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--overlay-color3);
}

.services-contact {
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-contact button {
  background-color: #fff;
  padding: 9px 20px;
  border: 1px solid var(--primary-color);
  padding: 10px 15px;
  font-size: 1.6rem;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  margin-bottom: 26px;
}

.services-contact button:hover {
  background-color: var(--primary-color);
}

.services-contact button a {
  color: var(--primary-color);
}

.services-contact button:hover a {
  color: #fff;
}

.slideshow-container {
  max-width: 80%;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.mySlides img {
  vertical-align: middle;
  width: 100%;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.8rem;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: var(--overlay-color);
  color: #fff;
}

.active,
.dot:hover {
  background-color: #bbb;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.services-second-section {
  margin: 20px;
}

.services-second-section h4 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.services-second-container {
  display: grid;
}

.services-second-container h5 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--overlay-color3);
}

.services-second-container div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.services-second-container i {
  font-size: 5rem;
  margin: 0 15px;
  color: rgba(0, 0, 0, 0.5);
}

.services-second-container div:hover i {
  color: var(--overlay-color3);
}

/*
=======================================
 Portfolio page section 
=======================================
 */

.portfolio-main h2 {
  font-size: 4.5rem;
  font-weight: 400;
  margin: 20px 0;
  margin-left: 20px;
  color: var(--primary-color);
}

.portfolio-main h3 {
  margin-left: 20px;
  font-size: 2.5rem;
  color: var(--overlay-color3);
}

.portfolio-section-container {
  display: flex;
  gap: 5px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
}

.portfolio-section-container img {
  width: 100%;
  padding-left: 10px;
  scroll-snap-align: start;
  margin: 5px;
  transform: scale(1);
  transition: transform 0.4s ease;
}

/* 
  =======================================
  Contact page styles 
  =======================================
  */

.contact-main {
  margin: 20px;
  margin-bottom: 40px;
}

.contact-main div {
  margin: 0 auto;
}

.contact-main h2 {
  font-size: 4.5rem;
  font-weight: 400;
  margin: 20px 0;
  margin-left: 20px;
  color: var(--primary-color);
}

.form {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px;
  margin-bottom: 20px;
  height: 100%;
  border-radius: 5px;
  background: #f0f0f0;
  box-shadow: 25px 25px 50px #cccccc, -25px -25px 50px #ffffff;
}

.frame {
  width: 100%;
  border-radius: 5px;
  border: 0.5px solid var(--overlay-color3);
  background: #f0f0f0;
  box-shadow: 25px 25px 50px #cccccc, -25px -25px 50px #ffffff;
}

.form label {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 400;
}

.form input,
.form textarea {
  padding: 10px;
  border-radius: 5px;
  font-family: inherit;
  margin-bottom: 10px;
  border: 1px solid var(--overlay-color3);
}

.form input:focus,
.form textarea:focus {
  background-color: lightgray;
  color: #fff;
  outline: 0;
}

.location div {
  display: flex;
  flex-direction: column !important;
}

.location div span {
  width: fit-content;
  font-size: 2rem;
}

.location div p {
  width: 50%;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.form .form-submit {
  color: var(--background);
  background-color: var(--primary-color);
  padding: 10px;
  width: auto;
  font-size: 1.8rem;
  border-radius: 5px;
  border: 0;
  width: 150px;
  margin: 0 auto;
  box-shadow: 25px 25px 50px #cccccc, -25px -25px 50px #ffffff;
  transition: all 400ms ease;
}

.form .form-submit:hover {
  background-color: var(--overlay-color3);
  color: #fff;
  transform: scale(1.1);
  cursor: pointer;
}

/* 
  =======================================
  About page styles 
  =======================================
  */

.about-value {
  margin: 0 !important;
}

.clients div:last-child img {
  transition: filter 0.4s ease;
}
.clients div:last-child img:hover {
  filter: none;
}
.clients span {
  visibility: hidden;
}

/*
=======================================
 Media Queries 
=======================================
*/

@media (max-width: 768px) {
  .burger {
    display: block;
    top: 40px;
    right: 15px;
  }

  .burger i {
    font-size: 4rem;
    padding: 2px;
  }

  .burger.alt i {
    color: #fff;
  }

  nav ul {
    position: absolute;
    flex-direction: column;
    top: 100px;
    right: 0;
    width: 100%;
    text-align: center;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.4s linear;
    border-radius: 5px;
    z-index: 10;
  }

  nav ul.show {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.4s linear;
  }

  nav.alt ul.show {
    background-color: var(--background);
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.4s linear;
  }

  nav ul li {
    visibility: hidden;
  }

  nav ul.show li {
    visibility: visible;
  }

  nav ul li {
    margin: 10px 15px;
  }
}

@media (min-width: 768px) {
  .logos-container {
    height: 100%;
    width: 60%;
  }
  .banner-content h1 {
    font-size: 5rem;
  }

  .banner-content p {
    font-size: 2.4rem;
  }
  .section2 div + div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    margin-left: 20px;
    margin-right: 20px;
  }

  .section2 div + div p {
    width: 50%;
  }

  .section2--container {
    width: 100%;
    padding: 20px 0;
  }

  .section3 div h4 {
    width: 75vw;
  }

  .main-portfolio-container {
    width: 100%;
  }

  .portfolio {
    position: relative;
  }

  .portfolio--container {
    position: relative;
    width: 768px;
    --cols: 4;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(Max(calc(100% / var(--cols, 1)), 250px), 1fr));
    overflow: visible;
    margin: 0;
    padding-left: 0;
  }

  .slides {
    width: 100%;
    margin: 0;
  }

  .section6 div {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin: 20px 0;
  }

  .section6 div div {
    width: auto;
    flex-wrap: wrap;
  }

  .section6 p {
    width: min-content;
  }

  .clients div:last-child {
    flex-wrap: wrap;
  }

  .clients span {
    visibility: hidden;
  }

  .services-second-container div {
    max-width: 300px;
  }

  .services-second-container {
    grid-template-columns: repeat(4, 1fr);
    height: 250px;
    place-items: center;
  }

  .services-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  .services-container div .services-subtitle2 {
    text-align: left;
  }

  .contact-main div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
  }
}

@media (min-width: 1000px) {
  .hero img {
    width: 100vw;
    object-fit: cover;
  }

  .logos-container {
    width: 25%;
    height: 100%;
  }

  nav ul li a {
    text-decoration: none;
    position: relative;
    font-size: 1.6rem;
    color: rgb(0, 0, 0, 0.5);
  }

  :is(.section4) .button:focus,
  .button:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: scale(1.1);
  }

  .section2 div div {
    transition: all 400ms ease-in-out;
  }

  .section2 div div:hover {
    background-color: var(--primary-color);
    transition: all 400ms ease-in-out;
    transform: scale(1.2);
  }

  .section2 div div:hover .icon {
    color: var(--background);
    transition: color 400ms ease-in-out;
  }

  .section3 div {
    width: 100%;
    min-width: 650px;
  }

  .portfolio--container {
    width: 90%;
    height: 100%;
    margin: 0 auto;
  }

  .section5 h6 {
    max-width: 75vw;
  }

  .section6 div {
    flex-wrap: nowrap;
    margin: 30px 0px;
  }

  .section6 .icon:not(.head):hover {
    background-color: var(--primary-color);
    color: var(--background);
    padding: 15px;
    border-radius: 50%;
    transition: all 400ms ease;
    margin: auto;
    transform: scale(1.2);
  }

  footer {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
  }

  footer p {
    margin-bottom: 20px;
  }

  .portfolio-section-container {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .portfolio-section-container img:hover {
    transform: scale(0.98);
    transition: transform 0.4s ease;
  }

  .about-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin: 40px !important;
  }

  .form {
    width: 500px !important;
  }
}
