/* style/index-user-testimonials.css */

:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
}

.page-index-user-testimonials {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
}

.page-index-user-testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-user-testimonials__hero {
    background: linear-gradient(135deg, var(--primary-color), #004d99);
    padding: 100px 0;
    text-align: center;
    color: var(--text-color-light);
}

.page-index-user-testimonials__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-user-testimonials__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-index-user-testimonials__btn--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-user-testimonials__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-index-user-testimonials__btn--secondary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

.page-index-user-testimonials__btn--secondary:hover {
    background-color: #004d99;
    transform: translateY(-3px);
}

.page-index-user-testimonials__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-index-user-testimonials__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-index-user-testimonials__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-index-user-testimonials__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-index-user-testimonials__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-index-user-testimonials__img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 80px 0;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.page-index-user-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-user-testimonials__review-card {
    background-color: var(--text-color-light);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-user-testimonials__review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-index-user-testimonials__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-user-testimonials__card-img {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-user-testimonials__card-text {
    font-size: 1em;
    color: var(--text-color-dark);
    text-align: left;
    flex-grow: 1;
}

.page-index-user-testimonials__story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-user-testimonials__story-card {
    background-color: var(--text-color-light);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index-user-testimonials__story-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-user-testimonials__story-img {
    max-width: 100%;
    height: 220px; /* Fixed height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-user-testimonials__story-text {
    font-size: 1.05em;
    color: var(--text-color-dark);
    text-align: left;
}

.page-index-user-testimonials__cta-group {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-user-testimonials__hero-title {
        font-size: 2.8em;
    }
    .page-index-user-testimonials__hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 2em;
    }
    .page-index-user-testimonials__grid,
    .page-index-user-testimonials__story-grid {
        grid-template-columns: 1fr;
    }
    .page-index-user-testimonials__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-index-user-testimonials__hero {
        padding: 80px 0;
    }
    .page-index-user-testimonials__hero-title {
        font-size: 2.2em;
    }
    .page-index-user-testimonials__hero-subtitle {
        font-size: 1em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.8em;
    }
    .page-index-user-testimonials__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-user-testimonials__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-index-user-testimonials__review-card,
    .page-index-user-testimonials__story-card {
        padding: 20px;
    }
    .page-index-user-testimonials__card-title {
        font-size: 1.5em;
    }
    .page-index-user-testimonials__story-title {
        font-size: 1.6em;
    }
    .page-index-user-testimonials__card-img,
    .page-index-user-testimonials__story-img {
        height: 180px;
    }
    .page-index-user-testimonials__cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-index-user-testimonials__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-user-testimonials__hero {
        padding: 60px 0;
    }
    .page-index-user-testimonials__hero-title {
        font-size: 1.8em;
    }
    .page-index-user-testimonials__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.5em;
    }
    .page-index-user-testimonials__btn {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 10px;
    }
    .page-index-user-testimonials__cta-group a {
        margin: 10px 0 !important;
    }
    .page-index-user-testimonials__card-img,
    .page-index-user-testimonials__story-img {
        height: 150px;
    }
}