/* Our Clients page — premium card UI (scoped to .page-clients only) */


.page-clients .client_slider {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 220px;
    padding: 15px 15px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 16px rgba(15, 23, 42, 0.06);
    transition:
        transform 150ms ease-in-out,
        box-shadow 150ms ease-in-out,
        border-color 150ms ease-in-out;
    overflow: hidden;
    cursor: default;
}

.page-clients .client_slider::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, #1c497c, #4a90c9, #1c497c);
    background-size: 200% 200%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
    pointer-events: none;
}

.page-clients .client_slider:hover {
    transform: translateY(-7px);
    border-color: #1c497c;
    box-shadow:
        0 8px 20px rgba(28, 73, 124, 0.1),
        0 16px 40px rgba(28, 73, 124, 0.12),
        0 0 0 1px rgba(28, 73, 124, 0.08),
        0 0 28px rgba(28, 73, 124, 0.14);
}

.page-clients .client_slider:hover::before {
    opacity: 1;
    animation: clients-card-gradient 3s ease-in-out infinite;
}

@keyframes clients-card-gradient {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.page-clients .client_slider img {
    width: auto;
    max-width: calc(100% - 16px);
    max-height: 170px;
    height: auto;
    margin: 0 auto 10px;
    padding: 0;
    object-fit: contain;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    flex-shrink: 0;
    transition: transform 150ms ease-in-out;
}

.page-clients .client_slider:hover img {
    transform: scale(1.05);
}

.page-clients .client_slider h6 {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1.5;
    color: #374151;
    text-align: center;
}

.page-clients .client_slider h6 a {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    transition: color 150ms ease-in-out;
}

.page-clients .client_slider:hover h6 {
    color: #1c497c;
}

@media (max-width: 991px) {
    .clients-grid-section {
        padding-bottom: 50px;   
    }
}

@media (max-width: 767px) {
    .page-clients .client_slider {
        min-height: 200px;
        padding: 28px 22px 24px;
        border-radius: 16px;
    }

    .page-clients .client_slider::before {
        border-radius: 16px;
    }

    .page-clients .client_slider img {
        max-height: 170px;
        margin-bottom: 0px;
    }

    .page-clients .client_slider h6 {
        font-size: 18px
    }
}
