/* style/index-user-testimonials.css */
.page-index-user-testimonials {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark background */
    background-color: #000d1a; /* Even darker shade of main color for overall background */
}

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

.page-index-user-testimonials__hero {
    background-color: #001f3f; /* Main brand color */
    background-image: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-user-testimonials__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.page-index-user-testimonials__hero .page-index-user-testimonials__container {
    position: relative;
    z-index: 1;
}

.page-index-user-testimonials__title {
    font-size: 3.5em;
    color: #ffcc00; /* Accent color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-user-testimonials__subtitle {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-user-testimonials__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-user-testimonials__button--primary {
    background-color: #ffcc00; /* Accent color */
    color: #001f3f; /* Dark text for accent background */
}

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

.page-index-user-testimonials__button--secondary {
    background-color: transparent;
    color: #ffcc00; /* Accent color */
    border: 2px solid #ffcc00;
}

.page-index-user-testimonials__button--secondary:hover {
    background-color: #ffcc00;
    color: #001f3f;
    transform: translateY(-3px);
}

.page-index-user-testimonials__button--tertiary {
    background-color: #003366;
    color: #ffcc00;
    border: 2px solid #003366;
}

.page-index-user-testimonials__button--tertiary:hover {
    background-color: #ffcc00;
    color: #001f3f;
    transform: translateY(-3px);
}

.page-index-user-testimonials__section {
    padding: 80px 0;
    background-color: #001f3f;
    margin-bottom: 2px; /* Small gap between sections */
}

.page-index-user-testimonials__section:nth-of-type(even) {
    background-color: #00182e; /* Slightly darker for alternating sections */
}

.page-index-user-testimonials__section-title {
    font-size: 2.8em;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index-user-testimonials__text {
    font-size: 1.15em;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

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

.page-index-user-testimonials__highlight-card {
    background-color: #002a52; /* Darker blue for cards */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-user-testimonials__highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-index-user-testimonials__highlight-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #ffcc00);
}

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

.page-index-user-testimonials__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #c0c0c0;
}

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

.page-index-user-testimonials__testimonial-card {
    background-color: #002a52;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index-user-testimonials__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #ffcc00;
}

.page-index-user-testimonials__testimonial-name {
    font-size: 1.4em;
    color: #ffcc00;
    margin-bottom: 10px;
}

.page-index-user-testimonials__testimonial-text {
    font-size: 1.05em;
    line-height: 1.7;
    color: #e0e0e0;
    font-style: italic;
}

.page-index-user-testimonials__cta-section {
    background-color: #001f3f;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.page-index-user-testimonials__cta-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px; /* Adjust as needed */
    height: auto;
    opacity: 0.1;
    z-index: 0;
}

.page-index-user-testimonials__cta-section .page-index-user-testimonials__container {
    position: relative;
    z-index: 1;
}

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

.page-index-user-testimonials__faq-item {
    background-color: #002a52;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-user-testimonials__title {
        font-size: 3em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 2.2em;
    }
    .page-index-user-testimonials__hero-actions,
    .page-index-user-testimonials__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-user-testimonials__button {
        width: 80%;
        max-width: 300px;
    }
    .page-index-user-testimonials__grid,
    .page-index-user-testimonials__testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-user-testimonials__hero {
        padding: 80px 0;
    }
    .page-index-user-testimonials__title {
        font-size: 2.5em;
    }
    .page-index-user-testimonials__subtitle {
        font-size: 1.2em;
    }
    .page-index-user-testimonials__section {
        padding: 60px 0;
    }
    .page-index-user-testimonials__section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
    .page-index-user-testimonials__text {
        font-size: 1em;
    }
    .page-index-user-testimonials__highlight-card, .page-index-user-testimonials__testimonial-card {
        padding: 25px;
    }
    .page-index-user-testimonials__card-title {
        font-size: 1.4em;
    }
    .page-index-user-testimonials__testimonial-name {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-index-user-testimonials__hero {
        padding: 60px 0;
    }
    .page-index-user-testimonials__title {
        font-size: 2em;
    }
    .page-index-user-testimonials__subtitle {
        font-size: 1em;
    }
    .page-index-user-testimonials__section {
        padding: 40px 0;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-user-testimonials__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-index-user-testimonials__highlight-icon {
        width: 60px;
        height: 60px;
    }
    .page-index-user-testimonials__avatar {
        width: 80px;
        height: 80px;
    }
}