﻿/* Partners section styles */
.partners-section {
    position: relative;
    width: 100%;
    height: auto;
    background: linear-gradient(90deg, #D41A5D 0%, #FFA332 100%);
    overflow: hidden;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 64px;
}

.partners-background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

    .partners-background::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -40%;
        bottom: 0;
        background: #0038A8;
        filter: blur(160px);
        transform: rotate(54.56deg);
    }

    .partners-background::after {
        content: '';
        position: absolute;
        left: 17%;
        right: 6%;
        top: 20%;
        bottom: 52%;
        background: linear-gradient(90deg, #D41A5D 0%, #FFA332 100%);
        filter: blur(200px);
        transform: rotate(54.56deg);
    }

.partners-gradient-1 {
    position: absolute;
    left: 9%;
    right: 43%;
    top: 48%;
    bottom: 33%;
    background: linear-gradient(90deg, #3627CB 0%, #D90958 100%);
    filter: blur(160px);
    transform: rotate(54.56deg);
}

.partners-gradient-2 {
    position: absolute;
    left: 27%;
    right: -33%;
    top: -7%;
    bottom: 75%;
    background: #0038A8;
    filter: blur(240px);
    transform: rotate(54.56deg);
}

.partners-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    z-index: 1;
    max-width: 1312px;
}

.partners-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 48px;
    gap: 48px;
    width: 100%;
    background: #FFFFFF;
    mix-blend-mode: normal;
    box-shadow: 0px 4px 6px rgba(60, 60, 60, 0.2);
    border-radius: 16px;
    flex-wrap: wrap;
}

.partners-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 354px;
    height: auto;
    min-width: 256px;
}

.partners-title {
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.21;
    color: #2B2B2B;
    text-shadow: 0px 4px 12px rgba(30, 215, 96, 0.1);
    margin: 0;
}

.partners-description {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.17;
    color: #2B2B2B;
    margin: 0;
}

.partners-logos {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    width: 100%;
    height: auto;
    min-width: 813px;
    flex: 1 1 0;
}

.partners-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 24px;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
}

.partner-box {
    width: 255px;
    height: 255px;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
}

.partner-background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(248, 166, 168, 0.3);
    border-radius: 16px;
}

.partner-logo {
    position: absolute;
    max-width: 80%;
    aspect-ratio: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive adjustments */
@media (max-width: 1400px) {

}

@media (max-width: 1024px) {
}

@media (max-width: 992px) {
    .partners-section {
        height: auto;
        padding: 32px 16px; 
    }

    .partners-content {
        flex-direction: column;
        padding: 32px;
        gap: 32px;
    }

    .partners-copy {
        width: 100%;
    }

    .partners-logos {
        width: 100%;
        min-width: 100%;
    }

    .partners-row {
        gap: 8px;
    }

    .partner-box {
        height: 159px;
        width: 159px;
    }

    .partners-title {
        font-size: var(--font-size-head-05);
    }
}

@media (max-width: 768px) {
    .partners-row {
        flex-wrap: wrap;
        height: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .partners-content {
        padding: 32px 16px;
    }

    .partners-description {
        font-size: 1rem;
        line-height: 1.19;
    }

    .partner-box {
        height: auto;
        width: calc(50% - 4px);
        aspect-ratio: 1 / 1;
    }

    .partners-row {
        justify-content: flex-start;
    }
}
