/* ملف CSS مخصص للغة العربية */

/* إعدادات الخط الأساسي */
* {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* تحسين تحميل الخط */
@font-face {
    font-family: 'Cairo';
    font-display: swap;
}

/* إعدادات RTL */
html, body {
    direction: rtl;
    text-align: right;
}

/* تحسين النصوص العربية */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}

p, span, li {
    line-height: 1.8;
    font-weight: 400;
}

/* تحسين القائمة الرئيسية */
.navmenu ul {
    direction: rtl;
}

.navmenu a {
    font-weight: 500;
}

/* تحسين الأزرار */
.btn, .cta-btn, .btn-buy {
    font-weight: 500;
    padding: 12px 24px;
}

/* تحسين البطاقات والخدمات */
.service-item {
    text-align: right;
}

.service-item h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

.service-item p {
    font-weight: 400;
    line-height: 1.8;
}

/* تحسين قسم من نحن */
.about .content ul li {
    padding-right: 30px;
    padding-left: 0;
}

.about .content ul li i {
    right: 0;
    left: auto;
}

/* تحسين الأسئلة الشائعة */
.faq-item {
    text-align: right;
}

.faq-toggle {
    left: 20px;
    right: auto;
}

.faq-content {
    padding-right: 60px;
    padding-left: 20px;
}

/* تحسين النماذج */
.form-control {
    text-align: right;
    direction: rtl;
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

/* تحسين الإحصائيات */
.stats-item {
    text-align: center;
}

.stats-item span {
    font-weight: 700;
}

.stats-item p {
    font-weight: 500;
    margin-top: 10px;
}

/* تحسين قسم الأعمال */
.portfolio-info {
    text-align: right;
}

.portfolio-info h4 {
    font-weight: 600;
}

.portfolio-info p {
    font-weight: 400;
}

/* تحسين تذييل الصفحة */
.footer {
    text-align: center;
}

.footer .sitename {
    font-weight: 700;
    font-size: 2rem;
}

.footer p {
    font-weight: 400;
    line-height: 1.8;
    margin: 20px 0;
}

/* تحسين المقالات */
.post-category {
    font-weight: 500;
    font-size: 0.9rem;
}

.post-author {
    font-weight: 500;
}

.post-date {
    font-weight: 400;
    color: #666;
}

/* تحسين العناوين الرئيسية */
.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* تحسين الأيقونات */
.icon i {
    font-size: 1.5rem;
}

/* تحسين الأسعار */
.pricing-item h3 {
    font-weight: 600;
    font-size: 1.5rem;
}

.pricing-item h4 {
    font-weight: 700;
    font-size: 2.5rem;
}

.pricing-item ul li {
    font-weight: 400;
    padding-right: 0;
    text-align: right;
}

/* تحسين النجوم والشارات */
.recommended-badge {
    font-weight: 500;
    font-size: 0.85rem;
}

/* تحسين الميزات */
.features-item h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.features-item p {
    font-weight: 400;
    line-height: 1.7;
}

/* تحسين Hero Section */
.hero h2 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* تحسينات خاصة للجوال */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-item h3, .pricing-item h3 {
        font-size: 1.3rem;
    }
}

/* إصلاح اتجاه الأسهم للغة العربية */
.rtl .bi-arrow-right:before {
    content: "\f137"; /* arrow-left */
}

.rtl .bi-chevron-right:before {
    content: "\f138"; /* chevron-left */
}

/* تحسين المسافات للنصوص العربية */
.arabic-text {
    word-spacing: 2px;
    letter-spacing: 0.5px;
}

/* تحسين الخطوط للشاشات عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}