.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Main text color for dark body background */
    background-color: transparent; /* body already has background */
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding: 120px 20px 60px; /* Adjusted padding-top for header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #1A8EC2); /* Brand color gradient */
    overflow: hidden;
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-faq__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    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-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* For mobile responsiveness */
    word-wrap: break-word; /* For mobile responsiveness */
}

.page-faq__btn-primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

.page-faq__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

/* Content Section */
.page-faq__content-section {
    padding: 80px 20px;
    background-color: #0d0d0d; /* Slightly lighter dark background for content */
    color: #ffffff;
}

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

.page-faq__section-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for main titles */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* FAQ List */
.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-faq__faq-item {
    background: rgba(255, 255, 255, 0.1); /* Subtle white background for FAQ items */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

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

.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); /* Slightly darker for question area */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-faq__faq-question h3 {
    font-size: 1.4em;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
    line-height: 1.4;
}

.page-faq__faq-toggle {
    font-size: 2em;
    color: #26A9E0;
    font-weight: bold;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg);
    color: #EA7C07; /* Highlight toggle for active state */
}

.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 for content */
    padding: 20px 25px;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-faq__faq-answer li {
    margin-bottom: 8px;
}

.page-faq__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Call to Action Section */
.page-faq__cta-section {
    text-align: center;
    padding: 60px 20px;
    margin-top: 60px;
    background: linear-gradient(135deg, #1A8EC2, #26A9E0); /* Gradient with brand colors */
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.page-faq__cta-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.page-faq__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.page-faq__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.page-faq__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}


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

/* Mobile */
@media (max-width: 768px) {
    .page-faq__hero-section {
        padding-top: var(--header-offset, 120px);
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 40px;
    }
    .page-faq__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-faq__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-faq__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-faq__content-section {
        padding: 40px 15px;
    }
    .page-faq__container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-faq__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
    }
    .page-faq__faq-question h3 {
        font-size: 1.1em;
    }
    .page-faq__faq-toggle {
        font-size: 1.8em;
    }
    .page-faq__faq-answer {
        padding: 0 20px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px;
    }
    .page-faq__faq-answer p,
    .page-faq__faq-answer li {
        font-size: 0.95em;
    }

    /* Images responsiveness for mobile */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__image-inline {
        margin: 15px auto;
    }

    /* Video responsiveness for mobile (if any) */
    .page-faq video,
    .page-faq__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-faq__video-section,
    .page-faq__video-container,
    .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;
    }
    .page-faq__video-section {
      padding-top: var(--header-offset, 120px) !important; /* Only if this section is the first content */
    }

    /* CTA Section Mobile */
    .page-faq__cta-section {
        padding: 40px 15px;
        margin-top: 40px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-faq__cta-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
}

/* Ensure images don't have filter property */
.page-faq img {
    filter: none; /* Explicitly remove any potential filter */
}

/* Color contrast enforcement - Dark body background means light text */
.page-faq p,
.page-faq li,
.page-faq h1,
.page-faq h2,
.page-faq h3,
.page-faq h4,
.page-faq h5,
.page-faq h6,
.page-faq__hero-description,
.page-faq__section-description,
.page-faq__cta-description {
    color: #ffffff; /* Ensure light text on dark background */
}
.page-faq__section-title,
.page-faq__faq-toggle {
    color: #26A9E0; /* Brand color, ensure contrast with background */
}
.page-faq__faq-item.active .page-faq__faq-toggle {
    color: #EA7C07; /* Highlight color for active toggle */
}

/* Ensure button text is white on primary button */
.page-faq__btn-primary {
    color: #ffffff;
}
.page-faq__btn-secondary {
    color: #ffffff;
}
.page-faq__btn-secondary:hover {
    color: #26A9E0; /* Example: If hover background becomes white, text should be dark */
    background: #ffffff;
}