/* ====== About ====== */

.about-section {
  background-color: var(--blanco);
}

.about-section h2 {
  color: var(--azul-celeste);
}

.about-section h4 {
  font-weight: 600;
}

.about-section p {
  color: var(--azul-oscuro);
}

.about-section ul li {
  margin-bottom: 0.5rem;
  color: var(--azul-oscuro);
  font-weight: 500;
}
.team-section h2 {
  color: var(--azul-celeste);
}

.team-section .card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.team-section .card-img-top {
  height: 280px;
  object-fit: cover;
}

.team-section .card-title {
  color: var(--azul-oscuro);
}

.team-section .social-links a {
  color: var(--azul-celeste);
  transition: color 0.3s ease;
}

.team-section .social-links a:hover {
  color: var(--amarillo);
}

/* ====== About directivos ====== */

.directivos-section h2 {
  color: var(--azul-celeste);
}

.directivos-section .card.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directivos-section .card.glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

.directivos-section h4 {
  color: var(--amarillo);
}

.directivos-section p {
  color: var(--azul-oscuro);
}

/* ====== About Time line ====== */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--azul-celeste);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--amarillo);
  border: 3px solid var(--azul-celeste);
  z-index: 1;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 25px;
  }
  .timeline-item.right {
    left: 0;
  }
  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 0;
  }
}

/* Animación inicial oculta */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Cuando entra en pantalla */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}