body{
    font-family: 'Cairo', sans-serif; /* نوع الخط*/
    background-color: rgb(255, 255, 255);
    margin: 0;
    padding: 0;
    direction: rtl;/* لجعل النص من اليمين اللى اليسار*/
    }
    .navbar{
    background-color:rgba(130, 71, 189, 0.877);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    }
    .navbar .logo{
        font-size: 24px;
        font-weight: bold;
    }
    .navbar ul{
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
    }
    .navbar ul li {
        margin-left: 20px;
    }
    .navbar ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s;
    }
    .navbar ul li a:hover {
        color:rgb(185, 24, 185);
    }
    
    .hero{
        background-position: center;
        height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0c0707;
        text-align: center;
        position: relative;
    }
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    .hero .content {
        position: relative;
        z-index: 1;
        max-width: 800px;
    }
    .hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
        text-shadow: 2px 2px 5px rgba(49, 45, 45, 0.671);
    }
    .hero p {
        font-size: 24px; /* حجم النص */
        margin-bottom: 30px; /* المسافة بين النص والفقرات التالية */
        text-shadow: 2px 2px 5px rgba(88, 73, 71, 0.479); /* تأثير الظل على النص */
    }
    
    .hero a {
        padding: 15px 30px; /* مسافة داخل الرابط */
        font-size: 20px; /* حجم النص داخل الرابط */
        text-decoration: none; /* إزالة التزيين (كالخط تحت النص) */
        border-radius: 5px; /* زوايا دائرية على الرابط */
        transition: background-color 0.3s; /* تأثير تغيير الخلفية عند التمرير */
        text-shadow: 2px 2px 5px rgba(90, 10, 252, 0.753); /* تأثير الظل على النص */
    }
    
    
    
    .hero a:hover {
        background-color: #4bc4c494;
        text-shadow: 2px 2px 5px rgb(7, 7, 7);
    }
    
    .about{
        padding: 80px 20px;
        
        margin: 20px;
        box-shadow: 0 4px 8px rgb(84, 20, 100);

        text-align: center;
        border-radius: 15px;
        background-color: #7a28a0e7;
    }
    .about h1 {
        font-size: 36px;
        margin-bottom: 20px;
        color: #120505;
        font-weight: bold;
        text-shadow: 2px 2px 5px rgba(5, 5, 5, 0.486);
    
    }
    .about p {
        font-size: 25px;
        max-width: 900px;
        margin: 0 auto;
        color: #080f0e;
        line-height: 1.6;
        text-shadow: 2px 2px 5px rgba(39, 37, 43, 0.349);

    }
    
.services {
    padding: 80px 20px;
    background-color: #fffafac9;
    text-align: center;
}
.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #000000;
    text-shadow: 2px 2px 5px rgba(108, 107, 114, 0.363);

}
.services .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.services .card {
    background-color:rgba(120, 73, 167, 0.781);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(80, 4, 211, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}
.services .card:hover {
    transform: translateY(-10px);
}
.services .card img {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(243, 242, 242);
}
.services .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #101111;
    text-shadow: 4px 4px 8px rgba(187, 174, 174, 0.589);
}
.services .card p {
    font-size: 18px;
    color: #0f0b0b;
    line-height: 1.5;
    text-shadow: 4px 4px 8px rgba(27, 24, 24, 0.616);
}.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px; /* المسافة بين الصورة والنص */
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color:rgb(255, 255, 255);
    text-align: center;
}
.contact h1 {
    font-size: 23px;
    margin-bottom: 20px;
    color: #0f0f0f;
    text-shadow: 2px 2px 5px rgba(5, 5, 5, 0.301);
    
    
}
.contact p {
    font-size: 30px;
    margin-bottom: 40px;
    color: #330e0e;
    text-shadow: 2px 2px 5px rgba(5, 5, 5, 0.466);
}
.contact-link {
    color: #fff;
    padding: 15px 30px;
    font-size: 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
    margin: 10px; /* مسافة بين الروابط */
}

/* تخصيص ألوان خلفية للواتساب *//* تخصيص ألوان خلفية للواتساب */
.whatsapp {
    background-color: #25D366; /* لون الخلفية الأساسي */
    padding: 15px 30px;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.whatsapp:hover {
    background-color: #1ee06c; /* لون عند التمرير */
}

.whatsapp:hover .icon {
    background-image: url('images/wats.avif'); /* صورة الواتساب عند التمرير */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px; /* تعديل حجم الأيقونة */
    height: 30px; /* تعديل حجم الأيقونة */
}

/* تخصيص ألوان خلفية للفيسبوك */
.facebook {
    background-color: #4267B2; /* لون الخلفية الأساسي */
    padding: 15px 30px;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.facebook:hover {
    background-color: #365899; /* لون عند التمرير */
}

.facebook:hover .icon {
    background-image: url('images/fac.png'); /* صورة الفيسبوك عند التمرير */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px; /* تعديل حجم الأيقونة */
    height: 30px; /* تعديل حجم الأيقونة */
}

/* لتحجيم الأيقونة في الوضع العادي */
.icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 10px; /* المسافة بين الأيقونة والنص */
}
