@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  background: #001428;
  color: #ffffff;
  font-family: "Noto Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #ffffff;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4rem;
}
.header .logo img {
  height: 40px;
  width: auto;
}
.header .badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.hero {
  text-align: center;
  padding: 6rem 2rem 5rem;
  max-width: 800px;
  margin: 0 auto;
}
.hero .title {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.hero .tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.team-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(0, 20, 40, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.team-nav .link {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.team-nav .link:hover {
  color: rgba(255, 255, 255, 0.7);
}
.team-nav .link.active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.team {
  padding: 2rem 4rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.team .heading {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}
.team .section {
  margin-bottom: 4rem;
  scroll-margin-top: 5rem;
}
.team .section:last-child {
  margin-bottom: 0;
}
.team .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.team .category {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team .member {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background 0.2s ease;
}
.team .member:hover {
  background: rgba(255, 255, 255, 0.02);
}
.team .name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.team .role {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.5rem;
}
.team .contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.team .contact a {
  font-size: 0.8rem;
}
.team .contact a[href^=mailto] {
  color: #0f38c8;
}
.team .contact a[href^=mailto]:hover {
  color: #ffffff;
}

.footer {
  text-align: center;
  padding: 4rem 2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .footer-logo {
  margin-bottom: 1.5rem;
}
.footer .footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.4;
}
.footer .footer-form {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.footer .footer-barreau,
.footer .footer-rcs {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  line-height: 1.8;
}
.footer .footer-address {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .team .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
  }
  .hero {
    padding: 4rem 1.5rem 3rem;
  }
  .team-nav {
    gap: 0.25rem;
    padding: 0.75rem 1rem;
  }
  .team-nav .link {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }
  .team {
    padding: 2rem 1.5rem 3rem;
  }
  .team .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
