.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #121212, so light text */
    background-color: #121212; /* Ensure page background matches body if not set by shared */
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background-color: #000080; /* Auxiliary color */
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-faq__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    line-height: 1.2;
}

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

.page-faq__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-faq__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

.page-faq__btn-primary:hover {
    background-color: #e0b800;
    color: #000050;
    border-color: #e0b800;
}

.page-faq__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-faq__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

/* Content Area */
.page-faq__content-area {
    padding: 60px 0;
    background-color: #1c1c1c; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-faq__dark-bg {
    background-color: #1c1c1c;
    color: #ffffff;
}

.page-faq__section-title {
    font-size: 2.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ List */
.page-faq__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

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

.page-faq__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px 25px;
}

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

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

.page-faq__faq-answer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block; /* Ensure block display for proper spacing */
}

.page-faq__contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Call to Action Section */
.page-faq__cta-section {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue text */
    padding: 80px 20px;
    text-align: center;
}

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

.page-faq__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #000080;
}

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

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

.page-faq__btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* Image specific styles */
.page-faq__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.4em;
    }
    .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;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-faq__main-title {
        font-size: 2em;
    }
    .page-faq__intro-text {
        font-size: 1em;
    }

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

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__content-area,
    .page-faq__cta-section {
        padding: 40px 0;
    }

    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
    }

    .page-faq__faq-heading {
        font-size: 1.1em;
    }

    .page-faq__faq-answer {
        padding: 0 20px;
    }

    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px 20px;
    }

    .page-faq__cta-title {
        font-size: 1.8em;
    }

    /* Mobile image adaptation */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__faq-item,
    .page-faq__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__faq-list {
        padding-left: 0;
        padding-right: 0;
    }
    .page-faq__faq-item {
        padding-left: 0;
        padding-right: 0;
    }
    .page-faq__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

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