.logo-showcase-wrapper {
    display: flex;
    flex-direction: column; /* Changed to column to put title above logos */
    gap: 20px;
    padding: 20px 0;
    width: 100%;
}

.logo-showcase-title {
    text-align: center; /* Center the title */
    width: 100%;
}

.logo-showcase-title h6 {
    font-size: 1.2rem;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd; /* Add separator line */
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center logos */
    width: 100%;
}

.logo-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    width: 150px;
    padding: 15px; /* Increased padding for better hover effect */
    border: 1px solid #f1f1f1;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease; /* Added all for smoother transitions */
    box-sizing: border-box;
    position: relative;
}

.logo-grid a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05); /* Subtle overlay on hover */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-grid a:hover {
    transform: translateY(-5px); /* Lift effect */
}

.logo-grid a:hover::after {
    opacity: 1;
}

.logo-grid img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    z-index: 1; /* Ensure image stays above overlay */
}

.logo-grid a:hover img {
    transform: scale(1.1); /* Slightly more subtle zoom */
}

@media screen and (max-width: 768px) {
    .logo-grid a,
    .logo-grid img {
        width: 80px;
        height: 80px;
    }
    
    .logo-showcase-title h6 {
        font-size: 1rem; /* Slightly smaller on mobile */
    }
}

@media screen and (max-width: 480px) {
    .logo-grid {
        gap: 10px; /* Smaller gap on very small screens */
    }
    
    .logo-grid a,
    .logo-grid img {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
}