/* General Timeline Styles */
.timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 40px auto;
    padding: 20px;
    max-width: 600px;
    position: relative;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ffcc00, #ffaa00);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-left: 90px;
    position: relative;
    width: 85%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
    position: absolute;
    left: -10px;
    top: 0;
    width: 80px;
    text-align: right;
}

.timeline-content {
    background: #1c1e26;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    border-left: 4px solid #ffcc00;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    margin-top: 0;
    color: #ffcc00;
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .timeline {
        padding-left: 10px;
    }

    .timeline-date {
        font-size: 16px;
    }

    .timeline-content {
        padding: 15px 20px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-content p {
        font-size: 14px;
    }
}
