.history {
    padding: var(--section-padding) 0;
    background-color: var(--color-background);
}

.history article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.history h1 {
    color: var(--color-primary);
    margin-bottom: 30px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.history h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.history-content {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

.history-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.history-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.history-content h2, 
.history-content h3 {
    color: var(--color-primary);
    margin: 30px 0 15px;
}

.history-content ul, 
.history-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.history-content li {
    margin-bottom: 10px;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.btn-back:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .history article {
        padding: 20px;
        margin: 0 15px;
    }

    .history h1 {
        font-size: 2rem;
    }

    .history-content {
        font-size: 1rem;
    }
}
