.page-faq {
    color: #ffffff; /* Body background is dark, so text is light */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #000000; /* Ensure main content background matches body */
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    box-sizing: border-box;
}

.page-faq__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

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

.page-faq__content-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
}

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

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

.page-faq__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
    border-radius: 10px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

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

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question h3 {
    margin: 0;
    color: #ffffff;
}

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

.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: #f0f0f0;
}

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

.page-faq__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

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

.page-faq__cta-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgba(38, 169, 224, 0.15); /* Light transparency of brand color */
    border-radius: 10px;
    padding: 30px;
    margin-top: 60px;
    gap: 30px;
}

.page-faq__cta-image {
    width: 350px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-faq__cta-content {
    flex-grow: 1;
    color: #ffffff;
}

.page-faq__cta-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-faq__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq__video-section {
    padding: 60px 0;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.page-faq__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background-color: #1a1a1a;
    box-shadow: 0 0 20px rgba(38, 169, 224, 0.4);
}

.page-faq__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    max-width: 100%; /* Ensure video does not overflow */
    display: block;
}

.page-faq__video-cta-container {
    margin-top: 30px;
}

/* Button Styles */
.page-faq__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
    background: #1e87b7;
    transform: translateY(-2px);
}

.page-faq__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.8em;
    }
    .page-faq__hero-description {
        font-size: 1.1em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .page-faq__cta-image {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-faq__main-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__section-description {
        font-size: 0.95em;
    }
    .page-faq__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-faq__faq-answer {
        padding: 0 20px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__cta-banner,
    .page-faq__video-section,
    .page-faq__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile video responsiveness */
    .page-faq video,
    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile button responsiveness */
    .page-faq__cta-button,
    .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__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-faq__hero-content .page-faq__hero-cta {
        width: auto; /* Allow button to shrink if content fits */
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 0.9em;
    }
    .page-faq__section-title {
        font-size: 1.5em;
    }
    .page-faq__cta-title {
        font-size: 1.5em;
    }
    .page-faq__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}