/* style/index-user-testimonials.css */
.page-index-user-testimonials {
    font-family: 'Arial', sans-serif;
    color: #333;
    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, #007bff 0%, #28a745 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-user-testimonials__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
    opacity: 0.2;
    z-index: 0;
}

.page-index-user-testimonials__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.page-index-user-testimonials__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-index-user-testimonials__cta-button {
    display: inline-block;
    background-color: #ff8400; /* Complementary color for emphasis */
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

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

.page-index-user-testimonials__testimonials-grid,
.page-index-user-testimonials__why-90ok,
.page-index-user-testimonials__faq,
.page-index-user-testimonials__join-us {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-index-user-testimonials__testimonials-grid:nth-child(odd),
.page-index-user-testimonials__faq:nth-child(odd) {
    background-color: #fff;
}

.page-index-user-testimonials__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-index-user-testimonials__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #28a745;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.page-index-user-testimonials__section-subtitle {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-user-testimonials__testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.page-index-user-testimonials__testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-user-testimonials__user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
}

.page-index-user-testimonials__user-name {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-user-testimonials__rating {
    color: #ffc107; /* Star color */
    font-size: 0.9em;
    margin-left: 8px;
}

.page-index-user-testimonials__testimonial-text {
    font-size: 1em;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-user-testimonials__date {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
}

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

.page-index-user-testimonials__why-item {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #007bff;
    transition: transform 0.3s ease;
}

.page-index-user-testimonials__why-item:hover {
    transform: translateY(-5px);
}

.page-index-user-testimonials__why-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 123, 255, 0.3));
}

.page-index-user-testimonials__why-heading {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-index-user-testimonials__why-text {
    font-size: 1em;
    color: #555;
}

.page-index-user-testimonials__cta-bottom {
    text-align: center;
    margin-top: 60px;
    background-color: #e9f5ff;
    padding: 40px;
    border-radius: 15px;
    border: 1px dashed #007bff;
}

.page-index-user-testimonials__cta-bottom p {
    font-size: 1.3em;
    color: #0056b3;
    margin-bottom: 25px;
    font-weight: bold;
}

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

.page-index-user-testimonials__faq {
    background-color: #f0f8ff;
}

.page-index-user-testimonials__faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    border-left: 5px solid #28a745;
    transition: box-shadow 0.3s ease;
}

.page-index-user-testimonials__faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-index-user-testimonials__faq-question::after {
    content: '+';
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
    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: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-index-user-testimonials__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 15px;
}

.page-index-user-testimonials__faq-answer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-index-user-testimonials__faq-answer a:hover {
    text-decoration: underline;
}

.page-index-user-testimonials__join-us {
    text-align: center;
    background: linear-gradient(to right, #007bff, #28a745);
    color: #fff;
    padding: 80px 0;
}

.page-index-user-testimonials__join-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-user-testimonials__join-us .page-index-user-testimonials__section-title,
.page-index-user-testimonials__join-us .page-index-user-testimonials__section-subtitle {
    color: #fff;
}

.page-index-user-testimonials__join-us .page-index-user-testimonials__section-title::after {
    background-color: #ff8400;
}

.page-index-user-testimonials__join-image {
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.page-index-user-testimonials__cta-link {
    display: block;
    color: #fff;
    text-decoration: underline;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-index-user-testimonials__cta-link:hover {
    color: #ff8400;
}

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

    .page-index-user-testimonials__hero-description {
        font-size: 1em;
    }

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

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

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

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

    .page-index-user-testimonials__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

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

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

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

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

    .page-index-user-testimonials__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}