.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 9999;
    display: none; /* Hide the loader initially */
}

.loader {
    width: 200px; /* Adjust the width and height as needed */
    height: 200px;
    background-image: url('../../images/logo1.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 100px); /* Center vertically */
    left: calc(55% - 100px); /* Center horizontally */
    animation: bounce 1s infinite; /* Apply animation */
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(-10px); /* Start and end position: move up by 10px */
    }
    50% {
        transform: translateY(10px); /* Midway position: move down by 10px */
    }
}

.loader-text {
    position: absolute;
    top: calc(50% + 100px); /* Position below the loader image */
    /* bottom: 40px;   Position below the loader image */
    left: 53%;
    transform: translateX(-50%);
    margin-top: 20px; /* Adjust the margin-top as needed */
    text-align: center; /* Center align the text */
    color: white; /* Adjust the color as needed */
    font-size: 24px;
    text-shadow: 
    2px 2px 0 #000,  
    2px 2px 0 #000,
    2px  2px 0 #000,
    2px  2px 0 #000; 
}

        /* Loading bar styles */
    .loader-loading {
        width: 50%;
        height: 4.8px;
        top: 75%;
        left: 53%;
        transform: translateX(-50%); /* Center horizontally */
        display: inline-block;
        position: relative;
        background: rgba(255, 255, 255, 0.15);
        overflow: hidden;
    }

    .loader-loading::after {
        content: '';
        width: 96px;
        height: 4.8px;
        background: #FFF;
        position: absolute;
        box-sizing: border-box;
        animation: hitZak 1s linear infinite alternate;
    }

    @keyframes hitZak {
        0% {
            left: 0;
            transform: translateX(-1%);
        }
        100% {
            left: 100%;
            transform: translateX(-99%);
        }
    }