/* ملف CSS الموحد النهائي لموقع SHELF */
/* محدث ومحسن - أكتوبر 2025 */

/* ===== المتغيرات العامة ===== */
:root {
    /* الألوان الأساسية */
    --primary-color: #2c5530;
    --primary-dark: #1a3d1f;
    --primary-light: #4a7c54;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    
    /* الألوان المحايدة */
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* ألوان إضافية */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* ألوان النصوص */
    --text-dark: var(--gray-800);
    --text-body: var(--gray-700);
    --text-light: var(--gray-600);
    --text-muted: var(--gray-500);
    
    /* الخطوط */
    --font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;
    
    /* أوزان الخطوط */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* المسافات */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    --spacing-5xl: 6rem;
    
    /* الحدود والظلال */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 20px;
    --border-radius-full: 50%;
    
    /* الظلال */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
    
    /* الانتقالات */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* أحجام الكسر */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-2xl: 1400px;
    
    /* أحجام الحاوية */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-2xl: 1320px;
}

/* ===== إعادة تعيين الأساسيات ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== شاشة التحميل ===== */
.preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--white);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    direction: ltr;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.preloader-logo {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    animation: none !important;
    transform: none !important;
    transition: none !important;
    position: static;
}

/* تحسينات responsive لشاشة التحميل */
@media (max-width: 768px) {
    .preloader-logo {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 100px;
    }
}

/* ===== العناصر الأساسية ===== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-md) / 2);
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

[class*="col-"] {
    padding: 0 calc(var(--spacing-md) / 2);
}

/* ===== الأزرار ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    user-select: none;
    background-image: none;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.25);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    color: var(--primary-color);
    background-color: var(--white);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

.btn-outline {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
}

.btn-outline:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

.btn-success {
    color: var(--white);
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

/* ===== البطاقات ===== */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--white);
    background-clip: border-box;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
    overflow: hidden;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 85, 48, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all var(--transition-base);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-base);
}

.card:hover .card-title {
    color: var(--secondary-color);
}

.card-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

/* تأثيرات للخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin: var(--spacing-xl) 0;
    }
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(44, 85, 48, 0.2);
}

/* ===== Why Choose Us Section ===== */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
    padding: 0;
    list-style: none;
}

.feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-item:hover::before {
    animation: shimmer 1.5s infinite;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.3);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.4);
}

.feature-icon i {
    color: white;
    font-size: 32px;
    transition: all 0.4s ease;
}

