/* General Preloader Styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Loader Animation */
#loader {
    position: relative;
    animation: zoomInOut 3s infinite ease-in-out; /* Ù‡Ù†Ø§ Ø¨Ø¯Ù„ spin */
}

#loader img {
    width: 100px;
    /* height: 60px; */
}

/* Sliding Sections */
.loader-section {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: #333;
}

.section-left {
    left: 0;
    animation: slide-left 3s infinite ease-in-out;
}

.section-right {
    right: 0;
    animation: slide-right 3s infinite ease-in-out;
}

/* Slide Animation */
@keyframes slide-left {
    0% { width: 0; }
    50% { width: 50%; }
    100% { width: 0; }
}

@keyframes slide-right {
    0% { width: 0; }
    50% { width: 50%; }
    100% { width: 0; }
}

/* Zoom In and Out Animation */
@keyframes zoomInOut {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); } 
    100% { transform: scale(1); }
}

/* Hide the loader after page load */
body.loaded #loader-wrapper {
    display: none;
}
