/* ===============================
   CLASS ACCORDION BUTTON
================================ */
.class-header {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.6px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

@media (max-width: 400px) {
    .class-header {
        padding: 10px 14px;
    }
}
@media (max-width: 300px) {
    .class-header {
        padding: 8px 12px;
    }
}

/* Hover effect */
.class-header:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

/* Arrow icon using CSS */
.class-header::after {
    content: "▼";
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Active (opened) state */
.class-header.active::after {
    transform: rotate(180deg);
}

/* ===============================
   CLASS CONTENT (ACCORDION)
================================ */
.class-content {
    display: none;
    animation: slideDown 0.35s ease forwards;
}

/* Smooth animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width:400px) {
    .heading_sm {
        font-size: 25px;
    }
}

@media (max-width:300px) {
    .heading_sm {
        font-size: 20px;
    }
}