/* style/faq.css */
.page-faq {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-faq__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero content */
    text-align: center;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-faq__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: block;
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
    padding: 40px;
    border-radius: 8px;
}

.page-faq__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-faq__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq__hero-button:hover {
    background-color: #e0a53b;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

.page-faq__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #666666;
}

.page-faq__accordion {
    margin-top: 30px;
}

.page-faq__accordion-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #f8f8f8;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #e8e8e8;
}

.page-faq__accordion-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.page-faq__accordion-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
    transform: rotate(45deg);
}

.page-faq__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px;
}

.page-faq__accordion-content.page-faq__accordion-content--open {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px;
}

.page-faq__accordion-content p {
    margin-bottom: 10px;
    color: #333333;
}

.page-faq__accordion-content a {
    color: #FCBC45; /* Login button color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-faq__accordion-content a:hover {
    text-decoration: underline;
}

.page-faq__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-faq__cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-text {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 25px;
}

.page-faq__cta-button {
    display: inline-block;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 0 10px;
}

.page-faq__cta-button:hover {
    background-color: #333333;
}

.page-faq__cta-button--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
}

.page-faq__cta-button--primary:hover {
    background-color: #e0a53b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq {
        padding-top: var(--header-offset, 80px);
    }

    .page-faq__hero-section {
        padding: 60px 15px;
        min-height: 300px;
    }

    .page-faq__hero-content {
        padding: 20px;
    }

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

    .page-faq__hero-description {
        font-size: 1em;
    }

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

    .page-faq__accordion-header {
        font-size: 1em;
        padding: 15px;
    }

    .page-faq__accordion-header h3 {
        font-size: 1em;
    }

    .page-faq__accordion-content.page-faq__accordion-content--open {
        padding: 15px;
    }

    .page-faq__cta-text {
        font-size: 1.2em;
    }

    .page-faq__cta-button {
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
    }

    .page-faq__container img {
        max-width: 100%;
        height: auto;
    }
}