/* Carousel container */
.itpulp-testimonials-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Testimonial item */
.testimonial-item {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: justify;
    height: var(--card-height, 350px);  /* Default height */
}

/* Hover effect */
.testimonial-item:hover {
    transform: translateY(-5px);
}

/* Content area (testimonial paragraph) */
.testimonial-content p {
    font-size: 16px;
    margin-bottom: 15px;
    font-style: italic;
    height: 100%;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

/* Author section (name, designation) */
.testimonial-author {
    margin-top: 20px;
}

.testimonial-author .name {
    font-weight: bold;
    font-size: 18px;
	margin-bottom:0px;
}

.testimonial-author .designation {
    font-size: 14px;
    color: #777;
	margin-top:0px;
}

/* Slick dots (carousel navigation) */
.slick-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.slick-dots li button {
    background-color: #ccc;
}

.slick-dots li.slick-active button {
    background-color: #0073e6;
}

/* Navigation arrows (Next/Previous) */
.slick-prev, .slick-next {
    font-size: 30px;
    color: #0073e6;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 10px;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

/* Hide navigation arrows if the setting is off */
.itpulp-testimonials-carousel[data-show-navigation="0"] .slick-prev,
.itpulp-testimonials-carousel[data-show-navigation="0"] .slick-next {
    display: none;
}

/* Hide dots if the setting is off */
.itpulp-testimonials-carousel[data-show-dots="0"] .slick-dots {
    display: none;
}
