.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); /* Fixed header offset */
}

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

.page-faq__hero-section {
    position: relative;
    background-color: #000000; /* Main brand color for hero background */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    min-width: 150px;
    text-align: center;
}

.page-faq__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text on light button */
    border: 2px solid #FCBC45;
}

.page-faq__button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-faq__button--secondary {
    background-color: #FFFFFF; /* Register color */
    color: #000000; /* Dark text on light button */
    border: 2px solid #FFFFFF;
}

.page-faq__button--secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-faq__button--inline {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
    background-color: #FCBC45;
    color: #000000;
    border: none;
}

.page-faq__button--inline:hover {
    background-color: #e0a53a;
}

.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-faq__accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

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

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

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active {
    background-color: #f0f0f0;
}

.page-faq__accordion-header.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-faq__accordion-content {
    padding: 0 25px;
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-content.active {
    max-height: 200px; /* Adjust as needed for content height */
    padding: 20px 25px;
}

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

.page-faq__cta-section {
    background-color: #000000; /* Main brand color */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-faq__cta-content {
    max-width: 800px;
}

.page-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: 3em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 15px;
    }
    .page-faq__hero-title {
        font-size: 2.5em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__button {
        width: 100%;
        max-width: 250px;
    }
    .page-faq__accordion-section {
        padding: 40px 0;
    }
    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-faq__accordion-header {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-faq__accordion-content {
        padding: 0 20px;
    }
    .page-faq__accordion-content.active {
        padding: 15px 20px;
    }
    .page-faq__cta-section {
        padding: 60px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }

    /* Ensure content images do not overflow */
    .page-faq img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 2em;
    }
    .page-faq__section-title {
        font-size: 1.5em;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
    .page-faq__accordion-header {
        font-size: 1em;
        padding: 15px;
    }
    .page-faq__accordion-content.active {
        padding: 10px 15px;
    }
}