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

.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;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #0A4B2C; /* Deep Green */
}

.page-faq__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 600px; /* Limit height of the image wrapper */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    background-color: rgba(17, 40, 27, 0.8); /* Card BG with transparency */
    border-radius: 8px;
    margin-top: 30px;
    max-width: 800px;
}

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

.page-faq__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    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;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    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;
}

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

.page-faq__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Lighter green for text */
    border: 2px solid #2AD16F; /* Lighter green for border */
}

.page-faq__btn-secondary:hover {
    background-color: #2AD16F;
    color: #08160F; /* Background color for text on hover */
    transform: translateY(-2px);
}

/* General Section Styles */
.page-faq__intro-section,
.page-faq__faq-section,
.page-faq__conclusion-section {
    padding: 60px 0;
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-faq__intro-section:last-of-type,
.page-faq__faq-section:last-of-type,
.page-faq__conclusion-section:last-of-type {
    border-bottom: none;
}

.page-faq__section-title {
    font-size: 2.5rem;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-faq__sub-title {
    font-size: 1.8rem;
    color: #22C768; /* Auxiliary Color */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq__text-block {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-faq__highlight {
    color: #2AD16F; /* Brighter green for highlights */
    font-weight: bold;
}

.page-faq__text-link {
    color: #2AD16F; /* Brighter green for links */
    text-decoration: underline;
}

.page-faq__text-link:hover {
    color: #57E38D; /* Glow color on hover */
}

.page-faq__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-faq__list-item {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-faq__list-item::before {
    content: '•';
    color: #2AD16F; /* Brighter green bullet */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

/* FAQ Specific Styles */
.page-faq__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    background-color: #0A4B2C; /* Deep Green, slightly darker for summary bar */
    border-bottom: 1px solid #2E7A4E; /* Divider */
    user-select: none; /* Prevent text selection on click */
    list-style: none; /* For details/summary */
}

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

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or - */
}

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

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

.page-faq__image-wrapper {
    margin: 30px auto;
    text-align: center;
}

.page-faq__image-wrapper--inline {
    margin: 20px 0;
}

.page-faq__image--answer {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block; /* Ensure it behaves as a block element */
    margin-left: auto;
    margin-right: auto;
}

/* Image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-faq {
        font-size: 15px;
    }

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

    .page-faq__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-faq__description {
        font-size: 1rem;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px; /* Add padding to prevent overflow */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

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

    .page-faq__sub-title {
        font-size: 1.5rem;
    }

    .page-faq__intro-section,
    .page-faq__faq-section,
    .page-faq__conclusion-section {
        padding: 40px 0;
    }

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

    /* Image responsive overrides */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important; /* Ensure images take full width */
        display: block !important;
    }

    /* All containers with images/videos */
    .page-faq__image-wrapper,
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper,
    .page-faq__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Important for preventing horizontal scroll */
    }

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

    .page-faq__faq-answer {
        padding: 15px;
    }
}