/* Styling for the testimonials section */
.testimonials-section {
    background-color: #f8f9fa;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    /* font-family: Arial, sans-serif; */
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Container for the testimonial content */
.testimonial-container {
    position: relative;
    max-width: 1000px;  
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 600px;

    /* Flexbox to align items */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* This pushes the button to the bottom */
}

/* Content styling */
.testimonial-content {
    font-size: 1.05em;
    line-height: 1.4;
    margin-bottom: 30px;
    text-align: center;
}

/* Author styling */
.testimonial-author {
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
}



/* Button styling */
.next-button {
    align-self: center;
    padding: 10px 20px;
    font-size: 1.1em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.next-button:hover {
    background-color: #0056b3;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .testimonial-container {
        padding: 20px;
        min-height: 450px; /* Reduce the height for mobile devices */
    }

    .testimonial-content {
        font-size: 1.2em; /* Slightly smaller font on mobile */
        margin-bottom: 20px;
    }

    .testimonial-author {
        font-size: 1.1em; /* Adjust author font size */
        margin-bottom: 30px; /* Smaller gap on mobile */
    }

    .next-button {
        padding: 8px 16px; /* Slightly smaller button padding */
        font-size: 1em; /* Adjust button font size */
    }
}