.team-section{
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  color: #01354d;
}

.sub-section-title {
  font-size: 1.8rem;
  margin: 30px 0 20px;
  text-align: left;
  font-weight: 700;
  color: #01354d;
  border-left: 6px solid #ffc107;
  padding-left: 12px;
}

/* ---------- CORE TEAM (full-width highlighted) ---------- */
.core-team {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.core-card {
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.core-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.core-media {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.core-media img {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.core-basics {
  text-align: left;
  flex: 1;
}

.core-desc {
  margin-top: 14px;
  color: #01354d;
  font-size: 1rem;
  line-height: 1.55;
}

.highlighted .member-name {
  color: #01354d;
  font-size: 1.25rem;
}

.highlighted .role {
  color: #ffc107;
  font-weight: 700;
}

/* ---------- Associate Partners & general team ---------- */
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 16px;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(11,43,74,0.05);
  padding: 18px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11,43,74,0.1);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid #f3f4f6;
}

.member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #01354d;
  margin-bottom: 6px;
}

.member-name span {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: #6b7280;
}

.role {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #01354d;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.45;
}

.social-links a {
  margin: 0 8px;
  font-size: 1.1rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #ffc107;
}

/* ---------- Team Members (compact cards) ---------- */
.small-card {
  margin-bottom: 5px;
}

.small-card img {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.small-card .member-name {
  margin-top: 12px;
  font-size: 1rem;
}

.role.small {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .core-media img { width: 120px; height: 120px; }
  .core-basics { min-width: 180px; }
}

@media (max-width: 600px) {
  .core-media { flex-direction: column; align-items: flex-start; }
  .team-section { padding: 28px 12px; }
  .sub-section-title { text-align: left; }
}

.container {
  padding: 0 12px;
}