.page-faq {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Main content background should be transparent to show body's background */
}

.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    gap: 30px;
    background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color overlay */
    border-bottom: 2px solid #26A9E0;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-faq__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-faq__description {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

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

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

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

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

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

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

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

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for FAQ items */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-faq__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
    list-style: none; /* For details/summary */
}

/* Remove default marker for details/summary */
.page-faq__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-faq__faq-item summary::marker {
    display: none;
}

.page-faq__faq-question:hover {
    color: #26A9E0;
}

.page-faq__faq-qtext {
    flex-grow: 1;
}

.page-faq__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or simply change to '-' */
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #e0e0e0;
}

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

.page-faq__faq-answer img {
    margin-top: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-faq__image {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-faq__cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Gradient for dark section */
    text-align: center;
    border-top: 2px solid #1a7bb0;
}

.page-faq__dark-section {
    color: #ffffff;
}

.page-faq__cta-title {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.1rem;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.page-faq__copyright-section {
    padding: 30px 20px;
    text-align: center;
    background-color: #000000; /* Explicit black background for copyright */
    color: #f0f0f0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-faq__hero-section {
        padding: 40px 15px;
    }
    .page-faq__content-area {
        padding: 40px 15px;
    }
    .page-faq__faq-question {
        padding: 18px 20px;
        font-size: 1.1rem;
    }
    .page-faq__faq-answer {
        padding: 0 20px 18px;
    }
    .page-faq__cta-section {
        padding: 60px 15px;
    }
}

@media (max-width: 768px) {
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-section,
    .page-faq__content-area,
    .page-faq__cta-section,
    .page-faq__faq-item,
    .page-faq__copyright-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
    }

    .page-faq__main-title {
        font-size: 2rem;
    }

    .page-faq__description {
        font-size: 1rem;
    }

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

    .page-faq__cta-button {
        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__faq-question {
        font-size: 1rem;
        padding: 15px 15px;
    }

    .page-faq__faq-answer {
        font-size: 0.95rem;
        padding: 0 15px 15px;
    }
}