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

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  letter-spacing: .05em;
  background-image: url(/images/bg.svg);
  background-repeat: no-repeat;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
}

.logo-brand img {
  height: 60px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.medialinks {
  list-style: none;
  display: flex;
  gap: 0rem;
}

.menu li a, .medialinks li a{
  color: #394883;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  opacity: 50%;
  letter-spacing: .08em;
}

.medialinks li a {
  padding: 0.5rem;
}

.menu li a:hover, .medialinks li a:hover {
  opacity: 100%;
}

.hamburger {  
  cursor: pointer;
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  opacity: 0.5;
}

.hero {
  display: flex;
  max-width: 85%;
  margin: 10% auto;
  gap: 10em;
  align-items: center;
  justify-content: center;
}

figure img {
  width: 100%;
}

.hero h1 {
  font-size: 4em;
  line-height: .9em;
  padding-bottom: .3em;
}

.hero p {
  margin-bottom: 2em;
}

.hero a {
  text-decoration: none;
  color: #ffffff;
  background-color: #394883;
  padding: .5em 1em;
  border-radius: 5px;
  font-weight: medium;
  letter-spacing: .08em;
}

.services {
  background-color: #F0EEEE;
}

.services h2 {
  font-size: 3em;
  letter-spacing: .08em;
  text-align: center;
  padding: 1em;
}

.cards {
  width: 85%;
  margin: 5em auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5em;
  justify-content: center;
}

.card {
  width: calc((100% - 2 * 5em) / 3);
  background-color: #ffffff;
}

.icon img {
  transform: translate(-65%, -65%);
  position: absolute;
}

.card {
  padding: 1em;
  border-radius: 5px;
  margin-bottom: 5em;
}

.detail-services {
  padding: 2em;
}

.detail-services h3 {
  text-align: center;
  margin-bottom: 1em;
}

.detail-services a {
  margin-top: 2em;
  color: #0096C8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features {
  width: 85%;
  margin: 0 auto;
  display: flex;
}

.features h2 {
  font-size: 3em;
  letter-spacing: .08em;
  padding: 1em;
}

.feature {
  width: 85%;
  margin: 5em auto;
  display: flex;
  gap: 5em;
}

.detail-feature h3{
  margin-bottom: .5em;
}

.testimoni {
  background-color: #F0EEEE;
  padding: calc(15% / 2);
  padding-top: 0;
  padding-bottom: 3rem;
  gap: 5em;
}

.testimoni h2 {
  text-align: center;
  font-size: 3em;
  letter-spacing: .08em;
  padding: 1em;
}

.testimoni h3 {
  font-size: 2.5em;
  letter-spacing: .05em;
  padding: 1em;
}
.testimoni h4 {
  font-size: 1.5em;
  margin-bottom: .5em;
}

.content-testimoni {
  display: flex;
  align-items: center;
}

.content-testimoni div {
  width: 50%;
  padding: 50px;
}

.testimonial-card, .testimonial-card-dekstop {
  background-color: #ffffff;
  border-radius: 5px;
}

.testimoni a {
  padding: 0 3rem;
  text-align: center;
  color: #0096C8;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta {
  display: flex;
  align-items: center;
  width: 85%;
  margin: 0 auto;
  margin-bottom: 20px;
  gap: 5em;
}

.hero-cta h2 {
  font-size: 3em;
  letter-spacing: .08em;
  padding: 1em;
}

.detail-cta p {
  margin-top: .5em;
  margin-bottom: 2em;
}

.detail-cta a {
  text-decoration: none;
  color: #ffffff;
  background-color: #394883;
  padding: .5em 1em;
  border-radius: 5px;
  font-weight: medium;
  letter-spacing: .08em;
}

.secondary-button {
  background-color: #ffffff !important;
  color: #394883 !important;
  box-shadow:inset 0px 0px 0px 1.5px #394883;
  margin-top: 5px;
}

footer {
  background-color: #F0EEEE;
  text-align: center;
  padding: 2em;
}


@media (max-width: 900px) {
  .menu {
    padding: 1em;
      flex-direction: column;
      position: absolute;
      top: calc(60px + 2em);
      width: 100%;
      align-items: center;
      background-color: #ffffff;
      min-height: 100%;
      right: 0;
      transform: translate(-100%);
      transition: all 0.3s ease-in-out;
  }

  .menu-active {
    transform: translate(0) !important;
  }

  .hamburger {
      display: flex;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 3px;
    background-color: #000;
    transition: all 0.5s;
  }

  

  .hamburger-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .hamburger-active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-active span:nth-child(3) {
      transform: translateY(-8.5px) rotate(-45deg);
  }

  .medialinks {
    display: none;
  }

  .hero {
    flex-wrap: wrap-reverse;
  }

  .hero div {
    display: flex;
    gap: 1em;
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 3em;
  }

  figure {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
  }

  .cards, .features {
    flex-direction: column;
    gap: 2em;
  }
  
  .card {
    width: 100%;
  }

  .icon img {
    width: 80px;
    transform: translate(0, -65%);
  }

  .feature {
    width: 85%;
    margin: 5em auto;
    gap: 1em;
  }

  .features h2, .hero-cta h2 {
    text-align: center;
  }

  .feature img {
    width: 80px;
  }

  .content-testimoni {
    flex-direction: column;
  }

  .content-testimoni div {
    width: 100%;
    padding: 20px;
    text-align: center;
  }
  
  .testimonial-card-mobile {
    background-color: #ffffff;
    border-radius: 5px;
  }

  .testimonial-card-dekstop {
    background-color: transparent;
  }

  .hero-testimoni h3 {
    font-size: 2em;
  }

  .testimoni a {
    margin-top: 2em;
  }

  .cta {
    flex-direction: column;
    gap: 0;
  }

  .detail-cta {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
  }
}


@media (max-width: 70em) {
  .medialinks {
    display: none;
  }
}