@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

html {
  scroll-behavior: smooth;
  background-color: var(--primary-color);
}
* {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /*  Colors   */
  --white-color: #fff;
  --black-color: #1c1c1c;
  --primary-color: #f6f6f6;
  --secondary-color: #eee;
  --gray-color: gray;
  --soft-gray-color: rgba(128, 128, 128, 0.623);
  --light-pink-color: #faf4f5;
  --medium-gray-color: #ccc;

  /* Font size */
  --font-size-xs: 0.8rem;
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;
  --font-size-giant: 13rem;

  /* Font weight*/
  --font-weight-small: 100;
  --font-weight-normal: 4000;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius*/

  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site Max Width */

  --site-max-width: 1300px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background-color: none;
}
img {
  width: 100%;
}

.section-content {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  width: 100%;
  z-index: 5;
  background: var(--primary-color);
}

header .navbar {
  margin: 0 150px;
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 30px;
}

.navbar .nav-menu {
  display: flex;
  gap: 10px;
}

.navbar .nav-logo .logo-text {
  color: var(--black-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  color: var(--dark-color);
  position: relative;
  border-radius: var(--border-radius-m);
  font-size: var(--font-size-m);
  transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover::before {
  content: "";
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid;
  border-color: var(--soft-gray-color) transparent transparent transparent;
}

.navbar .nav-menu .nav-link:hover {
  background-color: var(--secondary-color);
}

.hero-section {
  min-height: 100vh;
  background: var(--primary-color);
}

.hero-section .section-content {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  color: var(--white-color);
}

.hero-section .hero-details .title {
  font-size: var(--font-size-giant);
  color: var(--black-color);
  font-weight: lighter;
  user-select: none;
}

.hero-section .hero-details .numbers-content {
  display: flex;
  gap: 40px;
}

.hero-section .hero-details .numbers {
  margin: 150px 0 80px;
  max-width: 70%;
  font-size: var(--font-size-xl);
  font-weight: normal;
  color: var(--black-color);
  position: relative;
}

.hero-section .hero-details .numbers:before {
  content: "";
  position: absolute;
  left: -14px;
  top: 7px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid var(--black-color);
}

.hero-section .hero-details .numbers:after {
  content: "";
  position: absolute;
  left: -14px;
  top: 15px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 11px solid var(--black-color);
}

.hero-section .hero-details .description {
  max-width: 100%;
  font-size: var(--font-size-m);
  color: var(--black-color);
}

.marker {
  max-width: 70%;
  font-size: var(--font-size-xs);
  color: var(--gray-color);
  transform: rotate(-90deg);
  left: -250px;
  top: 50%;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 30px;
}

.line {
  width: 450px;
  height: 1px;
  background-color: var(--gray-color);
  position: relative;
}

.line::before {
  content: "";
  position: absolute;
  left: -15px;
  top: -5px;
  width: 10px;
  height: 10px;
  background-color: var(--soft-gray-color);
  transform: translateX(-50%) rotate(45deg);
}

.line::after {
  content: "";
  position: absolute;
  left: -15px;
  width: 10px;
  height: 10px;
  background-color: var(--soft-gray-color);
  transform: translateX(-50%) rotate(45deg);
}

.second-mark {
  position: relative;
}
.second-mark::before {
  content: "";
  position: absolute;
  right: 140px;
  width: 10px;
  height: 10px;
  background-color: var(--soft-gray-color);
  transform: translateX(-50%) rotate(45deg);
}

.second-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 140px;
  width: 10px;
  height: 10px;
  background-color: var(--soft-gray-color);
  transform: translateX(-50%) rotate(45deg);
}

.hero-section .hero-details .button {
  width: max-content;
  padding: 10px 10px;
  margin-top: 200px;
  border: 2px solid transparent;
  color: var(--gray-color);
  border-radius: var(--border-radius-m);

  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
  position: relative;
}

.hero-section .hero-details .button :after {
  content: "";
  position: relative;
  top: 12px;
  right: -7px;
  border: 5px solid;
  border-color: var(--soft-gray-color) transparent transparent transparent;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us {
  color: var(--white-color);
  border-color: var(--white-color);
  background: transparent;
}

.hero-section .hero-details .details {
  color: var(--gray-color);
  font-weight: 400;
  font-size: 0.85rem;
}
.section-content img {
  max-width: 700px;
  position: absolute;
  bottom: 0;
  right: calc(50% - 650px);
  user-select: none;
  align-self: flex-end;
}

#menu-open-button {
  position: fixed;
  right: 30px;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 6px 12px rgba(0, 0, 0, 0.04);
}

#menu-close-button {
  position: absolute;
  top: 30px;
  right: 30px;
  display: none;
}

/* For Phone*/
@media screen and (max-width: 900px) {
  :root {
    --font-size-m: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  body.show-mobile-menu header::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
  }

  .navbar .nav-menu {
    display: block;
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    background: var(--white-color);
    transition: left 0.2 ease;
  }

  body.show-mobile-menu .navbar .nav-menu {
    left: 0;
  }
  .navbar .nav-menu .nav-link {
    color: var(--black-color);
    display: block;
    margin-top: 17px;
    font-size: var(--font-size-l);
  }

  .hero-section .section-content {
    flex-direction: column;
    justify-content: center;
  }

  header .navbar {
    margin: 0 20px;
    padding: 15px;
  }

  .navbar .nav-logo .logo-text {
    font-size: var(--font-size-l);
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-section .section-content {
    align-items: center;
    text-align: center;
  }

  .hero-section .hero-details .title {
    font-size: 4.5rem;
    line-height: 1;
  }

  .hero-section .hero-details .numbers {
    margin: 60px 0 40px;
    max-width: 100%;
    font-size: var(--font-size-l);
  }

  .hero-section .hero-details .numbers-content {
    flex-direction: row;
    gap: 80px;
  }

  .hero-section .hero-details .description {
    font-size: var(--font-size-s);
  }

  .hero-section .hero-details .button {
    display: none;
  }

  .marker {
    display: none;
  }

  .section-content img {
    max-width: 90%;
    position: static;
    margin-bottom: 30px;
  }

  #menu-open-button,
  #menu-close-button {
    display: flex;
  }

  .hero-section .section-content .hero-details h2 {
    margin-top: 70px;
  }
}

@media screen and (max-width: 1700px) {
  .marker {
    display: none;
  }
}

@media (max-width: 1300px) and (min-width: 901px) {
  .section-content img {
    position: relative;
    max-width: 700px;
    right: 0;
    top: 250px;
  }
}
