/*-------------Body----------*/
body {
    font-family: 'Arial', sans-serif;
    direction: rtl;
}

/*---------- Hero Section--------------*/
.hero {
    background-color: #F8F9FA;
    padding-top: 8rem; /* تقليل ال padding الأعلى */
    padding-bottom: 8rem; /* تقليل ال padding الأسفل */
}

/* النصوص داخل Hero */
.hero h2 {
    font-size: 3rem; /* تقليل حجم العنوان */
    color: #0d6efd; /* اللون الأساسي */
    font-weight: bold; /* جعل الخط عريض */
    margin-bottom: 1rem; /* تقليل المسافة أسفل العنوان */
}

.hero p {
    font-size: 1.4rem; /* تقليل حجم النصوص الفرعية */
    color: #6c757d;
    margin-bottom: 1.5rem; /* تقليل المسافة أسفل الفقرة */
}

/* الزر */
.hero .btn-xl {
    font-size: 1.125rem; /* تقليل حجم النص داخل الزر */
    padding: 1rem 2.5rem; /* تقليل الزر */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* إضافة ظل خفيف */
    border-radius: 30px; /* جعل الزر أكثر استدارة */
}

/* الصورة البيضاوية */
img.rounded-oval {
    width: 100%; /* عرض الصورة كامل */
    max-width: 400px; /* تقليل الحد الأقصى للعرض */
    aspect-ratio: 4 / 5; /* ضبط النسبة البيضاوية */
    border-radius: 50% / 65%; /* الشكل البيضاوي */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* ظل خفيف */
    animation: oval-move 4s infinite ease-in-out; /* حركة متأرجحة */
    object-fit: cover; /* تغطية الصورة */
    object-position: center; /* توسيط الصورة */
}

/* تأثيرات الحركة */
.animate-oval-move {
    animation: oval-move 3s infinite alternate ease-in-out;
}

/* الحركات */
@keyframes oval-move {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px); /* حركة متأرجحة */
    }
}


/*-------------------------- About Us ------------------- */

/* الصورة */
img.rounded-about-static {
    width: 100%; /* عرض الصورة كامل */
    max-width: 400px; /* الحد الأقصى للعرض */
    aspect-ratio: 1 / 1; /* يجعل الصورة مربعة */
    border-radius: 15px; /* زوايا مستديرة قليلاً */
    object-fit: cover; /* تغطية الصورة بالكامل */
    object-position: center; /* وضع الصورة في المنتصف */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ظل خفيف لإبراز الصورة */
}

/* النصوص */
.about-content {
    padding-top: 15px;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd; /* استخدام نفس اللون الأساسي */
    margin-bottom: 20px;
}

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #6c757d; /* لون النص الثانوي */
}

/* خلفية القسم */
section.py-5.bg-light {
    background-color: white; /* خلفية مختلفة مائلة للرمادي الفاتح */
    padding: 3rem 0; /* حواف متناسقة */
}


/* ترتيب العناصر */
@media (min-width: 768px) {
    .about-image-container {
        display: flex;
        justify-content: center;
    }

    .about-content {
        padding-left: 30px;
    }
}

/*---------------------Services -----------------------*/
/*--------------------- Services -----------------------*/
/* تنسيق البطاقات */
.service-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px; /* تحديد الحد الأقصى للعرض */
    min-height: 500px; /* تحديد ارتفاع موحد */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* توزيع المحتوى */
}

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

.card-body {
    padding: 1.8rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
}

/* أيقونات */
.fas {
    color: #0d6efd;
    font-size: 3.5rem;
    transition: color 0.3s ease;
}

    .fas:hover {
        color: #0056b3;
    }

/* عنوان الخدمات */
h2.text-center {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
}

    h2.text-center::after {
        content: "";
        display: block;
        width: 50%;
        height: 3px;
        background-color: #0d6efd;
        margin: 10px auto 0;
    }

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .service-card {
        max-width: 100%; /* جعل البطاقة تأخذ العرض كاملاً */
        min-height: auto; /* السماح بتكيف الارتفاع */
    }
}

/*-------------- Contact Us ----------------*/
/* Info Section */
.info-section {
    padding: 30px;
    background-color: transparent;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

/* Info Header */
.info-header {
    font-size: 2rem; /* تكبير حجم العنوان */
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Info Cards */
.info-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 1.2rem; /* زيادة حجم النص في البطاقة */
    color: #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

    .info-card i {
        font-size: 2rem;
        color: #0d6efd;
    }

    .info-card .info-card-title {
        font-weight: bold;
        font-size: 1.2rem;
        color: #0d6efd;
    }

    .info-card .info-card-detail {
        font-weight: normal;
        font-size: 1.1rem;
        color: #555;
    }

    /* Hover effect for Info Cards */
    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-form .form-control {
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
}

    .contact-form .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
    }

.contact-form textarea {
    resize: none;
}

/* Button */
.btn-primary-contactus {
    background-color: #0d6efd;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary-contactus:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

/* Section Header */
.section-header {
    font-size: 3rem; /* زيادة حجم العنوان */
    font-weight: bold;
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 10px;
    display: inline-block;
    margin: auto;
}




/*---------------------Footer------------*/
/*---------------------Footer------------*/
/* تنسيق الـ Footer */
.footer {
    background-color: #0d6efd; /* خلفية داكنة تتماشى مع الموقع */
    color: white; /* لون النص أبيض */
    font-size: 1rem; /* حجم النص */
    padding: 40px 0; /* إضافة padding أعلى وأسفل */
    position: relative; /* لضمان تحديد الموقع */
    bottom: 0;
    width: 100%; /* جعل الـ Footer يمتد عبر عرض الصفحة */
    text-align: center; /* محاذاة النص في المنتصف */
}

/* تنسيق النص في الفوتر */
.footer-text {
    font-size: 1rem;
    color: white; /* لون فاتح للنص */
}



/* تنسيق وسائل التواصل الاجتماعي */
.social-icons {
    margin-top: 20px;
}

.social-icon {
    color: white; /* اللون الأبيض للأيقونات */
    font-size: 1.5rem; /* حجم الأيقونات */
    margin: 0 15px; /* مسافة بين الأيقونات */
    text-decoration: none; /* إزالة الخط تحت الأيقونات */
    transition: all 0.3s ease; /* تأثير التحول عند المرور فوق الأيقونة */
}

    .social-icon:hover {
        color: #0d6efd; /* تغيير اللون عند المرور فوق الأيقونة */
        transform: scale(1.1); /* تكبير الأيقونة قليلاً عند المرور فوقها */
    }

/* في الشاشات الصغيرة */
@media (max-width: 767px) {
    .footer {
        font-size: 0.9rem; /* تقليل حجم النص في الشاشات الصغيرة */
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.3rem; /* تقليل حجم الأيقونات في الشاشات الصغيرة */
    }
}






