#timeline-container {
  max-width: 1300px !important;
  margin: 5rem auto;
  padding: 2rem 2.5rem;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(100, 155, 199, 0.15);
  color:var(--text);
}

#timeline-container h2 {
  color: var(--blue);
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

#timeline-container .timeline {
  position: relative;
  padding-left: 60px;
}

#timeline-container .timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--blue);
  border-radius: 2px;
}

#timeline-container .event {
  position: relative;
  margin-bottom: 3rem;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

#timeline-container .event:last-child {
  margin-bottom: 0;
}

#timeline-container .event::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--blue);
  border-radius: 50%;
  transform: translateX(-50%);
}

#timeline-container .event .date {
  font-weight: 700;
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  position: relative;
  font-family: inherit;
}

#timeline-container .event .content {
  background: rgba(100, 155, 199, 0.1);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(100, 155, 199, 0.1);
  color: var(--dark-text);
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.5;
}

#timeline-container .links-container {
  margin: 3rem 0 2rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

#timeline-container .link-btn {
  background-color: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: 280px;
  box-shadow: none;
  transition: background-color 0.3s ease;
  user-select: none;
  font-family: inherit;
}

#timeline-container .link-btn:hover,
#timeline-container .link-btn:focus {
  background-color: var(--dark-blue);
  outline: none;
}

#partners {
  margin-top: 3rem;
}

#partners h3 {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
  font-family: inherit;
}

#timeline-container .partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

#timeline-container .partners-logos img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

#timeline-container .partners-logos img:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  #timeline-container {
    padding: 1.5rem 1.5rem;
  }

  .partners-logos img {
    max-height: 50px;
    max-width: 90px;
  }

  .links-container {
    flex-direction: column;
    gap: 1rem;
  }

  .link-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}