
/* Team Member Specific Styles */
.team-card {
  padding: 1rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: hsl(var(--primary));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-member-image { 
  width: 150px; 
  height: 150px; 
  border-radius: 50%; 
  margin: 0 auto 1.5rem;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden;
  border: 3px solid hsl(var(--primary));
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-bio {
  color: hsl(var(--text-muted));
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* Reviews (repurposed as team container background) */
.reviews { background: hsl(var(--card-bg) / 0.3); }

/* Team section - desktop view */
@media (min-width: 1024px) {
  .reviews .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Trusted By Section */
.trusted-by {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  padding: 5rem 0;
}

.trusted-by .section-title {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.logo-item {
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.logo-item:hover {
  transform: scale(1.05);
  border-color: hsl(var(--primary));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo-item:hover .logo-caption {
  color: hsl(var(--primary));
}

.trusted-logo {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.logo-caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  margin-top: 0.5rem;
}

/* Trusted By - Responsive */
@media (min-width: 1024px) {
  .logo-item {
    width: 350px;
    height: 220px;
    background: white;
    border: 1px solid #e2e8f0;
  }
  
  .trusted-logo {
    max-height: 140px;
    border-radius: 0.5rem;
  }
}

@media (max-width: 768px) {
  .trusted-logos {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .logo-item {
    width: 250px;
    height: 160px;
    background: white;
    border: 1px solid #e2e8f0;
  }
  
  .trusted-logo {
    max-height: 100px;
    border-radius: 0.5rem;
  }
}