/* Add these new timeline styles to the existing file */

body {
    background-color: #f8f9fa;
}

.timeline-container {
    width: 100%;
    padding: 20px 0;
}

/* Year divider styling */
.year-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.year-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #dee2e6;
    z-index: 1;
}

.year-divider h3 {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    margin: 0;
    font-size: 1.75rem;
    font-weight: bold;
    background-color: #00A79D;
    color: white;
    z-index: 2;
    border-radius: 0 !important;
}

/* Card styling */
.timeline-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-radius: 0 !important;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.timeline-date {
    color: #666;
    font-size: 0.9rem;
}

.timeline-title {
    color: #2c3e50;
    font-weight: 600;
}

.timeline-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 0 !important;
}

/* Year filter styles */
.timeline-year-heading {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.year-filter-select {
    min-width: 150px;
    border-color: #00A79D !important;
    color: #00A79D !important;
}

.year-filter-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 167, 157, 0.25) !important;
    border-color: #00A79D !important;
}

.filter-btn {
    border-radius: 0 !important;
}

.filter-btn.active {
    background-color: #00A79D !important;
    border-color: #00A79D !important;
    color: white !important;
}

.btn-outline-primary {
    color: #00A79D !important;
    border-color: #00A79D !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: #00A79D !important;
    border-color: #00A79D !important;
    color: #fff !important;
}

.text-primary {
    color: #00A79D !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .year-divider h3 {
        font-size: 1.5rem;
        padding: 8px 15px;
    }

    .timeline-event-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .year-divider h3 {
        font-size: 1.25rem;
        padding: 6px 12px;
    }
}