/* Testimonial Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1000px; /* Adjust as needed */
    margin: 2em auto;
    overflow: hidden; /* Hide cards outside view */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background-color: #ffffff;
}

.testimonial-carousel {
    display: flex; /* Arrange cards in a row */
    transition: transform 0.5s ease-in-out; /* Smooth slide effect */
}

.testimonial-card {
    min-width: 100%; /* Each card takes full width of container */
    box-sizing: border-box; /* Include padding/border in width */
    background-color: #f0fdf4; /* A very light green/cream background */
    border-radius: 12px;
    padding: 2em; /* Increased padding for better look */
    text-align: center;
    font-style: italic;
    position: relative;
    /*flex-shrink: 0; /* Prevent cards from shrinking */
    border: 1px solid #d1fae5; /* Subtle border */
}

.testimonial-card::before {
    content: '❝'; /* Opening quote */
    font-size: 3em;
    color: rgba(60, 110, 71, 0.2); /* Faded green */
    position: absolute;
    top: 0.2em;
    left: 0.2em;
    line-height: 1;
    z-index: 0;
}

.testimonial-card p {
    position: relative; /* Ensure text is above pseudo-element */
    z-index: 1;
    font-size: 1.05em;
    margin-bottom: 1em;
    text-align: center;
    white-space: normal; /* Ensure text wraps normally */
    word-wrap: break-word; /* Break long words if necessary */
    overflow-wrap: break-word; /* Modern equivalent for word-wrap */
    max-width: 90%; /* Force text to wrap within 90% of card width */
    margin-left: auto; /* Center the paragraph within the card */
    margin-right: auto; /* Center the paragraph within the card */
}

.testimonial-author {
    font-weight: bold;
    color: #3c6e47;
    font-style: normal;
    margin-top: 1em;
    font-size: 0.95em;
}
/*
.carousel-nav {
    position: absolute;
    top: 80%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1em;
    box-sizing: border-box;
}*/
.carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    padding-bottom: 1em; /* Space below dots */
}
.carousel-dots {
    text-align: center;
    margin: 0 1em;
}



.nav-button {
    background-color: rgba(60, 110, 71, 0.8); /* Semi-transparent green */
    color: white;
    border: none;
    padding: 0.8em 1.2em;
    border-radius: 50%; /* Round buttons */
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
    transition: background-color 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10; /* Ensure buttons are clickable */
}

.nav-button:hover {
    background-color: #2e5437; /* Darker green on hover */
}

.nav-button:disabled {
    background-color: rgba(60, 110, 71, 0.4);
    cursor: not-allowed;
}
/*
.carousel-dots {
    text-align: center;
    margin-top: 1em;
    padding-bottom: 1em; 
}*/

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

.dot.active {
    background-color: #3c6e47;
}