.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #333333);
    background: var(--page-bg, #F5F7FA);
}

.page-faq__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-faq__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.page-faq__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-faq__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__cta-button--primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: none;
}

.page-faq__cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button--secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-faq__cta-button--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--page-bg, #F5F7FA);
    color: var(--text-main, #333333);
}

.page-faq__dark-section {
    background: #E53935;
    color: #ffffff;
}

.page-faq__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: inherit;
}

.page-faq__dark-section .page-faq__section-title {
    color: #ffffff;
}

.page-faq__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-faq__faq-item {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #E0E0E0);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--text-main, #333333);
}

.page-faq__dark-section .page-faq__faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.page-faq__dark-section .page-faq__faq-question {
    color: #ffffff;
}

.page-faq__faq-question::-webkit-details-marker {
    display: none;
}

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 25px;
    text-align: center;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    content: '−';
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main, #333333);
}

.page-faq__dark-section .page-faq__faq-answer {
    color: #f0f0f0;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
}

.page-faq__btn-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #E53935;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq__btn-link:hover {
    background: #FF5A4F;
}

.page-faq__info-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-bottom-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    color: #ffffff;
}

.page-faq__cta-bottom-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-faq__cta-bottom-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* General image responsiveness */
.page-faq img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-faq {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-faq__hero-section {
        padding: 10px 15px 30px;
    }

    .page-faq__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important; /* Remove fixed aspect ratio */
        max-height: none !important; /* Allow height to adjust naturally */
    }

    .page-faq__hero-image-wrapper,
    .page-faq__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__main-title {
        font-size: 2rem;
    }

    .page-faq__description {
        font-size: 1rem;
    }

    .page-faq__cta-group {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__cta-button,
    .page-faq__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__faq-section,
    .page-faq__cta-bottom-section {
        padding: 40px 15px;
    }

    .page-faq__section-title {
        font-size: 2rem;
    }

    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-faq__faq-answer {
        padding: 0 20px 15px;
    }

    .page-faq__cta-bottom-title {
        font-size: 1.8rem;
    }

    .page-faq__cta-bottom-description {
        font-size: 1rem;
    }

    /* General image and container responsiveness for mobile */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}