/* ✅ Testimonial Section Container */
#testimonial-section {
    max-width: 100%;
    padding: 20px 10px;
    text-align: center;
    margin: 40px auto;
    background: linear-gradient(45deg, #00235b, #005792, #085f63);
}

#testimonial-section > h1 {
    font-size: 2.5rem;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin: 10px 0;
}

/* ✅ Outer Container */
.feedback-main-container {
    max-width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    margin: 16px auto 8px;
    padding: 8px;
}

/* ✅ Scrollable Row */
.feedback-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* smooth snap scroll */
    gap: 12px;
    padding: 8px;
}

.feedback-container::-webkit-scrollbar {
    display: none; /* hide scrollbar */
}

/* ✅ Each Card */
.feedback-sub-container {
    flex: 0 0 300px; /* fixed card width */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: #2c4e80;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 16px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.feedback-sub-container:hover {
    transform: translateY(-6px); /* hover lift effect */
}

/* ✅ Profile section */
.feedback-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.feedback-profile-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* ✅ Name */
.feedback-intro-content > h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #cdfad5;
    margin-top: 10px;
}

/* ✅ Stars */
.feedback-star-icon {
    width: 14px;
    height: 14px;
    margin: 2px;
}

/* ✅ Testimonial Text */
.feedback-sub-container > div > p {
    color: #fdffc2;
    text-align: center;
    line-height: 1.5;
    margin-top: 8px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    #testimonial-section > h1 {
        font-size: 2rem;
    }
    .feedback-sub-container {
        flex: 0 0 250px;
    }
}

@media (max-width: 425px) {
    #testimonial-section > h1 {
        font-size: 1.5rem;
    }
    .feedback-container {
        justify-content: flex-start;
    }
    .feedback-sub-container {
        flex: 0 0 220px;
        padding: 12px;
    }
}
