/* style/index-user-testimonials.css */
.page-index-user-testimonials {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-index-user-testimonials__hero {
    background: linear-gradient(135deg, #FFD700, #00BFFF);
    color: #0a0a0a; /* Dark text for contrast on gold/blue gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-user-testimonials__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #222;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-index-user-testimonials__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #333;
}

.page-index-user-testimonials__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0a0a0a; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-index-user-testimonials__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-index-user-testimonials__cta-button--secondary {
    background-color: #00BFFF; /* Blue button */
    color: #fff; /* White text for contrast */
    border-color: #00BFFF;
}

.page-index-user-testimonials__cta-button--secondary:hover {
    background-color: #00a0e0;
}

.page-index-user-testimonials__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 30px;
}

.page-index-user-testimonials__section {
    padding: 80px 0;
    text-align: center;
}

.page-index-user-testimonials__section:nth-of-type(even) {
    background-color: #eef4f8; /* Light blueish background */
}

.page-index-user-testimonials__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00BFFF; /* Blue title */
    font-weight: bold;
}

.page-index-user-testimonials__section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-user-testimonials__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-index-user-testimonials__content-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.page-index-user-testimonials__text-content {
    flex: 1;
}

.page-index-user-testimonials__text-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
}

.page-index-user-testimonials__image-wrapper {
    flex: 1;
    text-align: center;
}

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

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

.page-index-user-testimonials__testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-index-user-testimonials__card-title {
    font-size: 1.5em;
    color: #00BFFF;
    margin-bottom: 15px;
}

.page-index-user-testimonials__card-quote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-user-testimonials__card-author {
    font-weight: bold;
    color: #333;
    margin-top: auto; /* Push author to bottom */
}

.page-index-user-testimonials__card-image {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.page-index-user-testimonials__story-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 60px;
    text-align: left;
}

.page-index-user-testimonials__story-card--reverse {
    flex-direction: row-reverse;
}

.page-index-user-testimonials__story-image {
    flex: 1;
    max-width: 45%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.page-index-user-testimonials__story-content {
    flex: 1.5;
}

.page-index-user-testimonials__story-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
}

.page-index-user-testimonials__story-text {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

.page-index-user-testimonials__story-author {
    font-weight: bold;
    color: #333;
    font-size: 1.05em;
}

.page-index-user-testimonials__faq-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    text-align: left;
    border-left: 5px solid #00BFFF;
}

.page-index-user-testimonials__faq-question {
    font-size: 1.3em;
    color: #00BFFF;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index-user-testimonials__faq-question::after {
    content: '+';
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-index-user-testimonials__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-user-testimonials__faq-answer {
    font-size: 1.05em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    padding-top: 0;
}

.page-index-user-testimonials__faq-answer.open {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 20px;
}

/* Highlight keywords */
.page-index-user-testimonials .highlight {
    color: #00BFFF;
    font-weight: bold;
}

.page-index-user-testimonials .keyword {
    color: #FFD700;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-user-testimonials__hero-title {
        font-size: 2.5em;
    }

    .page-index-user-testimonials__section-title {
        font-size: 2em;
    }

    .page-index-user-testimonials__content-wrapper,
    .page-index-user-testimonials__story-card {
        flex-direction: column;
        text-align: center;
    }

    .page-index-user-testimonials__content-wrapper:nth-child(even) {
        flex-direction: column;
    }

    .page-index-user-testimonials__image-wrapper,
    .page-index-user-testimonials__story-image {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .page-index-user-testimonials__story-card--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-index-user-testimonials__hero {
        padding: 80px 0;
    }

    .page-index-user-testimonials__hero-title {
        font-size: 2em;
    }

    .page-index-user-testimonials__hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-user-testimonials__section {
        padding: 60px 0;
    }

    .page-index-user-testimonials__section-title {
        font-size: 1.8em;
    }

    .page-index-user-testimonials__testimonials-grid {
        grid-template-columns: 1fr;
    }

    .page-index-user-testimonials__story-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-index-user-testimonials__hero-title {
        font-size: 1.8em;
    }

    .page-index-user-testimonials__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-user-testimonials__section-title {
        font-size: 1.5em;
    }

    .page-index-user-testimonials__testimonial-card,
    .page-index-user-testimonials__story-card,
    .page-index-user-testimonials__faq-item {
        padding: 20px;
    }

    .page-index-user-testimonials__card-title {
        font-size: 1.3em;
    }

    .page-index-user-testimonials__story-title {
        font-size: 1.5em;
    }

    .page-index-user-testimonials__faq-question {
        font-size: 1.1em;
    }
}