:root {
  --hero-bg-start: #0d162a;
  --hero-bg-end:   #000000;
  --accent-glow:   rgba(212, 175, 55, 0.15);
  /* ... other vars ... */
}

body.light-theme {
  --hero-bg-start: #f8f9fc;
  --hero-bg-end:   #e5e7eb;
  --accent-glow:   rgba(196, 148, 31, 0.12);
  /* make sure accent-primary etc. are also overridden if needed */
}


/* ===================================
   TEAM HERO
   =================================== */

   /* ────────────────────────────────────────────────
   HERO - Enhanced version
   ──────────────────────────────────────────────── */
.team-hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  padding: 8rem 0 10rem;
  background: var(--hero-bg-start);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.team-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(212,175,55,0.08) 0%, transparent 60%),
              radial-gradient(circle at 85% 75%, rgba(212,175,55,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* Glow circles */
.hero-bg-glows {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  filter: blur(60px);
}

.glow-1 { width: 700px; height: 700px; top: -20%; left: -15%; }
.glow-2 { width: 900px; height: 900px; bottom: -25%; right: -20%; }
.glow-3 { width: 500px; height: 500px; top: 40%; right: 10%; }

/* Subtle animated network lines (pure CSS) */
.network-lines {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, transparent 30%, rgba(212,175,55,0.03) 70%),
    radial-gradient(circle at 70% 60%, transparent 40%, rgba(212,175,55,0.02) 80%);
  opacity: 0.4;
  animation: networkPulse 18s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes networkPulse {
  0%   { opacity: 0.25; transform: scale(1); }
  50%  { opacity: 0.45; transform: scale(1.05); }
  100% { opacity: 0.3;  transform: scale(1.02); }
}

/* Content */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-primary);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff, var(--accent-secondary), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  max-width: 800px;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 3rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Underline */
.hero-underline {
  width: 180px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

/* ────────────────────────────────────────────────
   Responsive Adjustments
   ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-title { font-size: 4rem; }
  .hero-subtitle { font-size: 1.4rem; }
  .hero-stats { gap: 2rem; justify-content: center; }
}

@media (max-width: 768px) {
  .team-hero { min-height: 80vh; padding: 7rem 0 9rem; }
  .hero-title { font-size: 3.2rem; }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-description { font-size: 1.1rem; }
  .hero-stats { flex-direction: column; gap: 1.8rem; }
  .stat-number { font-size: 2.8rem; }
  .glow-1, .glow-2, .glow-3 { transform: scale(0.7); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .hero-container { padding: 0 1.5rem; }
}


/* Team Section */
.team-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.team-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px var(--shadow-color);
  border-color: var(--accent-primary);
}

.team-photo-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.08);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.85) 0%, transparent 60%);
  opacity: 0.7;
}

.team-info {
  padding: 2rem 1.8rem;
  text-align: center;
}

.team-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-bio {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  min-height: 80px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--accent-primary);
}

/* CTA */
.team-cta {
  padding: 6rem 2rem;
  background: var(--hero-bg-start);
  text-align: center;
}

.cta-title {
  font-size: 2.8rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.cta-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: #0a0e1a;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .team-hero {
    min-height: 70vh;
    padding: 8rem 0 6rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .team-section {
    padding: 4rem 0;
  }
  
  .team-grid {
    gap: 2rem;
  }
  
  .team-photo-wrapper {
    height: 280px;
  }
}