html {
  scroll-behavior: smooth;
}

body {
  background-color: #202020;
  margin: 0;
  font-family: 'Orbitron';
  color: #eaeaea;
}

.test {
  margin-top: 3000px;
}

.nav {
  height: 70px;
  background-color: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
}

.logo {
  color: #6a0dad;
  font-size: 40px;
  font-weight: 700;
  position: absolute;
  left: 5%;
  text-decoration: none;
}

.navlinks {
  gap: 75px;
  display: flex;
}

.navlinks a {
  font-size: 20px;
  color: #eaeaea;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #6a0dad;
  transition: width 0.3s ease, left 0.3s ease;
}

.navlinks a:hover::after {
  width: 100%;
  left: 0;
}

.contact {
  font-size: 20px;
  position: absolute;
  right: 5%;
  text-decoration: none;
  border: #6a0dad 3px solid;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #6a0dadaa;
  transition: background-color 0.3s ease;
  color: #eaeaea;
}

.contact:hover {
  background-color: #6a0dad8a;
}

.scroll-progress {
  position: fixed;
  top: 68px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #6a0dad;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

.land {
  height: calc(100vh - 30px);
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
}

.landnavpush {
  height: 70px;
}

.land p {
  color: gray;
  text-align: left;
  margin-left: 10vw;
  margin-top: 7vh;
}

.land h1 {
  margin-top: clamp(2px, 5vw, 40px);
  text-align: left;
  margin-left: 10vw;
  margin-right: 7vw;
  font-size: clamp(25px, 3.5vw, 50px);
}

.land h2 {
  text-align: left;
  margin-left: 10vw;
  margin-right: 7vw;
  font-size: clamp(15px, 2vw, 30px);
}

.landCTA {
  background-color: #6a0dadaa;
  color: #eaeaea;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  max-width: 200px;
  border: #6a0dad solid 3px;
  transition: background-color 0.3s ease;
  width: 200px;
  margin: auto;
  margin-bottom: 10vh;
}

.landCTA:hover {
  background-color: #6a0dad8a;
}
#serv,
#us,
#port {
  scroll-margin-top: 70px;
}

.serv {
  background-color: #292929;
  height: calc(100vh - 70px);
}

.serv h1 {
  margin-left: 10vw;
  padding-top: 6vh;
  font-size: clamp(25px, 3.5vw, 50px);
}

.serv h4 {
  padding-top: 7vh;
  margin-left: 10vw;
  margin-right: 20vw;
  font-size: clamp(15px, 1.6vw, 25px);
  max-width: 1050px;
}

.serv p {
  padding-top: 3vh;
  margin-left: 10vw;
  margin-right: 20vw;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 20px);
}

.serv ul {
  margin-left: 10vw;
  margin-right: 20vw;
  font-size: clamp(13px, 1.5vw, 18px);
}

.us {
  background-color: #333333;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.us h1 {
  margin-left: 10vw;
  padding-top: 6vh;
  font-size: clamp(25px, 3.5vw, 50px);
}

.us h2 {
  margin-left: 10vw;
  padding-top: 6vh;
  font-size: clamp(18px, 2vw, 30px);
}

.us p {
  margin-left: 10vw;
  margin-right: 20vw;
  font-size: clamp(14px, 1.6vw, 20px);
  max-width: 1050px;
}

.team {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.member {
  flex: 0 0 250px;
  align-items: center;
  gap: 20px;
  padding: 10px;
  min-width: 210px;
}

.member h6 {
  text-align: center;
  font-size: 15px;
  margin: 0;
  margin-bottom: 5px;
}

.memberimg {
  display: block;
  margin: 0 auto;
  height: 200px;
  width: 200px;
  flex-shrink: 0;
  border-radius: 15px;
  object-fit: cover;
}

.port h1 {
  margin-left: 10vw;
  padding-top: 6vh;
}

@media (max-width: 1380px) {
  .member {
    flex: 0 0 45%; /* fixed ~2 per row */
    max-width: 45%;
  }
}

@media (max-width: 1400px) {
  .land h1 {
    text-align: center;
    margin-left: 3vw;
    margin-right: 3vw;
  }

  .land h2 {
    text-align: center;
  }

  .land p {
    text-align: center;
    margin-left: 0;
  }
}

@media (max-width: 1000px) {
  body {
    background-color: red;
  }
}
