:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-orange: #f97316;
    --hover-orange: #ea580c;
    --success-green: #16a34a;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-gray: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* الأزرار وتأثير النبض */
.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn:hover { background-color: var(--hover-orange); transform: translateY(-3px); }
.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* الهيروو والأقسام */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    text-align: center;
    padding: 60px 20px 40px;
}
.hero h1 { font-family: 'Cairo', sans-serif; font-size: 3rem; font-weight: 800; margin-bottom: 15px; line-height: 1.3; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; opacity: 0.9; }

section { padding: 60px 20px; }
.section-title { text-align: center; font-family: 'Cairo', sans-serif; font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 40px; font-weight: 800; }

/* شبكة الأسعار والعروض المشتركة */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: stretch;
}
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pricing-card.featured {
    border: 4px solid var(--accent-orange);
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.pricing-card.eco { border: 2px solid var(--secondary-blue); background: #f8fafc; }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent-orange); color: white; padding: 5px 20px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; }

/* 🟢 حل مشكلة ضيق نموذج الطلب ليكون واسعاً ومريحاً جداً */
.order-section { padding: 60px 0; }
.order-form { 
    background: white; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); 
    width: 100%;
    max-width: 750px; /* جعل النموذج عريض وفخم على شاشات الكمبيوتر */
    margin: 0 auto;
}
.form-group { margin-bottom: 22px; text-align: right; }
.form-group label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--text-dark) !important; font-size: 1.1rem; }
.form-control { 
    width: 100%; 
    padding: 15px; 
    border: 2px solid #94a3b8 !important; /* حدود غامقة وواضحة جداً للعين */
    border-radius: 10px; 
    font-size: 1.1rem; 
    background-color: #f8fafc !important; /* لون تمييز الخانات الاحترافي */
    color: #0f172a;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: var(--primary-blue) !important;
    background-color: #ffffff !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}
textarea.form-control { min-height: 110px; resize: vertical; }

/* 🟢 حل مشكلة انضغاط التقييمات وعرضها بانسيابية كاملة */
.reviews-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 25px 10px;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.reviews-slider::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 315px; /* يمنع المتصفح من تصغير أو ضغط عرض البطاقة نهائياً */
    width: 315px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 15px;
    text-align: right;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    direction: rtl;
    white-space: normal; /* السماح للنص بالنزول التلقائي لأسطر جديدة */
}
.review-card .stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 8px; }
.review-card h4 { font-size: 1.05rem; color: var(--primary-blue); font-weight: 800; margin-bottom: 8px; }
.review-card p { font-size: 0.95rem; color: #475569; line-height: 1.6; }

/* الأسئلة الشائعة الأنيقة */
details { background: white; padding: 18px 20px; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 15px; cursor: pointer; transition: all 0.3s; }
details:hover { border-color: var(--secondary-blue); background: #f8fafc; }
summary { font-weight: 700; font-size: 1.15rem; color: var(--primary-blue); outline: none; display: flex; justify-content: space-between; align-items: center; }
details p { margin-top: 12px; color: var(--text-gray); border-top: 1px dashed #e2e8f0; padding-top: 12px; line-height: 1.7; }

/* واتساب عائم */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 25px rgba(37,211,102,0.3); z-index: 1000; text-decoration: none; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }

/* التعديلات الحساسة لشاشات الموبايل (توسيع الشاشة بالكامل للطلب) */
@media (max-width: 768px) {
    .hero { padding: 40px 15px 20px !important; }
    .hero h1 { font-size: 1.9rem !important; margin-bottom: 10px !important; }
    .hero p { font-size: 1.15rem !important; margin-bottom: 20px !important; }
    .hero img { margin-top: 15px !important; max-width: 100% !important; }
    .section-title { font-size: 1.8rem !important; margin-bottom: 30px !important; }
    .btn { padding: 14px 22px !important; font-size: 1.15rem !important; width: 100%; text-align: center; }
    .pricing-grid { grid-template-columns: 1fr; gap: 30px !important; }
    .pricing-card { min-width: 100% !important; transform: scale(1) !important; }
    
    /* جعل الفورم يفرش بكامل مساحة الموبايل تقريباً ليكون مريحاً جداً */
    .container { padding: 0 6px !important; }
    .order-form { 
        padding: 25px 15px !important; 
        border-radius: 12px;
        width: 100% !important;
    }
    .review-card {
        flex: 0 0 280px; /* المقاس المثالي المانع للانضغاط في الهواتف الصغيرة */
        width: 280px;
        padding: 20px;
    }
}