.about-us-carousel {
  width: 100%;
  height: 600px; /* Adjust height as needed */
}

.about-us-slide {
  display: flex !important;
  justify-content: row;
  height: 100%;
}

.slide-content {
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fffc;
  font-weight: 200;
}

.slide-content .slide-year {
  color: #fffc;
  font-size: 3rem !important;
  font-weight: 200 !important;
  color: #fffc;
  font-size: 6rem !important;
  font-weight: 200 !important;
  font-family: inherit;
}

.slide-image {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .slide-image img {
  max-height: 300px;
} */

/* Pagination styling */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  position: relative;
}

.pagination-item {
  position: relative;
  width: 100px;
  height: 3px;
  background-color: lightgrey;
  margin: 0 10px;
}

.pagination-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #ff8200;
  animation: fill-bar 10s linear forwards;
}

@keyframes fill-bar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.slide--year {
  position: relative;
  text-align: center;
  font-weight: 200;
  font-size: 0.9rem;
  top: -30px;
  color: #fffc;
  font-size: 1rem;
}

.pagination-item.active .slide--year {
  color: #ff8200;
  font-weight: 800;
}

.slick-list,
.slick-track,
.about-us-slide {
  height: inherit;
}

section.timeline {
  background-color: var(--primary);
}

.timeline-heading {
  font-family: inherit;
  font-weight: 200;
  color: #fffc;
}

@media only screen and (max-width: 767px) {
  .about-us-slide {
    flex-direction: column !important;
  }

  .slide-content,
  .slide-image {
    width: 100%;
  }
  .about-us-carousel {
    height: max-content;
  }

  .pagination-container {
    height: 40px;
  }
}
