/* Preloader Style */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Loader inner design */
.loader-logo {
    text-align: center;
    animation: fadeIn 1s ease;
}

.loader-logo img {
    height: 80px;
    margin-bottom: 10px;
}

.loader-logo .brand_name {
    color: #ffcc00;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Spinner animation */
.spinner {
    margin: 15px auto 0;
    width: 40px;
    height: 40px;
    border: 4px solid #ffcc00;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}