/* Schools Page RTL Styles */

/* RTL Banner Section */
[dir="rtl"] .schools-banner-content {
    text-align: center;
}

[dir="rtl"] .schools-badge {
    direction: rtl;
}

[dir="rtl"] .schools-stats {
    flex-direction: row-reverse;
}

/* RTL Grid and Cards */
[dir="rtl"] .schools-filters {
    flex-direction: row-reverse;
    justify-content: center;
}

[dir="rtl"] .schools-grid {
    direction: rtl;
}

[dir="rtl"] .school-card {
    direction: ltr;
    text-align: right;
}

[dir="rtl"] .school-header {
    text-align: center;
}

[dir="rtl"] .school-name {
    text-align: center;
}

[dir="rtl"] .school-type {
    direction: rtl;
}

[dir="rtl"] .school-location {
    flex-direction: row-reverse;
    justify-content: center;
}

[dir="rtl"] .school-description {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .school-info {
    direction: rtl;
}

[dir="rtl"] .school-info-item {
    text-align: center;
}

[dir="rtl"] .school-contact-info {
    flex-direction: row-reverse;
    justify-content: space-between;
}

[dir="rtl"] .school-contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .school-contact-item i {
    margin-left: 5px;
    margin-right: 0;
}

/* RTL Empty State */
[dir="rtl"] .schools-empty-state {
    text-align: center;
    direction: rtl;
}

[dir="rtl"] .schools-empty-title {
    text-align: center;
}

[dir="rtl"] .schools-empty-description {
    text-align: center;
}

/* RTL Mobile Adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .schools-filters {
        flex-direction: row-reverse;
        justify-content: center;
    }
    
    [dir="rtl"] .school-contact-info {
        flex-direction: column;
        align-items: flex-end;
    }
    
    [dir="rtl"] .school-contact-item {
        justify-content: flex-end;
    }
}

/* RTL Typography Adjustments */
[dir="rtl"] .school-name,
[dir="rtl"] .school-description,
[dir="rtl"] .schools-banner-title,
[dir="rtl"] .schools-banner-description {
    font-family: 'Cairo', 'Segoe UI', 'Tahoma', sans-serif;
}

/* RTL Button Adjustments */
[dir="rtl"] .schools-filter-btn {
    text-align: center;
}

/* RTL Spacing Adjustments */
[dir="rtl"] .school-body {
    padding: 25px;
}

[dir="rtl"] .school-footer {
    padding: 20px 25px;
}

/* RTL Animation Adjustments */
[dir="rtl"] .school-card:hover {
    transform: translateY(-5px);
}

[dir="rtl"] .schools-filter-btn:hover,
[dir="rtl"] .schools-filter-btn.active {
    transform: translateY(-2px);
}