.custom-slider {
    width: 100%;
    height: 36vh;
    overflow: hidden;
    position: relative;
    background: transparent;
    border-radius: 12px;
}

@media (max-width: 760px) {
    .custom-slider {
        height: 50vh;
    }
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
    cursor: grab;
}

.slider-container.vertical {
    flex-direction: column;
    width: 100%;
}

.slider-container.horizontal {
    flex-direction: row;
    height: 100%;
}

.slider-container:active {
    cursor: grabbing;
}

.slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slide.horizontal {
    width: calc(100% / 3);
    height: 100%;
}

.slide.vertical {
    width: 100%;
    height: calc(100% / 3);
}

.custom-slider.dragging .slider-container {
    transition: none;
}

@media (max-width: 760px) {
    .slide.vertical {
        width: 100%;
        height: 100%;
    }
}

/* Testimonial Card Styles */
.testimonial-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: calc(80% - 10px);
    width: calc(100% - 10px);
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.stars {
    font-size: 20px !important;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #6b7280;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 0.85rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 2rem;
    height: 2rem;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 0.9rem;
    color: #6b7280;
}

.author-info h4 {
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
}

.author-info p {
    color: #6b7280;
    font-size: 0.75rem;
}

@media (max-width: 760px) {
    .testimonial-card {
        padding: 1.5rem;
        height: calc(100% - 40px);
        margin: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        -webkit-line-clamp: 6;
    }

    .stars {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}
