.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.reference-item {
    background: ghostwhite;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.reference-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.reference-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: filter 0.3s ease;
}

/* ---------------- */
@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .references-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .reference-item {
        padding: 1rem;
    }
}