/* AllTeamMembers Page CSS */
.all-team-section {
  font-family: Arial, Helvetica, sans-serif;
  padding: 40px 20px;
  background-color: #f8f9fa;
  color: #343a40;
  transition: background-color 0.3s, color 0.3s;
}

.all-team-header {
  text-align: center;
  margin-bottom: 30px;
}

.all-team-header h2 {
  font-size: 2.0rem;
  color: #343a40;
  font-weight: 400;
  transition: color 0.3s;
}

.all-team-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.team-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 100%;
  max-width: 300px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image img {
  width: 100%;
  height: auto;
  border-radius: 7%;
  max-width: 250px;
  margin-bottom: 10px;
}

.team-name {
  font-size: 1.0rem;
  color: #343a40;
  font-weight: 600;
  margin: 0;
  transition: color 0.3s;
}

.team-role {
  font-size: 0.9rem;
  color: #3387d1;
  margin: 5px 0 20px;
  transition: color 0.3s;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-socials a {
  width: 30px;
  height: 30px;
}

.team-socials .social-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .all-team-header h2 {
      font-size: 2rem;
  }

  .team-card {
      max-width: 100%;
      padding: 15px;
  }
}

@media (max-width: 660px) {
  .team-name {
      font-size: 1.25rem;
  }

  .team-role {
      font-size: 0.875rem;
  }
}

/* Dark Mode Styles */
.dark-mode .all-team-section {
  background-color: #1c1c1c;
  color: #e0e0e0;
}

.dark-mode .all-team-header h2 {
  color: #e0e0e0;
}

.dark-mode .team-card {
  background-color: #2a2a2a;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.dark-mode .team-name {
  color: #e0e0e0;
}

.dark-mode .team-role {
  color: #4fa3ff;
}
