/* ==========================================================================
   Reviews Carousel – exact după stilul din imagine (top rounded + red dividers)
   ========================================================================== */

.reviews-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0 4rem;
}

.reviews-container {
    display: flex;
    gap: 20px; /* eliminăm gap-ul normal, separăm cu pseudo-elemente */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 90%;
    margin: 0 auto;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

/* Card de bază */
.review-card {
    position: relative;
    flex: 0 0 320px; /* lățime fixă pe desktop – ajustează după nevoie */
    background: #e8f5e9; /* verde-mentă deschis – foarte apropiat de imagine */
    border-radius: 20px; /* rotunjit doar sus */
    padding: 1.5rem 1.75rem;
    min-height: 140px; /* asigură înălțime minimă uniformă */
    box-sizing: border-box;
    height: 200px;
}

/* Linie roșie verticală de separare între carduri (folosim pseudo-element right) */
.review-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%; /* nu de la marginea de sus până jos */
    bottom: 10%;
    right: -1px; /* poziționat exact la marginea dreapta */
    width: 1px;
    z-index: 1;
}

/* Text în card */
.review-card strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #006644; /* verde închis pentru nume */
    margin-bottom: 0.75rem;
}

.review-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* arată maxim 3 linii – poți schimba la 4, 5 etc. */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .reviews-container {
        max-width: 100%;
    }

    .review-card {
        flex: 0 0 85vw; /* ocupă majoritatea ecranului pe telefon */
        max-width: 360px;
    }

    .review-card strong {
        font-size: 1.15rem;
    }

    .review-card p {
        font-size: 0.95rem;
    }
}

/* Butoane scroll (păstrează-le dacă le folosești) */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(1, 120, 75, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background: #01784b;
    transform: translateY(-50%) scale(1.08);
}

.left-btn {
    left: 12px;
}

.right-btn {
    right: 12px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none !important;
    }
}
