/* Carousel Wrapper */
.wct-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2em auto;
    padding: 0;
    box-sizing: border-box;
    background-color: #FFFFFF; /* White background for the whole component */
}

/* Section Title */
.wct-section-title {
    text-align: center;
    font-size: 1.25em;
    color: #333;
    margin: 0 0 25px 0;
    padding: 20px 20px 0;
}

.wct-carousel {
    overflow: hidden;
    position: relative;
    background-color: #FFFFFF; /* White background for carousel area */
    padding: 20px 0;
}

.wct-carousel-inner {
    display: flex;
}

/* Slide container for spacing and width control */
.wct-slide {
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
    width: 100%; /* Desktop default */
}

/* Testimonial Item as a Card with Inverted Colors */
.wct-testimonial-item {
    background-color: #E8E8E8; /* Gray card background */
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
    margin: 0 10px; /* Margin for card spacing */
}

.wct-testimonial-text {
    font-style: italic;
    color: #333; /* Darker text for contrast */
    margin: 0 0 25px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Meta layout */
.wct-testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.wct-testimonial-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.wct-customer-info { text-align: left; }
.wct-customer-name { font-weight: bold; color: #333; font-style: normal; margin-bottom: 5px; }
.wct-star-rating { display: flex; gap: 2px; }
.wct-star-rating .star { color: #bdbdbd; }
.wct-star-rating .star.filled { color: #ffc107; }
.wct-star-rating .star svg { display: block; }


/* Navigation Arrows */
.wct-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.wct-carousel-nav:hover { background-color: #f5f5f5; transform: translateY(-50%) scale(1.05); }
.wct-prev { left: 20px; }
.wct-next { right: 20px; }


/* Dots */
.wct-carousel-dots {
    text-align: center;
    position: relative;
    padding: 25px 0 10px;
}
.wct-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background-color 0.3s ease;
}
.wct-dot.active { background-color: #333; }

/* Desktop Columns */
@media (min-width: 768px) {
    .wct-slide { width: 50%; }
}
@media (min-width: 1024px) {
    .wct-slide { width: 33.333%; }
}

/* --- MOBILE OPTIMIZATIONS --- */
@media (max-width: 767px) {
    .wct-carousel {
        padding: 20px 0;
    }
    .wct-carousel-inner {
        padding-right: 15%; /* Peek effect */
    }
    .wct-slide {
        width: 85%; /* Main visible slide width */
    }
    .wct-testimonial-item {
        margin: 0 8px;
    }
    .wct-carousel-nav {
        display: none;
    }
}