/* Team Section */
.team-hero {
  width: calc(100% - 40px);
  max-width: 1400px;
  margin: 80px auto 0 auto;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.team-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.team-content {
  flex: 1;
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.team-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.team-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.team-grid {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.team-member-card {
  text-align: center;
}

.team-photo {
  width: 260px;
  height: 330px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.158);
  margin-bottom: 20px;
}

.member-info {
  color: white;
}

.member-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.member-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
}

.member-info .role-line {
  display: inline;
}

.member-info .role-separator {
  margin: 0 4px;
}

@media (max-width: 1024px) {
  .team-hero {
    flex-direction: column;
    text-align: center;
  }
  
  .team-content {
    max-width: 100%;
  }
  
  .team-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .team-hero {
    width: calc(100% - 24px);
    padding: 40px 20px;
    margin: 40px auto 0 auto;
  }

  .team-title {
    font-size: 2rem;
  }

  .team-subtitle {
    font-size: 1rem;
  }

  .team-grid {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
  }

  .team-photo {
    width: 180px;
    height: 240px;
  }

  .member-info h3 {
    font-size: 1.05rem;
  }

  .member-info p {
    font-size: 0.75rem;
  }

  .member-info .role-line {
    display: block;
  }

  .member-info .role-separator {
    display: none;
  }
}
