#team {
  background: #f4f6fb;
  padding: 110px 0;
}

.team-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 36px 24px 30px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(15, 31, 61, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: #c9a84c;
  box-shadow: 0 18px 40px rgba(201, 168, 76, 0.2);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #c9a84c, #e0bf6e);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.25);
}

.team-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #ffffff;
}

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 23px;
  color: #0f1f3d;
  margin-bottom: 6px;
}

.team-role {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #b0892f;
  margin-bottom: 4px;
}

.team-exp {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #5c6a86;
  margin-bottom: 18px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.14);
  color: #b0892f;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.team-linkedin:hover {
  background: linear-gradient(135deg, #c9a84c, #e0bf6e);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .team-card:hover { transform: none; }
}

@media (min-width: 1440px) {
  .team-inner { max-width: 1340px; padding: 0 64px; }
}

@media (max-width: 1280px) {
  #team { padding: 90px 0; }
  .team-inner { padding: 0 40px; }
}

@media (max-width: 1024px) {
  .team-inner { padding: 0 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 768px) {
  #team { padding: 70px 0; }
  .team-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .team-inner { padding: 0 16px; }
  .team-grid { grid-template-columns: 1fr; }
}
