/* استيراد خط Tajawal */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');

/* المتغيرات */
:root {
    --dark-blue: #001f3f;
    --gold: #daa51e;
    --light: #f8f9fa;
    --dark: #212529;
}

/* الأساسيات */
body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    padding-top: 56px;
    background-color: #f8f9fa;
    color: #333;
}

/* العناصر العامة */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* الألوان */
.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.btn-gold {
    background-color: var(--gold);
    color: white;
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: #c5941a;
    border-color: #c5941a;
    color: white;
}

.btn-outline-dark-blue {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-dark-blue:hover {
    background-color: var(--dark-blue);
    color: white;
}

/* شريط التنقل */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-left: 10px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* صفحة العنوان */
.page-header {
    background-color: var(--dark-blue);
    color: white;
    margin-bottom: 30px;
}

.page-header h1 {
    font-weight: 900;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: var(--bs-breadcrumb-item-padding-x);
    padding-right: 0;
    color: rgba(255, 255, 255, 0.7);
    content: var(--bs-breadcrumb-divider, "/");
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: white;
}

/* قسم الهيرو */
.hero-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* البطاقات */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card {
    border-top: 3px solid var(--gold);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* الأيقونات الاجتماعية */
.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: white !important;
}

/* النماذج */
.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 30, 0.25);
}

/* الفوتر */
footer {
    background-color: #1a1a1a;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul li a:hover {
    color: var(--gold);
    padding-right: 5px;
}

/* حواف منحنية للعناصر */
.btn, .card, .form-control, .form-select, .img-thumbnail {
    border-radius: 8px !important;
}

/* التجاوب */
@media (max-width: 767.98px) {
    body {
        padding-top: 56px;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}