.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    direction: rtl;
}

.faq-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 16px 20px;

    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.18);
}

.faq-question {
    color: #fff;
    font-size: 20px;
    font-family: 'NAZANIN';
    font-weight: bold;
    position: relative;
    padding-left: 25px;
}

.faq-question::after {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-family: 'NAZANIN';
    line-height: 1.8;
    margin-top: 10px;
    display: none;
    text-align: justify;
    direction: rtl;
}

.faq-item.open .faq-answer {
    display: block;
}


.faq-tabs {
    display: flex;
    justify-content: center; /* وسط چین کردن دکمه‌ها */
    gap: 20px; /* فاصله بین دکمه‌ها */
    margin-bottom: 20px;
}

.faq-tab {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'NAZANIN';
    font-size: 18px;
    transition: 0.3s;
    text-align: center; /* متن وسط */
        justify-content: center;
    align-items: center;
        width: 300px;
    height: 50px;
}

.faq-tab.active {
    background: rgba(255, 255, 255, 0.3);
}