/* ==============================================
   1. الإعدادات الأساسية لقسم الـ FAQ الزجاجي (RTL)
   ============================================== */
.premium-glass-faq {
    background-color: #f4f7f6; /* خلفية رمادية فاتحة جداً لتبرز التأثير الزجاجي */
    padding: 80px 0;
    direction: rtl;
    text-align: right;
    position: relative;
}

/* إصلاح أيقونات FontAwesome */
.premium-glass-faq .fas, .premium-glass-faq .fa, .page-header .fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}


.premium-title-reveal { display: inline-block; overflow: hidden; vertical-align: top; }
.premium-title-reveal span { 
    display: inline-block; transform: translateY(100%); opacity: 0; 
    animation: slideUpReveal 1.2s cubic-bezier(0.25, 1, 0.2, 1) forwards; 
    animation-delay: 0.2s; color: #ffffff; font-weight: 900;
    text-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}
@keyframes slideUpReveal { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* ==============================================
   🌟 تنسيق مسار الصفحة (Breadcrumb) - تكبير الحجم 🌟
   ============================================== */
.thm-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0; padding: 0; }
.thm-breadcrumb li { color: #ffffff; font-weight: 600; font-size: 18px; }
.thm-breadcrumb li a { color: #ffffff; transition: 0.3s; text-decoration: none; }
.thm-breadcrumb li a:hover { color: var(--primary-color); }

.thm-breadcrumb li:last-child {
    color: var(--primary-color) !important;
    font-weight: 900;
    font-size: 20px;
}

/* الأيقونة المعبرة للقسم */
.thm-breadcrumb li .fa-question-circle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

/* ==============================================
   🌟 3. تنسيق العنوان والبادج في جسم الصفحة (تم التوسيط) 🌟
   ============================================== */
.premium-sec-top { 
    margin-bottom: 50px; 
    position: relative; 
    z-index: 2; 
    text-align: center; 
}

.premium-badge { display: inline-flex; align-items: center; background: rgba(var(--primary-rgb), 0.1); color: var(--primary-color); padding: 8px 25px; border-radius: 30px; font-weight: 800; font-size: 14px; margin-bottom: 15px; border: 1px solid rgba(var(--primary-rgb), 0.2); }

.body-title-animated {
    color: var(--primary-color) !important;
    font-size: 32px;
    font-weight: 900;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    animation: titleEntrance 1.5s ease-out forwards, softPulse 3s infinite 1.5s;
}

@keyframes titleEntrance { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes softPulse { 0% { text-shadow: 0 0 0px rgba(var(--primary-rgb), 0); } 50% { text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4); } 100% { text-shadow: 0 0 0px rgba(var(--primary-rgb), 0); } }

/* ==============================================
   4. كارت السؤال والفقاعة الزجاجية
   ============================================== */
.faq-glass-card { margin-bottom: 25px; }

.faq-question-box {
    background: #ffffff; padding: 20px 25px; border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; border: 1px solid rgba(0,0,0,0.02);
    position: relative; z-index: 2; transition: all 0.3s ease;
}

.faq-question-text { font-size: 17px; font-weight: 800; color: #1a1a1a; transition: color 0.3s ease; }

.faq-icon {
    width: 35px; height: 35px; background: #f0f4f8; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: var(--primary-color);
    font-size: 14px; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.faq-question-box:hover { box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15); transform: translateY(-2px); }
.faq-glass-card.active .faq-question-box { background: var(--primary-color); box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.25); }
.faq-glass-card.active .faq-question-text { color: #ffffff; }
.faq-glass-card.active .faq-icon { background: #ffffff; color: var(--primary-color); transform: rotate(45deg); }

.faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease-out; }
.faq-glass-card.active .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-answer-overflow { overflow: hidden; }

.faq-answer-glass {
    margin-top: 15px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 15px; padding: 25px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative; transform: translateY(-15px); opacity: 0; transition: all 0.4s ease 0.1s; color: #555; font-size: 15px; line-height: 1.9;
}

.faq-glass-card.active .faq-answer-glass { transform: translateY(0); opacity: 1; }
.faq-answer-glass::before {
    content: ''; position: absolute; top: -8px; right: 40px; width: 16px; height: 16px;
    background: rgba(255, 255, 255, 0.8); transform: rotate(45deg); border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.8); z-index: -1;
}