: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;
}

.page-faq {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--background); /* Ensure consistency with body background */
}

.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 */
    text-align: center;
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-faq__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

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

.page-faq__introduction-section,
.page-faq__faq-list-section,
.page-faq__cta-section {
    padding: 40px 20px;
    background-color: var(--background);
}

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

.page-faq__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-faq__paragraph {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: justify;
}

.page-faq__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-category {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

.page-faq__category-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.page-faq__category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-faq__faq-item {
    background-color: var(--deep-green);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.page-faq__faq-item[open] {
    background-color: var(--deep-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-faq__faq-question::-webkit-details-marker {
    display: none;
}

.page-faq__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: 300;
    color: var(--secondary-color);
    margin-left: 15px;
    line-height: 1;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    color: var(--glow);
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    margin-left: 25px;
    margin-bottom: 15px;
    list-style-position: inside;
}

.page-faq__faq-answer ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.page-faq__faq-answer ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

.page-faq__faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-faq__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-color), 0.4);
}

.page-faq__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--primary-color), 0.6);
}

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

.page-faq__btn-secondary:hover {
    background-color: rgba(var(--secondary-color), 0.1);
    color: var(--glow);
    border-color: var(--glow);
}

.page-faq__cta-section {
    text-align: center;
    padding-bottom: 60px;
}

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

.page-faq__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

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

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

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

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

    .page-faq__faq-answer {
        padding: 0 20px 18px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

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

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

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

    .page-faq__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__introduction-section,
    .page-faq__faq-list-section,
    .page-faq__cta-section {
        padding: 30px 0;
    }

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

    .page-faq__category-title {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .page-faq__faq-category {
        padding: 20px;
        margin-bottom: 30px;
    }

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

    .page-faq__faq-answer {
        padding: 0 15px 15px;
        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__hero-image-wrapper,
    .page-faq__introduction-section,
    .page-faq__faq-list-section,
    .page-faq__cta-section,
    .page-faq__faq-category,
    .page-faq__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    /* Mobile button responsiveness */
    .page-faq__cta-buttons {
        flex-direction: column;
        align-items: center;
        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: 90% !important; /* Slightly less than 100% for inner padding */
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

    .page-faq__cta-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
}