:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* Body background color from custom palette */
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-faq {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for the page content */
    background-color: var(--background-color);
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--deep-green-color);
    text-align: center;
    overflow: hidden;
}

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

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

.page-faq__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 0 20px;
}

.page-faq__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    max-width: 100%; /* Ensure H1 doesn't cause overflow */
}

.page-faq__hero-description {
    font-size: 1.15em;
    line-height: 1.6;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

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

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

.page-faq__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
}

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

.page-faq__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-faq__btn-secondary:hover {
    background: rgba(var(--primary-color), 0.1);
    transform: translateY(-2px);
}

.page-faq__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color);
}

.page-faq__section-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-faq__section-title {
    font-size: 2.2em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-faq__section-description {
    font-size: 1.05em;
    color: var(--text-secondary-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-faq__faq-qtext {
    flex-grow: 1;
    line-height: 1.5;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: 300;
    color: var(--gold-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(180deg);
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary-color);
    border-top: 1px solid var(--divider-color);
    margin-top: -1px; /* Overlap border for clean look */
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-faq__faq-answer li {
    margin-bottom: 8px;
}

.page-faq__image-in-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px 0;
    object-fit: cover;
}

.page-faq__cta-section {
    background-color: var(--deep-green-color);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-main-color);
}

.page-faq__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__cta-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-faq__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

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

.page-faq__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-faq a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-faq .text-highlight {
    color: var(--gold-color);
    font-weight: 600;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.5em;
    }

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

    .page-faq__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

    .page-faq__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-faq__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-faq__content-area {
        padding: 30px 15px;
    }

    .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__section-description {
        font-size: 0.95em;
    }

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

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

    .page-faq__image-in-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__section, .page-faq__card, .page-faq__container, .page-faq__hero-image-wrapper, .page-faq__cta-buttons, .page-faq__button-group, .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .page-faq__cta-section {
        padding: 50px 15px;
    }

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

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

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.7em;
    }

    .page-faq__section-title {
        font-size: 1.6em;
    }

    .page-faq__cta-title {
        font-size: 1.6em;
    }
}