@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Montserrat&display=swap');

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

body {
  font-family: 'Josefin Sans', 'Montserrat', sans-serif;
  color: #222;
  padding-bottom: 500px;
}

.nav {
  display: flex;
  justify-content: space-between;
  position: fixed;
  align-items: center;
  min-height: 7vh;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.logo {
  width: 200px;
  margin-left: 60px;
}

.btn {
  display: block;
  border: none;
  border-radius: 7px;
  background: none;
  color: #fff;
  font-size: 17px;
  font-family: 'Montserrat';
  padding: 9px;
  cursor: pointer;
  transition: 0.8s;
}

.whatsapp {
  background-color: #25d365d7;
}

.btn i {
  display: inline;
  padding-right: 10px;
  font-size: 23px;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: 'Montserrat';
  padding: 0 15px;
  width: 70%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  margin-right: 20px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.nav.active {
  background-color: #fff;
  box-shadow: 0 2px 10px rgb(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.nav.active a {
  color: #000;
}

.nav.active button {
  color: #000;
}

.nav.active {
  min-height: 8vh;
}

.nav.active .burger div {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin-right: 20px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.hero {
  background-image: url('/Images/Architecture1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 90vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: -2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.hero h2 {
  font-size: 46px;
  margin: -20px 0 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 100px;
  margin: -20px 0 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 20px;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  letter-spacing: 1.5px;
}

.gradient-border {
  bottom: 20px;
  max-width: 100%;
  height: 5px;
  background: rgb(131, 58, 180);
  background: linear-gradient(
    270deg,
    rgba(131, 58, 180, 1) 0%,
    rgba(253, 29, 29, 1) 50%,
    rgba(252, 176, 69, 1) 100%
  );
  margin-bottom: 20px;
}

/* ---- Services Section ----  */

.section {
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  margin-top: 20px;
  padding: 20px 80px 0 80px;
}

section h1 {
  font-size: 30px;
}
section p {
  margin: 20px 0 10px;
  font-size: 20px;
}

.services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.services .service {
  padding: 30px;
}

.services .service:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services .service h2 {
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #1b206e;
}

.services .service .icon img {
  max-width: 100px;
}

/* ---- SOFTWARE SECTION -----  */

.line {
  width: 1200px;
  height: 2px;
  background-color: #e2e2e2;
  margin-top: 20px;
  margin-bottom: 80px;
}

.software-section {
  max-width: 1200px;
  display: flex;
  justify-content: space-around;
  align-content: space-around;
  flex-wrap: wrap;
  padding-top: 70px;
  padding-bottom: 120px;
  margin: auto;
}

.software-section .icon {
  max-width: 100%;
}

.software-section .icon img {
  max-width: 150px;
  display: inline-block;
}

.software-section .icon.autodesk img {
  max-width: 110px !important;
}

.content h2,
.content h3 {
  font-size: 150%;
  text-align: center;
  letter-spacing: 1.5px;
  margin: 20px 0;
}

.content p {
  color: #555;
  line-height: 30px;
  font-family: 'Montserrat';
  letter-spacing: 1.2px;
}

.container-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.card-header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background-image: url(/Images/Store1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  width: 590px;
  margin-right: 20px;
}

.card-content {
  background-color: #fff;
  height: 300px;
  width: 590px;
}

.card-title {
  margin-top: 0px;
  margin-bottom: 24px;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.card-text {
  color: #777;
  margin: 20px 0 20px;
  text-align: justify;
}

/* // -----MEDIA QUERY----- // */

@media screen and (max-width: 1024px) {
  .nav-links li {
    width: 40%;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .software-section {
    width: 60%;
  }

  .software-section .icon img {
    width: 90%;
    padding: 20px;
  }
}

@media screen and (max-width: 820px) {
  .nav-links {
    width: 70%;
  }

  .line {
    width: 400px;
  }

  .software-section {
    width: 70%;
  }

  .software-section .icon img {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .logo {
    position: relative;
    left: 190px;
    order: 2;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav-links {
    position: absolute;
    right: 420px;
    height: 92vh;
    top: 8vh;
    background: #555;
    border-radius: 3px;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in;
  }

  .nav.active button {
    color: #fff;
  }

  .nav.active .nav-links li a {
    color: #fff;
  }
  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
    order: 1 !important;
    position: relative;
    left: 20px;
  }
  .hero {
    font-size: 20;
  }

  .services {
    grid-template-columns: repeat(1, 1fr);
  }
}

.nav-active {
  transform: translateX(0%);
}

/* // -----KEYFRAMES----- // */

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

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
