
/* Force hide loading spinner on team page */
#loading-spinner, #loading-spinner *, .loading-spinner, .spinner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* HERO SECTION */
.hero-about {
  background: linear-gradient(
      135deg,
      /* Reduced opacity for more image visibility */ rgba(30, 60, 114, 0.6),
      /* Was 0.9 */ rgba(42, 82, 152, 0.6) /* Was 0.9 */
    ),
    url("images1/2025 Legacy Administration Boards and Executives Headshot/BoardMembers_5_11zon.webp") center/cover;
  padding: 120px 0 100px;
  margin-top: 40px;
  color: #fff;
  text-align: center;
  position: relative;
  object-position: top;
  overflow: hidden;
}

.hero-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    /* Reduced opacity for more image visibility */ rgba(30, 60, 114, 0.5),
    /* Was 0.8 */ rgba(42, 82, 152, 0.5) /* Was 0.8 */
  );
  z-index: 1;
}

.hero-about .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-about h2 {
  font-family: "Manrope", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-about p {
  font-size: 1.3rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out 0.3s both;
  margin-bottom: 0;
}


/* TEAM PAGE STYLES */

.team-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.team-title {
  text-align: center;
  font-size: 2.8rem;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: #1e3c72;
  margin-bottom: 0.5rem;
}

.team-description {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.team-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30, 60, 114, 0.08);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  max-width: 320px;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 40px rgba(30, 60, 114, 0.15);
}

.team-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  border: 4px solid #ffd700;
  box-shadow: 0 2px 8px rgba(30, 60, 114, 0.08);
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 0.3rem;
  font-family: "Manrope", sans-serif;
}

.team-role {
  font-size: 1.05rem;
  color: #b69d4c;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.team-bio {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.1rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.team-socials a {
  color: #1e3c72;
  font-size: 1.3rem;
  transition: color 0.2s;
}

.team-socials a:hover {
  color: #ffd700;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .team-section {
    padding: 50px 10px;
  }
  .team-title {
    font-size: 2.1rem;
  }
  .team-card {
    padding: 2rem 1rem 1.5rem 1rem;
    max-width: 95vw;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .team-section {
    padding: 30px 5px;
  }
}
