section.partners-section {
    background: #141414 !important;
    padding: 32px 0;
}
/* Match the background color of the partners section to the sponsor image */
.partners-section {
    background: #111;
    padding: 32px 0;
}
.partners-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
/* Partners section container */
.partners-logos {
    width: 100%;
    margin-top: 32px;
    text-align: left;
}

/* Center the sponsor banner image */
.partners-logos img {
    display: block;
    margin-left: auto;
    margin-right: 0;
    max-width: 60%;
    height: auto;
}

@media (max-width: 700px) {
    .partners-logos {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Individual logo container */
.partner-logo {
    width: 180px;
    height: 100px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 8px;
    overflow: hidden;
}

/* Logo image styling */
.partner-logo img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.partners-container > div:last-child {
    margin-top: 2.5rem;
    width: 100%;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
}
/* New 3+1 partners layout */
.partners-3-1-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}
.partners-row-3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}
.partners-row-1 {
    display: flex;
    justify-content: center;
    width: 100%;
}
/* Custom row for partners 3+1 layout */
.partners-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.partners-row.single-row {
    justify-content: center;
    margin-bottom: 0;
}
/* Partners Section */
.partners-section {
    background-color: #121212;
    padding: 4rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Add subtle tennis ball pattern in background */
.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 10%, transparent 10.5%);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
}

.partners-section .section-content {
    position: relative;
    z-index: 2;
}

.partners-section .section-title {
    margin-bottom: 3rem;
}

.partners-section .section-title h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.partners-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #4B91F7, #367FE2);
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.partner-logo-placeholder {
    width: 180px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.partner-logo-placeholder::before {
    content: "Logo";
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Add a subtle hover effect for when actual logos are added */
.partner-logo-placeholder:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partners-section .section-title h2 {
        font-size: 2rem;
    }
    
    .partner-logo-placeholder {
        width: 140px;
        height: 90px;
    }
    
    .partners-container {
        gap: 1.5rem;
    }
}