

:root {
  /* Color Palette */
  --primary-color: #5d5fef;
  --secondary-color: #365add;
  --accent-color: #5d5fef;
  --section-color: #2c3e50;
  --text-dark: #333333;
  --text-light: #F4F4F4;
  --background-light: #F9F9FF;
  --border-soft: #E0E0E0;
}

.team-section {
  background-color: var(--white);
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--section-color);
  margin-bottom: 1rem;
}

.section-title .accent {
  color: var(--accent-color);
}

.team-description {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-dark);
  opacity: 0.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-member {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow:auto;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member-avatar img {
  width: 100%;
  height: auto;
  object-fit:cover;
  transition: transform 0.3s ease;
}

.team-member:hover .team-member-avatar img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 1.5rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-member-bio {
  color: var(--text-dark);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.team-member-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-color);
}

.team-cta {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.team-cta-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.team-cta-content p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 1;
}

.btn-primary {
  background-color: transparent;
            border: 2px solid var(--white);
            color: var(--white);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
 background-color: var(--white);
            color: var(--primary-color);
}



/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .team-grid {
      grid-template-columns: 1fr;
  }

  .section-title {
      font-size: 2rem;
  }

  .team-cta-content h3 {
      font-size: 1.5rem;
  }

}