/* style/789-advantages-user-testimonials.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-button-bg: #C30808;
    --register-login-button-text: #FFFF00;
    --body-bg-color: #1a1a2e;
    --text-on-dark-bg: #ffffff;
    --text-on-light-bg: #333333;
}

.page-789-advantages-user-testimonials {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark-bg); /* Default text color for the page */
    background-color: var(--body-bg-color);
}

.page-789-advantages-user-testimonials__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-on-dark-bg);
}

.page-789-advantages-user-testimonials__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-on-light-bg);
}

.page-789-advantages-user-testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-789-advantages-user-testimonials__section {
    padding: 60px 0;
    text-align: center;
}

.page-789-advantages-user-testimonials__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit;
}

.page-789-advantages-user-testimonials__section-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: inherit;
}

.page-789-advantages-user-testimonials__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: left;
}

/* Hero Section */
.page-789-advantages-user-testimonials__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback if video doesn't load */
}

.page-789-advantages-user-testimonials__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-789-advantages-user-testimonials__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-789-advantages-user-testimonials__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
    padding: 40px;
    border-radius: 10px;
    margin: 20px;
}

.page-789-advantages-user-testimonials__hero-title {
    font-size: 3.5em;
    color: var(--text-on-dark-bg);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-789-advantages-user-testimonials__hero-description {
    font-size: 1.3em;
    color: var(--text-on-dark-bg);
    margin-bottom: 30px;
}

/* CTA Buttons */
.page-789-advantages-user-testimonials__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-789-advantages-user-testimonials__btn-primary {
    background-color: var(--register-login-button-bg);
    color: var(--register-login-button-text);
}

.page-789-advantages-user-testimonials__btn-primary:hover {
    background-color: darken(var(--register-login-button-bg), 10%);
    transform: translateY(-2px);
}

.page-789-advantages-user-testimonials__btn-large {
    font-size: 1.5em;
    padding: 18px 35px;
}

.page-789-advantages-user-testimonials__btn-extra-large {
    font-size: 1.8em;
    padding: 20px 40px;
}

/* Testimonials Grid */
.page-789-advantages-user-testimonials__testimonials .page-789-advantages-user-testimonials__container {
    background-color: var(--primary-color);
}

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

.page-789-advantages-user-testimonials__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--text-on-dark-bg);
}

.page-789-advantages-user-testimonials__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;   /* Ensure responsiveness */
    display: block;
}

.page-789-advantages-user-testimonials__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-on-dark-bg);
}

.page-789-advantages-user-testimonials__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-on-dark-bg);
}

/* Case Studies */
.page-789-advantages-user-testimonials__case-studies .page-789-advantages-user-testimonials__container {
    background-color: var(--secondary-color);
}

.page-789-advantages-user-testimonials__story {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
    color: var(--text-on-light-bg);
}

.page-789-advantages-user-testimonials__story:last-child {
    margin-bottom: 0;
}

.page-789-advantages-user-testimonials__story--reverse {
    flex-direction: row-reverse;
}

.page-789-advantages-user-testimonials__story-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure responsiveness */
    display: block;
}

.page-789-advantages-user-testimonials__story-content {
    flex: 1;
}

.page-789-advantages-user-testimonials__story-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--text-on-light-bg);
}

/* Why Choose Section */
.page-789-advantages-user-testimonials__why-choose .page-789-advantages-user-testimonials__container {
    background-color: var(--primary-color);
}

.page-789-advantages-user-testimonials__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-789-advantages-user-testimonials__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-on-dark-bg);
}

.page-789-advantages-user-testimonials__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;   /* Ensure responsiveness */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-789-advantages-user-testimonials__feature-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-on-dark-bg);
}

.page-789-advantages-user-testimonials__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-on-dark-bg);
}

.page-789-advantages-user-testimonials__cta-container {
    margin-top: 50px;
}

/* FAQ Section */
.page-789-advantages-user-testimonials__faq .page-789-advantages-user-testimonials__container {
    background-color: var(--secondary-color);
}

.page-789-advantages-user-testimonials__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-789-advantages-user-testimonials__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-on-light-bg);
}

.page-789-advantages-user-testimonials__faq-item[open] {
    background-color: #ffffff;
}

.page-789-advantages-user-testimonials__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f0f0f0;
    color: var(--text-on-light-bg);
    list-style: none;
}

.page-789-advantages-user-testimonials__faq-question::-webkit-details-marker {
    display: none;
}

.page-789-advantages-user-testimonials__faq-qtext {
    flex-grow: 1;
    color: inherit;
}

.page-789-advantages-user-testimonials__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-789-advantages-user-testimonials__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-on-light-bg);
    border-top: 1px solid #e0e0e0;
}

/* Final CTA */
.page-789-advantages-user-testimonials__cta-final {
    padding: 80px 0;
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-789-advantages-user-testimonials__hero-title {
        font-size: 3em;
    }
    .page-789-advantages-user-testimonials__section-title {
        font-size: 2em;
    }
    .page-789-advantages-user-testimonials__story {
        flex-direction: column;
    }
    .page-789-advantages-user-testimonials__story--reverse {
        flex-direction: column;
    }
    .page-789-advantages-user-testimonials__story-image {
        min-width: unset;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-789-advantages-user-testimonials {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-789-advantages-user-testimonials__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-789-advantages-user-testimonials__hero-content {
        padding: 30px;
        margin: 10px;
    }
    .page-789-advantages-user-testimonials__hero-title {
        font-size: 2.2em;
    }
    .page-789-advantages-user-testimonials__hero-description {
        font-size: 1em;
    }
    .page-789-advantages-user-testimonials__cta-button {
        font-size: 1em;
        padding: 12px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-789-advantages-user-testimonials__btn-large, .page-789-advantages-user-testimonials__btn-extra-large {
        font-size: 1.2em;
        padding: 15px 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-789-advantages-user-testimonials__section {
        padding: 40px 0;
    }
    .page-789-advantages-user-testimonials__section-title {
        font-size: 1.8em;
    }
    .page-789-advantages-user-testimonials__section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-789-advantages-user-testimonials__container {
        padding: 15px;
    }
    .page-789-advantages-user-testimonials__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-789-advantages-user-testimonials__card {
        padding: 20px;
    }
    .page-789-advantages-user-testimonials__card-image {
        height: 200px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-789-advantages-user-testimonials__story-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-789-advantages-user-testimonials__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-789-advantages-user-testimonials__feature-icon {
        width: 80px;
        height: 80px;
        max-width: 100% !important;
        height: auto !important;
    }
    .page-789-advantages-user-testimonials__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-789-advantages-user-testimonials__faq-answer {
        padding: 15px 20px;
    }
    /* Mobile specific image/video/button container adaptations */
    .page-789-advantages-user-testimonials__section,
    .page-789-advantages-user-testimonials__card,
    .page-789-advantages-user-testimonials__container,
    .page-789-advantages-user-testimonials__hero-video-wrapper,
    .page-789-advantages-user-testimonials__cta-container,
    .page-789-advantages-user-testimonials__story-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden;
    }
    .page-789-advantages-user-testimonials__hero-video,
    .page-789-advantages-user-testimonials video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }
    .page-789-advantages-user-testimonials img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}