
.hidden {
    display: none!important; /* أو أي خصائص أخرى تجعله غير مرئي */
}
/* Preloader Style */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff; /* يمكن تغييره حسب الحاجة */
    display: flex; /* لضمان أن العنصر يتم عرضه بشكل مركزي */
    justify-content: center;
    align-items: center;
    
}

#status {
    width: 200px;
    height: 200px;
    background-image: url('path-to-your-preloader-image.gif');
    background-repeat: no-repeat;
    background-position: center;
    object-fit: contain;
    animation: pulse 2s infinite;
}

@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;
    background-color: rgba(255, 0, 0, 0.5); /* لون الطبقة العلوية مع شفافية */
    z-index: 1; /* تأكد من أن الطبقة فوق العنصر */
}


@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; /* جعل العنصر شفافاً */
    }
}

/* ===== Scroll To Top Button ===== */
.paginacontainer {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99999;
}

.progress-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  position: relative;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap .arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  color: #000;
}

/* SVG circle */
.progress-wrap svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.progress-wrap svg path {
  fill: none;
  stroke: #000;
  stroke-width: 4;
  stroke-dasharray: 307.8;
  stroke-dashoffset: 307.8;
}
