.kb-slider-section {
    background-image: url('..images/homepage-1/bg/trans-pattern-1.png');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: white;
    text-align: center;
}
.kb-slider-title {
    color: red;
    font-size: 24px;
    margin: 0;
}
.kb-slider-subtitle {
    color: black;
    font-size: 36px;
    margin: 0;
    padding-bottom: 20px;
}
.kb-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.kb-client-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* Each logo should take up full width in the mobile view */
.kb-client-logo {
    box-sizing: border-box;
    padding: 30px;
    
    flex: 0 0 100%; /* Make each logo occupy the full width */
}
.kb-logo-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 100%;
    height: 250px;
    box-sizing: border-box;
}
.kb-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.kb-client-heading {
    font-size: 18px;
    margin-bottom: 10px;
    color: red;
}

.kb-arrow {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: rgb(129, 16, 16);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.1s ease; /* Faster transition */
}
.kb-arrow-left {
    left: 10px;
}
.kb-arrow-right {
    right: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .kb-client-logo {
        flex: 0 0 33.333%;
    }
}
@media (max-width: 768px) {
    .kb-client-logo {
        flex: 0 0 50%;
        align-items: center;
        
    }
}
