/* style/faq.css */

/* --- General Page Styles --- */
.page-faq {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

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

.page-faq__section-title,
.page-faq__category-title,
.page-faq__cta-heading {
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.page-faq__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 40px;
}

.page-faq__category-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    border-bottom: 2px solid #2E7A4E; /* Border */
    padding-bottom: 15px;
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: left;
}

.page-faq__intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Hero Section --- */
.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 80px 0; /* Small top padding, larger bottom for content */
    overflow: hidden;
}

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

.page-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

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

.page-faq__description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
}

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

.page-faq__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4); /* Glow */
}

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

.page-faq__btn-secondary:hover {
    background: #57E38D; /* Glow */
    color: #08160F; /* Background */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(87, 227, 141, 0.3); /* Glow */
}

/* --- FAQ List Styling --- */
.page-faq__faq-category {
    margin-bottom: 60px;
}

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

.page-faq__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-item details {
    border: none;
    margin: 0;
    padding: 0;
}

.page-faq__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    position: relative;
    list-style: none; /* Hide default marker */
}

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

.page-faq__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Slightly darker on hover */
}

.page-faq__faq-qtext {
    flex-grow: 1;
    color: #F2FFF6;
}

.page-faq__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    width: 30px;
    text-align: center;
    color: #57E38D; /* Glow */
}

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

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

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

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

/* --- Bottom CTA --- */
.page-faq__bottom-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    border: 1px solid #2E7A4E; /* Border */
}

.page-faq__cta-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-faq__hero-content {
        max-width: 700px;
    }
}

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

    .page-faq__container {
        padding: 0 15px; /* Adjust padding for smaller screens */
    }

    .page-faq__hero-section {
        padding: 10px 0 60px 0;
    }

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

    .page-faq__description {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

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

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important; /* Force full width on mobile */
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important; /* Allow text wrap */
        word-wrap: break-word !important;
    }

    .page-faq__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-top: 30px;
    }

    .page-faq__category-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-faq__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

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

    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure content images also take full width */
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__faq-item,
    .page-faq__bottom-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-faq__container */
    }

    .page-faq__bottom-cta {
        padding: 30px 20px;
    }

    .page-faq__cta-heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

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

/* Ensure no filter on images */
.page-faq img {
    filter: none;
}

/* Specific filter for hero image to darken */
.page-faq__hero-image {
    filter: brightness(0.4);
}