.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.95) 0%, rgba(250, 250, 250, 0.98) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse-glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(5, 104, 57, 0.3));
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(5, 104, 57, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(5, 104, 57, 0.6)) 
                drop-shadow(0 0 60px rgba(184, 150, 95, 0.4));
    }
}

.loader-text {
    color: #056839;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fade-in-out 2s ease-in-out infinite;
}

.loader-tagline {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 400;
    animation: fade-in-out 2s ease-in-out infinite 0.5s;
}

@keyframes fade-in-out {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.loader-spinner {
    margin-top: 2rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(5, 104, 57, 0.2);
    border-top: 5px solid #056839;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .loader-logo {
        width: 150px;
    }
    
    .loader-text {
        font-size: 1.5rem;
    }
    
    .loader-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .loader-logo {
        width: 130px;
    }
    
    .loader-text {
        font-size: 1.3rem;
    }
    
    .loader-tagline {
        font-size: 1rem;
    }
}