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

html,
body {
  height: 100%;
  width: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #181b20;
  color: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;

  ul {
    display: flex;
    list-style: none;
    gap: 20px;

    li {
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      text-decoration: underline;
      text-decoration-color: #08ccb0;
      text-decoration-thickness: 2px;
      text-underline-offset: 5px;
      a {
        text-decoration: none;
        color: #fff;
      }
    }
  }

  .nav-button {
    button {
      all: unset;
    }

    border: 2px solid #08ccb0;
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
  }
}

#hero {
  background-image: url("./Soldier.png");
  background-size: cover;
  /* background-repeat: no-repeat; */
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;

  .hero-content {
    padding: 14vh 0 0 10vw;
    width: 50%;

    h1 {
      font-size: 5em;
      margin-bottom: 20px;
      span {
        color: #08ccb0;
      }
    }

    button {
      background: linear-gradient(90deg, #0a1f1c 0%, #00a386 100%);
      padding: 15px 30px;
      border: 2px solid #08ccb0;
      border-radius: 25px;
      margin-top: 20px;
    }
  }

}

.transparent-box {
  position: absolute;
  left: 2vw;
  right: 2vw;
  bottom: 5vh;
  min-height: 170px;
  padding: 0 clamp(120px, 16vw, 230px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(5, 12, 14, 0.82),
    rgba(9, 30, 30, 0.64),
    rgba(5, 12, 14, 0.82)
  );
  box-shadow:
    inset 0 0 45px rgba(8, 204, 176, 0.08),
    0 20px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.transparent-box .star {
  position: absolute;
  top: 50%;
  width: clamp(130px, 15vw, 220px);
  height: clamp(130px, 15vw, 220px);
  background-image: url("./Star.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
}

.transparent-box .star-left {
  left: 12px;
  transform: translateY(-58%) scaleX(-1);
}

.transparent-box .star-right {
  right: 12px;
  transform: translateY(-58%);
}

.transparent-box .stats {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 46px);
}

.transparent-box .numbers {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.transparent-box .numbers h1 {
  margin-bottom: 10px;
  color: #54dfd1;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
  text-shadow: 0 0 16px rgba(8, 204, 176, 0.65);
}

.transparent-box .numbers p {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  line-height: 1.35;
}

.transparent-box .divider {
  width: 1px;
  height: 70px;
  background: linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.42),
    rgba(255, 255, 255, 0)
  );
}

.section-2 {
  position: relative;
  min-height: 620px;
  padding: 72px 5.4vw 80px;
  background:
    radial-gradient(circle at 50% 0%, rgba(8, 204, 176, 0.1), transparent 34%),
    #061012;
  overflow: hidden;
}

.section-2::before {
  position: absolute;
  background-image:
    linear-gradient(rgba(8, 204, 176, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 204, 176, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.18;
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading p {
  color: #08ccb0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-heading h2 {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.project-controls {
  position: absolute;
  top: 78px;
  right: 5.4vw;
  z-index: 2;
  display: flex;
  gap: 18px;
}

.project-controls button,
.project-footer button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.project-controls button.active,
.project-footer button {
  border-color: #08ccb0;
  color: #08ccb0;
  box-shadow: 0 0 18px rgba(8, 204, 176, 0.38);
}

.projects-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(8, 204, 176, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(5, 14, 17, 0.9), rgba(3, 10, 12, 0.98));
  box-shadow: inset 0 0 28px rgba(8, 204, 176, 0.05);
}

.project-image {
  position: relative;
  min-height: 190px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.project-sled {
  background-image: url("./sled-hockey.png");
}

.project-genesis {
  background-image: url("./genesis.png");
}

.project-park {
  background-image: url("./Mechanic-park.png");
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 12, 14, 0.5));
}

.project-tag {
  position: absolute;
  left: 22px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 16px;
  border: 1px solid rgba(8, 204, 176, 0.55);
  border-radius: 7px;
  background: rgba(7, 35, 34, 0.76);
  color: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.08);
}

.project-info {
  padding: 22px 20px 18px;
}

.project-info p {
  max-width: 280px;
  min-height: 72px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  line-height: 1.55;
}

.project-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 8px;
}

.platforms {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
}

.platforms span:first-child {
  color: #08ccb0;
}

@media (max-width: 900px) {
  .section-2 {
    padding-top: 58px;
  }

  .project-controls {
    position: static;
    justify-content: center;
    margin: -14px 0 28px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 220px;
  }
}
