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

/* General styles for the FAQ page */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* #F2FFF6 */
    background-color: var(--bg-color); /* #08160F */
}

.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;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--card-bg-color); /* #11271B */
    text-align: center;
    overflow: hidden;
}

.page-faq__hero-image {
    width: 1200px; /* Display width */
    height: 675px; /* Display height */
    max-width: 100%; /* Ensure it doesn't overflow */
    height: auto;
    display: block;
    margin-top: 20px; /* Space between content and image */
    border-radius: 8px;
    object-fit: cover;
}

.page-faq__hero-content {
    z-index: 1;
    position: relative;
    padding-bottom: 20px; /* Space before image */
}

.page-faq__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main-color); /* #F2FFF6 */
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__btn-text-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: var(--text-main-color); /* #F2FFF6 */
    border: none;
}

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

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

.page-faq__btn-secondary:hover {
    background-color: rgba(var(--glow-color-rgb), 0.1); /* Use RGB for transparency */
    transform: translateY(-2px);
}

.page-faq__btn-text-link {
    color: var(--glow-color); /* #57E38D */
    text-decoration: underline;
    padding: 0;
    border: none;
    background: none;
    font-size: 1em;
}

.page-faq__btn-text-link:hover {
    color: var(--gold-color); /* #F2C14E */
}

/* Content Section */
.page-faq__content-section {
    padding: 60px 0;
    background-color: var(--bg-color); /* #08160F */
}

.page-faq__section-title {
    font-size: 2.5em;
    color: var(--text-main-color); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-faq__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ List */
.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__faq-item {
    background-color: var(--card-bg-color); /* #11271B */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 10px;
    overflow: hidden;
    color: var(--text-main-color); /* #F2FFF6 */
    transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
    border-color: var(--glow-color); /* #57E38D */
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--deep-green-color); /* #0A4B2C */
    color: var(--text-main-color); /* #F2FFF6 */
    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;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 25px;
    text-align: center;
    color: var(--glow-color); /* #57E38D */
}

.page-faq__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    border-top: 1px solid var(--divider-color); /* #1E3A2A */
}

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

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

.page-faq__faq-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 15px;
    border-radius: 8px;
    object-fit: cover;
}


/* CTA Section */
.page-faq__cta-section {
    padding: 60px 0;
    background-color: var(--bg-color); /* #08160F */
    text-align: center;
}

.page-faq__cta-box {
    background-color: var(--card-bg-color); /* #11271B */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 10px;
    padding: 40px 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-title {
    font-size: 2em;
    color: var(--text-main-color); /* #F2FFF6 */
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* 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, 5vw, 2.8em);
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
}

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

    .page-faq__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }

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

    .page-faq__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }

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

    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq__btn-text-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;
        text-align: center; /* Center button text */
    }

    .page-faq__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__content-section {
        padding: 40px 0;
    }

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

    .page-faq__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-faq__faq-toggle {
        font-size: 1.3em;
    }

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

    .page-faq__faq-image,
    .page-faq img { /* Ensure all images are responsive */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__cta-section {
        padding: 40px 0;
    }

    .page-faq__cta-box {
        padding: 30px 20px;
    }

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

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