/* style/faq.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a1a; /* Inherited from shared, but explicitly set for clarity */
}

/* Container for consistent padding and max-width */
.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
}

.page-faq__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff; /* White text for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2; /* Adjusted opacity to ensure text stands out without filter */
}

/* General Section Styles */
.page-faq__content-area {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ List Styles */
.page-faq__faq-list {
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2a2a2a; /* Slightly lighter dark background for FAQ cards */
}

.page-faq__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-item:last-child {
    border-bottom: none;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-faq__faq-heading {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}