:root {
    --primary-color: #114574;
    --secondary-color: #F7C502;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f4f7f9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Almarai', sans-serif !important;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* تنسيق عام للحاويات */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الهيدر */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.btn-main {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn-main:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* قسم الهيرو (البداية) */
.hero {
    background: linear-gradient(135deg, rgba(17, 69, 116, 0.9), rgba(17, 69, 116, 0.7)), url('https://w-a3d.com/wp-content/uploads/2026/02/389.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* الإحصائيات السريعة */
.stats-bar {
    background: var(--secondary-color);
    padding: 20px 0;
    margin-top: -40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item p {
    font-weight: bold;
    color: var(--primary-color);
}

/* قسم المحتوى والنموذج */
.main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding: 80px 0;
    align-items: start;
}

.content-area h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-area p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* تنسيق النموذج */
.contact-form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.contact-form h3 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* قسم الخدمات */
.services {
    background: var(--bg-light);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card svg {
    width: 80px;
    height: 80px;
    display: block;
    margin: 10px auto ;
    fill: var(--primary-color);
}

/* قسم الخصم */
.discount-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin: 40px 0;
}

.discount-banner h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.trusted-section {
    padding: 60px 20px;
    background-color: #ffffff; /* خلفية بيضاء للقسم */
    text-align: center;
}

/* تنسيق الحاوية الداخلية (لتحديد العرض الأقصى) */
.trusted-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق العنوان */
.trusted-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* خط زخرفي تحت العنوان */
.trusted-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff; /* لون التمييز (أزرق مثلاً) */
    border-radius: 2px;
}

/* حاوية الشبكة للشعارات (Grid) */
.logos-grid {
    display: grid;
    /* إنشاء أعمدة مرنة: الحد الأدنى للعرض 180px وتتكرر تلقائياً */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px; /* المسافة بين العناصر */
    align-items: center; /* محاذاة عمودية للشعارات */
    justify-items: center; /* محاذاة أفقية للشعارات */
}

/* تنسيق عنصر الشعار الفردي */
.logo-item {
    width: 100%;
    height: 120px; /* ارتفاع ثابت للحاوية لتوحيد المظهر */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee; /* إطار خفيف جداً */
    border-radius: 8px;
    transition: all 0.3s ease; /* تأثير ناعم عند التحويم */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* ظل خفيف جداً */
}

/* تأثير عند مرور الماوس (Hover) */
.logo-item:hover {
    transform: translateY(-5px); /* ارتفاع بسيط */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* ظل أقوى */
    border-color: #007bff; /* تغيير لون الإطار للون التمييز */
}

/* تنسيق الصورة (الشعار) داخل الحاوية */
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* الحفاظ على أبعاد الصورة دون تشويه */
    /* جعل الشعارات رمادية في الحالة الطبيعية (اختياري لمظهر عصري) */
    filter: grayscale(100%); 
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* عودة الألوان والوضوح عند التحويم */
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* استعلامات الوسائط (Responsive) للشاشات الصغيرة */
@media (max-width: 768px) {
    .trusted-title {
        font-size: 2rem;
    }
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* أعمدة أصغر */
        gap: 20px;
    }
    .logo-item {
        height: 100px;
    }
}
.stats-section {
    padding: 80px 20px;
    background: var(--bg-gradient);
    direction: rtl;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px); /* تأثير Glassmorphism */
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.counter-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* التوافق مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .section-header h2 { font-size: 2rem; }
    .stat-card { padding: 30px 15px; }
}
.experts-section {
    padding: 80px 0;
    background-color: #ffffff;
    direction: rtl;
}

.experts-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.experts-list {
    flex: 1;
    min-width: 300px;
}

.experts-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.expert-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-right: 4px solid transparent;
}

.expert-item:hover {
    background: #f8f9fa;
    border-right-color: #1a73e8;
    transform: translateX(-5px);
}

.expert-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.expert-text h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.expert-text p {
    margin: 0;
    color: #5f6368;
    font-size: 0.95rem;
    line-height: 1.5;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #1a73e8;
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.3);
}

.experience-badge span {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
}

/* للموبايل */
@media (max-width: 992px) {
    .experts-grid {
        flex-direction: column-reverse;
    }
}
.trust-section {
    padding: 60px 0;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    direction: rtl;
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-text {
    flex: 1;
    min-width: 300px;
}

.badge-official {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.trust-text h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.trust-text p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.7;
}

.trust-logos {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.logo-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
    width: 160px;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    max-width: 100%;
    height: auto;
    filter: grayscale(20%);
    transition: 0.3s;
}

.logo-card:hover img {
    filter: grayscale(0%);
}

.logo-card span {
    display: block;
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
}

.faq-section {
    direction: rtl;
    padding: 100px 20px;
    background-color: var(--bg-section);
}

.faq-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

/* خط تحت العنوان لتمييز التصميم */
.faq-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 10px;
}

.accordion {
    max-width: 850px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* حالة التفاعل عند التحويم */
.accordion-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.accordion-item.active {
    background: var(--primary-color);
    border-color: var(--accent);
    box-shadow: var(--active-shadow);
    color: #FFF;
}

.accordion-header {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    outline: none;
}

.accordion-header span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.3s ease;
    font-family: 'Almarai', sans-serif !important;

}

/* تغيير لون النص عند التفعيل */
.accordion-item.active .accordion-header span {
    color: #FFF;
}

/* تصميم الأيقونة الدائري */
.icon-container {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.accordion-item.active .icon-container {
    background: var(--accent);
    color: var(--white);
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding: 0 30px 30px 30px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* تأثير التظليل الخفيف للمحتوى */
.accordion-item.active .accordion-content {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}
/* الموبايل */
@media (max-width: 768px) {
    .trust-content {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-logos {
        width: 100%;
    }
}
.testimonials-section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
}

.comment {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
    flex-grow: 1; /* يضمن أن المحتوى يملأ البطاقة */
    position: relative;
    z-index: 1;
}

/* التنسيق الجديد لمنطقة المستخدم والصورة */
.user-info-wrapper {
    display: flex;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: auto; /* يدفع الجزء السفلي لأسفل البطاقة */
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* لجعل الصورة دائرية */
    object-fit: cover;
    margin-left: 15px; /* مسافة بين الصورة والاسم (جهة اليسار لأن الاتجاه RTL) */
    border: 3px solid #f1f5f9;
}

.user-data {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.rating {
    font-size: 0.85rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }
    .testimonials-section {
        padding: 50px 15px;
    }
    .user-avatar {
        width: 50px;
        height: 50px;
    }
}

/* الأسئلة الشائعة */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-item {
    background: var(--white);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.faq-answer {
    padding: 20px;
    display: block;
    border: 1px solid #eee;
}

/* الفوتر */
footer {
    background: #111;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

/* الأزرار العائمة */
.floating-btns {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.f-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.f-btn:hover {
    transform: scale(1.1);
}

.f-whatsapp { background-color: #25D366; }
.f-phone { background-color: #007bff; }

/* تعديلات الجوال */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .stats-bar {
        margin-top: 20px;
    }
}