/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Team Card */
.team-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
  border-color: var(--blue, #1d4ed8);
}

.team-card-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt2, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.team-card:hover .team-card-photo { transform: scale(1.04); }

.team-card-body {
  padding: 18px 18px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #111827);
  margin: 0;
  line-height: 1.3;
}
.team-card-designation {
  font-size: 0.78rem;
  color: var(--blue, #1d4ed8);
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 480px) {
  .team-card-body        { padding: 12px 10px 14px; }
  .team-card-name        { font-size: 0.85rem; }
  .team-card-designation { font-size: 0.68rem; }
}

/* Empty State */
.team-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted, #9ca3af);
}
.team-empty i  { font-size: 3rem; margin-bottom: 16px; display: block; opacity: 0.4; }
.team-empty p  { font-size: 1.1rem; }

/* CTA Section */
.team-cta {
  background: linear-gradient(135deg, var(--bg-alt2, #f9fafb) 0%, var(--blue-pale, #eff4ff) 60%, var(--bg-alt2, #f9fafb) 100%);
  border-top: 1px solid var(--border, #e5e7eb);
  position: relative;
  overflow: hidden;
}
.team-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(27, 74, 160, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.team-cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left: text + buttons */
.team-cta-left .eyebrow { margin-bottom: 20px; }
.team-cta-left h2       { margin-bottom: 20px; color: var(--text, #111827); }
.team-cta-left p        { color: var(--text-mid, #4b5563); font-size: 17px; line-height: 1.8; max-width: 440px; }
.team-cta-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Right: values grid */
.team-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.team-value-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.team-value-card:hover {
  border-color: var(--blue, #1d4ed8);
  box-shadow: 0 8px 28px rgba(27, 74, 160, 0.09);
  transform: translateY(-3px);
}
.team-value-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale, #eff4ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue, #1d4ed8);
  font-size: 16px;
  flex-shrink: 0;
}
.team-value-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text, #111827);
  margin: 0;
  line-height: 1.3;
}
.team-value-desc {
  font-size: 0.78rem;
  color: var(--text-mid, #4b5563);
  line-height: 1.65;
  margin: 0;
}

/* Responsive CTA */
@media (max-width: 1024px) {
  .team-cta-layout  { grid-template-columns: 1fr; gap: 48px; }
  .team-values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-cta-left p  { max-width: 100%; }
}
@media (max-width: 480px) {
  .team-values-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-value-card  { padding: 18px 16px; }
  .team-cta-actions { flex-direction: column; }
  .team-cta-actions .btn { width: 100%; justify-content: center; }
}
