.container-team {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.section {
  background: white;
  grid-column: 1 / -1;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  font-size: 1.8rem;
}

.team-member {
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  background: rgba(255, 140, 0, 0.05);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.team-member:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.2);
}

.team-member h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.team-description {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 140, 0, 0.1);
  border-radius: 4px;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-description:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 140, 0, 0.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quote {
  text-align: center;
  font-style: italic;
  color: var(--secondary-color);
  margin: 2rem 0;
  font-size: 1.3rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.quote::before,
.quote::after {
  content: '"';
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 600;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.quote::before {
  margin-right: 0.1rem;
}

.quote::after {
  margin-left: 0.1rem;
}

.quote:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.quote:hover::before,
.quote:hover::after {
  opacity: 1;
  transform: scale(1.1);
}

.team-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
}

.team-list li {
  background: white;
  padding: 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-bottom: 5px solid var(--primary-color);
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}

.team-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.2);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .container-team {
    padding: 0.5rem;
  }

  .section {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  h1,
  h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .team-member {
    padding: 0.75rem;
  }

  .team-member h3 {
    font-size: 1.1rem;
  }

  .team-description {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .team-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }

  .team-list li {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .team-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 0.75rem;
    margin-top: 40px;
  }

  h1,
  h2 {
    font-size: 1.3rem;
  }

  .team-description {
    font-size: 0.85rem;
  }
}
