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

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

/* Hero Section */
.page-index-user-testimonials__hero {
    background-color: #0A2239;
    background-image: linear-gradient(135deg, #0A2239 0%, #1a3a5a 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-user-testimonials__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E0B400;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-user-testimonials__hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

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

.page-index-user-testimonials__btn--primary {
    background-color: #E0B400;
    color: #0A2239;
    border: 2px solid #E0B400;
}

.page-index-user-testimonials__btn--primary:hover {
    background-color: #ffc926;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-index-user-testimonials__hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* General Section Styling */
.page-index-user-testimonials__section {
    padding: 60px 0;
}

.page-index-user-testimonials__section:nth-of-type(even) {
    background-color: #e8eceb;
}

.page-index-user-testimonials__section-title {
    font-size: 2.2em;
    color: #0A2239;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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: #E0B400;
    border-radius: 2px;
}

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

.page-index-user-testimonials__text--small {
    font-size: 0.95em;
    color: #666;
    text-align: center;
}

.page-index-user-testimonials__link {
    color: #0A2239;
    text-decoration: underline;
    font-weight: bold;
}

.page-index-user-testimonials__link:hover {
    color: #E0B400;
    text-decoration: none;
}

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

.page-index-user-testimonials__category-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-user-testimonials__category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-user-testimonials__category-title {
    font-size: 1.4em;
    color: #0A2239;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-user-testimonials__category-text {
    font-size: 0.95em;
    color: #555;
    text-align: justify;
}

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

.page-index-user-testimonials__testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.page-index-user-testimonials__testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-index-user-testimonials__testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #E0B400;
}

.page-index-user-testimonials__testimonial-info {
    text-align: left;
}

.page-index-user-testimonials__testimonial-name {
    font-weight: bold;
    color: #0A2239;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.page-index-user-testimonials__testimonial-rating {
    color: #E0B400;
    font-size: 1.1em;
}

.page-index-user-testimonials__testimonial-text {
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-index-user-testimonials__testimonial-date {
    font-size: 0.85em;
    color: #777;
    text-align: right;
}

/* Call to Action Section */
.page-index-user-testimonials__section--cta {
    background-color: #0A2239;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-index-user-testimonials__cta-content .page-index-user-testimonials__section-title {
    color: #E0B400;
}

.page-index-user-testimonials__cta-content .page-index-user-testimonials__section-title::after {
    background-color: #E0B400;
}

.page-index-user-testimonials__cta-content .page-index-user-testimonials__text {
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-index-user-testimonials__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 25px;
}

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

.page-index-user-testimonials__faq-answer {
    font-size: 1em;
    color: #555;
    text-align: justify;
}

/* Floating Ad */
.page-index-user-testimonials__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0A2239;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 15px;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateX(120%); /* Hidden by default */
    transition: transform 0.5s ease-in-out;
    animation: page-index-user-testimonials__pulse 2s infinite;
}

.page-index-user-testimonials__floating-ad.is-visible {
    transform: translateX(0%);
}

.page-index-user-testimonials__floating-ad-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.page-index-user-testimonials__floating-ad-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.page-index-user-testimonials__floating-ad-content {
    flex-grow: 1;
}

.page-index-user-testimonials__floating-ad-title {
    font-size: 1.1em;
    color: #E0B400;
    margin-bottom: 5px;
    font-weight: bold;
}

.page-index-user-testimonials__floating-ad-text {
    font-size: 0.85em;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.page-index-user-testimonials__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

@keyframes page-index-user-testimonials__pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-user-testimonials__hero-title {
        font-size: 2.2em;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.8em;
    }
    .page-index-user-testimonials__grid,
    .page-index-user-testimonials__testimonial-grid {
        grid-template-columns: 1fr;
    }
    .page-index-user-testimonials__floating-ad {
        max-width: 90%;
        left: 50%;
        transform: translateX(-50%) translateY(120%);
        bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .page-index-user-testimonials__floating-ad.is-visible {
        transform: translateX(-50%) translateY(0%);
    }
    .page-index-user-testimonials__floating-ad-image {
        margin-bottom: 10px;
    }
    .page-index-user-testimonials__floating-ad-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .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: 1em;
    }
    .page-index-user-testimonials__section {
        padding: 40px 0;
    }
    .page-index-user-testimonials__section-title {
        font-size: 1.5em;
    }
    .page-index-user-testimonials__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-user-testimonials__btn--large {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-user-testimonials__category-card,
    .page-index-user-testimonials__testimonial-card,
    .page-index-user-testimonials__faq-item {
        padding: 20px;
    }
    .page-index-user-testimonials__testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    .page-index-user-testimonials__testimonial-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .page-index-user-testimonials__testimonial-info {
        text-align: center;
    }
}