/* =========================
   Funding section
   ========================= */

.funding-text p:last-child {
    margin-bottom: 0;
}

/* Grid container for funding logos
   We use CSS Grid instead of Bootstrap columns
   to ensure an even distribution (e.g. 3 + 3 on desktop)
*/
.funding-logos-grid {
    display: grid;
    gap: 1.5rem;
}
.funding-logo-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* Logo container
   Fixed height ensures consistent alignment
*/
.funding-logo-box {
    height: 110px;
    /*border-radius: var(--bs-border-radius);*/
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    /*box-shadow: var(--bs-box-shadow-sm);*/
    text-decoration: none;
}

/* Logo image
   Keep aspect ratio and prevent stretching
*/
.funding-logo-img {
    max-height: 80px;
    width: 100%;
    object-fit: contain;
    display: block;
}


/* Mobile & small screens:
   2 columns (e.g. 6 logos → 2 x 3)
*/
@media (max-width: 767px) {
    .funding-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop and larger screens:
   3 columns (e.g. 6 logos → 3 + 3)
*/
@media (min-width: 768px) {
    .funding-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

