.page-faq__hero-section {
    position: relative;
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF; /* White text for contrast */
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-faq__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 30px;
}

.page-faq__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-faq__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-faq__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-faq__btn-primary:hover {
    background-color: #cc6a00;
    border-color: #cc6a00;
}

.page-faq__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a7fb8;
    border-color: #1a7fb8;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 30px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.page-faq__content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* White background */
}

.page-faq__section-title {
    font-size: 2em;
    color: #26A9E0; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-faq__section-spacing {
    margin-bottom: 40px;
}

.page-faq__faq-list {
    margin-top: 30px;
}

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

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #333333; /* Ensure high contrast */
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #f0f0f0;
}

.page-faq__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333333; /* Dark text for question */
    font-weight: 600;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for toggle icon */
    transition: transform 0.3s ease;
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555; /* Slightly lighter dark text */
    background-color: #ffffff;
}

.page-faq__faq-answer p {
    margin: 0;
    padding-bottom: 15px;
    line-height: 1.6;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg);
}

.page-faq__image-container {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-faq__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-faq__cta-section {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

.page-faq__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-faq__cta-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-faq__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: 2.5em;
    }
    .page-faq__hero-description {
        font-size: 1.1em;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-faq__hero-title {
        font-size: 2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100%;
        max-width: 300px; /* Constrain width for better look on small screens */
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-faq__content-area {
        padding: 30px 15px;
    }
    .page-faq__section-title {
        font-size: 1.6em;
    }
    .page-faq__faq-question h3 {
        font-size: 1em;
    }
    .page-faq__faq-answer p {
        font-size: 0.95em;
    }
    .page-faq__image-container {
        margin: 20px auto;
    }
    .page-faq__content-image,
    .page-faq__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__image-container,
    .page-faq__hero-image-wrapper,
    .page-faq__cta-buttons,
    .page-faq__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-text {
        font-size: 1em;
    }
    .page-faq__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    /* Ensure content area images are not smaller than 200px (if any specific rules override max-width:100%) */
    /* This is a general safeguard, max-width:100% usually handles it */
    .page-faq img { 
        min-width: 200px; /* Safeguard for explicit img elements */
        min-height: 200px;
    }
    .page-faq__faq-question {
        padding: 12px 15px;
    }
    .page-faq__faq-answer {
        padding: 0 15px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 0.95em;
    }
    .page-faq__section-title {
        font-size: 1.4em;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100%; /* Ensure full width on very small screens */
    }
}

/* Color Contrast Safeguards (already integrated into elements) */
.page-faq {
    color: #333333; /* Default text color for light background */
}
.page-faq__dark-section {
    background: #26A9E0;
    color: #ffffff;
}