/* =================================================================== */
/* خلفية بيضاء ثابتة للموبايل - تبقى كما هي أثناء التمرير           */
/* =================================================================== */
@media screen and (max-width: 1024px) {
  /* الهيدر الرئيسي - ثابت مع خلفية بيضاء */
  body header[data-elementor-type="header"],
  body .elementor.elementor-18.elementor-location-header,
  body .elementor-location-header,
  body .elementor-element-9b64128,
  body .elementor-element-358eef07,
  html body .elementor-18 {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
  
  /* الحالات الخاصة والثابتة - تبقى بيضاء حتى مع التمرير */
  body .elementor-sticky,
  body .elementor-sticky--active,
  body .she-header-yes,
  body .elementor-element[data-settings*="sticky"],
  body .elementor-element[data-settings*="transparent"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    backdrop-filter: none !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
  }
  
  /* منع تغيير الخلفية عند التمرير */
  body .elementor-location-header.elementor-sticky--active,
  body .elementor-sticky--effects,
  body .she-header-yes.elementor-sticky--active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
  }
  
  /* الكونتينرات الداخلية شفافة */
  body .elementor-location-header .e-con,
  body .elementor-location-header .elementor-container,
  body .elementor-location-header .elementor-widget-container {
    background-color: transparent !important;
  }
  
  /* ظل ثابت وواضح - لا يتغيّر مع التمرير */
  body header[data-elementor-type="header"] {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6) !important;
    transition: none !important;
  }
  
  /* التأكد من بقاء الشكل ثابت حتى مع scroll effects */
  body .elementor-location-header * {
    transition: none !important;
  }
  
  /* ألوان النصوص محسّنة */
  body .elementor-location-header a,
  body .elementor-location-header .elementor-heading-title,
  body .elementor-location-header .ekit-menu-nav-link,
  body .elementor-location-header .elementskit-menu-hamburger {
    color: #1f2937 !important;
  }
  
  /* القائمة المحمولة */
  body .elementskit-menu-offcanvas-elements,
  body .elementskit-menu-container {
    background-color: #ffffff !important;
  }
  
  /* تأكيد إضافي - منع الشفافية */
  body .elementor-location-header *:not(.elementor-widget-container):not(.e-con):not(.elementor-element) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* إضافة مساحة للمحتوى تحت الهيدر الثابت */
  body {
    padding-top: 80px !important;
  }
  
  /* التأكد من عدم تأثير أي scroll effects على الشكل */
  body .elementor-location-header.elementor-sticky,
  body .elementor-location-header[data-settings*="scroll_distance"],
  body .she-header-yes.elementor-sticky--active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
  }
  
  /* منع أي تأثيرات أخرى قد تغيّر الشكل */
  body .elementor-location-header .elementor-motion-effects-element,
  body .elementor-location-header .elementor-background-slideshow {
    background: transparent !important;
  }
}