/* Full-screen loader overlay */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7); /* semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* adjust gap between balls */
    z-index: 9999;
}

.ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.ball:nth-child(1) {
    background: linear-gradient(45deg, #1A4798, #3B6ECF); /* blue gradient */
    animation-delay: 0s;
}

.ball:nth-child(2) {
    background: linear-gradient(45deg, #ED1C24, #FF6B61); /* red gradient */
    animation-delay: 0.2s;
}

.ball:nth-child(3) {
    background: linear-gradient(45deg, #F4C027, #FFE57F); /* yellow gradient */
    animation-delay: 0.4s;
}

@keyframes bounce {
    from { 
        transform: translateY(0); 
    }
    to { 
        transform: translateY(-30px); 
    }
}