/* إعادة تعيين الهوامش والحشوات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* الخطوط */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-image: url('image/image.png');
    /* إضافة صورة خلفية */
    background-size: cover;
    /* تغطية الخلفية بالكامل */
    background-position: center;
    /* توسيط الصورة */
    background-repeat: no-repeat;
    /* منع تكرار الصورة */
    color: #333;
    text-align: right;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* تنسيقات القائمة */
nav {
    background-color: rgba(17, 176, 234, 0.95);
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav h1 {
    color: #000000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}



.services-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    opacity: 1;
    transition: opacity 1s ease;
    overflow: hidden;
    border-right: 2px solid #4CAF50;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
}

.services-text.fade-out {
    opacity: 0;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #4CAF50;
    }
}

/* التصميم المتجاوب للهواتف */
@media (max-width: 768px) {
    .services-text {
        font-size: 1.2rem;
        /* تصغير حجم الخط للهواتف */
        white-space: normal;
        /* السماح للنص بالانتقال لسطر جديد */
        border-right: none;
        /* إزالة مؤشر الكتابة للهواتف */
        animation: none;
        /* إيقاف تأثير الكتابة للهواتف */
    }

    @keyframes typing {
        from {
            width: 100%;
        }

        /* إصلاح تأثير الكتابة للهواتف */
        to {
            width: 100%;
        }
    }
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
    color: #4CAF50;
    transform: translateY(-3px);
}

.cta-nav .cta-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-nav .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* السلايدر */
.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    z-index: 2;
    color: #fff;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: wheat;
}

.slide-content .cta-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* قسم الخدمات */
#services {
    padding: 100px 20px;
    background: #fff;
}

#services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #4CAF50;
    font-weight: 700;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.5rem;
    margin: 20px 0;
    color: #4CAF50;
    text-align: center;
    font-weight: 700;
}

.card p {
    font-size: 1rem;
    color: #666;
    padding: 0 20px 20px;
    text-align: center;
}

.card button {
    display: block;
    width: 80%;
    margin: 0 auto 20px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* قسم عن الشركة */
#about {
    padding: 100px 20px;
    background: #f9f9f9;
}

#about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #4CAF50;
    font-weight: 700;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* قسم آراء العملاء والتقييمات */
#testimonials {
    padding: 100px 20px;
    background: #fff;
}

#testimonials h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #4CAF50;
    font-weight: 700;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial h3 {
    font-size: 1.25rem;
    color: #4CAF50;
    font-weight: 700;
}

/* قسم أسئلة وأجوبة */
#faq {
    padding: 100px 20px;
    background: #f9f9f9;
}

#faq h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #4CAF50;
    font-weight: 700;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #4CAF50;
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* قسم الاتصال بنا */
#contact {
    padding: 100px 20px;
    background: #fff;
}

#contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #4CAF50;
    font-weight: 700;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

form input,
form select,
form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    background: #f9f9f9;
    color: #333;
}

form button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* التذييل */
footer {
    background: #f9f9f9;
    color: #333;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

footer p {
    margin: 0;
    font-size: 1rem;
    color: #666;
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .cta-nav {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .card,
    .testimonial {
        width: 100%;
    }

    form {
        padding: 20px;
    }
}



/* تنسيقات الزر */
.cta-button {
    background-color: #4CAF50;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #45a049;
}







/* تصميم الشريط الجانبي */
.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);
}






.map-container {
    position: relative;
    width: 100%;
    height: 500px; /* يمكنك تغيير الارتفاع حسب احتياجك */
    border-radius: 10px; /* إضافة حواف دائرية */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* تأثير الظل */
}
