/* Loader Styles */
/* Load local Euphoria Script font from assets (fallbacks included). If your font file has a different name, update the URLs accordingly. */
@font-face {
    font-family: 'Euphoria Script';
    src: url('../assets/fonts/EuphoriaScript-Regular.woff2') format('woff2'),
         url('../assets/fonts/EuphoriaScript-Regular.woff') format('woff'),
         url('../assets/fonts/EuphoriaScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items horizontally */
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.loader-logo {
    width: 550px;
    max-width: 90%;
    /* Ensure responsiveness */
    height: auto;
    margin-bottom: 20px;
    /* No animation as requested */
}

/* Slight vertical adjustments per device size */
@media (max-width: 767px) {
    .loader-content {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .loader-content {
        margin-top: 40px; /* adjust if you want it higher/lower */
    }
}

.estd-text {
    font-family: 'League Spartan', sans-serif;
    color: #182D80;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 13.4px;
    margin-bottom: 15px;
    animation: fadeIn 1s ease-in-out;
    /* text-align: left is inherited or default for div */
}

.loader-text {
    font-family: 'Euphoria Script', cursive;
    font-size: 3rem;
    color: #003366;
    /* Match logo blue */
    margin-top: 10px;
    opacity: 0;
    animation: slideUpFade 1s ease-out 0.5s forwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}