.clients-hero {
    background: linear-gradient(120deg, #23286b 0%, #3487c2 100%);
    color: #fff;
    padding: 20px 0 40px 0;
    margin-top: 120px;
    position: relative;
    text-align: center;
}

/* Override navbar brand color for clients page */
#mainNav .navbar-brand {
    color: #212529 !important;
}

#mainNav .navbar-brand:hover {
    color: #f4623a !important;
}
.nav-link {
    color: #130ecc !important;
}
.clients-hero h1 {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 2.6rem;
}
.clients-hero p {
    opacity: 0.95;
    font-size: 1.18rem;
    max-width: 600px;
    margin: 18px auto 0 auto;
}
.client-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 17px rgba(32,48,96,0.05), 0 1.5px 0 rgba(52,135,194,0.03);
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border: none;
    transition: transform 0.18s cubic-bezier(.4,0,.2,1);
}
.client-card:hover {
    transform: translateY(-7px) scale(1.025);
    box-shadow: 0 5px 20px rgba(52,135,194,0.07);
}
.client-logo-placeholder {
    width: 86px;
    height: 86px;
    background: #f4f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    margin: 0 auto 1.1rem auto;
    font-size: 2.3rem;
    color: #4588D6;
    border: 1.5px solid #eaf1fb;
}
.client-title {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 1.17rem;
    color: #23286b;
    margin-bottom: 0.45rem;
}
.client-desc {
    font-size: 1.05rem;
    color: #45506e;
    margin-bottom: 0.5rem;
    min-height: 62px;
}
@media (max-width: 600px) {
    .clients-hero {
        padding: 46px 0 24px 0;
    }
    .clients-hero h1 {
        font-size: 1.75rem;
    }
}
.carousel-logo {
    cursor: pointer;
    transition: filter 0.2s, opacity 0.2s, box-shadow 0.2s, transform 0.15s;
}
.carousel-logo:hover, 
.carousel-logo:focus, 
.carousel-logo:active {
    filter: none;
    opacity: 1;
    cursor: pointer !important;
    cursor: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/icons/hand-index-fill.svg'), pointer;
    box-shadow: 0 4px 20px 0 rgba(44,123,255,0.15);

    outline-offset: 2px;
    transform: translateY(-2px) scale(1.045);
}
.carousel-track a:hover,
.carousel-track a:focus,
.carousel-track a:active {
    cursor: pointer !important;
    text-decoration: underline;
}
.client-logo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.client-logo-carousel {
    width: 100%;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    animation: scrollLogos 30s linear infinite;
    align-items: center;
}
.carousel-logo {
    height: 60px;
    margin: 0 32px;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: filter 0.2s, opacity 0.2s;
}
.carousel-logo:hover {
    filter: none;
    opacity: 1;
}
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}