.testimonials-section {
    background-color: #FFF;
    overflow: hidden;
}

.testimonials-section h1 {
    font-size: 2.5rem;
    margin-left: 2rem;
    margin-top: 1rem;
    font-weight: bold;
    display: inline-block;
    position: relative;
}

.testimonials-section h1::before {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: #4EBDFF;
    position: absolute;
    bottom: -6px;
    left: 0.5rem;
}

.testimonials-section h1::after {
    content: '';
    display: block;
    width: 4rem;
    height: 3rem;
    border-bottom: 3px dotted #4EBDFF;
    position: absolute;
    bottom: -6px;
    left: 80px;
    margin-left: 50px;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    background-size: contain;
}

.prev-btn {
    left: 0.5rem;
}

.next-btn {
    right: 0.5rem;
}

.testimonials-container {
    position: relative;
    width: 90%;
    margin: 3rem auto;
    overflow: hidden;
}

.testimonials-content {
    display: none;
    padding: 1.2rem;
    text-align: center;
    background-color: #EBF7FF;
    border-radius: 0.6rem;
    cursor: pointer;
}

.testimonials-content.active {
    display: block;
}

.testimonials-content img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: #000;
}

.testimonials-content p {
    font-size: 1rem;
    color: gray;
    margin: 0rem 10rem;
    font-weight: 500;
}

.testimonials-slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.slider-btn {
    width: 10px;
    height: 10px;
    background-color: gray;
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.slider-btn.active {
    background-color: #4EBDFF;
    opacity: 1;
}

@media (max-width: 767px) {
    .testimonials-content p {
        margin: 0rem 6rem;
    }
}

@media (max-width: 479px) {
    .testimonials-content p {
        margin: 0rem 2rem;
    }
}
