* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  min-height: 100vh;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.profile-photo {
  width: 140px;
  height: 140px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.header-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-description {
  font-size: 1.1rem;
  color: #64748b;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto 1rem;
  display: block;
  position: relative;
  z-index: 1;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.member-role {
  font-size: 1rem;
  color: #94a3b8;
  position: relative;
  z-index: 1;
}

.card-body {
  padding: 1.5rem 2rem;
}

.member-bio {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  background: #f1f5f9;
  color: #475569;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.card-footer {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #3b82f6;
  font-weight: 500;
  font-size: 0.95rem;
}

.card-footer svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.team-card:hover .card-footer svg {
  transform: translateX(4px);
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  color: #64748b;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 3rem 1.5rem;
  }

  header h1 {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1.1rem;
  }

  main {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 1.75rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-header {
    padding: 2rem 1.5rem;
  }

  .member-photo {
    width: 100px;
    height: 100px;
  }

  .member-name {
    font-size: 1.25rem;
  }
}
