
/* General Timeline Styles */
.custom-timeline {
    position: relative;
    padding: 50px 0;
    font-family: sans-serif;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ddd;
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: relative;
    width: 200px;
    margin: 40px;
    text-align: center;
    transition: transform 0.5s;
}

.timeline-item-up {
    transform: translateY(-100px);
}

.timeline-item-down {
    transform: translateY(100px);
}

.timeline-item-left {
    align-self: flex-start;
}

.timeline-item-right {
    align-self: flex-end;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background-color: #3498db;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #ddd;
    margin: 0 auto 15px;
    z-index: 3;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.timeline-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.timeline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}
