/* ================= Main Code ===================== */
.container {
    width: 91%;
    margin: 30px auto;
}

/* Accordion */
.accordion {
    background: #0baa02;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

/* Header */
.accordion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: white;
    cursor: pointer;
}

.accordion-header p {
    font-size: 20px;
    font-weight: 500;
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.accordion.active .arrow {
    transform: rotate(180deg);
}

.pdf-icon {
    width: 22px;
}

/* Body */
.accordion-body {
    display: flex;
    flex-wrap: wrap; /* ✅ important for responsiveness */
    justify-content: center;
    gap: 15px;
    background: #eee;
    padding: 10px;
}

/* Images */
.accordion-body img {
    width: 100%;
    max-width: 325px; /* desktop max */
    height: auto;
    border-radius: 6px;
}

/* Hover */
.scheme-item:hover {
    background-color: #178c00;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* 📱 Mobile (up to 600px) */
@media (max-width: 600px) {

    .container {
        width: 95%;
        margin: 15px auto;
    }

    .accordion-header {
        gap: 10px;
        padding: 10px;
    }

    .accordion-header p {
        font-size: 14px;
    }

    .pdf-icon {
        width: 18px;
    }

    .accordion-body img {
        max-width: 100%; /* full width */
    }
}

/* 📱 Tablet (600px - 900px) */
@media (min-width: 601px) and (max-width: 900px) {

    .accordion-header p {
        font-size: 16px;
    }

    .accordion-body img {
        max-width: 45%; /* 2 images per row */
    }
}

/* 💻 Laptop (900px - 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {

    .accordion-body img {
        max-width: 30%; /* 3 images per row */
    }
}

/* 🖥️ Large Screens (1200px+) */
@media (min-width: 1201px) {

    .container {
        width: 85%;
    }

    .accordion-body img {
        max-width: 325px;
    }
}