.about-page-mission {
  background: #0b4f8a;
  color: #ffffff;
}

.about-page-mission h2 {
  color: #ffffff;
}

.about-page-mission p.lead {
  color: rgba(255, 255, 255, 0.92);
}

.about-page-mission-image {
  height: 220px;
}

.about-page-feature-card {
  border: 0;
  border-radius: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-page-feature-card:hover,
.about-page-feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}

.about-page-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 79, 138, 0.08);
  color: var(--color-accent);
}

.about-page-feature-icon i {
  font-size: 1.25rem;
}

.about-page-team-card {
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  transition: transform 0.3s ease;
}

.about-page-team-photo-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.about-page-team-photo-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This keeps images from stretching */
  transition: transform 0.4s ease;
}

.about-page-team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
  color: #ffffff;
  opacity: 0;
  display: flex;
  align-items: center; /* Center text vertically on hover */
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allows clicks to pass through if needed */
}

/* Show description on hover */
.about-page-team-card:hover .about-page-team-overlay {
  opacity: 1;
}

.about-page-team-card:hover .about-page-team-photo-wrapper img {
  transform: scale(1.1);
}

.about-page-team-body {
  padding: 1.2rem;
  text-align: center;
}

