/* FILTER NAVIGATION */
.faq-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #f3f3f3;
    color: #222;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.filter-btn.active {
    background: #fbab18;
    color: #000;
}

/* FAQ SECTION */
.faq-box {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 25px 30px;
    border: 1px solid #eaeaea;
    cursor: pointer;
    transition: 0.3s ease;
}

.faq-box:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.07);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-number {
    width: 30px;
    height: 30px;
    background: #fbab18;
    color: #000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-right: 15px;
}

.faq-title {
    font-size: 1.1rem;
    font-weight: 550;
    flex: 1;
    color: #222;
}

.faq-content {
    overflow: hidden;
    height: 0;
    margin-top: 15px;
    line-height: 1.6;
    color: #444;
}

.rotate {
    transform: rotate(180deg);
}

/* --------------------------- */
/*        RESPONSIVE 768px     */
/* --------------------------- */
@media screen and (max-width: 768px) {

    body {
        padding: 20px;
    }

    /* Filters scrollable on mobile */
    .faq-filters {
        overflow-x: auto;
        white-space: nowrap;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
        /* hide scrollbar */
    }

    .faq-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 14px;
        border-radius: 30px;
        white-space: nowrap;
    }

    /* FAQ BOX */
    .faq-box {
        padding: 18px 20px;
        border-radius: 14px;
    }

    .faq-number {
        width: 34px;
        height: 34px;
        font-size: 14px;
        margin-right: 12px;
    }

    .faq-title {
        font-size: 16px;
        font-weight: 600;
    }

    .faq-icon {
        font-size: 22px !important;
    }

    .faq-content {
        font-size: 15px;
        margin-top: 12px;
        line-height: 1.5;
    }
}

/* --------------------------- */
/*      RESPONSIVE 480px       */
/* --------------------------- */
@media screen and (max-width: 480px) {

    .filter-btn {
        padding: 8px 15px;
        font-size: 1rem;
    }

    .faq-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .faq-title {
        font-size: 15px;
    }

    .faq-content {
        font-size: 14px;
    }
}