/* Testimonial Scroll Section */
.testimonial-scroll-section {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.testimonial-scroll-section h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.testimonial-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonials-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 80%;
    justify-content: center;
    padding: 0 50px; /* Ensures padding for scroll buttons */
}

.testimonial {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    padding: 20px;
    width: 300px;
    flex-shrink: 0;
    text-align: left;
    flex: 0 0 auto;
    position: relative;
}

.front-tile {
    width: 100%;
    height: 50px;
    background: linear-gradient(45deg, #b8b8b8, #e6e6e6);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.student-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    position: absolute;
    top: -25px;
}

.quote {
    font-size: 18px;
    margin-top: 30px; /* Adjust to account for the student image */
    margin-bottom: 10px;
}

.author {
    font-size: 16px;
    color: #666;
}

.scroll-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-button.left {
    left: 10px; /* Adjusted position */
}

.scroll-button.right {
    right: 10px; /* Adjusted position */
}
/* Faq section */

.faq {
    padding: 40px 20px;
    background-color: #fff;
}

.faq h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #ebe4e4;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 16px;
    color: #333;
}
