.testimonials-slider {
width: 1200px;
margin: 0 auto;
position: relative;
display: flex;
padding: 20px 0; }
.testimonial-slide {
width: 350px;
height: 250px;
background: #fff;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
text-align: left;
margin: 0 10px;
opacity: 0.9;
flex: 0 0 auto;
position: relative;
z-index: 1;
}
.testimonial-slide:nth-child(n+4) {
display: none;
}
.testimonial-slide.active {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
opacity: 1;
}
.testimonial-slide.slide-center {
opacity: 1;
transform: scale(1);
}
.testimonial-slide:hover {
transform: translateY(-5px) scale(1);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
opacity: 1;
}
.testimonial-content {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.testimonial-meta {
display: flex;
align-items: flex-start;
gap: 5px;
margin-bottom: 5px;
}
.testimonial-author {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.testimonial-text {
flex: 1;
overflow-y: auto;
padding-right: 5px;
} .slide-prev, .slide-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background: #fff;
border: 2px solid #e9ecef;
border-radius: 50%;
cursor: pointer;
z-index: 10;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.slide-prev:hover, .slide-next:hover {
background: #f8f9fa;
border-color: #343a40;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
transform: translateY(-50%) scale(1.1);
}
.slide-prev {
left: 0px;
}
.slide-next {
right: 0px;
}
.slide-prev::before, .slide-next::before {
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 16px;
color: #ffffff;
}
.slide-prev::before {
content: '\f104'; }
.slide-next::before {
content: '\f105'; } .slide-dots {
position: absolute;
bottom: -40px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
padding: 10px 0;
background: rgba(255,255,255,0.95);
border-radius: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.slide-dots li {
list-style: none;
}
.slide-dots li button {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ddd;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.slide-dots li.slide-active button {
background: #343a40;
width: 16px;
height: 16px;
} .slide-prev, .slide-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background: #fff;
border: 2px solid #e9ecef;
border-radius: 50%;
cursor: pointer;
z-index: 10;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.slide-prev:hover, .slide-next:hover {
background: #f8f9fa;
border-color: #343a40;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
transform: translateY(-50%) scale(1.1);
}
.slide-prev::before {
content: '\f104'; }
.slide-next::before {
content: '\f105'; }
.testimonial-slide:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.testimonial-content {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.testimonial-text {
font-size: 12px;
line-height: 1.6;
color: #555;
margin-bottom: 20px;
flex: 1;
overflow-y: auto;
padding-right: 10px;
}
.testimonial-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
margin-right: 10px;
}
.testimonial-author {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.rating {
color: #ffd700;
}
.star {
font-size: 1.2em;
}
.star.filled {
color: #ffd700;
} .slide-prev, .slide-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background: #fff;
border: 2px solid #e9ecef;
border-radius: 50%;
cursor: pointer;
z-index: 10;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.slide-prev {
left: 0;
}
.slide-next {
right: 0;
}
.slide-prev::before {
content: '\f104'; }
.slide-next::before {
content: '\f105'; }
.slide-dots-container {
position: absolute;
bottom: -40px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
padding: 10px 0;
background: rgba(255,255,255,0.95);
border-radius: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.slide-dots {
display: flex;
gap: 8px;
padding: 0;
margin: 0;
}
.slide-dots li {
list-style: none;
}
.slide-dots li button {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ddd;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.slide-dots li.slide-active button {
background: #333;
width: 16px;
height: 16px;
}
.testimonial-slide:hover {
transform: translateY(-10px);
box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.testimonial-content {
max-width: 800px;
margin: 0 auto;
}
.author-name {
font-size: 14px;
font-weight: bold;
color: #333;
}
.star {
font-size: 1.5em;
}
.star.filled {
color: #ffd700;
}
.testimonial-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.testimonial-content {
position: relative;
}
.star {
font-size: 0.9em;
}
.star.filled {
color: #ffd700;
}
.review-date {
font-size:12px;
color: #999;
}
.review-author {
font-weight: bold;
margin-bottom: 12px;
color: #333;
font-size: 1.1em;
}
.review-rating {
margin-bottom: 15px;
color: #ffd700;
font-size: 1.2em;
}
.review-rating .star {
color: #ffd700;
}
.review-rating .star.filled {
color: #ffd700;
}
.review-text {
margin-bottom: 15px;
line-height: 1.6;
color: #666;
font-size: 1em;
} .slide-prev, .slide-next {
z-index: 10;
font-size: 24px;
color: #ffffff;
width: 30px;
height: 30px;
background: rgba(255,255,255,0.9);
border-radius: 50%;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.slide-prev {
left: -40px;
}
.slide-next {
right: -40px;
}
.slide-dots {
position: absolute;
bottom: -30px;
left: 50%;
transform: translateX(-50%);
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
gap: 8px;
}
.slide-dots li button {
font-size: 0;
width: 10px;
height: 10px;
border-radius: 50%;
background: #ddd;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.slide-dots li.slide-active button {
background: #333;
width: 12px;
height: 12px;
} */