.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 15px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.client-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--portal-light-color);
}

.client-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--portal-light-color);
    padding: 10px;
    flex-shrink: 0;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-details h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--portal-dark-color);
    margin-bottom: 5px;
}

.client-details p {
    font-size: 0.85rem;
    color: var(--portal-primary-color);
    margin: 0;
    font-weight: 500;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(223deg) brightness(94%) contrast(87%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, var(--portal-primary-color), var(--portal-secondary-color));
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

.carousel-indicators {
    margin-bottom: -40px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--portal-primary-color);
    opacity: 0.3;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
    background: linear-gradient(135deg, var(--portal-primary-color), var(--portal-secondary-color));
}

@media (max-width: 768px) {
    .client-card {
        margin: 10px;
        height: auto;
        min-height: 320px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Hide extra cards on mobile - show only one */
    .carousel-item .col-lg-4:not(:first-child) {
        display: none;
    }
}