/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* شريط التنقل */
header {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

header .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

header .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

header .nav-links a:hover {
    color: #ff6f61;
}

/* القسم الرئيسي */
.hero {
    background: url('images/image.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    background-color: #ff6f61;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero .btn:hover {
    background-color: #e53935;
}

/* قسم الخدمات */
.services {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #007BFF;
}

.services p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #007BFF;
}

.card p {
    font-size: 1rem;
    color: #666;
}

/* قسم من نحن */
.about {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #007BFF;
}

.about p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* قسم التواصل */
.contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007BFF;
}

.contact p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact-form button {
    background-color: #007BFF;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact-form button:hover {
    background-color: #0056b3;
}

/* تذييل الصفحة */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 1rem;
}

/* تنسيق القسم العام */
.services {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.services p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* تنسيق حاوية البطاقات */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* تنسيق كل بطاقة */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* تنسيق الصور داخل البطاقات */
.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* تنسيق العناوين داخل البطاقات */
.card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

/* تنسيق النصوص داخل البطاقات */
.card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}






        
/* تصميم الشريط الجانبي */
.social-sidebar {
    position: fixed;
    top: 20%;
    left: 10px; /* موقع الشريط على الشاشة */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000; /* لضمان ظهوره فوق العناصر الأخرى */
}

/* تصميم الأيقونات */
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* الألوان لكل أيقونة */
.social-icon.phone {
    background-color: #007bff; /* لون الهاتف */
}

.social-icon.whatsapp {
    background-color: #25d366; /* لون الواتساب */
}

.social-icon.instagram {
    background-color: #e4405f; /* لون الإنستجرام */
}

.social-icon.twitter {
    background-color: #1da1f2; /* لون تويتر */
}

.social-icon.facebook {
    background-color: #3b5998; /* لون فيسبوك */
}

.social-icon.youtube {
    background-color: #ff0000; /* لون يوتيوب */
}

/* التأثير عند المرور */
.social-icon:hover {
    transform: scale(1.1); /* تكبير الأيقونة */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* شريط جديد للواتساب والاتصال في الجنب اليسار */
/* أيقونة الواتساب على اليسار */
.social-left {
    position: fixed;
    bottom: 10px; /* المسافة من الأسفل */
    left: 10px; /* المسافة من اليسار */
    z-index: 1000; /* لضمان الظهور فوق العناصر الأخرى */
}

.social-left .social-icon {
    position: relative; /* لضبط العناصر الداخلية مثل الشعار */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    background-color: #25d366; /* لون الواتساب */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* الشعار الأحمر أو الرقم على الواتساب */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* أيقونة الهاتف على اليمين */
.social-right {
    position: fixed;
    bottom: 10px; /* المسافة من الأسفل */
    right: 10px; /* المسافة من اليمين */
    z-index: 1000; /* لضمان الظهور فوق العناصر الأخرى */
    display: flex; /* لتوضيع الأيقونة والنص بجانب بعض */
    align-items: center;
    gap: 8px; /* مسافة بين الأيقونة والنص */
}

/* تصميم الأيقونة */
.social-right .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    background-color: #007bff; /* لون الهاتف */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* النص بجانب الأيقونة */
.call-label {
    font-size: 16px; /* حجم النص */
    font-weight: bold; /* خط عريض */
    color: #0b0b0b; /* لون النص */
    background-color: #fff; /* الخلفية البيضاء */
    padding: 5px 10px; /* الحشو حول النص */
    border-radius: 12px; /* زاوية حادة للنص */
    border: 1px solid #ccc; /* خط خفيف حول النص */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* تأثير الظل */
    font-family: 'Arial', sans-serif; /* الخط */
    margin-left: 10px; /* المسافة بين النص والأيقونة */
}

/* التأثير عند تمرير الفأرة على الأيقونة */
.social-icon:hover {
    transform: scale(1.1); /* تكبير الأيقونة */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}