.faq{
    border-radius: 12px;
    background-color: #E4E4E4;
}



/* FAQ Filter Buttons */
.faq-filter {
    border: none;
    outline: none;
    cursor: pointer;
}

.faq-filter.active {
    background-color: #ED0E47;
    color: #ffffff;
}

/* FAQ Item */
.faq {
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
}

.faq-question-row {
    cursor: pointer;
    padding: 15px 0;
}

/* Gap between FAQ questions */
.faq + .faq {
    margin-top: 10px;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ED0E47;
}

.faq-icon svg {
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    line-height: 1.7;
    padding-right: 40px;
}

.faq.open .faq-icon svg {
    transform: rotate(180deg);
}


#loadMoreFaq {
    background-color: transparent;
    color: #ED0E47 !important;
    border: 1px solid #ED0E47;
    border-radius: 24px;
}

/* =========================================
   FAQ RESPONSIVE (desktop base above unchanged)
   ========================================= */

/* dynamic question row safety: text never pushes icon off */
.faq-question {
    min-width: 0;
    padding-right: 12px;
}

/* section three hook */
.faq-sec3 {
    overflow: hidden;
}

/* ---------- Tablet <= 991.98px ---------- */
@media (max-width: 991.98px) {
    .faq-filters {
        justify-content: center;
    }
    .faq-answer {
        padding-right: 24px;
    }
    /* stacked section three centers its text
       (button already centers via contact.css) */
    .faq-sec3-text {
        text-align: center;
    }
}

/* ---------- Mobile < 768px ---------- */
@media (max-width: 767.98px) {
    .faq-filter {
        padding: 0.65rem 1.1rem !important;
        font-size: 0.9rem !important;
    }
    .faq-question {
        font-size: 15px;
    }
    .faq-question-row {
        padding: 12px 0;
    }
    .faq-answer {
        padding-right: 12px;
        font-size: 0.92rem;
    }
    #loadMoreFaq {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ---------- Very small mobile < 400px ---------- */
@media (max-width: 399.98px) {
    .faq-filters {
        gap: 0.5rem;
    }
    .faq-filter {
        flex: 1 1 45%;
        text-align: center;
        padding: 0.6rem 0.5rem !important;
    }
}

