/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    visibility: visible;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    animation: scaleIn 1s ease-out, pulse 2s ease-in-out infinite;
    animation-delay: 0s, 1s;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    padding: 15px;
    object-fit: contain;
    border: 2px solid #e0e0e0;
}

.splash-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2C5F8D;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
    letter-spacing: 2px;
}

.splash-subtitle {
    font-size: 1.2rem;
    color: #5A7A9A;
    margin-top: 10px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.6s both;
    letter-spacing: 1px;
}

.splash-loader {
    margin: 40px auto 0;
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: #4A90E2;
    border-radius: 50%;
    animation: spin 1s linear infinite, fadeIn 1s ease-out 0.9s both;
    display: block;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .splash-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .splash-title {
        font-size: 2rem;
    }
    
    .splash-subtitle {
        font-size: 1rem;
    }
    
    .splash-loader {
        width: 50px;
        height: 50px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    
    .splash-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .splash-subtitle {
        font-size: 0.9rem;
    }
}

