.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.carousel-window {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: white;
    min-width: 300px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
    position: relative;
}

.client-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 0;
}

.stars {
    position: absolute;
    top: 280px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 5px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

    color: black;
    font-size: 20px;
    letter-spacing: 2px;
    white-space: nowrap;
    z-index: 2;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-top: 35px;
    margin-bottom: 10px;
}

.verified-icon {
    width: 16px;
    height: 16px;
}

.review-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    padding: 0 20px;
    margin: 0;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
}

.nav-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

.nav-icon {
    width: 20px;
    height: 20px;
    fill: #333;
}

.clients{
    font-size: 42px;
    font-weight: bold;
}

@media (max-width: 1024px){
    .carousel-window {
        padding: 0;
    }

    .review-card {
        padding-bottom: 0;
    }

    .clients{
        font-size: 22px;
        text-align: center;
        font-weight: bold;
    }
}