﻿.timeline-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .timeline-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .timeline-controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .year-filter {
            padding: 10px 20px;
            background-color: #f1f8ff;
            border: none;
            border-radius: 20px;
            color: #2C5BD8;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .year-filter.active,
        .year-filter:hover {
            background-color: #2C5BD8;
            color: white;
        }

        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Vertical line */
        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: #e0e0e0;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        /* Circles on timeline */
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            right: -10px;
            background-color: white;
            border: 4px solid #2C5BD8;
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }

        /* Left side items */
        .timeline-item.left {
            left: 0;
        }

        /* Right side items */
        .timeline-item.right {
            left: 50%;
        }

        .timeline-item.right::after {
            left: -10px;
        }

        /* Add arrows */
        .timeline-item.left::before {
            content: '';
            position: absolute;
            top: 18px;
            right: 30px;
            border: solid transparent;
            border-left-color: #f1f8ff;
            border-width: 8px;
            margin-top: -8px;
        }

        .timeline-item.right::before {
            content: '';
            position: absolute;
            top: 18px;
            left: 30px;
            border: solid transparent;
            border-right-color: #f1f8ff;
            border-width: 8px;
            margin-top: -8px;
        }

        .timeline-content {
            padding: 20px;
            background-color: #f1f8ff;
            position: relative;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .timeline-date {
            color: #2C5BD8;
            font-weight: 700;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .timeline-title {
            color: #202124;
            margin-bottom: 15px;
            font-size: 1.3rem;
            font-weight: 700;
        }

        .timeline-description {
            color: #5f6368;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .timeline-category {
            display: inline-block;
            background-color: #e8f0fe;
            color: #2C5BD8;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* Media queries for responsive timeline */
        @media screen and (max-width: 768px) {
            .timeline::after {
                left: 31px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }

            .timeline-item.left,
            .timeline-item.right {
                left: 0;
            }

            .timeline-item.right::after,
            .timeline-item.left::after {
                left: 21px;
            }

            .timeline-item.right::before,
            .timeline-item.left::before {
                left: 15px;
                border-right-color: #f1f8ff;
                border-left-color: transparent;
            }
        }

        .no-events {
            text-align: center;
            padding: 50px;
            color: #5f6368;
            font-size: 1.2rem;
        }

        .category-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .category-btn {
            padding: 8px 16px;
            background-color: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .category-btn.active,
        .category-btn:hover {
            background-color: #2C5BD8;
            color: white;
            border-color: #2C5BD8;
        }
