*{
    font-family: cairo;
}
section{
    direction: rtl;
}
/* تنسيق العنوان الرئيسي */
.header-title {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* زيادة التباعد بين الحروف */
    transition: all 0.3s ease-in-out;
}

.header-title:hover {
    color: #0056b3;
    transform: scale(1.1);
}

/* تنسيق الوصف */
.header-description {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.header-description:hover {
    opacity: 1;
}


/* تنسيق العناوين الفرعية (h2) */
h2 {
    font-size: 2.8rem;
    /* زيادة حجم الخط */
    font-weight: 700;
    /* جعل الخط أكثر سمكًا */
    color: #333;
    /* لون داكن للعنوان */
    text-align: center;
    /* محاذاة النص إلى المنتصف */
    margin-bottom: 1.5rem;
    /* مسافة أسفل العنوان */
    position: relative;
    letter-spacing: 1px;
    /* إضافة تباعد بين الحروف */
    text-transform: capitalize;
    /* تحويل أول حرف من كل كلمة إلى كبير */
}


h2:hover {
    color: #007bff;
    /* تغيير اللون عند المرور بالماوس */
    transform: translateY(-5px);
    /* رفع العنوان قليلاً عند المرور بالماوس */
    transition: transform 0.3s ease, color 0.3s ease;
}



/* تنسيق الكارد للنماذج */
.model-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.model-card img {
    border-radius: 12px 12px 0 0;
    max-height: 220px;
    object-fit: cover;
}

.model-card h5 {
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 600;
    color: #333;
}

.model-card p {
    color: #6c757d;
    font-size: 1rem;
}

/* تأثيرات الكارد للخدمات */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /*box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);*/
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-body i {
    font-size: 2.5rem;
    color: #007bff;
}

.service-card h5 {
    font-size: 1.25rem;
    margin-top: 15px;
    font-weight: 500;
}

.service-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

/* تأثيرات التمرير على النماذج */
.model-card img {
    transition: transform 0.4s ease;
}

.model-card:hover img {
    transform: scale(1.05);
}

/* تأثيرات التمرير على الخدمات */
.service-card .card-body {
    transition: transform 0.3s ease-in-out;
}

.service-card:hover .card-body {
    transform: translateY(-5px);
}

/* تنسيق الفوتر */
footer.footer {
    background-color: #fff;
    /* خلفية بيضاء بسيطة */
    color: #333;
    /* لون النص */
    font-size: 1.1rem;
    /* حجم الخط مناسب */
    text-align: center;
    /* محاذاة النص للمنتصف */
    padding: 20px 0;
    /* إضافة مسافة من الأعلى والأسفل */
}

footer .footer-text {
    margin: 0;
    color: #6c757d;
    /* لون النص الأساسي */
}

footer .footer-link {
    color: #007bff;
    /* لون الرابط الأزرق */
    text-decoration: none;
    /* إزالة تحت الخط */
    font-weight: 600;
    /* جعل الخط ثقيلًا قليلاً */
    transition: color 0.3s ease;
    /* إضافة تأثير لتغيير اللون */
}

footer .footer-link:hover {
    color: #0056b3;
    /* تغيير اللون عند التمرير */
    text-decoration: none;
    /* منع ظهور تحت الخط عند التمرير */
}




/* تنسيق سيكشن الصور */
.image-slider {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 1s ease-in-out;
}
