.carousel{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    padding: 30px 0 20px;
}

.slider-container {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.card {
    background: white;
    width: 280px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0.5,0.5,0.5,0.5);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
}

.logo {
    width: 100%;
    height: 50%;
}

.logo img{
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left;

}

.card-img-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
}

.quote {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.control-line {
    width: 30px;
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.control-line:hover {
    background-color: #999;
}

.control-line.active {
    background-color: #000;
}

.carousel-h3{
    font-size: 22px;
}

@media (max-width: 1024px){
    .carousel-h3{
        font-size: 18px;
        text-align: center;
    }

    .card{
        width: 160px;
    }

    .quote{
        font-size: 11px;
    }
}