/* ========================================
   Who We Are Page - Specific Styles
   ======================================== */

/* --- Mission / Focus / Vision Section --- */
.wwa-mfv {
  padding: 5rem 0;
  background: var(--bg-white);
}

.mfv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mfv-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.mfv-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.mfv-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--green-heading), var(--teal));
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: var(--transition);
}

.mfv-card:hover::after {
  opacity: 1;
}

.mfv-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--teal);
}

.mfv-icon svg {
  width: 100%;
  height: 100%;
}

.mfv-card h3 {
  font-size: 1.3rem;
  color: var(--green-heading);
  margin-bottom: 1rem;
  font-weight: 700;
}

.mfv-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* --- Our Team Types Section --- */
.wwa-team {
  padding: 5rem 0;
  background: var(--bg-light);
}

.wwa-team .section-label,
.wwa-team .section-title,
.wwa-team .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.center-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.team-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-type-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--green-heading);
}

.team-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-type-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--green-heading), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: white;
}

.team-type-icon svg {
  width: 100%;
  height: 100%;
  stroke: white;
}

.team-type-card h3 {
  font-size: 1.1rem;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  font-weight: 700;
}

.team-type-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.65;
}

/* --- Combined Ways of Working + What We Do Best --- */
.wwa-ways-best {
  padding: 5rem 0;
  background: var(--bg-white);
}

.ways-best-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.ways-best-left .section-label {
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--green-heading);
  margin-bottom: 2rem;
}

.ways-best-left .pyramid-container {
  text-align: center;
}

.pyramid-img {
  width: 100%;
  height: auto;
}

.ways-best-right .section-label {
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--green-heading);
  margin-bottom: 1.5rem;
}

.best-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.best-list li {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0.25rem 0;
}

.best-subheading {
  font-size: 1.15rem;
  color: var(--green-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* --- Meet Our Experts Section --- */
.wwa-experts {
  padding: 5rem 0;
  background: var(--bg-white);
}

.wwa-experts .section-label,
.wwa-experts .section-title,
.wwa-experts .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.team-group-title {
  font-size: 1.3rem;
  color: var(--accent-blue);
  font-weight: 700;
  margin-top: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--green-heading);
  display: inline-block;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.expert-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.expert-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 3px solid var(--teal-light);
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-avatar.placeholder {
  background: linear-gradient(135deg, var(--green-heading), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 700;
}

.expert-card h3 {
  font-size: 1.1rem;
  color: var(--accent-blue);
  margin-bottom: 0.25rem;
}

.expert-role {
  font-size: 0.85rem;
  color: var(--green-heading);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.expert-bio {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .mfv-grid,
  .team-type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mfv-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .team-type-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .ways-best-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .mfv-grid,
  .team-type-grid {
    grid-template-columns: 1fr;
  }

  .mfv-card:last-child,
  .team-type-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .mfv-card,
  .team-type-card {
    padding: 2rem 1.5rem;
  }
}
