/* ============================
   تنسيقات صفحة FAQ
   ============================ */

/* إعدادات عامة */
body {
    background-color: #12161C;
    color: #EAECEF;
    font-family: 'Roboto', sans-serif;
}

/* الحاوية الرئيسية */
.container {
    margin-top: 40px;
    max-width: 1000px;
}

/* عناوين الأقسام */
h2.faq-header {
    color: #F3BA2F;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 2.5rem;
}

/* كروت الأسئلة */
.faq-card {
    background-color: #181A20;
    border: 2px solid #F3BA2F;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.faq-card:hover {
    transform: translateY(-5px);
}

/* عنوان السؤال */
.faq-card h4 {
    color: #F3BA2F;
    font-size: 20px;
    margin-bottom: 10px;
}

/* نص الإجابة */
.faq-card p {
    font-size: 16px;
    color: #EAECEF;
    line-height: 1.8;
}

/* كروت قابلة للطي (Collapsible) */
.faq-card.collapsible {
    cursor: pointer;
    position: relative;
}

.faq-card.collapsible::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    color: #F3BA2F;
}

.faq-card.active::after {
    content: '-';
}

.faq-card p {
    display: none;
    margin-top: 10px;
}

.faq-card.active p {
    display: block;
}

/* زر دعوة للعمل */
.btn-contact {
    background-color: #F3BA2F;
    color: #12161C;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 40px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #E5A500;
}

/* قسم Call-to-Action */
.call-to-action {
    text-align: center;
    margin-top: 40px;
}

/* تحسين التوافق مع جميع المقاسات */
@media (max-width: 768px) {
    .container {
        margin-top: 20px;
    }

    .faq-card h4 {
        font-size: 18px;
    }

    .faq-card p {
        font-size: 14px;
    }
}
