/* ======================= */
/* === ADICA TIMELINE SWIPER STYLES  === */
/* ======================= */

.adica-timeline-swiper {
  width: 100%;
  position: relative;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.adica-timeline-swiper .swiper-wrapper {
  align-items: stretch;
}

.adica-timeline-slide {
  background: whitesmoke;
  padding: 0.5rem 0.5rem 4.5rem; /* increased bottom padding to create space for the year */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
  border-radius: 0;
}

/* Image block */
.adica-timeline-slide .timeline-icon img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* Title */
.adica-timeline-slide .timeline-title {
  font-size: var(--font-size-md);
  margin: 1rem 0 0.75rem;
  color: var(--color-primary);
}

/* Description */
.adica-timeline-slide .timeline-description {
  color: var(color-text);
  line-height: 1.6;
  padding: 0 1rem 0.5rem;
}

/* Year label */
.adica-timeline-slide .timeline-year {
  font-size: var(--font-size-lg);
  position: absolute;
  bottom: 1rem; /* adjust to push the year further down */
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
}

.adica-timeline-slide .timeline-year::after {
  content: '';
  display: block;
  margin: 0.3rem auto 0;
  width: 30px;
  height: 3px;
  background-color: #006c60;
}

/* Pagination dots */
.swiper-pagination {
  bottom: 0;
  text-align: center;
  width: 100%;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: whitesmoke;
  opacity: 0.5;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

/* Remove edge gradient */
.adica-timeline-swiper::before,
.adica-timeline-swiper::after {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .adica-timeline-swiper {
  padding-left: 2rem;
  }
}

@media (max-width: 767px) {
  .adica-timeline-slide {
    padding: 1rem 0.75rem 4rem;
  }
  .adica-timeline-swiper {
    padding-left: 1rem;
  }
}
