/* Wrapper for all timelines */
.timeline-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
	padding-top: 40px;
}

/* Wrapper for individual timelines */
.timeline-wrapper {
    display: flex;
    align-items: center;
}

/* Label styling */
.timeline-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    width: 150px;
    text-align: right;
    margin-right: 20px;
}

/* Timeline container */
.timeline {
    flex: 1;
}

.timeline-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Horizontal line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #ccc;
    transform: translateY(-50%);
    z-index: 0;
}

/* Timeline dots */
.timeline-dot {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    margin: 0 30px; /* Adds horizontal space between dots */
}


.timeline-dot:hover {
    transform: scale(1.2);
    background-color: #0056b3;
}

.timeline-dot::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    white-space: nowrap;
    font-size: 12px;
    color: #333;
}

/* Media query for mobile devices */
/* Media query to hide only the timeline dropdown on mobile */
@media (max-width: 768px) {
    .timeline-dropdown {
        display: none; /* Hides the timeline dropdown on mobile */
    }
}