/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HERO SECTION
========================= */
.hero-kurikulum {
    text-align: center;
    padding: 80px 20px;
}

.hero-kurikulum h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #444;
}

.hero-kurikulum p {
    font-size: 18px;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================
   FILTER BUTTONS
========================= */
.filter-wrapper {
    text-align: center;
    padding: 40px 0;
    background-color: #ffffff;
}

.filter-wrapper a {
    display: inline-block;
    margin: 5px;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.filter-wrapper a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-wrapper a.active {
    background-color: #0992C2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.4);
}

/* =========================
   MAPEL SECTION
========================= */
.mapel-section {
    padding: 80px 20px;
    background-color: #f9fafb;
}

.mapel-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1f2937;
}

.mapel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mapel-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.mapel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.mapel-card .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6c757d;
    margin-bottom: 10px;
    display: inline-block;
}

.mapel-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.mapel-card p {
    font-size: 14px;
    color: #4b5563;
}

.mapel-card p span {
    font-weight: 500;
}

/* =========================
   EMPTY STATE
========================= */
.mapel-empty {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    padding: 40px 0;
}

/* =========================
   GROUP PER KELAS
========================= */
.kelas-group {
    margin-bottom: 80px;
    /* jarak antar kelas */
}

.kelas-group:last-child {
    margin-bottom: 0;
}

.kelas-group h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1f2937;
    position: relative;
}

/* Optional: garis kecil di bawah judul kelas */
.kelas-group h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #0992C2;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .hero-kurikulum h1 {
        font-size: 32px;
    }

    .hero-kurikulum p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .mapel-grid {
        grid-template-columns: 1fr;
    }

    .filter-wrapper a {
        padding: 8px 18px;
        font-size: 13px;
    }
}