.testimonials-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background for the section */
    text-align: center;
}

.testimonials-section .section-title {
    margin-bottom: 40px;
}

.testimonials-section .section-title h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.testimonials-section .section-title p {
    font-size: 1.1em;
    color: #777;
}

.testimonials-slider-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 2px solid #ffe066;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    background: #fffef6;
}

.testimonials-slider {
    display: flex; /* Arrange slides in a row */
    width: 100%;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

.testimonial-slide {
    flex-shrink: 0;
    width: 100%;
    min-width: 540px;
    display: flex;
    justify-content: center;
    gap: 0px;
    padding: 24px 0;
    box-sizing: border-box;
    align-items: center;
    height: auto;
}


.testimonial-card {
    background: #fffbe6; /* Amarelo claro de post-it */
    border-radius: 10px 30px 10px 10px;
    padding: 30px 25px 30px 30px;
    box-shadow: 0 8px 24px 0 rgba(0,0,0,0.18), 0 1.5px 0 #f7e07a inset;
    position: relative;
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 260px;
    height: 260px;
    min-width: 220px;
    min-height: 220px;
    max-width: 300px;
    max-height: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1.5px solid #f7e07a;
}

.testimonial-card:nth-child(odd) {
    transform: rotate(-2.5deg);
}
.testimonial-card:nth-child(even) {
    transform: rotate(2.5deg);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card .folded-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 48px 48px 0;
    border-color: #ffe066 transparent transparent #ffe066;
    box-shadow: -2px 2px 6px rgba(0,0,0,0.13);
    z-index: 2;
}

.testimonial-text {
    font-size: 1.1em;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.95em;
    color: #b59a00;
    font-weight: bold;
    text-align: right;
}

/* Slider Buttons for Testimonials */
.slider-button-testimonials {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-button-testimonials:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-button-testimonials.prev {
    left: 0;
}

.slider-button-testimonials.next {
    right: 0;
}

/* Dots for navigation */
.slider-dots-testimonials {
    margin-top: 30px;
    text-align: center;
}

.slider-dots-testimonials .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.slider-dots-testimonials .dot.active {
    background-color: #717171;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .testimonial-slide {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
        padding: 0 10px; /* Ajusta padding para telas menores */
    }
}