.partners-section {
    padding: 50px 20px 50px 20px;
    /* Space around the section */
    text-align: center;
    color: #fff;
    background-image: url('../../assets/partnerbackground.webp');
    background-size: cover;
    background-position: center;

}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    padding: 60px 20px;
    display: flex;
    flex-direction: row;
}

.partners-section .container .partners-title {
    width: 40%;
    text-align: left;
    margin: auto 0;
}

.partners-section .container .logo-grid {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.partners-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    /* Space between logos */
    flex-wrap: wrap;
}

.logo-item {
    max-width: 300px;
    /* Limits logo size */
    transition: transform 0.3s ease;
}

.logo-item img {
    width: 100%;
    height: auto;
    filter: brightness(1);
    /* Keeps logos crisp white/colored */
}

/* Hover effect to make it feel interactive */
.logo-item:hover {
    transform: scale(1.05);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .partners-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .partners-section .container {

        flex-direction: column;
    }

    .partners-section .container .partners-title {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .partners-section .container .logo-grid {
        flex-direction: column;
        justify-content: center;
    }


    .logo-grid {
        gap: 40px;
    }

    .logo-item {
        max-width: 200px;
    }
}
@media (max-width: 576px) {
    .partners-title {
        font-size: 30px !important;
        line-height: 1.2;
        letter-spacing: 0 !important;
    }

}