:root {
  --text: #0f172a;
  --muted: #475569;
  --accent: #1e293b;
  --accent-soft: #64748b;

  --panel: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.18);

  --shadow: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-hover: 0 30px 100px rgba(0,0,0,0.25);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg,#eef2f7,#cbd5e1);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Background */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -2;
}

.orb-1 {
  width: 250px;
  height: 250px;
  background: rgba(148,163,184,0.4);
  top: 50px;
  left: 40px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.4);
  bottom: 40px;
  right: 40px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 32%, transparent 85%);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 14px 18px;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.22);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  transition: 0.35s ease;
  backdrop-filter: blur(20px);
}

.lang-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.menu-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 16px;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: 0.35s ease;
}

.menu-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.menu-btn span {
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 10px;
  transition: 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Side Menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 1200;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 290px;
  height: 100vh;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  z-index: 1300;
  transition: left 0.35s ease;
  padding: 24px 18px;
}

.side-menu.open {
  left: 0;
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.side-menu-header h3 {
  margin: 0;
  color: var(--accent);
}

.close-menu {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.22);
  color: var(--accent);
  font-size: 1.6rem;
  cursor: pointer;
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.14);
  transition: 0.35s ease;
}

.side-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(-4px);
}

/* Hero */
.team-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.badge {
  display: inline-flex;
  padding: 10px 16px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.badge.small {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.team-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  margin: 0 0 16px;
}

.team-hero h1 span {
  color: var(--accent);
}

.team-hero p {
  color: var(--muted);
  max-width: 650px;
  margin: auto;
  line-height: 1.9;
}

/* Section */
.team-section {
  padding: 30px 0 60px;
}

.team-wrapper {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

/* Card */
.team-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: 0.4s ease;
  box-shadow: var(--shadow);
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-hover);
  background: rgba(255,255,255,0.16);
}

.avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.avatar {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.team-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.role {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.team-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: calc(100% - 20px);
  }

  .side-menu {
    width: 84%;
    left: -100%;
  }

  .side-menu.open {
    left: 0;
  }
}