/* style/faq.css */
/* body background color is #08160F (very dark), so text should be light */

.page-faq {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* body handles --header-offset, so first section gets small top padding */
    text-align: center;
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

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

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(8, 22, 15, 0.7); /* Deep Green background with opacity for readability */
    border-radius: 10px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-faq__intro-text {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    line-height: 1.6;
}

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

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

.page-faq__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-faq__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Match primary button highlight */
    border: 2px solid #2AD16F; /* Match primary button highlight */
}

.page-faq__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
    border-color: #57E38D; /* Glow */
    color: #57E38D; /* Glow */
}

.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-faq__dark-section {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

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

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq__category {
    margin-bottom: 40px;
    background-color: #11271B; /* Card B G */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-faq__category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #57E38D; /* Glow */
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-faq__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(46, 122, 78, 0.3); /* Lighter border */
    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;
    padding: 15px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-faq__faq-question:hover {
    color: #57E38D; /* Glow */
}

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

.page-faq__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #57E38D; /* Glow */
}

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

.page-faq__faq-answer {
    padding: 10px 0 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #A7D9B8; /* Text Secondary */
}

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

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

.page-faq__faq-answer a {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    color: #2AD16F; /* Brighter green */
}

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

.page-faq__final-cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    border-top: 5px solid #2E7A4E; /* Border */
}

.page-faq__final-cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq__final-cta-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__final-cta-description a {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-faq__final-cta-description a:hover {
    color: #2AD16F;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-faq__hero-section {
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-faq__main-title {
        font-size: 2rem;
    }

    .page-faq__intro-text {
        font-size: 1rem;
    }

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

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

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

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

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

    .page-faq__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

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

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

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

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

    .page-faq__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 15px auto;
    }

    .page-faq__final-cta-section {
        padding: 60px 15px;
    }

    .page-faq__final-cta-title {
        font-size: 1.8rem;
    }

    .page-faq__final-cta-description {
        font-size: 1rem;
    }
}

/* Ensure images within content area are at least 200px */
.page-faq__content-area img,
.page-faq__faq-answer img {
    min-width: 200px;
    min-height: 200px;
}

/* No filter on images */
.page-faq img {
    filter: none !important;
}