/* code here */

/* font family */
@font-face {
  font-family: 'Inter';
  src: url('../assets/font/Inter_24pt-Black.ttf');
}

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

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.no-transition * {
  transition: none !important;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
  font-family: 'Inter';
  color: rgba(255, 255, 255, 0.8);
}

section {
  scroll-margin-top: 80px;
}

/* 1. header */
/* Style navbar */
header {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px;
  padding: 24px 16px;
}

.bg-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  background-color: black;
}

/* Logo */
.logo {
  position: relative;
  z-index: 40;
  font-size: 24px;
}

/* menu */
.menu {
  width: 100%;
  padding: 0 16px 20px;
  background-color: black;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 75px;
  left: 0;
  z-index: 10;
  transform: translateY(-200%);
  transition: 0.3s;
}

.menu.open {
  transition: 0.3s;
  transform: translateY(0);
}

/* Style nav links */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-links a {
  color: #fdfdfd;
  font-weight: 200;
  font-size: 16px;
}

/* btn-container */
.btn-container {
  background-color: black;
  padding: 10px 16px;
  position: absolute;
  width: 100%;
  z-index: 10;
  top: 220px;
  left: 0;
  transform: translateY(-500%);
}

.btn-container.open {
  transition: 0.3s;
  transform: translateY(0);
}

/* Style tombol Contact Us */
.btn {
  position: relative;
  border: none;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  background-color: #421abc;
  color: #ffffff;
  border-radius: 9999px;
  cursor: pointer;
}

/* hamburger */
.hamburger-button {
  display: flex;
  position: relative;
  flex-direction: column;
  z-index: 40;
  gap: 4px;
  width: 24px;
  cursor: pointer;
}

.hamburger-button span {
  height: 3px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.hamburger-button.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-button.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-button.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 2. hero section */
.hero {
  display: flex;
  flex-direction: column;
  padding: 24px 16px 0;
  background: linear-gradient(to top, #210a5e4d, transparent);
}

.hero .text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero .text h2 {
  font-weight: 700;
  color: #fdfdfd;
  font-size: 50px;
}
.hero .text h2 span {
  font-style: italic;
}
.hero .text p {
  color: #717680;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
}

.hero .pict {
  margin-top: -40px;
  margin: 0 auto;
}

/* 3. Who we are section */
.who-we-are {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
}

.who-we-are h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fdfdfd;
}

.who-we-are p {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: #717680;
}

.who-we-are p span {
  color: #fdfdfd;
}

/* 4. What we do section */
.what-we-do {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 24px;
  text-align: center;
}
.what-we-do .text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fdfdfd;
}

.what-we-do .text p {
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  color: #717680;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border: 1px solid #181d27;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

.card img {
  margin-bottom: 20px;
}
.card h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 34px;

  color: #fdfdfd;
}
.card p {
  font-weight: 300;
  font-size: 14px;
  line-height: 30px;
  margin-bottom: 16px;
  color: #717680;
}

/* 5. Our work section */
.our-work {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  gap: 24px;
  text-align: center;
}
.our-work .text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fdfdfd;
}
.our-work .text p {
  font-weight: 300;
  font-size: 14px;

  color: #717680;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* 6. Meet the Team Section */
.meet-the-team {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  gap: 24px;
  text-align: center;
}
.meet-the-team .text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fdfdfd;
}
.meet-the-team .text p {
  font-weight: 300;
  font-size: 14px;
  line-height: 30px;
  margin-bottom: 16px;
  color: #717680;
}

.members {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 20px;
}

/* 7. Let’s Collaborate Section */
.let-us-colaborate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  gap: 24px;
  text-align: center;
}
.let-us-colaborate .text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fdfdfd;
}
.let-us-colaborate .text p {
  font-weight: 300;
  font-size: 14px;
  line-height: 30px;

  color: #717680;
}

/* form */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form div {
  display: flex;
  flex-direction: column;
}
.form div label {
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #fdfdfd;
  text-align: left;
}

.form div input,
.form div textarea {
  background: transparent;
  border: 1px solid #252b37;
  border-radius: 12px;
  padding: 12px;
  color: #fdfdfd;
  font-weight: 100;
  font-size: 14px;
}
.form div textarea {
  resize: vertical;
  min-height: 134px;
}

