.navbar {
    background: linear-gradient(45deg, #122C43, #18A9D7);
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
    /* Ensure logos adjust proportionally */
}

.navbar-nav .nav-link {
    text-align: center;
    font-size: 1rem;
    /* Uniform font size across screens */
}

.navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* Ensure proper wrapping on smaller screens */
}

.navbar-collapse {
    text-align: center;
}

.btn-warning {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    /* Center the button and avoid overflow */
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 150px;
        height: auto;
        /* Adjust logo size for smaller screens */
    }

    .navbar-nav {
        flex-direction: column;
        /* Stack nav items vertically on smaller screens */
    }
}

@media (max-width: 1024px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        /* Slightly smaller font size for medium screens */
    }
}

.logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* Centers the logo horizontally */
}

.text-donation-custom {
    color: #00838f;
}

/* Define fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to the header */
.card-header {
    animation: fadeIn 1s ease-in-out;
}
