/* ============================================================
   PREMIUM BRAND REVEAL LOADER — loader.css
   ============================================================ */

#site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A1628;
    /* BRECOL Navy */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.6s ease;
}

#site-loader.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.loader-content {
    position: relative;
    text-align: center;
}

.loader-logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: loader-pulse 2s infinite ease-in-out;
    filter: brightness(1.2);
}

.loader-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(0, 180, 255, 0.2);
    border-radius: 50%;
    border-top-color: #00B4FF;
    /* BRECOL Sky Blue */
    animation: loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: loader-text-fade 1.5s infinite alternate;
}

.loader-progress {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #1E5AFF, #00B4FF);
    animation: loader-progress-anim 2.5s ease-out forwards;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes loader-text-fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

@keyframes loader-progress-anim {
    0% {
        width: 0%;
    }

    30% {
        width: 40%;
    }

    60% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}