/* Our Clients Section Styles */

.clients__section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
}


.clients__title {
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin: 2em auto 1.3em auto;
    width: 100%;
    color: #fff;
    text-align: center;
    /* font-size inherited from h2 in main.css */
}

.clients__title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(189 208 255);
    width: 100vw;
    height: 30px;
    opacity: 0.8;
    z-index: -1;
}


.clients__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 0;
    width: 100%;
}

.client__item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 15rem;
    padding: 1rem;
}

.client__logo {
    max-width: 15rem;
    max-height: 8rem;
    object-fit: contain;
    transition: all 0.3s ease;
    mix-blend-mode: multiply; /* Good for removing white backgrounds if placed on non-white, though here it's white anyway */
}



/* Fix visibility for pure white logos on a white background */
.client__logo[src*="British_Embassy"],
.client__logo[src*="HolyTrinity"], 
.client__logo[src*="St_Pauls"],
.client__logo[src*="Continental"],
.client__logo[src*="Norwegian_Church"] {
    filter: invert(1) opacity(1);
}


.clients__map {
    display: block;
    margin: 0 auto 3rem auto;
    width: 90%;
    max-width: 100rem;
    height: auto;
    object-fit: contain;
}





@media (max-width: 768px) {
    .clients__grid {
        gap: 2rem;
    }
    .client__item {
        min-width: 10rem;
        padding: 0.5rem;
    }
    .client__logo {
        max-width: 10rem;
        max-height: 5rem;
    }
}
