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

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    animation: breathe 4s infinite ease-in-out;
}

@keyframes breathe {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.08);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.08);
        opacity: 0.85;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hide preloader when printing */
@media print {
    #preloader {
        display: none !important;
    }
}
