/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.preloader-content {
    text-align: center;
    color: var(--white-color);
}

.preloader-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preloader-logo {
    height: 80px;
    margin: 0 15px;
    animation: pulse 2s infinite;
}

.preloader-text {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
    font-weight: 600;
}

.preloader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.preloader-spinner:before,
.preloader-spinner:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--white-color);
}

.preloader-spinner:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: spin 1.5s linear infinite;
}

.preloader-spinner:after {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.preloader-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--white-color);
    margin: 0 5px;
    opacity: 0.6;
}

.preloader-dots span:nth-child(1) {
    animation: fade 1.5s ease-in-out infinite;
}

.preloader-dots span:nth-child(2) {
    animation: fade 1.5s ease-in-out 0.5s infinite;
}

.preloader-dots span:nth-child(3) {
    animation: fade 1.5s ease-in-out 1s infinite;
}

.preloader-hide {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    z-index: -1;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}