/* ===========================================
   History Page Styles
   =========================================== */

/* Content Section */
.history-content {
    padding: 4rem 0;
}

.history-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Cards */
.history-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.history-card-accent {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, #fff 100%);
    border-color: rgba(13, 110, 253, 0.2);
}

.history-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1.5rem;
}

.history-text {
    color: #6c757d;
    line-height: 1.7;
}

.history-text p {
    margin-bottom: 1rem;
}

.history-text p:last-child {
    margin-bottom: 0;
}

/* Timeline */
.history-timeline-section {
    margin-bottom: 2rem;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.timeline-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon i {
    font-size: 1.25rem;
    color: #0d6efd;
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.timeline-description {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Divider */
.history-divider {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid #e9ecef;
}

/* Statistics */
.history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
}

/* ===========================================
   Responsive Styles
   =========================================== */

@media (max-width: 768px) {
    .history-content {
        padding: 2rem 0;
    }

    .history-card {
        padding: 1.5rem;
    }

    .history-section-title {
        font-size: 1.5rem;
    }

    .timeline-item {
        padding: 1.25rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .history-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .timeline-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .timeline-icon i {
        font-size: 1rem;
    }
}
