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

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

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

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

.page-faq__hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 15px;
}

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

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

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

.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: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-faq__btn-secondary {
    background: #ffffff;
    color: #11A84E; /* Main Color */
    border: 2px solid #11A84E; /* Main Color */
}

.page-faq__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0A4B2C; /* Deep Green */
    border-color: #0A4B2C; /* Deep Green */
}

.page-faq__content-area {
    padding: 60px 0;
    background: #08160F; /* Background */
}

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

.page-faq__light-bg {
    background: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

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

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.page-faq__faq-item:hover {
    background: #1E3A2A; /* Slightly darker for hover */
}

.page-faq__faq-item[open] {
    background: #1E3A2A;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15em;
    color: #F2FFF6; /* Text Main */
    list-style: none;
    position: relative;
}

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

.page-faq__faq-toggle {
    font-size: 1.5em;
    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: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

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

.page-faq__faq-answer img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
}

.page-faq__text-link {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-faq__text-link:hover {
    color: #2AD16F;
    text-decoration: underline;
}

.page-faq__cta-bottom-section {
    padding: 60px 20px;
    text-align: center;
    background: #08160F; /* Background */
}

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

    .page-faq__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-faq__hero-image {
        margin-bottom: 20px;
    }

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

    .page-faq__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

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

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

    .page-faq__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-faq__faq-answer img {
        margin: 15px 0;
    }

    .page-faq__cta-bottom-section {
        padding: 40px 15px;
    }

    .page-faq__light-bg {
        padding: 30px 20px;
    }

    /* Ensure all image containers are responsive */
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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