﻿/* عنوان بخش سوالات متداول */
.faq-title {
    color: #a82d36;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 32px 0 24px;
}

/* فاصله و چیدمان پرسش‌ها */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    /* هر ردیف پرسش */
    .faq-list .faq-item {
        border: 1px solid #e8dfe0;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .faq-list .faq-item:hover {
            border-color: #d33c4b;
            box-shadow: 0 3px 10px rgba(90, 35, 40, 0.08);
        }

    /* دکمه یا عنوان پرسش */
    .faq-list .faq-question {
        width: 100%;
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 20px;
        border: 0;
        background: #fff;
        color: #343434;
        text-align: right;
        direction: rtl;
        font-family: inherit;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.8;
        cursor: pointer;
    }

        /* علامت باز و بسته شدن */
        .faq-list .faq-question::after {
            content: "+";
            flex: 0 0 28px;
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #fae7e9;
            color: #c8323d;
            font-size: 21px;
            font-weight: 700;
            line-height: 1;
        }

        /* وقتی سؤال باز است؛ برای Bootstrap Collapse */
        .faq-list .faq-question[aria-expanded="true"]::after {
            content: "−";
        }

    /* پاسخ سؤال */
    .faq-list .faq-answer {
        padding: 4px 20px 18px;
        color: #555;
        direction: rtl;
        text-align: right;
        font-size: 15px;
        line-height: 2;
    }

/* نسخه موبایل */
@media (max-width: 767px) {
    .faq-title {
        font-size: 19px;
        margin: 24px 0 18px;
    }

    .faq-list {
        gap: 7px;
    }

        .faq-list .faq-question {
            min-height: 56px;
            padding: 13px 14px;
            font-size: 15px;
        }

        .faq-list .faq-answer {
            padding: 2px 14px 14px;
            font-size: 14px;
        }
}


/* حذف پس‌زمینه خاکستری قدیمی زیر سوال‌ها */
.faq-item {
    background: #fff !important;
    margin-bottom: 8px;
}

    .faq-item .faq-answer,
    .faq-item .collapse,
    .faq-item .card-body {
        background: #fff !important;
    }

/* حذف حاشیه ضخیم سیاه حالت فوکوس؛ جایگزین ملایم‌تر */
.faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(211, 60, 75, 0.25);
}
/* باکس اصلی تماس و فیدبک */
.faq-contact-box {
    background: #ffffff;
    border: 1px solid #ede4e5;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    direction: rtl;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* هدر بخش تماس (تراز کردن آیکون و متن‌ها) */
.faq-contact-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

/* آیکون حباب گفتگو */
.icon-bubble {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fdf2f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* عنوان و توضیحات تماس */
.faq-contact-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.faq-contact-desc {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* کانتینر دکمه‌های شبکه اجتماعی */
.faq-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

/* استایل پایه همه‌ دکمه‌های پیام‌رسان */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    }

    .social-btn .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* رنگ‌های اختصاصی برندها */
    .social-btn.whatsapp {
        background-color: #25d366;
    }

        .social-btn.whatsapp:hover {
            background-color: #20bd5a;
        }

    .social-btn.eitaa {
        background-color: #e67e22;
    }

        .social-btn.eitaa:hover {
            background-color: #d35400;
        }

    .social-btn.rubika {
        background-color: #8e44ad;
    }

        .social-btn.rubika:hover {
            background-color: #7d3c98;
        }

    .social-btn.telegram {
        background-color: #0088cc;
    }

        .social-btn.telegram:hover {
            background-color: #0077b5;
        }

/* ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    .faq-contact-box {
        padding: 16px;
    }

    .faq-social-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .social-btn {
        width: 100%;
        padding: 0 10px;
    }
}
