/* ==========================================================================
   التحضير الذكي - ملف التنسيقات الرئيسي
   تصميم احترافي وكلاسيكي متوافق مع SEO والموبايل
   ========================================================================== */

/* ==========================================================================
   1. متغيرات CSS والإعدادات الأساسية
   ========================================================================== */

:root {
    /* الألوان الأساسية */
    --primary: #1e3a5f;
    --primary-dark: #152d4a;
    --primary-light: #2a4d7a;
    --secondary: #2e7d32;
    --secondary-dark: #1b5e20;
    --secondary-light: #4caf50;
    --accent: #0288d1;
    --accent-light: #03a9f4;

    /* ألوان الخلفيات */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gray: #e9ecef;
    --bg-dark: #1a1a2e;

    /* ألوان النصوص */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --text-light: #ffffff;

    /* ألوان الحدود */
    --border-color: #dee2e6;
    --border-light: #e9ecef;

    /* الظلال */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);

    /* التدرجات */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #2e7d32 50%, #0288d1 100%);
    --gradient-light: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);

    /* الخطوط */
    --font-primary: "IBM Plex Sans Arabic", system-ui, -apple-system, 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;

    /* المسافات */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* الانتقالات */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* الزوايا */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ==========================================================================
   2. الإعدادات الأساسية والـ Reset
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    text-decoration: none;
    border-radius: 0 0 0 var(--radius-md);
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent);
}

/* Screen Reader Only (Bootstrap visually-hidden) */
.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Better link contrast - links distinguishable not just by color */
a {
    text-decoration-skip-ink: auto;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Navigation links without underline */
.nav-link,
.btn,
.logo,
.social-link,
.dropdown-item,
.footer-logo {
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   3. الطباعة (Typography)
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: 1.8;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* ==========================================================================
   4. الأزرار
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    min-height: 44px; /* Touch-friendly minimum height */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    -webkit-touch-callout: none; /* Disable callout on iOS */
    touch-action: manipulation; /* Faster tap response */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-light);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--text-light);
}

.btn-success {
    background: var(--gradient-secondary);
    color: var(--text-light);
    border-color: var(--secondary);
}

.btn-success:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--text-light);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary);
}

.btn-light {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    font-weight: 600;
}

.btn-light:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--bg-light);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   5. Header والتنقل
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px; /* Touch-friendly */
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* القائمة المنسدلة */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.dropdown-toggle::before {
    display: none;
}

.dropdown-toggle::after {
    display: none;
}

.nav-dropdown:hover .dropdown-toggle::before,
.nav-dropdown:hover .dropdown-toggle::after,
.dropdown-toggle:hover::after,
.dropdown-toggle.active::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 250px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-right: var(--spacing-lg);
}

.dropdown-item i {
    width: 20px;
    color: var(--secondary);
}

