/* ==========================================================================
   1. استيراد الخطوط والتهيئة العامة والـ Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #0062ac;
  --primary-orange: #f39200;
  --dark-bg: #0a0b0d;
  --dark-surface: #12161a;
  --dark-surface-2: #1e242a;
  --bg-light: #f5f7fa;
  --card-bg: #ffffff;
  
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --navbar-height: 85px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: var(--radius-sm);
  border: 2px solid var(--dark-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* ==========================================================================
   2. العناصر المشتركة والتأثيرات (Utilities & Buttons)
   ========================================================================== */
.glass {
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.text-white {
  color: white !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: white;
  box-shadow: 0 4px 14px rgba(243, 146, 0, 0.35);
}

.btn-primary:hover {
  background-color: #d88100;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 146, 0, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 98, 172, 0.35);
}

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

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-orange);
  border-radius: 2px;
}

.section-desc {
  max-width: 600px;
  margin: 10px auto 0 auto;
  font-size: 1rem;
}

/* ==========================================================================
   3. شاشة التحميل المسبق (Preloader)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  color: white;
}

.preloader-logo-wrapper {
  margin-bottom: 20px;
  display: inline-block;
}

.preloader-logo-badge {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, var(--primary-orange) 60%, #cc7a00 100%);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 15px rgba(243, 146, 0, 0.4);
  animation: pulse-animation 2s infinite ease-in-out;
}

.preloader-logo-badge::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 34px solid var(--primary-blue);
  position: absolute;
  top: 20px;
  left: 15px;
}

.preloader-logo-badge::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 17px solid #ffffff;
  position: absolute;
  top: 26px;
  left: 25px;
}

.preloader-text {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: white;
  letter-spacing: 0.5px;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin: 0 auto;
}

/* ==========================================================================
   4. الهيدر وشريط التنقل (Header & Navigation)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  height: 75px;
}

.nav-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, var(--primary-orange) 60%, #cc7a00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(243, 146, 0, 0.3);
}

.logo-badge::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--primary-blue);
  position: absolute;
  top: 15px;
}

.logo-badge::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid #ffffff;
  position: absolute;
  top: 19px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--primary-orange);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-orange);
  transition: var(--transition-normal);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn-call {
  background-color: var(--primary-blue);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 98, 172, 0.2);
}

.nav-btn-call:hover {
  background-color: #00508c;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ==========================================================================
   5. قسم الـ Hero والتوسيط الكامل الفاخر
   ========================================================================== */
.hero {
  padding: calc(var(--navbar-height) + 60px) 24px 80px 24px;
  background: linear-gradient(135deg, var(--dark-bg) 30%, var(--dark-surface) 100%);
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  opacity: 0.15;
}

.hero::before {
  width: 400px;
  height: 400px;
  background: var(--primary-blue);
  top: -100px;
  left: -100px;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: var(--primary-orange);
  bottom: -150px;
  right: -50px;
}

.hero-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 15;
}

.authorized-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(243, 146, 0, 0.1);
  border: 1px solid var(--primary-orange);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: pulse-border 2s infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-orange);
  border-radius: 50%;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary-orange);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 45px;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-4px) rotate(8deg);
  box-shadow: 0 4px 15px rgba(243, 146, 0, 0.4);
}

.icon-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   6. قسم المميزات والاعتمادية (Features)
   ========================================================================== */
