/* style/faq.css */

/* --- Base Styles --- */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    padding-bottom: 60px; /* Ensure space above footer */
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles --header-offset, so small top padding here */
    background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    max-width: 1200px; /* Adjust based on desired max width for the image */
}

.page-faq__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-faq__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-faq__intro-text {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent; /* Default transparent border */
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    margin-top: 20px;
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow */
    border-color: #2E7A4E; /* Border */
}

.page-faq__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: #F2FFF6;
    border-color: #57E38D;
}

.page-faq__content-area {
    width: 100%; /* Ensure content area takes full width on desktop */
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-faq__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-faq__section-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FAQ List Styles --- */
.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
    position: relative;
    list-style: none; /* For details/summary */
}

/* Hide default marker for details/summary */
.page-faq__faq-item summary {
    list-style: none;
}
.page-faq__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-faq__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Border with some opacity */
}

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

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: #57E38D; /* Glow */
    line-height: 1;
    width: 20px;
    text-align: center;
}

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

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

.page-faq__answer-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #A7D9B8; /* Text Secondary */
}

.page-faq__answer-list li {
    margin-bottom: 8px;
}

.page-faq__sub-list {
    list-style-type: circle;
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.page-faq__illustration-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
    max-width: 800px; /* Recommended size */
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Section --- */
.page-faq__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    position: relative;
    overflow: hidden;
}

.page-faq__cta-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq__cta-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__cta-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1000px; /* Recommended size */
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-faq__hero-image {
        max-width: 100%;
    }
    .page-faq__illustration-image {
        max-width: 100%;
    }
    .page-faq__cta-image {
        max-width: 100%;
    }
}

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

    .page-faq__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }

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

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

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

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

    .page-faq__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }

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

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

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

    /* Images responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__hero-image-wrapper,
    .page-faq__content-area,
    .page-faq__cta-section,
    .page-faq__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-faq__hero-section {
        padding-left: 0 !important; /* Hero section itself might not need padding, content within does */
        padding-right: 0 !important;
    }
    .page-faq__cta-section {
        padding: 60px 15px !important;
    }

    /* Buttons responsiveness */
    .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: 12px 20px !important;
        margin: 0 auto 10px auto;
    }

    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}