.sejarah-container {
    max-width: 1400px;
    margin-top: 80px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    padding: 80px 40px;
}

.sejarah-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: sejarahFadeInUp 1s ease-out forwards;
}

@keyframes sejarahFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sejarah-section:nth-child(2) {
    animation-delay: 0.2s;
}

.sejarah-section:nth-child(3) {
    animation-delay: 0.4s;
}

.sejarah-section h2 {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.sejarah-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff9800, #ffd700);
    border-radius: 2px;
}

.sejarah-section p {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 20px;
    color: #4a5568;
    line-height: 1.8;
}

.sejarah-visi-misi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.sejarah-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sejarah-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a237e, #283593);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.sejarah-card:hover::before {
    transform: scaleX(1);
}

.sejarah-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.sejarah-card h3 {
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sejarah-card h3::before {
    content: '';
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff9800, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sejarah-card-visi h3::before {
    content: '🎯';
    font-size: 24px;
}

.sejarah-card-misi h3::before {
    content: '🚀';
    font-size: 24px;
}

.sejarah-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    text-align: justify;
    margin-bottom: 0;
}

.sejarah-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.sejarah-card ul li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.sejarah-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
    font-size: 18px;
    width: 25px;
    height: 25px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sejarah-card ul li:hover {
    padding-left: 40px;
    color: #1a237e;
}

@media (max-width: 968px) {
    .sejarah-container {
        padding: 60px 20px;
    }

    .sejarah-section {
        margin-bottom: 60px;
    }

    .sejarah-section h2 {
        font-size: 28px;
    }

    .sejarah-section p {
        font-size: 15px;
    }

    .sejarah-visi-misi {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sejarah-card {
        padding: 30px;
    }

    .sejarah-card h3 {
        font-size: 24px;
        flex-direction: column;
        text-align: center;
    }

    .sejarah-card ul li {
        font-size: 14px;
    }
}