.feature-item h3 {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 700;
    margin: 20px 0 15px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-item:hover p {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .feature-item {
        padding: 35px 25px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .service-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin: 40px 0;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .feature-item h3 {
        font-size: 20px;
    }
    
    .feature-item p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .service-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-item h3 {
        font-size: 18px;
        margin: 15px 0 10px;
    }
    
    .feature-item p {
        font-size: 14px;
    }
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

.service-features li i {
    color: var(--success-color);
    margin-left: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.card-body {
    flex: 1 1 auto;
    padding: var(--spacing-xl);
}

.card-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-bottom: 0;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-300);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

/* ===== النماذج ===== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    color: var(--text-body);
    background-color: var(--white);
    background-image: none;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-control:focus {
    color: var(--text-body);
    background-color: var(--white);
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.25);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--gray-200);
    opacity: 1;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-invalid:focus {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* ===== العناوين ===== */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: var(--font-size-6xl); }
h2 { font-size: var(--font-size-5xl); }
h3 { font-size: var(--font-size-4xl); }
h4 { font-size: var(--font-size-3xl); }
h5 { font-size: var(--font-size-2xl); }
h6 { font-size: var(--font-size-xl); }

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== القوائم ===== */
ul, ol {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    padding-right: var(--spacing-xl);
}

ul ul,
ol ul,
ul ol,
ol ol {
    margin-bottom: 0;
}

.list-unstyled {
    padding-right: 0;
    list-style: none;
}

/* ===== الروابط ===== */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.link-primary {
    color: var(--primary-color);
}

.link-primary:hover {
    color: var(--primary-dark);
}

/* ===== الصور ===== */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    max-width: 100%;
    height: auto;
}

/* ===== مساعدات النص ===== */
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.text-justify { text-align: justify !important; }

.text-lowercase { text-transform: lowercase !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.font-weight-light { font-weight: var(--font-weight-light) !important; }
.font-weight-normal { font-weight: var(--font-weight-normal) !important; }
.font-weight-medium { font-weight: var(--font-weight-medium) !important; }
.font-weight-semibold { font-weight: var(--font-weight-semibold) !important; }
.font-weight-bold { font-weight: var(--font-weight-bold) !important; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-body { color: var(--text-body) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }

/* ===== مساعدات المسافات ===== */
.m-0 { margin: 0 !important; }
.m-1 { margin: var(--spacing-xs) !important; }
.m-2 { margin: var(--spacing-sm) !important; }
.m-3 { margin: var(--spacing-md) !important; }
.m-4 { margin: var(--spacing-lg) !important; }
.m-5 { margin: var(--spacing-xl) !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: var(--spacing-xs) !important; }
.p-2 { padding: var(--spacing-sm) !important; }
.p-3 { padding: var(--spacing-md) !important; }
.p-4 { padding: var(--spacing-lg) !important; }
.p-5 { padding: var(--spacing-xl) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }

/* ===== مساعدات العرض ===== */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* ===== الأقسام العامة ===== */
.section {
    padding: var(--spacing-4xl) 0;
}

.section-alt {
    background-color: var(--gray-100);
}

/* ===== الهيدر ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
}

.topbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar .contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
}

.topbar .contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: opacity var(--transition-base);
}

.topbar .contact-info a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.topbar .contact-info i {
    font-size: 1rem;
    margin-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar {
    padding: var(--spacing-md) 0;
    position: relative;
    z-index: 1100; /* ضمان ظهور القوائم المنسدلة فوق باقي المحتوى */
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
    border-radius: var(--border-radius);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(44, 85, 48, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1050;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.05), rgba(76, 175, 80, 0.05));
    color: var(--primary-color);
    transform: translateX(-5px);
    text-decoration: none;
}

.dropdown-item:hover::before {
    width: 4px;
}

.featured-item {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.1), rgba(76, 175, 80, 0.1));
    font-weight: 600;
    color: var(--primary-color) !important;
    border-radius: 8px;
    margin: 5px;
    position: relative;
    overflow: hidden;
}

.featured-item::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 3px;
}

.featured-item i {
    margin-left: 8px;
    color: var(--primary-color);
}

.featured-item:hover {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.15), rgba(76, 175, 80, 0.15));
    transform: translateX(-3px);
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    margin: 8px 0;
    border: none;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    /* إظهار زر القائمة على الجوال وإخفاء القائمة حتى التفعيل */
    .mobile-menu-btn { display: inline-flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #fff;
        padding: var(--spacing-md) 0;
        width: 100%;
    }
    .nav-menu.active { display: flex; }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        margin-top: 10px;
        background: var(--gray-50);
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-item {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: white;
        margin-bottom: 2px;
        border-radius: 8px;
        margin: 2px 10px;
    }
    
    .dropdown-item:hover {
        transform: none;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.mobile-menu-btn:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

/* ===== البانر المتحرك (Slider) ===== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.7), rgba(26, 61, 31, 0.7));
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slide-buttons .btn {
    min-width: 150px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slide-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.slide-buttons .btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.slide-buttons .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.slide-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* أزرار التنقل */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

/* أسهم التنقل */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide-buttons .btn {
        min-width: 200px;
        margin-bottom: 0.5rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
    
    .slider-nav {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-content {
        padding: 0 15px;
    }
}

/* ===== قسم الوصول السريع للخدمات ===== */
.quick-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-service-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.quick-service-item:hover::before {
    left: 100%;
}

.quick-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.quick-service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.quick-service-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.quick-service-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color var(--transition-base);
}

.quick-service-item:hover h4 {
    color: var(--secondary-color);
}

.quick-service-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .quick-services {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .quick-service-item {
        padding: 1.5rem 1rem;
    }
    
    .quick-service-item i {
        font-size: 2rem;
    }
}

/* ===== Services Slider ===== */
.services-slider-container {
    position: relative;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 15px;
    padding: 0 60px;
}

.services-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 2rem;
    padding: 0 1rem;
    cursor: grab;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.services-slider:active {
    cursor: grabbing;
}

.service-slide {
    flex: 0 0 auto;
    width: calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
    padding: 0.5rem;
    user-select: none;
    transform: translateZ(0);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-slide .service-card {
    height: 100%;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform: translateY(0) scale(1);
    backface-visibility: hidden;
    perspective: 1000px;
}

.service-slide .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: right;
    z-index: 2;
}

.service-slide .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.03), rgba(255, 193, 7, 0.08));
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.service-slide .service-card:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 
        0 30px 60px rgba(255, 193, 7, 0.15), 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-slide .service-card:hover::before {
    transform: scaleX(1);
}

.service-slide .service-card:hover::after {
    opacity: 1;
}

/* أزرار التنقل */
.services-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    backface-visibility: hidden;
}

.services-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.services-nav-btn:hover {
    color: white;
    transform: translateY(-50%) scale(1.15) rotateZ(5deg);
    box-shadow: 
        0 12px 35px rgba(255, 193, 7, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.services-nav-btn:hover::before {
    opacity: 1;
}

.services-nav-btn:active {
    transform: translateY(-50%) scale(1.05);
    transition: transform 0.1s ease;
}

.services-nav-btn.prev {
    left: 15px;
}

.services-nav-btn.next {
    right: 15px;
}

/* مؤشرات النقاط */
.services-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2.5rem;
}

.service-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gray-400);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 2px solid transparent;
    display: block;
    transform: scale(1);
    backface-visibility: hidden;
}

.service-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-dot:hover::before,
.service-dot.active::before {
    width: 100%;
    height: 100%;
}

.service-dot.active {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2);
}

.service-dot.active::after {
    opacity: 1;
    animation: pulse-ring 2s infinite;
}

.service-dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* شريط التقدم للـ auto-play */
.services-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin: 1rem auto 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.services-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
}

.services-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
    border-radius: 0 2px 2px 0;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .services-slider-container {
        padding: 0 20px;
    }
    
    .service-slide {
        flex: 0 0 auto;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }
    
    .services-slider {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .services-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .services-nav-btn.prev {
        left: 10px;
    }
    
    .services-nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .services-slider-container {
        padding: 0 16px;
    }
    
    .service-slide {
        flex: 0 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }
    
    .services-slider {
        gap: 0.5rem;
        padding: 0 0.25rem;
    }
    
    .services-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .services-nav-btn.prev {
        left: 8px;
    }
    
    .services-nav-btn.next {
        right: 8px;
    }
}

/* ===== كروت الخدمات المحسنة ===== */
.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-base);
    position: relative;
}

.service-card .card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f0f0 25%, transparent 25%),
                linear-gradient(-135deg, #f0f0f0 25%, transparent 25%),
                linear-gradient(135deg, transparent 75%, #f0f0f0 75%),
                linear-gradient(-135deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: loading-shimmer 1.5s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card .card-img[src=""],
.service-card .card-img:not([src]) {
    background: #f0f0f0;
}

.service-card .card-img[src=""]:before,
.service-card .card-img:not([src]):before {
    opacity: 1;
}

@keyframes loading-shimmer {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

.service-card:hover .card-img {
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.service-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card .card-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .service-card .card-img {
        height: 180px;
    }
    
    .service-card .card-body {
        padding: 1.2rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ===== أقسام الصفحة الرئيسية ===== */

/* قسم الإحصائيات */
.stat-item {
    padding: 2rem 1rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* قسم شهادات العملاء */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

.testimonial-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.client-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.client-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* قسم معرض الصور */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* ===== القسم البطولي ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(26, 61, 31, 0.9));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===== الفوتر ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-4xl) 0 var(--spacing-xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-xl);
}

.footer-section p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: all var(--transition-base);
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* ===== الحركات والتأثيرات ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== الاستجابة للأجهزة المحمولة ===== */
@media (max-width: 991.98px) {
    /* إظهار زر القائمة على الأجهزة اللوحية وإخفاء القائمة حتى التفعيل */
    .mobile-menu-btn { display: inline-flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #fff;
        padding: var(--spacing-md) 0;
        width: 100%;
    }
    .nav-menu.active { display: flex; }

    /* القوائم الفرعية تتوسع بالنقر */
    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        margin-top: 10px;
        background: var(--gray-50);
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .dropdown.active .dropdown-menu { max-height: 300px; }
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section {
        padding: var(--spacing-3xl) 0;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .topbar {
        display: none;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .card-body {
        padding: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
}

/* ===== تحسينات الأداء ===== */
.lazy-load {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.lazy-load.loaded {
    opacity: 1;
}

/* تحسين الخطوط */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== تحسينات إمكانية الوصول ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* تحسين الطباعة */
@media print {
    .header,
    .footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

/* ===== تأثيرات حركية للمنتجات ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* تأثيرات متقدمة للكروت */
.card-animated {
    animation: slideInUp 0.6s ease-out forwards;
}

.card-bounce {
    animation: bounceIn 0.8s ease-out forwards;
}

.card-float {
    animation: float 3s ease-in-out infinite;
}

.card-pulse:hover {
    animation: pulse 0.6s ease-in-out;
}

/* تأثيرات للصور */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.5s ease;
}

.image-zoom:hover img {
    transform: scale(1.2);
}

.image-rotate:hover {
    transform: rotate(5deg) scale(1.05);
}

/* تأثيرات للنصوص */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات للأزرار */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

.btn-shimmer {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* تأثيرات للأقسام */
.section-animated {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-animated.visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات للمعرض */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(44, 85, 48, 0.8) 0%, 
        rgba(155, 197, 61, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-content h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.gallery-content p {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.gallery-content i {
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.gallery-item:hover::after {
    transform: translateX(100%);
}

/* تأثيرات الهوفر المتقدمة */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(44, 85, 48, 0.3);
}

.hover-rotate:hover {
    transform: rotate(3deg);
}

/* تأثيرات للتحميل */
.loading-dots::after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: var(--primary-color);
        text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow: .25em 0 0 var(--primary-color), .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow: .25em 0 0 var(--primary-color), .5em 0 0 var(--primary-color);
    }
}

/* ===== Enhanced Services Page Styles ===== */
.services-hero {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(76, 175, 80, 0.8)), 
                url('./assets/images/catering-service.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer-move 3s infinite;
    z-index: 2;
}

@keyframes shimmer-move {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInUp 1s ease-out 0.3s both;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    animation: fadeIn 1s ease-out 0.6s both;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "←";
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.section-header {
    margin-bottom: 4rem;
}

.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-item-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 400px;
}

.service-item-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item-enhanced:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(76, 175, 80, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-item-enhanced:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.service-item-enhanced:hover .service-icon {
    transform: scale(1) rotate(360deg);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.service-features-list i {
    color: var(--success-color);
    margin-left: 12px;
    font-size: 14px;
}

.service-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.btn-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.btn-enhanced:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
    color: white;
    text-decoration: none;
}

.btn-enhanced i {
    transition: transform 0.3s ease;
}

.btn-enhanced:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item-enhanced {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-image {
        height: 250px;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid-enhanced {
        gap: 1.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.4rem;
    }
    
    .service-stats {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* ===== Feature Boxes ===== */
.feature-box {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-large {
    transform: scale(1.1) rotateY(360deg);
}

.feature-icon-large i {
    font-size: 32px;
    color: white;
}

.feature-box h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-quick-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.quick-contact-item i {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

/* Mobile Responsive for CTA */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-quick-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* ===== تحسينات CSS للمحتوى الجديد ===== */

/* تحسين عرض الإحصائيات */
.stat-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-xs);
    font-weight: var(--font-weight-normal);
}

/* تحسين قسم المزايا */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.feature-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-2xl);
}

.feature-item h3 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

.feature-item p {
    color: var(--text-body);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

/* تحسين معرض الصور */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
}

.about-image img {
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 85, 48, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    transition: var(--transition-base);
}

.play-button:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* تحسين إحصائيات الشركة */
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl);
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
}

.company-stats .stat-item {
    text-align: center;
}

.company-stats .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
}

.company-stats .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-top: var(--spacing-xs);
}

.about-content {
    padding: var(--spacing-lg) 0;
}

.about-text p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    font-size: var(--font-size-lg);
    color: var(--text-body);
}

.about-text strong {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.about-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

/* Responsive للمحتوى الجديد */
@media (max-width: 992px) {
    .service-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-item {
        padding: var(--spacing-lg);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ===== تصميم صفحة "لماذا SHELF" الاحترافي ===== */

.competitive-advantages {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
}

.advantage-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-base);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.advantage-item:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.advantage-content h3 {
    color: var(--text-dark);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.advantage-content p {
    color: var(--text-body);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.advantage-content strong {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

/* قوائم الشهادات */
.certification-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.certification-list li {
    background: var(--gray-100);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    border-right: 4px solid var(--primary-color);
}

/* إحصائيات الفريق */
.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-stats .stat {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    color: var(--white);
}

.team-stats .number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.team-stats .label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* مميزات اللوجستية */
.logistics-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.logistics-features .feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
}

.logistics-features .feature i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

/* مقاييس الاستدامة */
.sustainability-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.sustainability-metrics .metric {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    border-top: 4px solid var(--secondary-color);
}

.sustainability-metrics .percentage {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
}

.sustainability-metrics .description {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin-top: var(--spacing-xs);
}

/* شبكة الإنجازات */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.achievements-grid .achievement {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.achievements-grid .achievement:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.achievements-grid h4 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.achievements-grid p {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    margin: 0;
}

/* مميزات الخدمة */
.service-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.service-features li {
    color: var(--text-body);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm);
}

/* قسم دعوة العمل */
.cta-section {
    text-align: center;
    margin-top: var(--spacing-4xl);
    padding: var(--spacing-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-2xl);
    color: var(--white);
}

.cta-section h3 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.cta-section p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive لصفحة لماذا SHELF */
@media (max-width: 992px) {
    .advantage-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sustainability-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .competitive-advantages {
        gap: var(--spacing-2xl);
    }
    
    .advantage-item {
        padding: var(--spacing-lg);
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
    
    .advantage-content h3 {
        font-size: var(--font-size-xl);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== تصميم صفحات المطابخ المركزية ===== */

.kitchen-overview {
    margin-top: var(--spacing-3xl);
}

.kitchen-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.kitchen-hero-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.kitchen-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.kitchen-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.kitchen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.kitchen-hero-card:hover .kitchen-image img {
    transform: scale(1.05);
}

.kitchen-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.kitchen-details {
    padding: var(--spacing-xl);
}

.kitchen-details h3 {
    color: var(--text-dark);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
}

.kitchen-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.kitchen-stats .stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    color: var(--text-body);
}

.kitchen-stats .stat-item i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    width: 20px;
    text-align: center;
}

.kitchen-features h4 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.feature-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border-right: 4px solid var(--primary-color);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.feature-content h5 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.feature-content p {
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* خدمات المطبخ */
.kitchen-services {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--gray-100);
    border-radius: var(--border-radius-xl);
}

.kitchen-services h3 {
    color: var(--text-dark);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.kitchen-services .service-item {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
}

.kitchen-services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.kitchen-services .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-2xl);
    margin: 0 auto var(--spacing-lg);
}

.kitchen-services .service-item h4 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

.kitchen-services .service-item p {
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.kitchen-services .service-item ul {
    list-style: none;
    padding: 0;
    text-align: right;
}

.kitchen-services .service-item li {
    color: var(--text-body);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--gray-200);
}

.kitchen-services .service-item li:last-child {
    border-bottom: none;
}

/* فريق العمل */
.kitchen-team {
    margin-top: var(--spacing-3xl);
}

.kitchen-team h3 {
    color: var(--text-dark);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.team-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.team-stat {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    color: var(--white);
}

.team-stat .number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.team-stat .label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.team-certifications {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.team-certifications h4 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
}

.team-certifications ul {
    list-style: none;
    padding: 0;
}

.team-certifications li {
    color: var(--text-body);
    padding: var(--spacing-sm) 0;
    padding-right: var(--spacing-lg);
    position: relative;
}

.team-certifications li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

/* معلومات التواصل */
.kitchen-contact {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    border-radius: var(--border-radius-xl);
}

.kitchen-contact h3 {
    color: var(--text-dark);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.kitchen-contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-item i {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    width: 24px;
    flex-shrink: 0;
}

.contact-item strong {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: var(--text-body);
    margin: 0;
    line-height: 1.6;
}

.kitchen-map {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--gray-100);
}

.map-placeholder i {
    font-size: var(--font-size-5xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.map-placeholder p {
    color: var(--text-body);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

/* Responsive لصفحات المطابخ */
@media (max-width: 992px) {
    .kitchen-info-grid {
        grid-template-columns: 1fr;
    }
    
    .team-overview {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kitchen-details {
        padding: var(--spacing-lg);
    }
    
    .kitchen-services {
        padding: var(--spacing-lg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .kitchen-contact {
        padding: var(--spacing-lg);
    }
}