/* زر الموبايل */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-light);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.05) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--bg-white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-title span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Service Hero - للخدمات */
.service-hero {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    font-size: var(--font-size-4xl);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.service-hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   7. الأقسام (Sections)
   ========================================================================== */

.section {
    padding: var(--spacing-3xl) 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

/* ==========================================================================
   8. البطاقات (Cards)
   ========================================================================== */

.card-custom {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-2xl);
    color: var(--primary);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.card-link:hover {
    gap: var(--spacing-sm);
    color: var(--primary-dark);
}

/* بطاقة الخدمة */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-header {
    padding: var(--spacing-xl);
    background: var(--gradient-light);
    text-align: center;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: var(--font-size-3xl);
    color: var(--primary);
}

.service-card-body {
    padding: var(--spacing-xl);
}

.service-card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.service-card-text {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ==========================================================================
   9. قوائم المميزات
   ========================================================================== */

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

.feature-text {
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

/* Grid المميزات */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

/* ==========================================================================
   10. الإحصائيات
   ========================================================================== */

.stats-section {
    background: var(--gradient-primary);
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-box {
    padding: var(--spacing-lg);
}

.stat-box .stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.stat-box .stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   11. التطبيقات (Apps Download)
   ========================================================================== */

.apps-section {
    background: var(--bg-light);
    padding: var(--spacing-2xl) 0;
}

.apps-table {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.apps-table th {
    background: var(--primary);
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: 600;
    text-align: center;
}

.apps-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.apps-table tr:last-child td {
    border-bottom: none;
}

.apps-table tr:hover td {
    background: var(--bg-light);
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.app-btn-android {
    background: var(--secondary);
    color: var(--text-light);
}

.app-btn-android:hover {
    background: var(--secondary-dark);
    color: var(--text-light);
}

.app-btn-ios {
    background: var(--text-primary);
    color: var(--text-light);
}

.app-btn-ios:hover {
    background: #000;
    color: var(--text-light);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo span {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-light);
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-muted);
    transition: all var(--transition-fast);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 2px;
}

.footer-links a:hover {
    color: var(--text-light);
    padding-right: var(--spacing-sm);
    text-decoration-color: var(--text-light);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

.footer-contact i {
    width: 20px;
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-light);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom a {
    color: var(--secondary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-bottom a:hover {
    color: var(--text-light);
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   13. زر واتساب العائم
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: #25D366;
    color: var(--text-light);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
    min-width: 48px;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    color: var(--text-light);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

/* ==========================================================================
   14. Breadcrumbs
   ========================================================================== */

.breadcrumb-section {
    background: var(--bg-light);
    padding: var(--spacing-md) 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--font-size-sm);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

/* ==========================================================================
   15. المقالات والمدونة
   ========================================================================== */

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-body {
    padding: var(--spacing-lg);
}

.blog-card-date {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.blog-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-primary);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* تفاصيل المقال */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-content p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.9;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

.article-content ul,
.article-content ol {
    padding-right: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.article-content li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* ==========================================================================
   16. FAQ (الأسئلة الشائعة)
   ========================================================================== */

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h4 {
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   17. CTA Section
   ========================================================================== */

.cta-section {
    background: var(--gradient-primary);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--font-size-3xl);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ==========================================================================
   18. Sidebar
   ========================================================================== */

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--secondary);
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-links li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

.widget-links li:last-child {
    border-bottom: none;
}

.widget-links a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-fast);
}

.widget-links a:hover {
    color: var(--primary);
    padding-right: var(--spacing-sm);
}

/* ==========================================================================
   19. Animations (AOS Compatible)
   ========================================================================== */

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   20. صفحة 404
   ========================================================================== */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-2xl);
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.error-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.error-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ==========================================================================
   21. Responsive Design
   ========================================================================== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--bg-white);
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
    }

    .main-nav.active {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-light);
        min-height: 48px;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 0;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        padding: 0;
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: var(--spacing-sm);
        padding: var(--spacing-sm);
    }

    .nav-dropdown .dropdown-toggle::before,
    .nav-dropdown .dropdown-toggle::after {
        display: none;
    }

    .nav-dropdown.open .dropdown-toggle::before,
    .nav-dropdown.open .dropdown-toggle::after {
        display: none;
    }

    .dropdown-item {
        min-height: 44px;
    }

    .mobile-toggle {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        min-width: 44px;
        min-height: 44px;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-cta {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        gap: 0.25rem;
    }

    .header-cta .btn span {
        display: none;
    }

    .header-cta .btn {
        min-width: 38px;
        min-height: 38px;
        padding: 0.4rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .header-cta .btn i {
        margin: 0;
    }

    .header-cta .btn-outline-primary {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .header-container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .hero-section {
        padding: var(--spacing-2xl) 0;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
    }

    .header-container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .logo-text {
        font-size: var(--font-size-lg);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .apps-table {
        font-size: var(--font-size-sm);
    }

    .apps-table th,
    .apps-table td {
        padding: var(--spacing-sm);
    }

    .app-btn span {
        display: none;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .card-custom {
        padding: var(--spacing-lg);
    }

    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        padding: var(--spacing-sm);
    }

    .whatsapp-float span {
        display: none;
    }
}

/* ==========================================================================
   22. Browser Compatibility & Mobile Fixes
   ========================================================================== */

/* iOS Safari Fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS specific styles */
    body {
        -webkit-overflow-scrolling: touch;
    }

    .hero-section,
    .cta-section,
    .service-hero {
        /* Fix for background-attachment: fixed on iOS */
        background-attachment: scroll;
    }

    /* Fix for 100vh issue on iOS */
    .hero-section {
        min-height: -webkit-fill-available;
    }

    /* Fix input zoom on iOS */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Samsung Internet Browser Fix */
@supports (-webkit-appearance: none) {
    select {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Firefox Focus Fix */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Edge/IE Fixes */
@supports (-ms-ime-align: auto) {
    .main-nav {
        display: -ms-flexbox;
        -ms-flex-wrap: wrap;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }

    .card-custom,
    .service-card {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-section::before {
        animation: none;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Dark Mode Support (if user prefers) */
@media (prefers-color-scheme: dark) {
    /* Keep light theme - uncomment below to enable dark mode */
    /*
    :root {
        --bg-white: #1a1a2e;
        --bg-light: #252542;
        --text-primary: #f8f9fa;
        --text-secondary: #adb5bd;
    }
    */
}

/* Landscape Phone Orientation Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .whatsapp-float {
        bottom: 10px;
        left: 10px;
    }
}

/* Safe Area Insets for Notched Devices */
@supports (padding: max(0px)) {
    .site-header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .site-footer {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        left: max(25px, env(safe-area-inset-left));
        bottom: max(25px, env(safe-area-inset-bottom));
    }
}

/* Fix for sticky header on older Safari */
.site-header {
    position: -webkit-sticky;
    position: sticky;
}

/* Flexbox vendor prefixes for older browsers */
.d-flex,
.hero-buttons,
.header-cta,
.main-nav,
.logo,
.footer-social,
.cta-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.flex-wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.align-items-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.justify-content-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.justify-content-between {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* ==========================================================================
   23. Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
    }
}

/* ==========================================================================
   23. Utilities
   ========================================================================== */

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.py-1 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-2 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-3 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-4 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.py-5 { padding-top: var(--spacing-2xl); padding-bottom: var(--spacing-2xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--spacing-md) * -1);
    margin-left: calc(var(--spacing-md) * -1);
}

.col {
    flex: 1 0 0%;
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.col-12 { flex: 0 0 100%; max-width: 100%; padding-right: var(--spacing-md); padding-left: var(--spacing-md); }
.col-6 { flex: 0 0 50%; max-width: 50%; padding-right: var(--spacing-md); padding-left: var(--spacing-md); }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; padding-right: var(--spacing-md); padding-left: var(--spacing-md); }
.col-3 { flex: 0 0 25%; max-width: 25%; padding-right: var(--spacing-md); padding-left: var(--spacing-md); }

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform var(--transition-base);
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   App Cards
   ========================================================================== */

.app-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.app-card-icon i {
    font-size: 2rem;
    color: white;
}

.app-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.app-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition-base);
}

.app-btn-android {
    background: #3DDC84;
}

.app-btn-ios {
    background: #000;
}

.app-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.cta-buttons .btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .app-card {
        padding: 1.5rem 1rem;
    }

    .app-card-icon {
        width: 60px;
        height: 60px;
    }

    .app-card-icon i {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Benefits Cards Section
   ========================================================================== */

.benefit-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.benefit-card ul li {
    padding: 0.35rem 0;
    padding-right: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.benefit-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0.4rem;
    color: var(--secondary);
    font-size: 0.75rem;
}

.benefit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.benefit-link:hover {
    color: var(--primary);
    gap: 0.75rem;
}

.benefits-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefits-cta .btn {
    min-width: 180px;
}

@media (max-width: 768px) {
    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
    }

    .benefit-icon i {
        font-size: 1.25rem;
    }

    .benefit-card h3 {
        font-size: 1rem;
    }

    .benefit-card ul li {
        font-size: 0.85rem;
    }

    .benefits-cta .btn {
        min-width: 150px;
        font-size: 0.9rem;
    }
}

/* ========================================
   About Section - من نحن
   ======================================== */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* About Features Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.about-feature-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.about-feature-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.about-feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Target Audience Section - الفئات المستهدفة
   ======================================== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.audience-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.audience-card:hover::before {
    transform: scaleX(1);
}

.audience-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.audience-card:hover .audience-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.audience-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.audience-card:hover .audience-icon i {
    color: #fff;
}

.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Vision & Mission Section - الرؤية والرسالة
   ======================================== */
.vision-section {
    /* Uses Bootstrap row/col grid for layout */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.vision-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.vision-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.vision-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-lead {
        font-size: 1.1rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-feature-item {
        padding: 1.5rem;
    }

    .about-feature-icon {
        width: 60px;
        height: 60px;
    }

    .about-feature-icon i {
        font-size: 1.5rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        padding: 2rem 1.25rem;
    }

    .audience-icon {
        width: 70px;
        height: 70px;
    }

    .audience-icon i {
        font-size: 1.75rem;
    }

    .vision-card {
        padding: 2rem 1.5rem;
    }

    .vision-icon {
        width: 60px;
        height: 60px;
    }

    .vision-icon i {
        font-size: 1.5rem;
    }

    .vision-card h3 {
        font-size: 1.25rem;
    }

    .vision-card p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   25. Quote Modal - نموذج طلب عرض السعر
   ========================================================================== */

.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quote-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.quote-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f3f4;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #666;
    z-index: 10;
}

.quote-modal-close:hover {
    background: #dc3545;
    color: #fff;
}

.quote-step {
    padding: 2rem;
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quote-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.quote-modal-icon i {
    font-size: 2rem;
    color: #fff;
}

.quote-modal-header h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.quote-modal-header p {
    color: var(--text-secondary);
    margin: 0;
}

.quote-form-group {
    margin-bottom: 1.25rem;
}

.quote-form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.quote-form-group label i {
    margin-left: 0.5rem;
    color: var(--secondary);
}

.quote-form-group input[type="text"],
.quote-form-group input[type="tel"],
.quote-form-group input[type="number"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
}

.quote-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.quote-duration-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quote-duration-option {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.quote-duration-option:hover {
    border-color: var(--primary);
    background: #f8f9fa;
}

.quote-duration-option input {
    display: none;
}

.quote-duration-option input:checked + span {
    color: var(--primary);
    font-weight: 700;
}

.quote-duration-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(30, 58, 95, 0.05);
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quote-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.quote-service-checkbox {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.quote-service-checkbox:hover {
    border-color: var(--primary);
    background: #f8f9fa;
}

.quote-service-checkbox input {
    margin-left: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
}

.quote-service-checkbox input:checked + span {
    color: var(--primary);
    font-weight: 600;
}

.quote-service-checkbox span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.quote-service-checkbox span.service-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.quote-service-checkbox span.service-label i {
    display: inline;
    margin-left: 0.25rem;
}

.quote-service-checkbox .service-price {
    display: block;
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 600;
    background: #e8f5e9;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.15rem;
}

.quote-service-checkbox input:checked + span .service-price {
    background: #c8e6c9;
    color: #1b5e20;
}

.quote-service-checkbox span i {
    color: var(--secondary);
}

.quote-service-checkbox input:disabled + span {
    opacity: 0.6;
}

.quote-bundle-option {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #dee2e6;
}

.bundle-checkbox {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
}

.bundle-checkbox:hover {
    border-color: #e65100;
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
}

.bundle-checkbox input:checked + span {
    color: #e65100;
}

.bundle-checkbox span i {
    color: #ff9800;
}

.quote-addons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #dee2e6;
    transition: all 0.3s ease;
}

.addon-service {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.addon-service:hover {
    border-color: #2e7d32;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.addon-service input:checked + span {
    color: #2e7d32;
}

.addon-service span i {
    color: #4caf50;
}

/* Quote Document Styles */
.quote-document {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.quote-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary);
}

.quote-logo {
    width: 70px;
    height: 70px;
}

.quote-doc-title {
    text-align: center;
    flex: 1;
}

.quote-doc-title h1 {
    color: var(--primary);
    font-size: 1.75rem;
    margin: 0;
}

.quote-doc-title p {
    color: #666;
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

.quote-doc-info {
    text-align: left;
    font-size: 0.875rem;
}

.quote-doc-info p {
    margin: 0.25rem 0;
}

.quote-doc-client,
.quote-doc-services,
.quote-doc-notes {
    margin-bottom: 1.5rem;
}

.quote-doc-client h3,
.quote-doc-services h3,
.quote-doc-notes h3 {
    color: var(--primary);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.quote-doc-client h3 i,
.quote-doc-services h3 i,
.quote-doc-notes h3 i {
    margin-left: 0.5rem;
}

.quote-client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.quote-client-grid p {
    margin: 0;
    font-size: 0.95rem;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
}

.quote-table th,
.quote-table td {
    padding: 0.875rem;
    text-align: right;
    border: 1px solid #dee2e6;
}

.quote-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.quote-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.quote-table tfoot td {
    background: #f8f9fa;
    font-weight: 600;
}

.quote-total td {
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 1.1rem;
}

.quote-doc-notes ul {
    padding-right: 1.25rem;
    margin: 0;
}

.quote-doc-notes li {
    margin-bottom: 0.5rem;
    color: #555;
}

.quote-doc-footer {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--primary);
}

.quote-contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.75rem;
}

.quote-contact-info p {
    margin: 0;
    color: #666;
}

.quote-contact-info i {
    margin-left: 0.5rem;
    color: var(--secondary);
}

.quote-slogan {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Quote Actions */
.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.quote-actions .btn {
    min-width: 140px;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: #fff;
}

/* Quote Modal Responsive */
@media (max-width: 768px) {
    .quote-modal {
        max-width: 100%;
        margin: 0.5rem;
        max-height: 95vh;
    }

    .quote-step {
        padding: 1.5rem;
    }

    .quote-form-row {
        grid-template-columns: 1fr;
    }

    .quote-services-grid {
        grid-template-columns: 1fr;
    }

    .quote-doc-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .quote-doc-info {
        text-align: center;
    }

    .quote-client-grid {
        grid-template-columns: 1fr;
    }

    .quote-table {
        font-size: 0.85rem;
    }

    .quote-table th,
    .quote-table td {
        padding: 0.625rem;
    }

    .quote-actions {
        flex-direction: column;
    }

    .quote-actions .btn {
        width: 100%;
    }

    .quote-contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media print {
    .quote-modal-overlay {
        position: static;
        background: none;
    }

    .quote-modal {
        box-shadow: none;
        max-height: none;
    }

    .quote-modal-close,
    .quote-actions {
        display: none !important;
    }
}

/* ==========================================================================
   26. Quote CTA Banner - شريط طلب عرض السعر
   ========================================================================== */

.quote-cta-banner {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 1.25rem 0;
    position: relative;
    overflow: hidden;
}

.quote-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.quote-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-cta-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.quote-cta-text i {
    font-size: 1.75rem;
    opacity: 0.9;
}

.quote-cta-banner .btn-warning {
    background: #fff;
    color: #e67e22;
    border: none;
    font-weight: 700;
    padding: 0.75rem 2rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.quote-cta-banner .btn-warning:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .quote-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .quote-cta-text {
        flex-direction: column;
        font-size: 1rem;
    }

    .quote-cta-text i {
        font-size: 2rem;
    }

    .quote-cta-banner .btn-warning {
        width: 100%;
        max-width: 280px;
    }
}
