/* ================== جسر توافق Bootstrap 5 إلى 3 (RTL Optimized) ================== */
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* RTL Fix: في اتجاه الـ RTL الـ Start هو اليمين والـ End هو اليسار */
.ms-1 { margin-right: 0.25rem !important; } 
.me-1 { margin-left: 0.25rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }

.fw-bold { font-weight: 700 !important; }
.text-primary { color: #e27023 !important; } /* تم تعديل اللون ليكون متناسقاً */
.bg-primary { background-color: #0052D4 !important; }
.text-muted { color: #6c757d !important; }
.bg-white { background-color: #fff !important; }
.bg-light { background-color: #f8faff !important; }
.text-decoration-none { text-decoration: none !important; }
.fs-5 { font-size: 1.25rem !important; }

.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.border-0 { border: 0 !important; }
.rounded-3 { border-radius: .3rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }
.h-100 { height: 100% !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }

.modern-grid { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.modern-grid > [class^="col-"] { padding-right: 15px; padding-left: 15px; margin-bottom: 25px; }

/* ================== التصميمات الحديثة ================== */
.modern-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #f0f4f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 82, 212, 0.1);
    border-color: #e0ebff;
}

/* بطاقات الإحصائيات */
.public-stat-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border-bottom: 4px solid transparent;
}
.public-stat-box:hover { transform: translateY(-10px); border-bottom-color: #0052D4; }

.icon-wrapper-stat {
    width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
}
.orange-glow { background: #f97316; }
.purple-glow { background: #8b5cf6; }
.green-glow  { background: #10b981; }
.blue-glow   { background: #0ea5e9; }

.public-stat-box h3 { font-size: 36px; font-weight: 800; color: #0f172a; margin-bottom: 5px; }

/* تحديثات إضافية */
@media (min-width: 768px) {
    .border-end-md { border-left: 2px dashed #e0ebff; }
}

.news-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 82, 212, 0.08);
    transition: all .35s ease; border: 1px solid #edf2f9;
}
.news-card:hover { transform: translateY(-8px); }
.news-image-wrapper { position: relative; height: 200px; }
.news-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

