/* Team Page Specific Styles */


:root {
  --sponsor-green: #0eca33;
  --sponsor-green-dark: #086219;
  --sponsor-green-light: #10b981;
  --accent-bronze: #cd7f32;
  --accent-silver: #c0c0c0;
  --accent-gold: #fbbf24;
  --complement-blue: #1e40af;
  --complement-purple: #7c3aed;
}

/* Team Hero Section */
.team-hero {
    background: linear-gradient(135deg, var(--sponsor-green) 0%, var(--sponsor-green-dark) 100%);
  color: var(--text-bright);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/team-photo.JPG') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.team-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.team-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.team-hero p {
  font-size: 20px;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Team Content */
.team-content-wrapper {
  margin-top: 48px;
}

.loading {
  text-align: center;
  padding: 48px;
  font-size: 18px;
  color: #666;
}

/* Role Groups */
.role-group {
  margin-bottom: 64px;
}

.role-group:last-child {
  margin-bottom: 32px;
}

.role-group h2 {
  color: var(--dark);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent-color);
  font-size: 28px;
  text-align: center;
  position: relative;
}

.role-group h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-dark);
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
  justify-items: center;
}

/* Team Member Cards */
.team-member {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  width: 100%;
  max-width: 300px;
}

.team-member-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.team-member-link:hover .team-member {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

/* Member Profile Images */
.member-profile {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-color);
  transition: transform 0.3s ease;
  position: relative;
}

.team-member:hover .member-profile {
  transform: scale(1.05);
}

.member-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-profile img {
  transform: scale(1.1);
}

/* Member Info */
.member-info h3 {
  color: var(--accent-color);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.member-info p {
  color: var(--text-color);
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

.member-info p a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.member-info p a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* Special styling for different member types */
.role-group:first-child .team-member {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, rgba(14, 202, 51, 0.05) 0%, rgba(8, 98, 25, 0.05) 100%);
}

.role-group:first-child .member-profile {
  border-width: 5px;
  border-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-hero {
    padding: 48px 16px;
  }

  .team-hero h1 {
    font-size: 36px;
  }

  .team-hero p {
    font-size: 18px;
  }

  .team-section {
    padding: 48px 16px;
  }

  .role-group h2 {
    font-size: 24px;
  }

  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
  }

  .team-member {
    padding: 24px 16px;
  }

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

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

  .team-hero h1 {
    font-size: 28px;
  }

  .team-hero p {
    font-size: 16px;
  }

  .role-group h2 {
    font-size: 20px;
  }

  .team-member {
    max-width: none;
  }
}

/* Animation for loading */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-content-wrapper {
  animation: fadeIn 0.5s ease-out;
}

.team-member {
  animation: fadeIn 0.5s ease-out backwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }
