.partner-logos-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.partner-logos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.partner-logos-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.partner-logos-section .section-title-container {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-bottom: 1.5rem;
}

.partner-logos-section .section-title {
    color: white;
    font-size: 42px;
    line-height: 1.2;
    font-weight: normal;
    margin: 0 auto;
}

.partner-logos-section .section-title-container::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d4b044;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Static grid layout for partner logos */
.partner-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-logo-item {
    flex: 0 0 auto;
    width: calc(25% - 40px); /* 4 logos per row with gap */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    /* filter: brightness(0) invert(1);  */
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .partner-logo-item {
        width: calc(33.333% - 40px); /* 3 logos per row on medium screens */
    }
}

@media (max-width: 767px) {
    .partner-logo-item {
        width: calc(50% - 40px); /* 2 logos per row on small screens */
    }
    
    .partner-logos-section {
        padding: 60px 0;
    }
    
    .partner-logos-section .section-title {
        font-size: 36px;
    }
}