.page-faq {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF; /* Matches body default background */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-faq__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
    line-height: 1.2;
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__hero-actions {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-faq__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.page-faq__hero-button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-faq__hero-button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    transform: translateY(-3px);
}

.page-faq__hero-button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-faq__hero-button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-3px);
}

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

.page-faq__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    display: block;
}

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

.page-faq__content-container {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-faq__content-heading {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq__content-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-faq__category-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    border-bottom: 2px solid #EEEEEE;
    padding-bottom: 20px;
}

.page-faq__category-link {
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-faq__category-link:hover {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-faq__accordion-category-title {
    font-size: 2em;
    color: #000000;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 5px solid #FCBC45;
    padding-left: 15px;
}

.page-faq__accordion-item {
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

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

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

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

.page-faq__accordion-header.active .page-faq__accordion-icon {
    transform: rotate(45deg);
}

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

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

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

.page-faq__accordion-content a {
    color: #FCBC45;
    text-decoration: underline;
}

.page-faq__accordion-content a:hover {
    color: #000000;
}

.page-faq__accordion-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-button:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-faq__contact-section {
    text-align: center;
    margin-top: 80px;
    padding: 50px 20px;
    background-color: #F9F9F9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-faq__contact-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 15px;
}

.page-faq__contact-description {
    font-size: 1.1em;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-faq__contact-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__contact-button:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }
    .page-faq__content-heading {
        font-size: 2em;
    }
    .page-faq__accordion-category-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 15px;
    }
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-faq__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__hero-button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-faq__content-section {
        padding: 30px 15px;
    }
    .page-faq__content-container {
        padding: 20px;
    }
    .page-faq__content-heading {
        font-size: 1.8em;
    }
    .page-faq__content-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-faq__category-navigation {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-bottom: 15px;
    }
    .page-faq__category-link {
        width: 90%;
        text-align: center;
    }
    .page-faq__accordion-category-title {
        font-size: 1.5em;
        margin-top: 40px;
    }
    .page-faq__accordion-header {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-faq__accordion-content.active {
        padding: 15px 20px;
    }
    .page-faq__contact-section {
        margin-top: 60px;
        padding: 40px 15px;
    }
    .page-faq__contact-title {
        font-size: 1.8em;
    }
    .page-faq__contact-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: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 0.9em;
    }
    .page-faq__content-heading {
        font-size: 1.6em;
    }
    .page-faq__accordion-header {
        font-size: 1em;
    }
    .page-faq__accordion-category-title {
        font-size: 1.3em;
    }
    .page-faq__contact-title {
        font-size: 1.6em;
    }
}