/* Versão 1.0.0 */

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, #0cffb9, #0066ff);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(to right, #0cffb9, #0066ff);
  border-radius: 50%;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-item.left .timeline-content,
.timeline-item.right .timeline-content {
  padding: 30px;
  border-radius: 10px;
  position: relative;
  background-color: var(--bg-secondary);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-color);
}

.team-member {
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.team-member:hover img {
  box-shadow: 0 10px 30px rgba(12, 255, 185, 0.2);
}

.social-icon {
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.social-icon:hover {
  transform: translateY(-5px);
  color: var(--color-neon);
}

.partner-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.partner-card:hover {
  background-color: var(--color-gray);
}

:root.light-mode .partner-card {
  background-color: #1f2937;
  border-color: #374151;
}

:root.light-mode .partner-card:hover {
  background-color: #374151;
}

:root.light-mode .partner-fallback {
  color: #ffffff;
}

.partner-fallback {
  color: var(--text-primary);
  opacity: 0.5;
}

.text-primary-theme {
  color: var(--text-primary);
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 21px;
  }
}
