.schedule-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.schedule-title {
    text-align: center;
    margin-bottom: 40px;
}

.schedule-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.schedule-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Timeline Container */
.timeline {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 30px 0;
    margin: 0 -10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.timeline::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Timeline Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #ff6600;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* Timeline Items */
.timeline-item {
    min-width: 280px;
    margin: 0 15px;
    position: relative;
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

/* Timeline Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ff6600;
    border: 4px solid #fff;
    border-radius: 50%;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Timeline Content */
.timeline-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Timeline Images */
.timeline-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Timeline Time */
.timeline-time {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Timeline Text */
.timeline-text {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .schedule-container {
        padding: 0 10px;
    }
    
    .timeline {
        padding: 20px 0;
    }
    
    .timeline-item {
        min-width: 220px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .timeline::after {
        top: auto;
        bottom: 0;
    }
    
    .timeline-item::after {
        bottom: -12px;
    }
}

@media screen and (max-width: 480px) {
    .schedule-title h2 {
        font-size: 1.8rem;
    }

    /* Vertical timeline for mobile */
    .timeline {
        display: block;
        overflow-x: visible;
        padding: 0;
        margin: 0;
        position: relative;
    }
    
    .timeline::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 100%;
        background-color: #ff6600;
        top: 0;
        left: 20px;
        bottom: auto;
    }
    
    .timeline-item {
        min-width: 100%;
        margin: 0 0 30px 0;
        padding-left: 45px;
    }
    
    .timeline-item::after {
        left: 16px;
        top: 20px;
        bottom: auto;
        transform: none;
    }
    
    .timeline-content {
        padding: 15px;
    }

    .timeline-image {
        height: 140px;
    }
    
    .schedule-section {
        padding: 40px 0;
    }
    
    /* Adjust controls for vertical layout */
    .timeline-controls {
        display: none; /* Hide navigation controls on mobile */
    }
}

/* Add navigation controls for timeline */
.timeline-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.timeline-control-btn {
    background: #ff6600;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.timeline-control-btn:hover {
    background: #e55c00;
}