/* Reset بعض العناصر الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* التصميم العصري للهيدر */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    position: relative; /* إضافة هذا لتحديد موقع أيقونة الهامبرغر */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1abc9c;
}

header .logo p {
    font-size: 1rem;
    color: #ecf0f1;
}

header .hamburger {
    display: none; /* تم تصحيح الخطأ هنا */
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    left: 20px; /* وضع الأيقونة على الجانب الأيسر */
    top: 50%;
    transform: translateY(-50%);
}

header .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    background-color: #1abc9c;
    color: #fff;
}
/* تصميم القسم الرئيسي */
.hero {
    background: url('images/10.webp') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #1abc9c, #16a085);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero .btn:hover::before {
    left: 100%;
}

/* تصميم قسم الخدمات */
#services {
    padding: 60px 0;
    background-color: #fff;
}

#services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 2.5rem;
    color: #1abc9c;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.service-item .btn {
    background-color: #1abc9c;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.service-item .btn:hover {
    background-color: #16a085;
}

/* تصميم تفاصيل الخدمات */
.service-detail {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.service-detail h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.service-detail p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sub-service-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sub-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sub-service-item i {
    font-size: 2rem;
    color: #1abc9c;
    margin-bottom: 15px;
}

.sub-service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.sub-service-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.seo-article {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.seo-article h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.seo-article p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* تصميم معرض الأعمال */
#portfolio {
    padding: 60px 0;
    background-color: #fff;
}

#portfolio h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
}

/* تصميم قسم من نحن */
#about {
    padding: 60px 0;
    background-color: #f9f9f9;
}

#about h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

#about p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.about-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.about-item i {
    font-size: 2rem;
    color: #1abc9c;
    margin-bottom: 15px;
}

.about-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.about-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* تصميم قسم آراء العملاء */
#testimonials {
    padding: 60px 0;
    background-color: #fff;
}

#testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-item {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-item p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666;
}

.testimonial-item h3 {
    font-size: 1.2rem;
    color: #1abc9c;
}

/* تصميم قسم اتصل بنا */
#contact {
    padding: 60px 0;
    background-color: #f9f9f9;
}

#contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact form input,
#contact form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

#contact form button {
    background-color: #1abc9c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact form button:hover {
    background-color: #16a085;
    transform: translateY(-3px);
}

/* تصميم الفوتر */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
    margin-bottom: 10px;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

footer .social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    color: #1abc9c;
    transform: translateY(-5px);
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    header .hamburger {
        display: flex;
    }

    header nav {
        display: none;
        flex-direction: column;
        background-color: #2c3e50;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .sub-services-grid,
    .portfolio-grid,
    .about-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}





.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #1abc9c, #16a085);
    border: none;
    border-radius: 50px; /* زوايا دائرية */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:hover::before {
    left: 100%;
}



/* تصميم قسم الأسئلة الشائعة */
.faq-section {
    margin-top: 60px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1abc9c;
}

.faq-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}


img {
    max-width: 100%; /* تجعل الصورة لا تتجاوز عرض العنصر الأب */
    height: auto; /* تحافظ على نسبة الطول إلى العرض */
    display: block; /* تمنع المسافة الإضافية أسفل الصورة */
    margin: 0 auto; /* توسيط الصورة إذا كان العنصر الأب أكبر منها */
    border-radius: 10px; /* زوايا دائرية للصورة */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* إضافة ظل للصورة */
}

/* تحسينات إضافية للصورة في الأوضاع المختلفة */
@media (max-width: 768px) {
    img {
        border-radius: 5px; /* زوايا دائرية أصغر في الأجهزة الصغيرة */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* ظل أخف في الأجهزة الصغيرة */
    }
}

@media (max-width: 480px) {
    img {
        border-radius: 0; /* إزالة الزوايا الدائرية في الأجهزة الصغيرة جدًا */
        box-shadow: none; /* إزالة الظل في الأجهزة الصغيرة جدًا */
    }
}





.map-container {
    position: relative;
    width: 100%;
    height: 500px; /* يمكنك تغيير الارتفاع حسب احتياجك */
    border-radius: 10px; /* إضافة حواف دائرية */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* تأثير الظل */
}




   
    


/* تصميم الشريط الجانبي */
.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);
}





.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);
}



/* تأثيرات الحركة */
@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;
}









