.partner-logos {
    display: flex;
    /* Enables flexbox layout */
    flex-wrap: wrap;
    /* Allows items to wrap to the next line as needed */
    justify-content: center;
    /* Centers items horizontally within the container */
    align-items: center;
    /* Vertically aligns items in their flex container */
    gap: 2rem;
    /* Sets both vertical and horizontal gaps between items */
}

.partner-logos a {
    text-decoration: none;
}

.partner-logos a img {
    width: auto;
    /* Auto width to maintain aspect ratio */
    height: 100px;
    /* Fixed height for consistency */
    max-width: 100%;
    /* Ensures the image is never larger than its container */
}

@media (max-width: 768px) {
    .partner-logos a img {
        height: 80px;
        /* Slightly smaller images on medium screens */
    }
}

@media (max-width: 480px) {
    .partner-logos a img {
        height: 60px;
        /* Even smaller images on small screens */
    }
}