* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; }
body { background-color: #f8f9fa; color: #333; overflow-x: hidden; transition: background-color 0.4s ease, color 0.4s ease; }

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f59e0b !important; outline-offset: 3px; }
.content-visibility-auto { content-visibility: auto; contain-intrinsic-size: 800px; }

/* Loading Screen & Scroll Progress */
#tm-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; z-index: 999999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.6s ease, visibility 0.6s; }
.spinner { width: 60px; height: 60px; border: 5px solid #e0f2fe; border-top-color: #009688; border-radius: 50%; animation: spin 1s linear infinite; }
.loader-logo { margin-top: 20px; font-size: 28px; font-weight: 900; color: #007bb5; letter-spacing: 2px; animation: pulse 1.5s infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 5px; background: linear-gradient(to right, #009688, #0ea5e9); z-index: 100000; transition: width 0.1s; border-radius: 0 5px 5px 0; }

/* Offline Overlay & Toasts */
#offline-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.95); color: white; display: none; flex-direction: column; justify-content: center; align-items: center; z-index: 1000000; text-align: center; backdrop-filter: blur(10px); }
#offline-overlay.active { display: flex; }
#offline-overlay i { font-size: 60px; color: #ef4444; margin-bottom: 20px; animation: pulse 2s infinite; }
#toast-container { position: fixed; bottom: 30px; left: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 999999; }
.toast { background: white; color: #0f172a; padding: 15px 25px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-right: 5px solid #0ea5e9; display: flex; align-items: center; gap: 12px; font-weight: 700; transform: translateX(-120%); opacity: 0; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-color: #10b981; }
.toast.error { border-color: #ef4444; }

/* Search Modal & Lightbox */
.search-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 200000; display: none; justify-content: center; align-items: flex-start; padding-top: 100px; backdrop-filter: blur(5px); opacity: 0; transition: 0.3s; }
.search-modal.active { display: flex; opacity: 1; }
.search-modal-content { background: white; width: 90%; max-width: 600px; padding: 30px; border-radius: 15px; position: relative; transform: translateY(-50px); transition: 0.4s; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.search-modal.active .search-modal-content { transform: translateY(0); }
.close-search { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #64748b; transition: 0.3s; }
.close-search:hover { color: #ef4444; }
#global-search-input { width: 100%; padding: 15px 20px; font-size: 18px; border: 2px solid #e2e8f0; border-radius: 10px; margin-bottom: 20px; transition: 0.3s; }
#global-search-input:focus { border-color: #0ea5e9; outline: none; }
#search-results { max-height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.search-item { padding: 15px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.search-item:hover { background: #e0f2fe; border-color: #0ea5e9; transform: translateX(-5px); }

#lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 300000; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; }
#lightbox-overlay.active { display: flex; opacity: 1; }
#lightbox-img { max-width: 90%; max-height: 90%; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.close-lightbox { position: absolute; top: 20px; right: 30px; font-size: 40px; color: white; cursor: pointer; transition: 0.3s; }
.close-lightbox:hover { color: #ef4444; }
.lightbox-trigger { cursor: zoom-in; transition: 0.3s; }

/* الهيدر */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background-color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; transition: 0.3s; }
.logo { font-size: 24px; font-weight: 800; color: #007bb5; display: flex; align-items: center; gap: 8px; }
.logo-tm-badge { background: #FFC107; color: #000; padding: 2px 8px; border-radius: 6px; font-size: 16px; font-weight: 900; }
.nav-links { display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: #555; margin: 0 12px; font-weight: 600; transition: 0.3s; }
.nav-links a:not(.nav-btn-book):hover, .nav-links a:not(.nav-btn-book).active { color: #007bb5; }
#dark-mode-toggle, #search-toggle { cursor: pointer; font-size: 20px; color: #0284c7; padding: 5px 10px; }
.nav-btn-book { background-color: #009688; color: white !important; padding: 8px 25px; border-radius: 25px; margin-right: 15px; transition: 0.3s; }
.hotline-btn { background-color: #00a8ff; color: white; padding: 10px 25px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 18px; transition: 0.3s; }
.hotline-btn:hover { background-color: #008ecc; transform: scale(1.05); }

/* زر تغيير اللغة الجديد */
.lang-btn { background: transparent; border: 2px solid #0284c7; color: #0284c7; border-radius: 8px; padding: 4px 12px; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.3s ease; display: flex; align-items: center; justify-content: center; margin: 0 5px; }
.lang-btn:hover { background: #0284c7; color: #ffffff; transform: scale(1.05); }
body.dark-mode .lang-btn { border-color: #f8fafc; color: #f8fafc; }
body.dark-mode .lang-btn:hover { background: #f8fafc; color: #0f172a; }

/* ================================================= */
/* Dark Mode Theme - (الدارك مود الشامل لكل الموقع)  */
/* ================================================= */
body.dark-mode, body.dark-mode #home-section, body.dark-mode .about-section, body.dark-mode .features-section, body.dark-mode .testimonials-section, body.dark-mode .faq-section, body.dark-mode #locations-section, body.dark-mode .brands-page-content, body.dark-mode #brand-dynamic-page, body.dark-mode #device-brand-dynamic-page, body.dark-mode #about-page-section, body.dark-mode .services-detailed-section, body.dark-mode #device-dynamic-page, body.dark-mode #booking-section { background-color: #0f172a !important; color: #f8fafc !important; }
body.dark-mode .navbar, body.dark-mode .booking-container, body.dark-mode .feat-card, body.dark-mode .detailed-card, body.dark-mode .review-card, body.dark-mode .faq-item, body.dark-mode .faq-question, body.dark-mode .faq-answer, body.dark-mode .brand-card, body.dark-mode .home-service-highlight, body.dark-mode .brand-faults-section, body.dark-mode .brand-fault-card, body.dark-mode .bf-item, body.dark-mode .bd-card, body.dark-mode .bd-info, body.dark-mode .gallery-title, body.dark-mode .call-action-box, body.dark-mode .mv-card, body.dark-mode .principle-card, body.dark-mode .timeline-step, body.dark-mode .stats-box-overlay, body.dark-mode .price-badge, body.dark-mode .dynamic-faults, body.dark-mode #dyn-extras-list li, body.dark-mode .dyn-faq-question, body.dark-mode .dyn-faq-answer, body.dark-mode .exit-modal-content, body.dark-mode #chatbot-window, body.dark-mode .chatbot-header, body.dark-mode .chatbot-body, body.dark-mode .chatbot-input, body.dark-mode .search-modal-content, body.dark-mode .toast, body.dark-mode .mobile-menu-content, body.dark-mode .device-brands-wrapper { background-color: #1e293b !important; border-color: #334155 !important; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode strong, body.dark-mode label, body.dark-mode .logo { color: #f8fafc !important; }
body.dark-mode p, body.dark-mode li, body.dark-mode .nav-links a:not(.nav-btn-book) { color: #cbd5e1 !important; }
body.dark-mode input, body.dark-mode select, body.dark-mode textarea { background-color: #0f172a !important; color: #f8fafc !important; border-color: #475569 !important; }
body.dark-mode select option { background-color: #0f172a !important; color: #fff !important; }
body.dark-mode .navbar { box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important; }
body.dark-mode .search-item { background: #1e293b !important; border-color: #334155 !important; }
body.dark-mode .search-item:hover { background: #334155 !important; border-color: #0ea5e9 !important; }
body.dark-mode .filter-btn { background: #334155 !important; color: #cbd5e1 !important; }
body.dark-mode .filter-btn:hover, body.dark-mode .filter-btn.active { background: #0ea5e9 !important; color: white !important; }
body.dark-mode .msg-bot { background: #334155 !important; color: #f8fafc !important; }
body.dark-mode span.badge, body.dark-mode span.badge-light-blue, body.dark-mode span.status-dot { color: #38bdf8 !important; background-color: #0f172a !important; border: 1px solid #38bdf8 !important; }
body.dark-mode .mobile-link { background-color: #334155 !important; color: #f8fafc !important; border-color: #475569 !important;}
body.dark-mode .brand-chip { background-color: #0f172a !important; color: #38bdf8 !important; border-color: #38bdf8 !important; }
body.dark-mode .brand-chip:hover { background-color: #0ea5e9 !important; color: white !important; border-color: #0ea5e9 !important; }

/* القسم الرئيسي (Home) */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 50px 5%; background: linear-gradient(135deg, #0d47a1 0%, #007bb5 100%); color: white; min-height: 80vh; overflow: hidden; }
.hero-content { flex: 1; padding-left: 40px; }
.badge { background-color: rgba(255,255,255,0.2); padding: 5px 15px; border-radius: 20px; font-size: 14px; display: inline-block; margin-bottom: 20px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.hero p { font-size: 18px; line-height: 1.8; margin-bottom: 30px; color: #e0f2f1; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-primary, .btn-whatsapp, .btn-call-hero { padding: 15px 28px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-primary { background-color: white; color: #007bb5; border: none;}
.btn-call-hero { background-color: #00a8ff; color: white; }
.btn-call-hero:hover { background-color: #008ecc; transform: translateY(-3px); }
.btn-whatsapp { background-color: #25d366; color: white; }
.btn-whatsapp:hover { background-color: #1ebc5a; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.features-bar { display: flex; gap: 20px; font-size: 14px; }
.features-bar span i { color: #00a8ff; margin-left: 5px; }
.hero-image { flex: 1; position: relative; z-index: 2; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.image-badge { position: absolute; bottom: 20px; right: -20px; background: white; color: #007bb5; padding: 10px 20px; border-radius: 10px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 3; }

/* العدادات المتحركة */
.counters-section { display: flex; justify-content: space-around; flex-wrap: wrap; background: linear-gradient(135deg, #009688 0%, #00796b 100%); color: white; padding: 50px 5%; margin: 40px 5%; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,150,136,0.3); }
.counter-box { text-align: center; padding: 15px; flex: 1; min-width: 180px; }
.counter-box i { font-size: 40px; margin-bottom: 12px; color: #e6fcf5; }
.counter-box h3 { font-size: 48px; font-weight: 900; margin-bottom: 5px; line-height: 1; }
.counter-box p { font-size: 16px; font-weight: 700; color: #b2dfdb; }

/* من نحن المصغرة */
.about-section { display: flex; align-items: center; justify-content: space-between; padding: 80px 5%; background-color: #ffffff; gap: 50px; }
.about-text { flex: 1; }
.badge-light { background-color: #e0f2fe; color: #0284c7; padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 700; display: inline-block; margin-bottom: 20px; }
.about-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 25px; line-height: 1.4; }
.about-text p { font-size: 17px; line-height: 1.8; color: #475569; margin-bottom: 20px; }
.highlight-box { background-color: #f0f9ff; border-right: 5px solid #0ea5e9; padding: 25px; border-radius: 10px 0 10px 10px; margin-top: 30px; transition: 0.3s; }
.highlight-box:hover { background-color: #e0f2fe; transform: translateX(-10px); }
.highlight-box p { margin-bottom: 0; color: #0369a1; font-weight: 700; font-size: 16px; }
.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.floating-badge-about { position: absolute; bottom: 30px; right: 30px; background: white; padding: 15px 25px; border-radius: 12px; display: flex; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 3; }
.floating-badge-about i { font-size: 26px; color: #0ea5e9; }
.badge-text-about { display: flex; flex-direction: column; }
.badge-text-about strong { color: #0f172a; font-size: 15px; }
.badge-text-about span { color: #64748b; font-size: 13px; }

/* مميزاتنا */
.features-section { padding: 80px 5%; background-color: #fdfdfd; }
.features-header { text-align: center; margin-bottom: 50px; }
.badge-light-blue { background-color: #e0f2fe; color: #0284c7; padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 700; display: inline-block; margin-bottom: 15px; }
.features-header h2 { font-size: 36px; font-weight: 800; color: #1e293b; }
.warranty-banner { background: linear-gradient(to left, #035b86, #067fb8); border-radius: 20px; display: flex; align-items: center; padding: 30px 40px; margin-bottom: 40px; color: white; position: relative; overflow: hidden; box-shadow: 0 15px 30px rgba(6, 127, 184, 0.2); }
.warranty-banner:hover .warranty-icon i { transform: scale(1.1) rotate(15deg); }
.warranty-number { background: rgba(255, 255, 255, 0.1); padding: 20px 25px; border-radius: 15px; text-align: center; margin-left: 40px; min-width: 130px; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.warranty-number .num { font-size: 55px; font-weight: 800; display: block; line-height: 1; margin-bottom: 5px; }
.warranty-number .text { font-size: 14px; font-weight: 600; display: block; }
.warranty-text { flex: 1; position: relative; z-index: 2; }
.badge-small { background: rgba(255, 255, 255, 0.15); padding: 6px 15px; border-radius: 20px; font-size: 13px; display: inline-block; margin-bottom: 15px; border: 1px solid rgba(255, 255, 255, 0.2); }
.warranty-text h3 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.warranty-text p { font-size: 17px; color: #e0f2fe; }
.warranty-icon { position: absolute; left: 30px; opacity: 0.1; transform: scale(3); transition: 0.5s ease; }
.warranty-icon i { font-size: 100px; }
.features-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.feat-card { background: white; border: 1px solid #f1f5f9; padding: 35px 25px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; cursor: default; }
.feat-card:hover, .feat-card:focus-within { transform: translateY(-10px); border-color: #bae6fd; box-shadow: 0 20px 40px rgba(2, 132, 199, 0.1); }
.feat-card:hover .feat-icon i, .feat-card:focus-within .feat-icon i { background: #0284c7; color: white; transform: scale(1.1); }
.card-number { position: absolute; top: 15px; left: 20px; font-size: 40px; font-weight: 800; color: #f1f5f9; z-index: 1; transition: 0.3s; }
.feat-card:hover .card-number { color: #e0f2fe; }
.feat-icon { margin-bottom: 20px; position: relative; z-index: 2; }
.feat-icon i { font-size: 28px; color: #0284c7; background: #f0f9ff; padding: 18px; border-radius: 12px; transition: 0.4s ease; }
.feat-card h4 { font-size: 19px; font-weight: 800; color: #1e293b; margin-bottom: 15px; position: relative; z-index: 2; }
.feat-card p { font-size: 15px; color: #64748b; line-height: 1.8; position: relative; z-index: 2; }

/* خدماتنا المصغرة */
.services-grid-section { background: linear-gradient(135deg, #04527b 0%, #0871a6 100%); border-radius: 40px; margin: 40px 5%; padding: 60px 40px; color: white; text-align: center; box-shadow: 0 20px 50px rgba(4, 82, 123, 0.3); }
.section-header-center { margin-bottom: 50px; text-align: center; }
.badge-dark-blue { background-color: rgba(255, 255, 255, 0.15); padding: 6px 20px; border-radius: 20px; font-size: 14px; display: inline-block; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.2); }
.section-header-center h2 { font-size: 38px; font-weight: 800; margin-bottom: 15px; color: inherit;}
.section-header-center p { font-size: 17px; max-width: 700px; margin: 0 auto; color: inherit; opacity: 0.9;}
.grid-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.service-card-lg { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px 20px 30px; border-radius: 20px; text-align: center; transition: all 0.4s ease; backdrop-filter: blur(10px); cursor: pointer; }
.service-card-lg:hover, .service-card-lg:focus-visible { background: rgba(255, 255, 255, 0.15); transform: translateY(-10px); border-color: #38bdf8; }
.service-card-lg:hover i, .service-card-lg:focus-visible i { transform: scale(1.2) rotate(5deg); background: rgba(255,255,255,0.2); }
.service-card-lg i { font-size: 35px; color: #fff; margin-bottom: 20px; background: rgba(255, 255, 255, 0.1); width: 70px; height: 70px; line-height: 70px; border-radius: 50%; transition: 0.4s; display: inline-block;}
.service-card-lg h3 { font-size: 20px; font-weight: 700; margin-bottom: 15px; }
.service-card-lg p { font-size: 14px; color: #a8d1e7; line-height: 1.6; }
.grid-bottom { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 40px; }
.service-card-sm { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 10px; border-radius: 15px; text-align: center; transition: 0.4s ease; cursor: pointer; }
.service-card-sm:hover, .service-card-sm:focus-visible { background: rgba(255, 255, 255, 0.15); transform: translateY(-5px); border-color: #38bdf8; }
.service-card-sm i { font-size: 24px; margin-bottom: 10px; color: #fff; transition: 0.3s; }
.service-card-sm:hover i, .service-card-sm:focus-visible i { transform: scale(1.2); }
.service-card-sm h3 { font-size: 15px; font-weight: 600; }
.services-footer-text { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 25px; font-size: 16px; color: #cce7f5; }

/* آراء العملاء */
.testimonials-section { padding: 60px 5%; overflow: hidden; }
.reviews-slider-wrapper { overflow: hidden; width: 100%; padding: 20px 0; }
.reviews-slider-track { display: flex; gap: 30px; transition: transform 0.5s ease-in-out; }
.review-card { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 8px 25px rgba(0,0,0,0.04); border-top: 4px solid #f59e0b; transition: 0.4s ease; position: relative; min-width: 320px; flex: 0 0 auto; }
.review-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15); }
.review-card .stars { color: #f59e0b; margin-bottom: 15px; font-size: 18px; }
.review-card p { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.client-info { border-top: 1px solid #e2e8f0; padding-top: 12px; }
.client-info strong { display: block; color: #0f172a; font-size: 16px; font-weight: 800; }
.client-info span { color: #64748b; font-size: 13px; }

/* الأسئلة الشائعة */
.faq-section { padding: 80px 5%; background-color: #ffffff; }
.faq-container { max-width: 800px; margin: 0 auto; margin-top: 40px; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: #bae6fd; transform: translateX(-5px); }
.faq-item.active { border-color: #0284c7; box-shadow: 0 10px 25px rgba(2, 132, 199, 0.1); transform: translateX(0); }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: #f8fafc; transition: all 0.4s ease; }
.faq-question:focus-visible { outline: 3px solid #f59e0b; }
.faq-item.active .faq-question { background: #0284c7; color: white; }
.faq-question h3 { font-size: 17px; font-weight: 700; margin: 0; }
.faq-question i { font-size: 14px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; background: white; transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease; opacity: 0; }
.faq-item.active .faq-answer { max-height: 250px; padding: 20px 25px; opacity: 1; border-top: 1px solid #f1f5f9; }
.faq-answer p { font-size: 15px; color: #475569; line-height: 1.8; margin: 0; }

/* صفحة الخدمات */
.services-hero { position: relative; min-height: 60vh; display: flex; align-items: center; padding: 50px 5% 120px; color: white; }
.services-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to left, rgba(4, 35, 48, 0.95), rgba(4, 35, 48, 0.7)); z-index: 1; }
.services-content { position: relative; z-index: 2; max-width: 800px; }
.breadcrumb { font-size: 14px; margin-bottom: 25px; color: #b0c4de; }
.breadcrumb i { font-size: 10px; margin: 0 8px; }
.breadcrumb span { color: white; font-weight: 700; }
.badge-dark { background-color: rgba(255, 255, 255, 0.1); padding: 5px 15px; border-radius: 20px; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.badge-dark .dot { width: 8px; height: 8px; background-color: #00a8ff; border-radius: 50%; box-shadow: 0 0 10px #00a8ff; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
.services-hero h1 { font-size: 44px; font-weight: 800; line-height: 1.4; margin-bottom: 20px; }
.services-hero p { font-size: 18px; line-height: 1.9; color: #d1e0e8; margin-bottom: 30px; }
.services-features { display: flex; gap: 25px; font-size: 16px; font-weight: 600; }
.services-features span i { color: #00a8ff; margin-left: 8px; }

.services-detailed-section { background: #f8fafc; border-radius: 40px 40px 0 0; margin-top: -60px; position: relative; z-index: 10; padding: 80px 5%; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); }
.detailed-header { text-align: center; margin-bottom: 40px; }
.detailed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.detailed-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 35px 30px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.detailed-card:hover { border-color: #0284c7; box-shadow: 0 15px 40px rgba(2, 132, 199, 0.15); transform: translateY(-8px); }
.detailed-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 4px; background: #0284c7; transition: 0.4s ease; }
.detailed-card:hover::after { width: 100%; }
.card-head { display: flex; justify-content: space-between; margin-bottom: 20px; }
.card-head h3 { font-size: 20px; font-weight: 800; color: #1e293b; max-width: 80%; transition: 0.3s; }
.detailed-card:hover .card-head h3 { color: #0284c7; }
.card-head .icon-box { background: #e0f2fe; color: #0284c7; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 15px; font-size: 26px; transition: 0.4s; }
.detailed-card:hover .card-head .icon-box { background: #0284c7; color: white; transform: rotateY(180deg); }
.card-desc { font-size: 15px; color: #64748b; line-height: 1.8; margin-bottom: 20px; }
.card-link { color: #0284c7; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.card-link:hover { gap: 15px; color: #0369a1; }

/* الصفحة الديناميكية لكل جهاز */
#device-dynamic-page { padding: 60px 5%; background-color: #ffffff; min-height: calc(100vh - 80px); flex-direction: column; display: flex; }
.dynamic-container { display: flex; gap: 50px; align-items: flex-start; max-width: 1200px; margin: 0 auto; width: 100%; }
.dynamic-text { flex: 1.2; }
.status-dot { background: #ecfdf5; color: #10b981; padding: 8px 20px; border-radius: 25px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 25px; border: 1px solid #d1fae5; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1); }
.status-dot i { font-size: 10px; animation: blink 2s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.dynamic-text h1 { font-size: 42px; font-weight: 800; color: #0f172a; line-height: 1.3; margin-bottom: 20px; }
.dynamic-text p { font-size: 18px; color: #475569; line-height: 1.8; margin-bottom: 35px; text-align: justify; }
.dynamic-faults { background: #f8fafc; padding: 25px; border-radius: 15px; border: 1px solid #e2e8f0; margin-bottom: 35px; transition: 0.3s; }
.dynamic-faults:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.dynamic-faults h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.dynamic-faults h3 i { color: #0ea5e9; }
#dyn-faults-list, #db-faults-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
#dyn-faults-list li, #db-faults-list li { font-size: 15px; font-weight: 600; color: #475569; display: flex; align-items: center; gap: 10px; line-height: 1.4; transition: 0.3s; }
#dyn-faults-list li:hover, #db-faults-list li:hover { transform: translateX(-5px); color: #0f172a; }
#dyn-faults-list li::before, #db-faults-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #10b981; font-size: 18px; }

/* خدمات إضافية والأسئلة الشائعة الخاصة بالجهاز */
.dynamic-extras { margin-bottom: 30px; }
.dynamic-extras h3 { font-size: 18px; font-weight: 800; margin-bottom: 15px; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.dynamic-extras h3 i { color: #f59e0b; }
#dyn-extras-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
#dyn-extras-list li { background: #fffbeb; color: #92400e; padding: 15px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 12px; border: 1px solid #fde68a; box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.1); transition: 0.3s; }
#dyn-extras-list li:hover { transform: scale(1.02); box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.2); }
#dyn-extras-list li i { color: #d97706; font-size: 18px; }

.dynamic-faqs-section { margin-bottom: 40px; }
.dynamic-faqs-section h3 { font-size: 18px; font-weight: 800; margin-bottom: 15px; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.dynamic-faqs-section h3 i { color: #8b5cf6; }
.dyn-faq-item { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: 0.3s; }
.dyn-faq-item.active { border-color: #8b5cf6; box-shadow: 0 5px 15px rgba(139, 92, 246, 0.1); }
.dyn-faq-question { padding: 18px 20px; background: #f8fafc; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; }
.dyn-faq-item.active .dyn-faq-question { background: #8b5cf6; color: white; }
.dyn-faq-question h4 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.5;}
.dyn-faq-question i { font-size: 14px; transition: 0.4s; }
.dyn-faq-item.active .dyn-faq-question i { transform: rotate(180deg); }
.dyn-faq-answer { max-height: 0; background: white; transition: 0.4s ease; padding: 0 20px; opacity: 0; }
.dyn-faq-item.active .dyn-faq-answer { max-height: 300px; padding: 18px 20px; opacity: 1; border-top: 1px solid #f1f5f9; }
.dyn-faq-answer p { margin: 0; font-size: 15px; color: #475569; line-height: 1.8; text-align: justify; }

.dynamic-buttons { display: flex; gap: 20px; margin-bottom: 40px; }
.btn-call-dynamic { background-color: #0ea5e9; color: white; padding: 15px 30px; border-radius: 30px; text-decoration: none; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }
.btn-call-dynamic:hover { background-color: #0284c7; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4); }
.btn-whatsapp-dynamic { background-color: transparent; color: #10b981; border: 2px solid #10b981; padding: 15px 30px; border-radius: 30px; text-decoration: none; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-whatsapp-dynamic:hover { background-color: #10b981; color: white; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3); }
.dynamic-stats { display: flex; gap: 30px; text-align: center; border-top: 1px solid #e2e8f0; padding-top: 30px; }
.stat-box strong { display: block; font-size: 32px; color: #0284c7; font-weight: 800; margin-bottom: 5px; }
.stat-box span { font-size: 14px; color: #64748b; font-weight: 600; }
.dynamic-image-box { flex: 1; position: relative; }
.dynamic-image-box img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.price-badge { position: absolute; bottom: -20px; right: 30px; background: white; padding: 15px 25px; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); text-align: center; border-bottom: 4px solid #0ea5e9; transform: translateY(0); transition: 0.4s; z-index: 5; }
.dynamic-image-box:hover .price-badge { transform: translateY(-10px); }
.price-badge strong { display: block; color: #0f172a; font-size: 18px; font-weight: 800; }
.price-badge span { color: #64748b; font-size: 14px; }

/* أزرار الماركات بأسفل صفحة الجهاز (Brand Chips) */
.brand-chip { background-color: #f1f5f9; color: #0284c7; padding: 12px 25px; border-radius: 30px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid #bae6fd; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.brand-chip:hover { background-color: #0ea5e9; color: white; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(14,165,233,0.2); }
.brand-chip i { font-size: 14px; }

/* قسم الحجز (Form) */
#booking-section { background-color: #e6fcf5; min-height: calc(100vh - 80px); display: flex; justify-content: center; align-items: center; padding: 50px 5%; }
.booking-container { background: white; width: 100%; max-width: 650px; border-radius: 20px; padding: 40px; border-top: 5px solid #009688; box-shadow: 0 15px 40px rgba(0, 150, 136, 0.1); }
.booking-header { text-align: center; margin-bottom: 30px; }
.booking-header i { font-size: 40px; color: #009688; margin-bottom: 15px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-15px);} 60% {transform: translateY(-7px);} }
.booking-header h2 { color: #009688; font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.booking-header p { color: #64748b; font-size: 15px; }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; color: #1e293b; font-size: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; color: #334155; transition: 0.3s; background-color: #f8fafc; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #009688; background-color: white; box-shadow: 0 0 0 4px rgba(0, 150, 136, 0.15); transform: translateY(-2px); }
.btn-submit-form { background-color: #009688; color: white; border: none; width: 100%; padding: 15px; border-radius: 8px; font-size: 18px; font-weight: 800; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit-form:hover { background-color: #00796b; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 150, 136, 0.3); }

/* الفوتر (Footer) */
.site-footer { background-color: #042b3e; color: #e0f2fe; padding-top: 70px; position: relative; border-top: 5px solid #0ea5e9; width: 100%; margin: 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 30px; margin-bottom: 40px; }
.footer-logo { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.footer-logo i { color: #0ea5e9; }
.about-col p { font-size: 14px; line-height: 1.8; color: #bae6fd; margin-bottom: 20px; }
.footer-col h3 { font-size: 18px; color: #fff; margin-bottom: 25px; position: relative; padding-right: 15px; }
.footer-col h3::before { content: ''; position: absolute; right: 0; top: 0; height: 100%; width: 3px; background-color: #0ea5e9; }
.links-col ul { list-style: none; }
.links-col ul li { margin-bottom: 12px; }
.links-col ul li a { color: #bae6fd; text-decoration: none; font-size: 14px; transition: 0.3s; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.links-col ul li a i { font-size: 11px; color: #0ea5e9; transition: 0.3s; }
.links-col ul li a:hover { color: #fff; transform: translateX(-8px); }
.links-col ul li a:hover i { transform: translateX(-3px); }
.brands-grid { display: flex; gap: 40px; }
.contact-col ul { list-style: none; }
.contact-col ul li { display: flex; gap: 15px; margin-bottom: 25px; font-size: 14px; color: #bae6fd; align-items: flex-start; line-height: 1.6; transition: 0.3s; }
.contact-col ul li:hover { transform: translateX(-5px); }
.contact-col ul li i { font-size: 16px; color: #0ea5e9; background: rgba(255,255,255,0.05); padding: 10px; border-radius: 50%; width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; transition: 0.3s; }
.contact-col ul li:hover i { background: #0ea5e9; color: white; transform: scale(1.1); }
.contact-col ul li a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 1px; transition: 0.3s; }
.contact-col ul li a:hover { color: #0ea5e9; }
.contact-col ul li small { color: #7dd3fc; }
.footer-bottom { background-color: #021a26; text-align: center; padding: 20px; font-size: 13px; color: #7dd3fc; border-top: 1px solid rgba(255,255,255,0.05); }

/* إضافات مقال الماركة الضخم + الفلتر الجديد */
.brands-page-content { padding: 80px 5%; background-color: #f8fafc; text-align: center; }
.brands-filter-bar { margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
#brand-search { width: 100%; max-width: 400px; padding: 12px 20px; border: 2px solid #e2e8f0; border-radius: 25px; font-size: 16px; outline: none; transition: 0.3s; }
#brand-search:focus { border-color: #0ea5e9; box-shadow: 0 0 10px rgba(14, 165, 233, 0.2); }
.letter-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter-btn { background: #f1f5f9; border: none; padding: 8px 15px; border-radius: 8px; cursor: pointer; font-weight: 700; color: #475569; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background: #0ea5e9; color: white; transform: translateY(-2px); }

.brands-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.brand-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px 20px; display: flex; align-items: center; justify-content: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 2px 10px rgba(0,0,0,0.02); min-height: 100px; cursor: pointer; }
.brand-card:hover, .brand-card:focus-visible { border-color: #0ea5e9; box-shadow: 0 15px 30px rgba(14, 165, 233, 0.2); transform: translateY(-8px) scale(1.05); }
.brand-card h3 { font-size: 22px; font-weight: 800; color: #475569; margin: 0; letter-spacing: 1px; transition: 0.3s; }
.brand-card:hover h3, .brand-card:focus-visible h3 { color: #0ea5e9; }

#brand-dynamic-page { background-color: #ffffff; min-height: calc(100vh - 80px); }
.brand-hero-header { background: linear-gradient(135deg, #0d47a1 0%, #007bb5 100%); color: white; padding: 60px 5%; text-align: center; border-bottom: 5px solid #0ea5e9; }
.brand-hero-content { max-width: 800px; margin: 0 auto; }
.brand-hero-content h1 { font-size: 42px; font-weight: 800; margin: 15px 0; }
.brand-hero-content p { font-size: 18px; line-height: 1.8; color: #e0f2fe; }

.brand-article-container { display: flex; gap: 40px; max-width: 1200px; margin: 60px auto; padding: 0 5%; align-items: flex-start; }
.brand-long-text { flex: 2; }
.brand-long-text h2 { font-size: 28px; font-weight: 800; color: #0f172a; margin: 40px 0 20px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.brand-long-text p { font-size: 17px; color: #475569; line-height: 1.9; margin-bottom: 20px; text-align: justify; }

/* CSS للإضافات (الصيانة في البيت والأعطال) */
.home-service-highlight { background: #f0fdf4; border-right: 5px solid #10b981; padding: 25px 30px; border-radius: 15px; margin: 30px 0; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05); transition: 0.3s; }
.home-service-highlight:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1); }
.home-service-highlight h3 { color: #065f46; margin-bottom: 15px; font-size: 22px; display: flex; align-items: center; gap: 12px; font-weight: 800; }
.home-service-highlight h3 i { font-size: 26px; }
.home-service-highlight p { color: #064e3b; font-size: 16px; line-height: 1.8; margin-bottom: 0; }

.brand-faults-section { margin-top: 50px; background: #f8fafc; padding: 30px; border-radius: 20px; border: 1px solid #e2e8f0; }
.brand-faults-section h2 { border: none !important; margin-top: 0 !important; }
.brand-faults-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 25px; }
.brand-fault-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; padding: 25px; transition: 0.3s; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border-bottom: 4px solid transparent; }
.brand-fault-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-bottom-color: #0ea5e9; }
.brand-fault-card h4 { font-size: 19px; color: #0f172a; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-fault-card h4 i { color: #0ea5e9; font-size: 22px; background: #f0f9ff; padding: 10px; border-radius: 10px; }
.brand-fault-card p { font-size: 15px; color: #64748b; line-height: 1.7; margin: 0; text-align: justify; }

.brand-features-list { display: flex; flex-direction: column; gap: 15px; margin: 30px 0; }
.bf-item { background: #f8fafc; border: 1px solid #e2e8f0; padding: 20px; border-radius: 12px; display: flex; gap: 20px; align-items: center; transition: 0.3s; }
.bf-item:hover { transform: translateX(-10px); border-color: #0ea5e9; background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.bf-item i { font-size: 30px; color: #0ea5e9; transition: 0.3s; }
.bf-item:hover i { transform: scale(1.2); }
.bf-item strong { display: block; font-size: 18px; color: #1e293b; margin-bottom: 5px; }
.bf-item span { font-size: 15px; color: #64748b; }

.brand-devices-list { display: grid; grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
.bd-card { display: flex; background: white; border: 1px solid #e2e8f0; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.4s; }
.bd-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #bae6fd; }
.bd-card img { width: 200px; object-fit: cover; transition: 0.5s; }
.bd-card:hover img { transform: scale(1.1); }
.bd-info { padding: 20px; z-index: 2; background: white; }
.bd-info h3 { font-size: 20px; font-weight: 800; color: #0284c7; margin-bottom: 10px; }
.bd-info p { font-size: 15px; color: #64748b; margin: 0; line-height: 1.6; }

.brand-gallery-sidebar { flex: 1; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 15px; }
.gallery-title { background: #f0f9ff; padding: 20px; border-radius: 15px; border-right: 4px solid #0ea5e9; }
.gallery-title h3 { font-size: 18px; color: #0f172a; margin-bottom: 5px; }
.gallery-title p { font-size: 14px; color: #64748b; margin: 0; }
.brand-gallery-sidebar img { width: 100%; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.4s; cursor: zoom-in; }
.brand-gallery-sidebar img:hover { transform: scale(1.05); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }
.call-action-box { background: #0f172a; color: white; padding: 25px; border-radius: 15px; text-align: center; margin-top: 10px; box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3); transition: 0.3s; }
.call-action-box:hover { transform: translateY(-5px); }
.call-action-box h4 { font-size: 18px; margin-bottom: 10px; }

/* Bottom CTA للمقالات الديناميكية */
.bottom-cta-box { margin-top: 50px; background: linear-gradient(135deg, #0f172a, #009688); padding: 40px; border-radius: 20px; text-align: center; color: white; box-shadow: 0 15px 30px rgba(0, 150, 136, 0.2); border: 2px solid #0ea5e9; }
.bottom-cta-box h3 { font-size: 26px; margin-bottom: 15px; font-weight: 800; }

/* صفحة من نحن المحدثة */
.about-details-container { display: flex; gap: 50px; align-items: center; margin-bottom: 80px; }
.about-text-content { flex: 1.2; }
.about-text-content h2 { font-size: 32px; font-weight: 800; color: #1e293b; margin-bottom: 20px; line-height: 1.4; }
.about-text-content p { font-size: 16px; color: #475569; line-height: 1.9; margin-bottom: 20px; text-align: justify; }

.mission-vision-cards { display: flex; gap: 20px; margin-top: 30px; }
.mv-card { background: white; border: 1px solid #e2e8f0; padding: 25px; border-radius: 15px; flex: 1; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: 0.3s; border-top: 4px solid #0ea5e9; }
.mv-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(14, 165, 233, 0.1); }
.mv-card i { font-size: 28px; color: #0ea5e9; margin-bottom: 15px; background: #f0f9ff; padding: 15px; border-radius: 50%; }
.mv-card h4 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: #0f172a; }
.mv-card p { font-size: 14px; color: #64748b; margin: 0; line-height: 1.6; }

.about-stats-image { flex: 1; position: relative; }
.about-stats-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); cursor: zoom-in; }
.stats-box-overlay { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); background: white; display: flex; gap: 20px; padding: 20px 30px; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); width: 90%; justify-content: space-around; z-index: 5; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 28px; font-weight: 800; color: #0284c7; }
.stat-item span { font-size: 13px; color: #64748b; font-weight: 600; }

.our-principles { margin: 100px 0 80px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.principle-card { background: white; padding: 40px 25px; border-radius: 15px; text-align: center; border: 1px solid #e2e8f0; transition: 0.3s; }
.principle-card:hover { border-color: #0ea5e9; transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.principle-card i { font-size: 40px; color: #0ea5e9; margin-bottom: 20px; }
.principle-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 15px; color: #1e293b; }
.principle-card p { font-size: 15px; color: #64748b; line-height: 1.7; }

.how-it-works-section { margin-bottom: 100px; }
.timeline-container { display: flex; flex-direction: column; gap: 20px; position: relative; max-width: 800px; margin: 0 auto; padding-right: 40px; }
.timeline-container::before { content: ''; position: absolute; right: 19px; top: 0; bottom: 0; width: 4px; background: #e0f2fe; border-radius: 5px; }
.timeline-step { position: relative; background: white; padding: 25px; border-radius: 15px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: 0.3s; }
.timeline-step:hover { border-color: #0ea5e9; transform: translateX(-10px); box-shadow: 0 10px 25px rgba(14, 165, 233, 0.1); }
.step-number { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: #0284c7; color: white; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 20px; font-weight: 800; border: 4px solid #f8fafc; z-index: 2; transition: 0.3s; }
.timeline-step:hover .step-number { transform: translateY(-50%) scale(1.1); box-shadow: 0 0 15px rgba(2, 132, 199, 0.4); }
.step-content h4 { font-size: 19px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.step-content p { font-size: 15px; color: #64748b; margin: 0; line-height: 1.7; }

/* الكلاسات للأنيميشن الاحترافي (تم الإبقاء عليها بدون أكواد التأخير والأوباسيتي لحل مشكلة التهنيج) */
.reveal-up { }
.reveal-show { }

@keyframes shine-effect {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}
.btn-primary::before, .btn-submit-form::before, .btn-call-dynamic::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg); animation: shine-effect 4s infinite; z-index: 1; pointer-events: none;
}
.btn-primary, .btn-submit-form, .btn-call-dynamic { position: relative; overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
  .features-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-top { grid-template-columns: repeat(2, 1fr); }
  .grid-bottom { grid-template-columns: repeat(3, 1fr); }
  .detailed-grid { grid-template-columns: 1fr; }
  .dynamic-container { flex-direction: column; text-align: center; }
  .dynamic-buttons { justify-content: center; flex-wrap: wrap; }
  .dynamic-stats { justify-content: center; flex-wrap: wrap; }
  .price-badge { right: 50%; transform: translateX(50%); }
  .dynamic-image-box:hover .price-badge { transform: translate(50%, -10px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .dynamic-image-box { position: static; margin-top: 20px;}
  .brands-grid-container { grid-template-columns: repeat(3, 1fr); }
  .brand-article-container { flex-direction: column; }
  .brand-gallery-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .gallery-title, .call-action-box { grid-column: span 2; }
}
@media (max-width: 768px) {
  .hero, .about-section { flex-direction: column; text-align: center; }
  .hero-content { padding-left: 0; margin-bottom: 40px; }
  .features-cards-grid { grid-template-columns: 1fr; }
  .grid-top { grid-template-columns: 1fr; }
  .grid-bottom { grid-template-columns: repeat(2, 1fr); }
  .brands-grid-container { grid-template-columns: repeat(2, 1fr); }
  .dynamic-text h1 { font-size: 30px; }
  .dynamic-stats { flex-direction: column; gap: 15px; }
  .nav-links { display: none; }
  .form-row { flex-direction: column; gap: 0; }
  #dyn-faults-list, #db-faults-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .brand-hero-content h1 { font-size: 28px; }
  .brand-gallery-sidebar { grid-template-columns: 1fr; }
  .gallery-title, .call-action-box { grid-column: span 1; }
  .bd-card { flex-direction: column; }
  .bd-card img { width: 100%; height: 200px; }
  .brand-faults-grid { grid-template-columns: 1fr; }
  .about-details-container { flex-direction: column; }
  .mission-vision-cards { flex-direction: column; }
  .stats-box-overlay { position: static; transform: none; width: 100%; margin-top: 20px; }
  .principles-grid { grid-template-columns: 1fr; }
  .timeline-container { padding-right: 0; padding-top: 40px; }
  .timeline-container::before { right: 50%; transform: translateX(50%); top: 0; bottom: 0; }
  .step-number { right: 50%; top: -20px; transform: translateX(50%) !important; }
  .timeline-step { text-align: center; margin-top: 20px; }
  .timeline-step:hover { transform: translateY(-5px); }
  .counters-section { flex-direction: column; gap: 20px; }
  .search-modal-content { width: 95%; padding: 20px; }
  #toast-container { left: 10px; right: 10px; bottom: 10px; }
  .toast { width: 100%; font-size: 14px; }
}

/* ================= الإضافات (تجربة العميل) ================= */

/* تأثيرات بصرية (Ripple & 3D Hover & Skeletons) */
.ripple-btn { position: relative; overflow: hidden; transform: translate3d(0, 0, 0); }
.ripple-btn::after { content: ""; display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; background-image: radial-gradient(circle, #fff 10%, transparent 10.01%); background-repeat: no-repeat; background-position: 50%; transform: scale(10, 10); opacity: 0; transition: transform .5s, opacity 1s; }
.ripple-btn:active::after { transform: scale(0, 0); opacity: .3; transition: 0s; }

.skeleton-img { opacity: 0; transition: opacity 0.5s; }
.skeleton-img.loaded { opacity: 1; }

/* القائمة الجانبية للموبايل */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: #007bb5; cursor: pointer; margin-left: 15px; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.8); z-index: 300000; visibility: hidden; opacity: 0; transition: 0.3s; backdrop-filter: blur(5px); }
.mobile-menu-overlay.active { visibility: visible; opacity: 1; }
.mobile-menu-content { position: absolute; top: 0; right: -300px; width: 280px; height: 100%; background: white; padding: 30px 20px; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: -5px 0 20px rgba(0,0,0,0.2); }
.mobile-menu-overlay.active .mobile-menu-content { right: 0; }
.close-mobile-menu { position: absolute; top: 20px; left: 20px; font-size: 35px; background: none; border: none; color: #64748b; cursor: pointer; transition: 0.3s; }
.close-mobile-menu:hover { color: #ef4444; transform: rotate(90deg); }
.mobile-logo { font-size: 24px; font-weight: 900; color: #007bb5; margin-bottom: 40px; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; }
.mobile-nav { display: flex; flex-direction: column; gap: 15px; }
.mobile-link { color: #1e293b; text-decoration: none; font-size: 18px; font-weight: 700; padding: 12px 15px; border-radius: 10px; background: #f8fafc; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.mobile-link:hover { background: #0ea5e9; color: white; padding-right: 25px; box-shadow: 0 5px 15px rgba(14,165,233,0.3); }

/* اقتراحات البحث والبحث الصوتي */
#voice-search-btn { background: #0ea5e9; color: white; border: none; padding: 15px 20px; border-radius: 10px; cursor: pointer; font-size: 18px; transition: 0.3s; }
#voice-search-btn:hover { background: #0284c7; transform: scale(1.05); }
.suggestion-tag { background: #f1f5f9; color: #475569; padding: 6px 15px; border-radius: 20px; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.3s; display: inline-block; margin-left: 5px; }
.suggestion-tag:hover { background: #0ea5e9; color: white; transform: translateY(-2px); }

/* المساعد الذكي Chatbot */
#chatbot-toggle:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 15px 25px rgba(14,165,233,0.4); }
#chatbot-window.hidden { transform: scale(0); opacity: 0; pointer-events: none; }
.msg-bot { animation: slideInLeft 0.3s ease forwards; }
.msg-user { animation: slideInRight 0.3s ease forwards; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* نافذة نية الخروج Exit Intent */
#exit-intent-modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.exit-modal-content { transform: scale(1); animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#exit-intent-modal.hidden .exit-modal-content { transform: scale(0.8); }
@keyframes popIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ================= إصلاحات الموبايل (الهيدر والقائمة الجانبية والزراير العائمة) ================= */
@media (max-width: 992px) {
  .navbar { padding: 15px 5% !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
  .nav-links, .hotline-btn { display: none !important; }
  .mobile-menu-btn { display: block !important; font-size: 28px !important; color: #007bb5 !important; margin: 0 !important; }
}
.mobile-menu-content { background-color: #f8fafc; }
.mobile-logo { text-align: center; margin-top: 10px; }
.mobile-link { background-color: #ffffff !important; border: 1px solid #e2e8f0; box-shadow: 0 2px 5px rgba(0,0,0,0.02); margin-bottom: 8px; font-size: 18px !important; color: #1e293b !important; border-radius: 12px !important; padding: 15px !important; }
.mobile-link i { color: #007bb5 !important; width: 25px; text-align: center; }
.close-mobile-menu { top: 15px !important; left: 15px !important; color: #475569 !important; font-size: 40px !important; }

.floating-btns { display: flex; flex-direction: column; gap: 15px; position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.floating-btns a, .floating-btns button { width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 26px; border: none; cursor: pointer; box-shadow: 0 10px 25px rgba(0,0,0,0.3); transition: 0.3s; position: relative; text-decoration: none; }
.float-chatbot { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.float-phone { background-color: #0ea5e9; }
.float-whatsapp { background-color: #25d366; }
.floating-btns a:hover, .floating-btns button:hover { transform: translateY(-8px) scale(1.15); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.float-whatsapp::before { content: ''; position: absolute; width: 100%; height: 100%; background: inherit; border-radius: inherit; z-index: -1; animation: pulse 2s infinite; }

@media (max-width: 768px) {
  .floating-btns { bottom: 20px; right: 20px; }
  .floating-btns button, .floating-btns a { width: 45px; height: 45px; font-size: 22px; }
  #chatbot-window { bottom: 20px !important; right: 75px !important; width: calc(100vw - 90px) !important; max-width: 320px !important; }
}
/* ================= تظبيط الأيقونات في الهيدر (للموبايل والكمبيوتر) ================= */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-actions a:not(.hotline-btn) {
  color: #0284c7;
  font-size: 20px;
  transition: 0.3s;
  text-decoration: none;
}
.nav-actions a:not(.hotline-btn):hover {
  color: #007bb5;
  transform: scale(1.1);
}
body.dark-mode .nav-actions a:not(.hotline-btn) {
  color: #f8fafc; /* لون الأيقونات في الوضع الليلي */
}

@media (max-width: 992px) {
  .nav-actions {
    gap: 20px; /* توسيع المسافة بين الأيقونات في الموبايل */
  }
  .nav-actions .hotline-btn {
    display: none !important; /* إخفاء زرار التليفون الكبير في الموبايل لأنه واخد مساحة */
  }
}