.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared */
}

.page-faq__hero-section {
    position: relative;
    padding: 120px 20px 80px; /* Default desktop padding, will be adjusted for header-offset */
    background: linear-gradient(135deg, #26A9E0, #1a7bb5); /* Primary brand color gradient */
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-faq__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__video-cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-faq__btn-secondary:hover {
    background: #f0f0f0;
    color: #1a7bb5;
    border-color: #1a7bb5;
    transform: translateY(-2px);
}

.page-faq__video-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Darker background for video */
    color: #ffffff;
    text-align: center;
}

.page-faq__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px; /* Max width for video */
    margin: 40px auto 0;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__video {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.page-faq__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through initially */
}

.page-faq__video-wrapper:hover .page-faq__video-overlay {
    opacity: 1;
    pointer-events: auto; /* Enable clicks on overlay when hovered */
}

.page-faq__video-cta-text {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-faq__video-cta-button {
    background: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-faq__video-cta-button:hover {
    background: #d46f06;
    border-color: #d46f06;
    transform: translateY(-2px);
}

.page-faq__accordion-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for FAQ content */
    color: #333333; /* Dark text for light background */
}

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

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

.page-faq__faq-item {
    background-color: #f9f9f9;
    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__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #f0f0f0;
}

.page-faq__faq-question h3 {
    margin: 0;
    font-size: 1.1em; /* Keep h3 font size consistent with question text */
    color: #333333;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    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: #555555;
    font-size: 0.95em;
}

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

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

.page-faq__faq-answer a {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
}

.page-faq__promotion-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #26A9E0, #1a7bb5);
    color: #ffffff;
    text-align: center;
}

.page-faq__promotion-section .page-faq__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-faq__promotion-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-faq__promotion-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

.page-faq__promotion-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-faq__promotion-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
}

.page-faq__contact-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light blueish background */
    color: #333333;
    text-align: center;
}

.page-faq__contact-section .page-faq__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-faq__contact-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-faq__contact-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #26A9E0;
    font-weight: bold;
}

.page-faq__contact-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-faq__contact-info .page-faq__btn-primary,
.page-faq__contact-info .page-faq__btn-secondary {
    margin-right: 15px;
    margin-bottom: 10px; /* For mobile stacking */
}

.page-faq__contact-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-faq__contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element */
}

@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__promotion-title,
    .page-faq__contact-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 100px 15px 60px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-faq__main-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq__video-cta-button,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin: 0 auto; /* Center buttons when stacked */
    }

    .page-faq__video-section {
        padding: 60px 15px;
    }
    .page-faq__video-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__video-overlay {
        font-size: 0.9em;
    }
    .page-faq__video-cta-text {
        font-size: 1.2em;
    }

    .page-faq__accordion-section {
        padding: 60px 15px;
    }
    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-faq__faq-question h3 {
        font-size: 1em;
    }
    .page-faq__faq-answer {
        padding: 10px 20px 20px;
        font-size: 0.9em;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px 20px;
    }

    .page-faq__promotion-section .page-faq__container,
    .page-faq__contact-section .page-faq__container {
        flex-direction: column;
        text-align: center;
    }
    .page-faq__promotion-content,
    .page-faq__contact-info {
        text-align: center;
        width: 100%;
    }
    .page-faq__promotion-image,
    .page-faq__contact-image {
        width: 100%;
        margin-top: 30px;
    }
    .page-faq__promotion-image img,
    .page-faq__contact-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-faq__contact-info .page-faq__btn-primary,
    .page-faq__contact-info .page-faq__btn-secondary {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.page-faq img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    object-fit: cover; /* Ensure image covers the area without distortion */
}

@media (max-width: 768px) {
    .page-faq img:not(.shared-header img):not(.shared-footer img) {
        min-width: unset; /* Allow to shrink on mobile */
        min-height: unset;
        width: 100% !important; /* Fill container */
        height: auto !important;
    }
}