/* Timeline Styles */
.timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f9fafb;
}

.timeline-hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.timeline-title {
    font-size: 3rem;
    color: #0d9488;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.timeline-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: #0d9488;
    color: white;
    border-color: #0d9488;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #cbd5e1 10%, #cbd5e1 90%, transparent);
}

.timeline-item-wrapper {
    position: relative;
    margin-bottom: 80px;
    padding-top: 0;
}

.timeline-item-wrapper.has-year {
    padding-top: 0;
    margin-top: 60px;
}

.timeline-year-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    z-index: 10;
}

.year-ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(13, 148, 136, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 3s infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.year-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 4px solid #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

.year-circle::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(13, 148, 136, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.year-circle span {
    font-size: 1.125rem;
    font-weight: bold;
    color: #0d9488;
}

.timeline-event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.timeline-image-col {
    position: relative;
}

.timeline-image-col.left {
    grid-column: 1;
}

.timeline-image-col.right {
    grid-column: 2;
}

.timeline-text-col {
    position: relative;
}

.timeline-text-col.left {
    grid-column: 2;
    padding-left: 30px;
}

.timeline-text-col.right {
    grid-column: 1;
    padding-right: 30px;
    text-align: left;
}

.timeline-image-col img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s;
}

.timeline-image-col img:hover {
    transform: scale(1.02);
}

.timeline-text-col h3 {
    color: #0d9488;
    font-size: 1.875rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.timeline-text-col .short-desc {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.0625rem;
}

.timeline-details {
    margin-top: 16px;
}

.timeline-details summary.show-more-inline {
    display: inline;
    color: #0d9488;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    margin-left: 4px;
}

.timeline-details summary::-webkit-details-marker {
    display: none;
}

.timeline-details[open] summary.show-more-inline {
    display: none;
}

.timeline-details .show-less-link {
    margin-top: 12px;
    text-align: left;
}

.timeline-details .show-less-link a {
    color: #0d9488;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.timeline-details .show-less-link a:hover {
    text-decoration: underline;
}

.timeline-details .full-desc {
    margin-top: 12px;
    color: #4b5563;
    line-height: 1.7;
}

.timeline-quote {
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline-quote blockquote {
    background: linear-gradient(135deg, #f0fdfa 0%, #cffafe 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.timeline-quote blockquote::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(13, 148, 136, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #374151;
    line-height: 1.7;
    text-align: center;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.timeline-quote footer {
    text-align: center;
}

.quote-author {
    font-weight: 600;
    color: #0d9488;
    font-style: normal;
    font-size: 1.0625rem;
}

.quote-title {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .timeline-event-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-image-col.left,
    .timeline-image-col.right {
        grid-column: 1 !important;
        order: 1;
    }
    
    .timeline-text-col.left,
    .timeline-text-col.right {
        grid-column: 1 !important;
        order: 2;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-year-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item-wrapper {
        margin-left: 80px;
    }
    
    .timeline-title {
        font-size: 2rem;
    }
}