:root {
  --primary-color: #2c2c2c;
  --secondary-color: #ffef5c;
  --text-light: #808080;
  --background-light: #f5f8ff;
}

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

body {
  font-family: 'Lexend', sans-serif;
  color: var(--primary-color);
  font-weight: 300;
  line-height: 1.5;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.title {
  font-size: 50px;
  line-height: 60px;
  margin-bottom: 14px;
  font-weight: 400;
}

/* Header and Navigation */
nav {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 150px;
  height: 46px;
  background: url('/assets/images/logo-svg.svg') no-repeat center/contain;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 400;
  padding: 12px 22.5px;
}

.nav-links a.button {
  color: white;
}

.close-menu {
  display: none;
}

.hamburger-menu {
  display: none;
}

.button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  margin-top: 249px;
  text-align: center;
}

.hero h1 {
  font-size: 62px;
  line-height: 70px;
  letter-spacing: 0.74px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero p {
  font-size: 32px;
  line-height: 1.2;
}

/* Partner Logos */
.partners {
  margin-top: 100px;
}

.partners p {
  color: #C7C7C7;
  margin-bottom: 20px;
  font-weight: 400;
}

.logo-grid {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

/* Who are we section */
.who-we-are {
  position: relative;
}

.who-we-are .content {
  padding: 100px 0;
  max-width: 50%;
}

.who-we-are h2 {
  font-weight: 500;
}

.who-we-are p {
  font-size: 24px;
  margin-bottom: 24px;
}

.who-we-are .button {
  margin-top: 64px;
}

.decorative-images {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translate(50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vector-7 {
  width: 444px;
  height: 438px;
}

.vector-15 {
  width: 210px;
  height: 211px;
}

/* Portfolio section */
.section-header {
  margin-bottom: 100px;
}

.section-header p {
  font-size: 24px;
  font-weight: 300;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 39px 30px;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.project img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.project p {
  font-size: 18px;
  color: var(--text-light);
}

/* Sneak peek section */
.sneak-peek {
  position: relative;
  padding: 100px 0;
}

.sneak-peek .section-header {
  margin-bottom: 30px;
}

.carousel {
  display: flex;
  width: 100%;
  gap: 20px;
  overflow-x: auto;
  margin-top: 30px;
  width: calc((100vw - (100vw - 100%) / 2) - .5rem);
  padding-right: calc((100vw - 100%) / 2);
  padding-bottom: 20px;
}

.carousel img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.arrow-button {
  position: absolute;
  bottom: 48px;
  right: 111px;
  width: 51px;
  height: 48px;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Build together section */
.build-together {
  padding: 130px 0;
  background-color: var(--background-light);
}

.build-together .sub-description {
  margin-top: 1rem;
}

.yellow-box {
  width: 372px;
  height: 90px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 46px;
  padding: 0 42px;
  display: flex;
  align-items: center;
}

.yellow-box p {
  font-size: 28px;
  line-height: 60px;
  font-weight: 300;
}

.build-together .content p {
  font-size: 24px;
}

.contact-form {
  display: flex;
  gap: 24px;
  margin-top: 64px;
  max-width: 60%;
}

.contact-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding-top: 100px;
  padding-bottom: 100px;
}

.left-content h2 {
  margin-bottom: 98px;
}

.logo-small {
  width: 27px;
  height: 27px;
  background: url('public/svg.svg') no-repeat center/contain;
}

.right-content h3 {
  font-size: 30px;
  line-height: 42px;
  margin-bottom: 11px;
  font-weight: 400;
}

.right-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 22px;
}

/* Utility classes */
.light {
  font-weight: 300;
}

.medium {
  font-weight: 500;
}

/* Extra Large Screens and down (less than 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

/* Extra Large Screens and down (less than 1400px) */
@media (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }
}

/* Large Screens and down (less than 1200px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

/* Medium Screens and down (less than 992px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  nav {
    height: 56px;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    z-index: 9999;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    padding-right: 2rem;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
    padding-top: 5rem;
  }

  .nav-links.active {
    transform: translateX(0%);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    color: white;
  }

  .logo {
    height: 32px;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
  }

  .hamburger-menu img {
    height: 24px;
    width: auto;
  }

  .hero {
    text-align: left;
    margin-top: 150px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.3;
  }

  .logo-grid {
    gap: 1rem;
  }

  .logo-grid img {
    flex: 1;
    max-width: calc((100% - 1rem) / 2);
    min-width: calc((100% - 1rem) / 2);
    max-height: 60px;
    margin-bottom: 1rem;
    object-fit: contain;
  }

  .who-we-are .content {
    max-width: 100%;
  }

  .decorative-images {
    display: none;
  }

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

  .contact-form {
    max-width: 100%;
  }

  .footer-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .left-content {
    display: none;
  }

  .right-content h3 {
    font-size: 38px;
  }
}

/* Small Screens and down (less than 768px) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  .who-we-are .button {
    width: 100%;
    justify-content: center;
  }

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

  .project {
    gap: .25rem;
  }

  .project img {
    height: 40px;
  }

  .project img.icon.should-small {
    height: 30px;
  }

  .project img.icon.should-big {
    height: 60px;
  }

  .carousel img {
    width: 300px;
    height: 300px;
  }

  .contact-form {
    flex-direction: column;
  }

  .contact-form .button {
    justify-content: center;
  }

  .yellow-box {
    padding: 0 20px;
  }
}

/* Extra Small Screens (less than 576px) */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
  }

  .carousel img {
    width: 100%;
    height: 100%;
  }

  .yellow-box {
    width: 80%;
    padding: 0 10px;
  }
}

/* Extra Small Screens (less than 576px) */
@media (max-width: 424px) {
  .yellow-box {
    width: 100%;
    white-space: nowrap;
  }
}