.testimonials-container {
    width: 80%; /* Adjust the width as needed */
    max-width: 1000px; /* Limit the maximum width */
    text-align: center;
    background-color: rgba(235, 178, 223, 0.8);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* This centers it horizontally and adds space at the top and bottom */
    border: 2px solid #f0f0f0;
    position: relative;
}

/* The rest of your styles remain unchanged */
h2 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.testimonials-wrapper {
    overflow: hidden;
    width: 100%;
}

.testimonials {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    transition: transform 0.5s ease;
    cursor: grab;
}

.testimonial {
    background: rgba(1, 236, 150, 0.4);
    width: 280px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.testimonial img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #ddd;
}

.stars {
    color: #e0fb67;
    font-size: 18px;
    margin-bottom: 10px;
}

.feedback {
    font-style: italic;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Arrow navigation styles */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 30px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
