.timeline-wrapper {
  font-family: Euclid Circular A;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 60px 0;
  gap: 10px;
  background-color: #000;
  overflow-x: auto;
  white-space: nowrap;
  scroll-snap-type: x mandatory;

}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.10196078431372549);
  z-index: 1;

}

.timeline-event {
  position: relative;
  z-index: 2;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  scroll-snap-align: start;

}

.timeline-box {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 16px;
  padding: 16px;
  background-color: #222;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: left;
 width: 335px;
  margin: auto;
  transform: translateY(-20px);
}

.timeline-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.timeline-box h3 {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 20.29px;
}

.timeline-box p {
  margin: 4px 0;
  font-size: 14px;
  color: #bbb;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #d32f2f;
  border-radius: 50%;
  z-index: 3;
}

.timeline-details {
  font-size: 14px;
  color: #fff;
  transform: translateY(20px);
}

.timeline-details .day {
  font-weight: bold;
  margin-bottom: 8px;
}

.timeline-details .date {
  color: #bbb;
  margin-bottom: 8px;
}

.timeline-details .tag {
  display: inline-block;
  margin: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 13.95px;
  background-color: rgba(212, 24, 29, 1);
}

.timeline-details .tag.canli {
  background-color: #d32f2f;
}

.timeline-details .tag.supervizyon {
  background-color: #1976d2;
}

.timeline-event-2 {
  position: relative;
  z-index: 2;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  scroll-snap-align: start;
}

.timeline-box-2 {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 16px;
  padding: 16px;
  background-color: #222;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: left;
  width: 335px;
  margin: auto;
  transform: translateY(20px);
}

.timeline-box-2 img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.timeline-box-2 h3 {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 20.29px;
}

.timeline-box-2 p {
  margin: 4px 0;
  font-size: 14px;
  color: #bbb;
}

.timeline-dot-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #d32f2f;
  border-radius: 50%;
  z-index: 3;
}

.timeline-details-2 {
  font-size: 14px;
  color: #fff;
  transform: translateY(-20px);
}

.timeline-details-2 .day-2 {
  font-weight: bold;
  margin-bottom: 8px;
}

.timeline-details-2 .date-2 {
  color: #bbb;
  margin-bottom: 8px;
}

.timeline-details-2 .tag-2 {
  display: inline-block;
  margin: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 13.95px;
  background-color: rgba(212, 24, 29, 1);
}

.timeline-details-2 .tag-2.canli {
  background-color: #d32f2f;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 20px;  
    scroll-snap-type: x mandatory;
  }
	.timeline-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .timeline-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(212, 24, 29, 1);
    border-radius: 3px;
  }

  .timeline-wrapper::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }

  .timeline-event {
    display: inline-block;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .timeline-line {
    width: 300vw;
  }

  .timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .timeline-box {
    transform: translateY(-25px);
  }
  .timeline-box-2 {
    transform: translateY(25px);
	  width: 237.88px;
  }

  .timeline-details {
    transform: translateY(25px);
  }
  .timeline-details-2 {
    transform: translateY(-25px);
  }
}

.timeline-event.completed .timeline-box::after,
.timeline-event-2.completed .timeline-box-2::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: rgba(115, 224, 37, 1); 
    mask: url('/wp-content/uploads/2025/02/check-icon.svg') no-repeat center; 
    -webkit-mask: url('/wp-content/uploads/2025/02/check-icon.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-size: contain;
    border-radius: 50%; 
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}