.features-section {
  padding: 80px 24px;
  background-color: var(--bg-light);
  position: relative;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border-right: 4px solid var(--primary-blue);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 98, 172, 0.02);
  transition: var(--transition-normal);
  z-index: 1;
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-right-color: var(--primary-orange);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 98, 172, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-orange);
  color: white;
  box-shadow: 0 4px 10px rgba(243, 146, 0, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   7. قسم المتجر والمنتجات + (تعديل إخفاء النص المائي خلف التكييفات)
   ========================================================================== */
.store-section {
  padding: 80px 24px;
  background-color: #ffffff;
}

/* الكود السحري لإخفاء النص المائي المزعج من خلف صور التكييفات */
.product-img-wrapper h4, 
.product-img-wrapper span:not(.badge-inverter):not(.badge-type), 
.product-img-wrapper p,
.product-img-wrapper div[style*="position: absolute"]:not(.product-badges) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.brand-tabs-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.brand-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 16px 45px;
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.brand-tab-btn img,
.brand-tab-btn svg {
  height: 25px;
  object-fit: contain;
  transition: var(--transition-normal);
}

.brand-tab-btn:hover {
  transform: translateY(-2px);
  color: var(--text-dark);
}

.brand-tab-btn.active {
  color: white;
  border-color: transparent;
}

.brand-tab-btn.active.carrier-tab {
  background-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(0, 98, 172, 0.4);
}

.brand-tab-btn.active.midea-tab {
  background-color: var(--primary-orange);
  box-shadow: 0 6px 20px rgba(243, 146, 0, 0.4);
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
  min-height: 400px;
  transition: var(--transition-normal);
}

.product-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 98, 172, 0.2);
}

.product-img-wrapper {
  position: relative;
  background-color: #f8fafc;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.product-img {
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-normal);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.05));
  z-index: 10; /* جعل الصورة فوق أي طبقة أخرى */
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 20;
}

.badge-inverter {
  background-color: #10b981;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.badge-type {
  background-color: var(--primary-blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-capacity-tag {
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.variant-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.variant-selector-wrapper .capacity-lbl {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.variant-select {
  padding: 6px 30px 6px 12px !important;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  width: auto;
  min-width: 125px;
  height: auto !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'><path d='M7 10l5 5 5-5H7z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 10px center !important;
  background-size: 16px !important;
}

.variant-select:focus {
  border-color: var(--primary-blue);
  background-color: white;
}

.product-features-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-features-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-right: 18px;
  margin-bottom: 8px;
}

.product-features-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.price-currency {
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 2px;
}

.order-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   8. قسم حجز موعد الصيانة + (تعديل الألوان لإظهار خطوط الكتابة بوضوح تام)
   ========================================================================== */
.maintenance-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
  color: white;
  border-top: 1px solid var(--border-dark);
}

.maintenance-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--dark-surface-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.maintenance-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
}

.maintenance-form .form-group .form-label {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 8px;
}

.maintenance-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* التحديث الفولاذي: إجبار النص عند الكتابة أن يظهر باللون الداكن فوق الحقل الأبيض */
.maintenance-form input.form-control-dark,
.maintenance-form select.form-control-dark,
.maintenance-form textarea.form-control-dark {
  background-color: #ffffff !important;
  border: 2px solid var(--border-light) !important;
  color: #111827 !important; /* لون الخط أسود داكن جداً وواضح بنسبة 100% */
  padding: 15px 18px !important;
  width: 100%;
  border-radius: var(--radius-md) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  transition: var(--transition-normal) !important;
}

/* حركة التفاعل والفوكس الاحترافية عند الكتابة داخل الحقل */
.maintenance-form input.form-control-dark:focus,
.maintenance-form select.form-control-dark:focus,
.maintenance-form textarea.form-control-dark:focus {
  background-color: #ffffff !important;
  border-color: var(--primary-orange) !important; /* لون برتقالي أنيق عند الوقوف على الحقل */
  box-shadow: 0 0 0 4px rgba(243, 146, 0, 0.15) !important;
  color: #000000 !important;
  outline: none !important;
}

.maintenance-form input.form-control-dark::placeholder,
.maintenance-form textarea.form-control-dark::placeholder {
  color: #9ca3af !important; /* لون رمادي واضح ولطيف للنصوص المؤقتة */
}

/* تنسيق خيارات القوائم المنسدلة عشان تظهر متناسقة */
.maintenance-form select.form-control-dark option {
  background-color: #ffffff !important;
  color: #111827 !important;
  font-weight: 600;
}

.select-custom {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f39200'><path d='M7 10l5 5 5-5H7z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: left 15px center !important;
  background-size: 20px !important;
  padding-left: 45px !important;
}

.maintenance-form .full-width {
  grid-column: span 2;
  margin-bottom: 24px;
}

.submit-btn-whatsapp {
  width: 100%;
  padding: 16px;
  background-color: #25d366;
  color: white;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  animation: pulse-whatsapp 3s infinite;
}

.submit-btn-whatsapp:hover {
  background-color: #1ebd5b;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   9. قسم الأسئلة الشائعة (FAQ)
   ========================================================================== */
.faq-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--dark-bg) 30%, var(--dark-surface) 100%);
  color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--dark-surface-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(243, 146, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary-orange);
  transition: var(--transition-normal);
}

