.team-profile-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.team-profile-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
}

.team-profile-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-profile-img-wrap:hover img {
  transform: scale(1.05);
}

.team-profile-info {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.team-profile-name {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.team-profile-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.team-info-item {
  margin-bottom: 20px;
}

.team-info-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-info-value {
  font-size: 16px;
  color: #475569;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

/* Service Card Pro Simplified for Details Page */
.service-card-pro .service-card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.service-card-pro .service-card-link:hover {
  color: var(--primary-dark, var(--primary));
}

@media (max-width: 991px) {
  .team-profile-info { padding-left: 0; margin-top: 30px; }
  .team-profile-card { padding: 30px 20px; }
}
