/* Donation Animation */
.donation-animation-area {
    margin-top: 40px;
    height: 140px;
    display: grid;
    place-items: center;
    position: relative;
    /* Grid cell placement ensures overlap */
}

.floating-logo {
    grid-area: 1 / 1;
    width: 110px;
    height: auto;
    animation: floatLogo 6s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(245, 166, 35, 0.2));
    opacity: 0.9;
}

.floating-text {
    grid-area: 1 / 1;
    z-index: 2;
    margin-top: 0;
    /* consistent centering */
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 0.1em;

    /* Readability adjustment */
    background: rgba(255, 255, 255, 0.85);
    padding: 5px 20px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    animation: floatText 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-10px) rotate(3deg) scale(1.05);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}