.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    background-color: var(--background, #08160F); /* Page background */
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--background, #08160F);
    overflow: hidden; /* Ensure image doesn't overflow if not perfectly sized */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 40px;
    box-sizing: border-box;
}

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

.page-faq__hero-content {
    max-width: 800px;
    z-index: 1;
    color: var(--text-main, #F2FFF6);
}

.page-faq__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-faq__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px; /* Limit width for CTA buttons */
    margin: 0 auto;
}

.page-faq__cta-buttons--inline {
    justify-content: flex-start;
    max-width: none;
    margin-top: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 150px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main, #F2FFF6);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
}

.page-faq__btn-secondary:hover {
    background: var(--glow, #57E38D);
    color: var(--background, #08160F);
    transform: translateY(-2px);
}

/* Content Area */
.page-faq__content-area {
    padding: 60px 0;
    background-color: var(--background, #08160F);
}

.page-faq__dark-section {
    background-color: var(--background, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-faq__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--text-main, #F2FFF6);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-faq__faq-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border, #2E7A4E);
    color: var(--text-main, #F2FFF6);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--text-main, #F2FFF6);
    background-color: var(--deep-green, #0A4B2C); /* Darker background for question summary */
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

/* Remove default details marker */
.page-faq__faq-item > summary {
    list-style: none;
}
.page-faq__faq-item > summary::-webkit-details-marker {
    display: none;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

.page-faq__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8);
    background-color: var(--card-bg, #11271B);
}

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

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.page-faq__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
    border-top: 1px solid var(--divider, #1E3A2A);
}

.page-faq__deep-green-bg {
    background-color: var(--deep-green, #0A4B2C);
}

.page-faq__cta-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary, #A7D9B8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__hero-section {
        padding: 40px 20px;
        padding-top: 10px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }

    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.6em, 3.5vw, 2.2em);
    }
}

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

    .page-faq__hero-section {
        padding: 30px 0 !important; /* No horizontal padding here */
        padding-top: 10px !important;
    }

    .page-faq__hero-image-wrapper {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .page-faq__hero-content {
        padding: 0 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-faq__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-faq__content-area,
    .page-faq__cta-section {
        padding: 40px 15px;
    }

    .page-faq__container {
        padding: 0 15px;
    }

    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.5em, 5vw, 2em);
        margin-bottom: 30px;
    }

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

    .page-faq__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__faq-list,
    .page-faq__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-faq__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
}