.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Keeps content centered vertically */
    text-align: center;
    padding: 20px;
}

.error-code {
    font-size: clamp(5rem, 15vw, 10rem); /* Responsive giant text */
    font-weight: 900;
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, #003366, #006699); /* Match your logo blues */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-message h2 {
    font-size: 2rem;
    color: #333;
    margin-top: 0;
}

.error-message p {
    color: #666;
    max-width: 500px;
    margin: 1rem auto 2rem;
    font-size: 1.1rem;
}

.btn-home {
    display: inline-block;
    padding: 12px 30px;
    background-color: #003366; /* Your brand blue */
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-home:hover {
    background-color: #002244;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Subtle animation for the 404 text */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.error-code { animation: floating 4s ease-in-out infinite; }