/* Meet Our Leadership / team cards */
.team-section{
    background: var(--neutral-light-bg);
}
.team-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(20,30,60,.06);
  transition: box-shadow .3s ease, transform .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  box-shadow: 0 14px 34px rgba(20,30,60,.12);
  transform: translateY(-4px);
}

/* Team photo panel */
.team-photo-panel {
  position: relative;
  overflow: hidden;
}
.team-photo-panel.tint-blue {
    background: rgba(27,95,168,.12);
}
.team-photo-panel.tint-teal {
    background: rgba(30,138,110,.12);
}
.team-photo-panel.tint-gold {
    background: rgba(240,175,30,.15);
}

/* boostrap */
.team-photo-ratio img {
  object-fit: cover;
  object-position: top center;
}

/* Title tag pill, top-left over photo */
.team-title-tag {
  position: absolute;
  top: 16px;
  left: 10px;
  z-index: 3;
  background: #fff;
  color: var(--neutral-dark);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(20,30,60,.12);
}

/* Overlay on hover (and keyboard focus): profile button and any social links */
.team-social-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(to top, rgba(18, 67, 115, .92) 0%, rgba(18, 67, 115, .55) 55%, rgba(18, 67, 115, .1) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.team-card:hover .team-social-overlay,
.team-card:focus-within .team-social-overlay {
  opacity: 1;
  visibility: visible;
}

.team-social-links { display: flex; gap: 12px; }
.team-social-links a,
.team-overlay-btn {
  transform: translateY(14px);
  opacity: 0;
  transition: background .25s ease, color .25s ease, transform .35s ease, opacity .35s ease;
}
.team-card:hover .team-social-links a,
.team-card:hover .team-overlay-btn,
.team-card:focus-within .team-social-links a,
.team-card:focus-within .team-overlay-btn {
  transform: translateY(0);
  opacity: 1;
}
.team-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 15px;
}
.team-social-links a:hover { background: var(--accent-gold); color: #fff; }

.team-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-gold);
  color: var(--neutral-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition-delay: .08s;
}
.team-overlay-btn:hover,
.team-overlay-btn:focus-visible { background: #fff; color: var(--primary-blue-dark); }

/* Card text block */
.team-card-body {
  padding: 24px; flex: 1;
}
.team-card-body .member-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 4px;
}
.team-card-body .member-role { font-size: 14px; font-weight: 600; color: var(--primary-blue); margin-bottom: 14px; }
.team-card-body .member-bio { font-size: 15px; font-weight: 400; color: var(--neutral-body); line-height: 1.6; margin-bottom: 0; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .team-social-links a, .team-overlay-btn { transform: none; }
  .team-card:hover { transform: none; }
}

/* Why choose us */
.why-us-intro {
  padding: 80px 0;
}
.why-us-intro-image {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 67, 115, 0.1);
}
.why-us-checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-us-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
}
.why-us-checklist i {
  color: var(--secondary-green);
  margin-top: 3px;
}

.why-us-features { padding: 80px 0; background: var(--light-bg); }
.why-us-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 26px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(18, 67, 115, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-us-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(18, 67, 115, 0.1);
}
.why-us-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
