/* ===================================
   TESTIMONIALS CAROUSEL STYLES
   =================================== */

.testimonials {
    padding: var(--space-6) 0 var(--space-10);
    background-color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.testimonials .section__title {
    margin-bottom: var(--space-6);
    font-size: 2.5rem;
    font-weight: 700;
}

.testimonials__carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    /* Full width */
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 0 20px;
}

.testimonials__carousel {
    flex: 1;
    overflow: hidden;
    padding: 15px 0 35px;
}

.testimonials__track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 250px;
    /* Drastically reduced width */
    flex-shrink: 0;
}

.testimonial-card__inner {
    background-color: #1ba89c;
    border-radius: 40px;
    padding: 15px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    /* Switching to vertical to fit better in small width */
    align-items: center;
    gap: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1.5px dashed rgba(255, 255, 255, 0.4);
    position: relative;
    height: auto;
    min-height: 220px;
}

.testimonial-card__avatar-box {
    flex-shrink: 0;
}

.testimonial-card__avatar {
    width: 60px;
    /* Smaller avatar */
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #a5d8ff;
    /* Light blue background for avatar as in photo */
}

.testimonial-card__content {
    flex: 1;
}

.testimonial-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.testimonial-card__text {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 8px;
    opacity: 0.9;
    max-width: 100%;
}

.testimonial-card__rating {
    color: #f37021;
    font-size: 0.9rem;
}

/* Carousel Buttons */
.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: white;
    color: #1ba89c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #1ba89c;
    color: white;
    transform: scale(1.1);
}

/* Dots Navigation */
.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 25px;
    height: 12px;
    background-color: #d1fae5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #f37021;
    /* Active dot is orange */
    width: 35px;
}

/* Responsive */
@media (max-width: 1100px) {
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testimonials .section__title {
        font-size: 2rem;
    }

    .testimonial-card {
        min-width: calc(100vw - 40px);
    }

    .testimonial-card__inner {
        padding: 20px;
        gap: 15px;
        height: auto;
        min-height: 150px;
        border-radius: 30px;
    }

    .testimonial-card__avatar {
        width: 60px;
        height: 60px;
    }

    .testimonials__carousel-container {
        padding: 0 10px;
    }

    .carousel-btn {
        display: none;
    }
}