
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* White Background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensures it's always on top */
}

/* SVG Loader */
.asfaar-loader {
    width: 50vw; /* Adjust size for better scaling */
    max-width: 300px; /* Prevents being too big */
    height: auto;
}

/* Animated Text */
.asfaar-text {
    font-size: 6vw; /* Slightly smaller text */
    font-weight: bold;
    font-family: sans-serif;
    fill: none;
    stroke: #1c8a43; /* Primary color */
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 270 90;
    animation: dashArray 2s ease-in-out infinite, 
               spinDashArray 2s ease-in-out infinite, 
               dashOffset 2s linear infinite, 
               spin 8s ease-in-out infinite;
}
/* Responsive adjustments for mobile */
@media (max-width: 576px) {
    .asfaar-text {
        font-size: 24vw; /* Slightly smaller text */
    }
}
/* Keyframe Animations */
@keyframes dashArray {
    0% { stroke-dasharray: 0 1 359 0; }
    50% { stroke-dasharray: 0 359 1 0; }
    100% { stroke-dasharray: 359 1 0 0; }
}

@keyframes spinDashArray {
    0% { stroke-dasharray: 270 90; }
    50% { stroke-dasharray: 0 360; }
    100% { stroke-dasharray: 270 90; }
}

@keyframes dashOffset {
    0% { stroke-dashoffset: 365; }
    100% { stroke-dashoffset: 5; }
}

@keyframes spin {
    0% { rotate: 0deg; }
    /* 12.5%, 25% { rotate: 20deg; }
    37.5%, 50% { rotate: 30deg; }
    62.5%, 75% { rotate: 40deg; }
    87.5%, 100% { rotate: 50deg; } */
}