.clients-partners-section {
    padding: 0 0 7.41vh;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.clients-container {
    max-width: 62.5vw;
    margin: 0 auto;
    padding: 0 1.25vw;
    position: relative;
    z-index: 2;
}

.clients-header {
    text-align: center;
    margin-bottom: 5.56vh;
}

.clients-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.04vw;
    margin-bottom: 2.78vh;
}

.badge-line {
    width: 3.13vw;
    height: 0.093vh;
    background: #000000;
}

.badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.04vh;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.093vh;
}

.clients-title {
    font-size: 3.8vh;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin: 0;
}

.clients-title .title-highlight {
    color: #b3ce3a;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.04vw;
    max-width: 46.88vw;
    margin: 0 auto;
}

.client-card {
    background: #ffffff;
    border-radius: 1.11vh;
    padding: 1.85vh 1.39vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.185vh 1.11vh rgba(0, 0, 0, 0.04);
    border: 0.093vh solid rgba(226, 232, 240, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.65, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 7.41vh;
}

.client-logo {
    max-width: 100%;
    max-height: 5.56vh;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-card:nth-child(2) .client-logo,
.client-card:nth-child(4) .client-logo {
    max-height: 7.87vh;
}

.client-card:nth-child(5) .client-logo {
    max-height: 9vh;
    transform: scale(1.2);
}

@media (max-width: 480px) {
    .clients-partners-section {
        padding: 6vh 0 !important;
    }

    .clients-container {
        max-width: 100% !important;
        padding: 0 4vw !important;
    }

    .clients-header {
        margin-bottom: 3vh !important;
    }

    .clients-badge {
        gap: 1.5vw !important;
        margin-bottom: 2vh !important;
    }

    .badge-line {
        width: 2vw !important;
        height: 0.1vh !important;
    }

    .badge-text {
        font-size: 1.1vh !important;
    }

    .clients-title {
        font-size: 2.5vh !important;
        line-height: 1.3 !important;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 2vh 1.5vw !important;
        max-width: 100% !important;
        display: grid !important;
    }

    .client-card {
        padding: 1.5vh 2vw !important;
        min-height: 7vh !important;
    }

    .client-logo {
        max-height: 3.5vh !important;
    }

    .client-card:nth-child(2) .client-logo,
    .client-card:nth-child(4) .client-logo {
        max-height: 4.2vh !important;
    }

    .client-card:nth-child(5) .client-logo {
        max-height: 5vh !important;
        transform: scale(1.2) !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .clients-partners-section {
        padding: 6vh 0 !important;
    }

    .clients-container {
        max-width: 90vw !important;
        padding: 0 3vw !important;
    }

    .clients-header {
        margin-bottom: 4vh !important;
    }

    .clients-badge {
        gap: 2vw !important;
        margin-bottom: 2.5vh !important;
    }

    .badge-line {
        width: 2.5vw !important;
    }

    .badge-text {
        font-size: 1.1vh !important;
    }

    .clients-title {
        font-size: 3.2vh !important;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5vw !important;
        max-width: 70vw !important;
    }

    .client-card {
        padding: 2.2vh 2.5vw !important;
        min-height: 7.5vh !important;
    }

    .client-logo {
        max-height: 5.5vh !important;
    }

    .client-card:nth-child(2) .client-logo,
    .client-card:nth-child(4) .client-logo {
        max-height: 7vh !important;
    }

    .client-card:nth-child(5) .client-logo {
        max-height: 8.5vh !important;
        transform: scale(1.2) !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .clients-partners-section {
        padding: 6vh 0 !important;
    }

    .clients-container {
        max-width: 80vw !important;
        padding: 0 2vw !important;
    }

    .clients-header {
        margin-bottom: 4.5vh !important;
    }

    .clients-badge {
        gap: 2.5vw !important;
        margin-bottom: 3vh !important;
    }

    .badge-line {
        width: 2.8vw !important;
    }

    .badge-text {
        font-size: 1.2vh !important;
    }

    .clients-title {
        font-size: 3.5vh !important;
    }

    .clients-grid {
        gap: 1.2vw !important;
        max-width: 60vw !important;
    }

    .client-card {
        padding: 1.8vh 2vw !important;
        min-height: 7.2vh !important;
    }

    .client-logo {
        max-height: 5.2vh !important;
    }

    .client-card:nth-child(2) .client-logo,
    .client-card:nth-child(4) .client-logo {
        max-height: 7.5vh !important;
    }

    .client-card:nth-child(5) .client-logo {
        max-height: 9vh !important;
        transform: scale(1.2) !important;
    }
}

@media (min-width: 1025px) {
    .clients-partners-section {
        padding: 0 0 7.41vh !important;
    }

    .clients-container {
        max-width: 62.5vw !important;
        padding: 0 1.25vw !important;
    }

    .clients-header {
        margin-bottom: 5.56vh !important;
    }

    .clients-badge {
        gap: 1.04vw !important;
        margin-bottom: 2.78vh !important;
    }

    .badge-line {
        width: 3.13vw !important;
        height: 0.093vh !important;
    }

    .badge-text {
        font-size: 1.04vh !important;
    }

    .clients-title {
        font-size: 3.8vh !important;
        line-height: 1.2 !important;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.04vw !important;
        max-width: 46.88vw !important;
    }

    .client-card {
        padding: 1.85vh 1.39vh !important;
        min-height: 7.41vh !important;
    }

    .client-logo {
        max-height: 5.56vh !important;
    }

    .client-card:nth-child(2) .client-logo,
    .client-card:nth-child(4) .client-logo {
        max-height: 7.87vh !important;
    }

    .client-card:nth-child(5) .client-logo {
        max-height: 9vh !important;
        transform: scale(1.2) !important;
    }
}
