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

/* Base styles for the FAQ page */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--background); /* #08160F */
    padding-bottom: 50px; /* Ensure space above footer */
}

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

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

.page-faq__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 20px;
    max-width: 900px;
}

.page-faq__hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 800px;
}

.page-faq__hero-image-wrapper {
    margin-bottom: 30px;
    width: 100%;
    max-width: 1000px; /* Adjust max-width as needed */
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid var(--border); /* #2E7A4E */
    box-shadow: 0 4px 15px rgba(46, 122, 78, 0.2);
}

.page-faq__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 122, 78, 0.4);
}

.page-faq__btn-text {
    background: transparent;
    color: var(--glow); /* #57E38D */
    border: none;
    text-decoration: underline;
    padding: 5px 0;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

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

/* FAQ List Section */
.page-faq__section {
    padding: 60px 0;
}

.page-faq__faq-list {
    background: var(--background); /* #08160F */
}

.page-faq__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 20px;
}

.page-faq__section-description {
    font-size: 1.05rem;
    color: var(--text-secondary); /* #A7D9B8 */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-faq__faq-group {
    margin-bottom: 40px;
    padding: 20px;
    background: var(--card-bg); /* #11271B */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__group-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--glow); /* #57E38D */
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-faq__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
    padding-bottom: 15px;
}

.page-faq__faq-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main); /* #F2FFF6 */
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    user-select: none;
}

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

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

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

.page-faq__faq-answer {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    padding: 10px 0 20px 0;
    line-height: 1.7;
}

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

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

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

.page-faq__cta-buttons--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 20px;
}

.page-faq__cta-buttons--inline .page-faq__btn-primary,
.page-faq__cta-buttons--inline .page-faq__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    flex-shrink: 0; /* Prevent shrinking too much */
}

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

.page-faq__cta-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.15rem;
    color: var(--text-secondary); /* #A7D9B8 */
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }
    .page-faq__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .page-faq__group-title {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
    .page-faq__faq-question {
        font-size: 1.1rem;
    }
}

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

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

    .page-faq__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        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__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-faq__section {
        padding: 40px 0;
    }

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

    .page-faq__section-description {
        margin-bottom: 30px;
    }

    .page-faq__faq-group {
        padding: 15px;
        margin-bottom: 30px;
    }

    .page-faq__group-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .page-faq__faq-question {
        font-size: 1rem;
        padding: 12px 0;
    }

    .page-faq__faq-toggle {
        font-size: 1.5rem;
        width: 25px;
    }

    .page-faq__faq-answer {
        font-size: 0.95rem;
        padding: 8px 0 15px 0;
    }

    .page-faq__content-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__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Override padding for specific sections that already have it */
    .page-faq__hero-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .page-faq__cta-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .page-faq__faq-list .page-faq__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-faq__faq-group {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-faq__cta-buttons--inline {
        flex-direction: column;
        gap: 10px;
    }
    .page-faq__cta-buttons--inline .page-faq__btn-primary,
    .page-faq__cta-buttons--inline .page-faq__btn-secondary {
        width: 100%;
    }
}