#preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        #preloader.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        .curtain-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .curtain {
            position: absolute;
            top: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
            background-size: 400% 400%;
            animation: gradientShift 3s ease infinite;
        }

        .curtain-left {
            left: 0;
            transform: translateX(0);
            transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .curtain-right {
            right: 0;
            transform: translateX(0);
            transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .curtain-left.slide-out {
            transform: translateX(-100%);
        }

        .curtain-right.slide-out {
            transform: translateX(100%);
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .preloader-image {
            max-width: 200px;
            max-height: 200px;
            z-index: 15;
            opacity: 0.9;
            transition: opacity 0.5s ease-out;
        }

        .preloader-image.fade-out {
            opacity: 0;
        }

        .preloader-placeholder {
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            z-index: 15;
            transition: opacity 0.5s ease-out;
        }

        .preloader-placeholder.fade-out {
            opacity: 0;
        }

        @media (max-width: 768px) {
            .preloader-image,
            .preloader-placeholder {
                max-width: 150px;
                max-height: 150px;
            }
        }

        @media (max-width: 480px) {
            .preloader-image,
            .preloader-placeholder {
                max-width: 120px;
                max-height: 120px;
            }
        }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}





.main-header::before {
    content: ''; /* يجب تحديد محتوى العنصر */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}


@keyframes leFadeInTop {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to { opacity: 1 }
}

/* إعدادات الـ header الأساسية */
.main-header {
    position: relative;
   
   
    transition: all 0.3s ease-in-out;
    
     transition:all 0.3s ease;
     animation: leFadeInTop 1s ease-in-out
}

.fixed-header-test {
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100%;
   
   
    transition: background-color 0.3s ease;
    animation: leFadeInTop 1s ease-in-out
    
}
 .leFadeInTop {
      animation: leFadeInTop 0.3s ease-in-out;
    }


 .fadeOutUp {
       position: fixed!important;
        animation: fadeOutUp 0.5s forwards;
    }



@keyframes fadeOutUp {
    0% {
        transform: translateY(0); /* وضع العنصر في مكانه */
        opacity: 1; /* الشفافية كاملة */
    }
    100% {
        transform: translateY(-50px); /* تحريك العنصر لأعلى */
        opacity: 0; /* جعل العنصر شفافاً */
    }
}




#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffff!important;
}
#preloader img{
    object-fit: contain;
}
.curtain-strips {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* خلف الصورة */
  display: flex;
  /* يمكن إضافة ستايل الشرائح هنا */
}

.curtain-strips div {
  flex: 1;
  background:black!important; /* لون الشرائح */
  margin: 0 2px; /* مسافة بين الشرائح */
 
}

#status {
  position: relative;
  z-index: 2; /* فوق الشرائح */
  max-width: 150px;
  max-height: 150px;
}

