/* Horizontal Timeline Styles */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 50px 0;
    margin: 20px 0;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 70px; /* Adjust this to center the line with the dots */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 2;
}

.timeline-header {
    margin-bottom: 20px;
}

.timeline-month {
    font-weight: bold;
    color: #d5d52b;
    font-size: 16px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: #d5d52b;
    border-radius: 50%;
    border: 3px solid #fff;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.timeline-content {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #d5d52b;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #d5d52b;
}

.timeline-title {
    font-size: 18px;
    font-weight: bold;
    color: #d5d52b;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-content ul {
    padding-left: 20px;
    margin: 0;
    font-size: 14px;
}

.timeline-content ul li {
    margin-bottom: 5px;
    list-style-type: disc;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .timeline-horizontal {
        flex-direction: column;
        padding: 20px;
    }

    .timeline-horizontal::before {
        display: none; /* Hide horizontal line on mobile */
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .timeline-dot {
        display: none; /* Hide dots on mobile */
    }

    .timeline-content {
        margin-top: 10px;
    }

    .timeline-content::before {
        display: none; /* Hide arrow on mobile */
    }
}
