:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}


/* تنسيق صفحة الأخبار */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.news-card .card-img-top {
    transition: transform 0.5s ease;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

/* تنسيق صفحة الهيرو */
.page-hero {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    margin-top: 76px; /* عشان النافبار */
}

/* تنسيق البادجات */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 50px;
}

/* تنسيق الباجيناشن */
.pagination .page-link {
    border: none;
    margin: 0 5px;
    border-radius: 10px;
    color: #0d6efd;
    padding: 0.5rem 1rem;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}

/* تنسيق المودال */
.modal-content {
    border: none;
    border-radius: 20px;
}

.modal-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* تنسيق الفورم */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}