:root {
  --primary: #6356f2;
  --accent: #9b59ff;
  --background: #1e1b2e;
  --foreground: #e0e0ff;
  --card: #2a1e3d;
  --border: #4b3a66;
  --muted: #b0a6d0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

.about-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  color: #fff;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/hero-background.jpg') center/cover no-repeat;
  filter: brightness(0.5) blur(4px);
  z-index: 0;
}

.about-hero h1 {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.about-hero h1 .blue {
  color: var(--primary);
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.about-section {
  padding: 4rem 2rem;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-section p {
  color: var(--muted);
  max-width: 700px;
  margin: 0.5rem auto 2rem auto;
  line-height: 1.6;
}

.team-section {
  padding: 6rem 2rem;
  text-align: center;
  background: rgba(42,30,61,0.3);
}

.team-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-card {
  background: var(--card);
  border-radius: 16px;
  width: 260px;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.team-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card img:hover {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-card h3 {
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.team-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.team-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .about-hero h1 {
    font-size: 2.2rem;
  }
  
  .about-hero p {
    font-size: 1rem;
  }
  
  .about-section h2 {
    font-size: 1.8rem;
  }
  
  .team-section h2 {
    font-size: 2rem;
  }
}
