.page-index-user-testimonials {
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-index-user-testimonials__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000000; /* Primary color background */
}

.page-index-user-testimonials__hero-container {
    position: relative;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-user-testimonials__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7;
}

.page-index-user-testimonials__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    z-index: 10;
    max-width: 80%;
}

.page-index-user-testimonials__hero-title {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-user-testimonials__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.page-index-user-testimonials__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-index-user-testimonials__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-index-user-testimonials__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-index-user-testimonials__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-index-user-testimonials__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-index-user-testimonials__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

.page-index-user-testimonials__button--primary {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-index-user-testimonials__button--primary:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

.page-index-user-testimonials__button--secondary {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-index-user-testimonials__button--secondary:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

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

.page-index-user-testimonials__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-index-user-testimonials__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #444444;
}

.page-index-user-testimonials__trust-section {
    padding: 80px 0;
    background-color: #F8F8F8;
}

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

.page-index-user-testimonials__feature-item {
    text-align: center;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-user-testimonials__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index-user-testimonials__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-index-user-testimonials__testimonials-grid-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index-user-testimonials__testimonial-card {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-user-testimonials__testimonial-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #FCBC45;
}

.page-index-user-testimonials__testimonial-name {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-user-testimonials__testimonial-text {
    font-size: 1em;
    color: #555555;
    font-style: italic;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index-user-testimonials__rating {
    font-size: 1.2em;
    color: #FCBC45;
}

.page-index-user-testimonials__cta-section {
    background-color: #000000;
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

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

.page-index-user-testimonials__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-user-testimonials__faq-section {
    padding: 80px 0;
    background-color: #F8F8F8;
}

.page-index-user-testimonials__faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-index-user-testimonials__faq-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index-user-testimonials__faq-question {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}

.page-index-user-testimonials__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
}

.page-index-user-testimonials__faq-item.active .page-index-user-testimonials__faq-answer {
    display: block;
}

.page-index-user-testimonials__related-links-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index-user-testimonials__link-card {
    display: block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-user-testimonials__link-card:hover {
    transform: translateY(-5px);
    background-color: #1a1a1a;
}

.page-index-user-testimonials__link-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FCBC45;
}

.page-index-user-testimonials__link-description {
    font-size: 0.95em;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-user-testimonials__hero-title {
        font-size: 2.5em;
    }
    .page-index-user-testimonials__hero-description {
        font-size: 1.1em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 2em;
    }
    .page-index-user-testimonials__features-grid,
    .page-index-user-testimonials__testimonials-grid,
    .page-index-user-testimonials__links-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-user-testimonials__hero-section {
        padding: 40px 15px;
    }
    .page-index-user-testimonials__hero-image {
        max-width: 100%;
        height: auto;
    }
    .page-index-user-testimonials__hero-content {
        max-width: 90%;
    }
    .page-index-user-testimonials__hero-title {
        font-size: 2em;
    }
    .page-index-user-testimonials__hero-description {
        font-size: 1em;
    }
    .page-index-user-testimonials__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-user-testimonials__button {
        width: 100%;
        padding: 10px 20px;
    }
    .page-index-user-testimonials__container {
        padding: 15px;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.8em;
    }
    .page-index-user-testimonials__section-intro {
        font-size: 1em;
    }
    .page-index-user-testimonials__feature-icon,
    .page-index-user-testimonials__testimonial-avatar {
        width: 200px;
        height: 200px;
    }
    /* Ensure all images within main content are responsive */
    .page-index-user-testimonials img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-index-user-testimonials__hero-title {
        font-size: 1.7em;
    }
    .page-index-user-testimonials__hero-description {
        font-size: 0.9em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.5em;
    }
    .page-index-user-testimonials__features-grid,
    .page-index-user-testimonials__testimonials-grid,
    .page-index-user-testimonials__links-grid {
        grid-template-columns: 1fr;
    }
    .page-index-user-testimonials__feature-icon,
    .page-index-user-testimonials__testimonial-avatar {
        width: 200px;
        height: 200px;
    }
}