﻿/* --- KVAST SCHEDULE - CREATIVE UI --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto+Slab:wght@700&display=swap');

.kvast-page {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* was var(--page-bg) */
    color: #495057; /* was var(--text-color) */
    padding: 6rem 2rem;
}

/* --- Header --- */
.kvast-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .kvast-header h1 {
        font-family: 'Roboto Slab', serif;
        font-size: clamp(2rem, 5vw, 3.5rem);
        color: #212529; /* was var(--dark-color) */
        margin-bottom: 0.5rem;
    }

    .kvast-header .subtitle {
        font-size: 1.1rem;
        color: #495057; /* was var(--text-color) */
        max-width: 600px;
        margin: 0 auto;
    }

/* --- Info Section --- */
.kvast-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 4rem auto;
}

.info-card {
    background-color: #ffffff; /* was var(--card-bg) */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

    .info-card h3 {
        font-family: 'Roboto Slab', serif;
        font-size: 1.5rem;
        color: #0d6efd; /* was var(--primary-color) */
        margin-bottom: 1rem;
    }

    .info-card p {
        line-height: 1.8;
    }

.styled-list {
    list-style: none;
    padding-left: 0;
}

    .styled-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 0.5rem;
    }

        .styled-list li::before {
            content: '✔';
            position: absolute;
            left: 0;
            color: #198754; /* Green checkmark */
            font-weight: bold;
        }

/* --- Timeline Section --- */
.schedule-title {
    text-align: center;
    font-family: 'Roboto Slab', serif;
    font-size: 2.5rem;
    color: #212529; /* was var(--dark-color) */
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

    /* The vertical timeline bar */
    .timeline::after {
        content: '';
        position: absolute;
        width: 3px;
        background-color: #dee2e6; /* was var(--border-color) */
        top: 0;
        bottom: 0;
        left: 100px;
    }

.timeline-item {
    padding: 1rem 0 3rem 140px;
    position: relative;
}

    /* The circle on the timeline */
    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background-color: #ffffff; /* was var(--card-bg) */
        border: 3px solid #0d6efd; /* was var(--primary-color) */
        border-radius: 50%;
        top: 24px;
        left: 91px;
        z-index: 1;
    }

.timeline-date {
    position: absolute;
    left: 0;
    top: 20px;
    width: 80px;
    text-align: center;
    color: #0d6efd; /* was var(--primary-color) */
    font-weight: 700;
}

    .timeline-date span {
        font-size: 2.5rem;
        display: block;
        line-height: 1;
    }

.timeline-content {
    background-color: #ffffff; /* was var(--card-bg) */
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    position: relative;
}

    .timeline-content h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #212529; /* was var(--dark-color) */
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }

    .timeline-content .time {
        font-weight: 600;
    }

    .timeline-content .location {
        color: #495057; /* was var(--text-color) */
    }

    .timeline-content i {
        margin-right: 0.5rem;
        color: #0d6efd; /* was var(--primary-color) */
    }

.register-button {
    display: inline-block;
    background-color: #0d6efd; /* was var(--primary-color) */
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .register-button:hover {
        background-color: #0b5ed7;
        transform: translateY(-2px);
    }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .kvast-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kvast-page {
        padding: 2rem 1rem;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        padding-left: 70px;
    }

        .timeline-item::after {
            left: 21px;
        }

    .timeline-date {
        display: none;
    }

    .timeline-item[data-date]::before {
        content: attr(data-date);
        display: block;
        font-weight: 700;
        color: #0d6efd; /* was var(--primary-color) */
        margin-bottom: 0.5rem;
    }
}