.faq-item:hover .faq-icon {
  background-color: var(--primary-orange);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
  padding: 0 30px 24px 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--primary-orange);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary-orange);
  color: white;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   10. قسم اتصل بنا (Contact Us)
   ========================================================================== */
.contact-section {
  padding: 80px 24px;
  background-color: var(--bg-light);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition-normal);
  border-right: 4px solid var(--primary-blue);
}

.info-card:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
  border-right-color: var(--primary-orange);
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 98, 172, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.info-card:hover .info-icon {
  background-color: var(--primary-orange);
  color: white;
}

.info-details h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.info-details a {
  display: inline-block;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 5px;
  direction: ltr;
}

.info-details a:hover {
  color: var(--primary-orange);
}

.contact-form-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary-blue);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 98, 172, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
}

/* ==========================================================================
   11. النوافذ المنبثقة والإشعارات (Modals & Toast)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 11, 13, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 550px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  background-color: var(--dark-bg);
  color: white;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
}

.selected-product-summary {
  background-color: var(--bg-light);
  border: 1px dashed var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-product-info {
  display: flex;
  flex-direction: column;
}

.selected-product-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.selected-product-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.selected-product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.cod-alert-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(243, 146, 0, 0.08);
  border: 1px solid rgba(243, 146, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.cod-alert-icon {
  color: var(--primary-orange);
  font-size: 1.5rem;
}

.cod-alert-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ab6600;
}

.toast-success {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #10b981;
  color: white;
  padding: 16px 30px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s;
  pointer-events: none;
}

.toast-success.show {
  bottom: 40px;
}

/* ==========================================================================
   12. الفوتر (Footer)
   ========================================================================== */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 24px 20px 24px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.footer-links-col h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 40px;
  height: 2.5px;
  background-color: var(--primary-orange);
  border-radius: 1px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--primary-orange);
  padding-right: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-contact-item span.icon {
  color: var(--primary-orange);
}

.footer-contact-item a {
  color: white;
  direction: ltr;
}

.footer-contact-item a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ==========================================================================
   13. الحركات والأنيميشن التفاعلية (Keyframes & Reveals)
   ========================================================================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade:nth-child(1) { transition-delay: 0.1s; }
.reveal-fade:nth-child(2) { transition-delay: 0.25s; }
.reveal-fade:nth-child(3) { transition-delay: 0.4s; }
.reveal-fade:nth-child(4) { transition-delay: 0.55s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(243, 146, 0, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(243, 146, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 146, 0, 0); }
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

@keyframes pulse-animation {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.4);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 4px 25px rgba(243, 146, 0, 0.8);
  }
}

/* ==========================================================================
   14. التجاوب وتوافق الشاشات (Responsive Design)
   ========================================================================== */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }
  
  .header-scrolled {
    height: 65px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background-color: var(--dark-surface);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-normal);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.25);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  
  .nav-actions {
    margin-right: auto;
    margin-left: 15px;
  }
  
  .nav-btn-call {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 12px;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .brand-tabs-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .brand-tab-btn {
    width: 100%;
    max-width: 320px;
    padding: 12px 30px;
    font-size: 1.15rem;
  }
  
  .maintenance-container {
    padding: 30px 20px;
  }
  
  .maintenance-form .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .maintenance-form .full-width {
    grid-column: span 1;
  }
  
  .faq-question {
    padding: 18px 20px;
  }
  
  .faq-question h3 {
    font-size: 0.95rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-brand-desc {
    max-width: 100%;
  }
  
  .modal-content {
    max-height: 95vh;
  }
}