input::placeholder,
textarea::placeholder {
  color: #717680;
  font-weight: 300;
  font-size: 14px;
}

/* 8. footer */
footer {
  padding: 24px 20px;
  border-top: 1px solid #252b37;
  text-align: center;
  font-weight: 300;
  font-size: 14px;
  line-height: 30px;
  margin-bottom: 16px;
  color: #717680;
}

footer a {
  color: #f59e0b;
  cursor: pointer;
}

footer a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  /* 1. Header */
  header {
    padding: 24px 70px;
    display: flex;
    justify-content: space-between;
    background-color: black;
  }

  .hamburger-button {
    display: none;
  }
  .bg-header {
    display: none;
  }
  .menu {
    width: auto;
    align-items: center;
    padding: 0;
    position: static;
    transition: none;
    transform: translateY(0);
  }

  .menu .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  .btn-container {
    padding: 0;
    max-width: 160px;
    transform: translateY(0);
    position: static;
    transition: none;
  }

  /* 2. Hero section */
  .hero {
    position: relative;
    flex-direction: row;
    padding: 40px 70px 70px;
  }

  .hero .text {
    max-width: 400px;
  }

  .hero .btn {
    max-width: 300px;
  }

  .hero .pict {
    position: absolute;
    margin-top: 0;
    max-width: 330px;
    top: 17px;
    right: 50px;
  }

  /* 3. Who we are section */
  .who-we-are {
    padding: 40px 70px;
  }

  /* 4. What we do section */

  .what-we-do {
    padding: 40px 70px;
  }
  /* 5. Our work section */
  .our-work {
    padding: 40px 70px;
  }

  /* 6. Meet the Team Section */
  .meet-the-team {
    padding: 40px 70px;
  }

  .members {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 100px;
  }

  /* 7. Let’s Collaborate Section */
  .let-us-colaborate {
    padding: 40px 70px;
  }

  .form {
    width: 100%;
    max-width: 592px;
    margin: auto;
  }
}

@media (min-width: 1024px) {
  /* 2. Hero section */
  .hero {
    padding: 100px 70px;
  }

  .hero .text {
    max-width: 500px;
  }

  .hero .text .btn {
    margin-top: 20px;
  }
  .hero .pict {
    max-width: 360px;
    top: 0px;
    right: 50px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    margin: auto;
  }

  /* 1. Header */
  header {
    padding: 24px 140px;
  }

  .hamburger-button {
    display: none;
  }

  /* 2. Hero */
  .hero {
    padding: 234px 140px 170px;
  }

  .hero .text {
    max-width: 650px;
  }
  .hero .text h2 {
    font-size: 56px;
  }

  .hero .text p {
    font-size: 20px;
    line-height: 34px;
  }

  .hero .text .btn {
    margin-top: 48px;
  }

  .hero .pict {
    max-width: 600px;
    top: -40px;
    right: 140px;
  }

  /* 3. Who we are section */
  .who-we-are {
    gap: 32px;
    padding: 40px 140px;
  }
  .who-we-are h2 {
    font-size: 40px;
  }
  .who-we-are p {
    font-size: 32px;
    line-height: 56px;
  }

  /* 4. What we do section */
  .what-we-do {
    padding: 40px 140px;
    gap: 64px;
  }

  .what-we-do .text h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .what-we-do .text p {
    font-size: 20px;
  }

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

  /* 5. Our work section */
  .our-work {
    padding: 40px 140px;
    gap: 64px;
  }

  .our-work .text h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .our-work .text p {
    font-size: 20px;
  }

  .portfolio-card {
    flex-direction: row;
    gap: 20px;
  }

  /* 6. Meet the Team Section */
  .meet-the-team {
    padding: 40px 140px;
    gap: 64px;
  }
  .meet-the-team .text h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }
  .meet-the-team .text p {
    font-size: 20px;
  }
  .members {
    grid-template-columns: repeat(4, auto);
    gap: 56px;
  }

  /* 7. Let’s Collaborate Section */
  .let-us-colaborate {
    padding: 40px 140px;
    gap: 64px;
  }

  .let-us-colaborate .text h2 {
    font-size: 40px;

    margin-bottom: 16px;
  }
  .let-us-colaborate .text p {
    font-size: 20px;
  }
}
