.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #8B0000, #006400);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.timeline-item:hover {
    transform: translateX(10px);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #8B0000;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #8B0000;
    transition: all 0.3s ease;
    z-index: 2;
}
.timeline-item:hover::before {
    background: #FF4500;
    box-shadow: 0 0 0 3px #FF4500, 0 0 20px rgba(255, 69, 0, 0.5);
    transform: scale(1.2);
}
.timeline-item.highlight::before {
    background: #FFD700;
    box-shadow: 0 0 0 3px #8B0000;
    width: 24px;
    height: 24px;
    left: 40px;
}
.timeline-date {
    background: linear-gradient(135deg, #8B0000, #006400);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}
.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8B0000;
}
.timeline-content h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-size: 1.4em;
}
.timeline-content p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}
.read-more-btn {
    background: linear-gradient(135deg, #8B0000, #006400);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}
.modal-title {
    color: #8B0000;
    margin: 0;
    font-size: 1.5em;
}
.close-modal {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    line-height: 1;
}
.close-modal:hover {
    color: #8B0000;
}
.modal-date {
    background: linear-gradient(135deg, #8B0000, #006400);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9em;
}
.modal-body {
    line-height: 1.6;
    color: #333;
}
.modal-body p {
    margin-bottom: 15px;
    text-align: justify;
}
.modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-item::before {
        left: 12px;
    }
    .timeline-item.highlight::before {
        left: 10px;
    }
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    .modal-title {
        font-size: 1.3em;
    }
    .modal-image {
        height: 180px;
    }
}
