/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar Styles */
nav {
    background: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

nav .container {
    display: flex;
    gap: 1rem;
}

nav .container a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s ease;
}

nav .container a:hover {
    background: #555;
    border-radius: 5px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav .container {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #333;
        width: 100%;
        text-align: center;
    }

    nav .container.active {
        display: flex;
    }

    nav .container a {
        padding: 1rem;
        width: 100%;
    }
}

/* Header Styles */
header {
    background: url('imaged/84c57ede-46d4-4d37-9968-332ec32671bd.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 10rem 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #333;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #555;
}

/* Services Section */
#services {
    background: #f9f9f9;
    padding: 4rem 0;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-card h3 {
    margin: 1rem 0 0.5rem;
}

/* About Section */
#about {
    padding: 4rem 0;
    text-align: center;
}

/* Why Us Section */
#why-us {
    background: #f4f4f4;
    padding: 4rem 0;
    text-align: center;
}

#why-us ul {
    list-style: none;
    padding: 0;
}

#why-us li {
    margin: 1rem 0;
    font-size: 1.2rem;
}

/* Testimonials Section */
#testimonials {
    padding: 4rem 0;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.testimonial-card cite {
    font-style: normal;
    color: #555;
}

/* Blog Section */
#blog {
    padding: 4rem 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3 {
    margin: 1rem 0 0.5rem;
}

/* Contact Section */
#contact {
    background: #333;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

#contact ul {
    list-style: none;
    padding: 0;
}

#contact li {
    margin: 1rem 0;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}




/* تصميم الشريط الجانبي */
.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);
}