/* --- General Styles --- */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

/* --- Hero Section --- */
.page-faq__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #F4F7FB 0%, #E0E7F5 100%); /* Light background gradient */
}

.page-faq__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 16px;
    gap: 40px;
}

.page-faq__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: #1F2D3D; /* Text Main */
}

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

.page-faq__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-faq__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Important for mobile responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Primary color */
    border: 2px solid #2F6BFF; /* Primary color */
}

.page-faq__btn-secondary:hover {
    background: #2F6BFF; /* Primary color */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-faq__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-faq__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure image behaves as a block element */
    margin: 0 auto;
    filter: none; /* Ensure no CSS filter */
}

/* --- Content Area --- */
.page-faq__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 60px 16px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: -30px; /* Pull up to overlap hero section slightly */
    position: relative;
    z-index: 1;
    color: #1F2D3D; /* Text Main for general content */
}

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

.page-faq__faq-item {
    background-color: #F4F7FB; /* Background */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    overflow: hidden;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    cursor: pointer;
    background-color: #ffffff; /* Lighter background for question */
    border-bottom: 1px solid #D6E2FF; /* Border */
    list-style: none; /* Hide default marker for <summary> */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-faq__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> */
}

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F6BFF; /* Primary color */
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-faq__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    line-height: 1.7;
    background-color: #F4F7FB; /* Background */
}

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

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

.page-faq__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    filter: none; /* Ensure no CSS filter */
}

/* Inline CTA buttons within answers */
.page-faq__cta-buttons--inline {
    margin-top: 20px;
    gap: 10px;
    justify-content: flex-start;
}

.page-faq__cta-buttons--inline .page-faq__btn-primary,
.page-faq__cta-buttons--inline .page-faq__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
    max-width: 250px; /* Limit width for inline buttons on desktop */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-faq__hero-container {
        padding: 30px 20px;
        gap: 30px;
    }

    .page-faq__hero-content,
    .page-faq__hero-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .page-faq__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
        text-align: center;
    }

    .page-faq__hero-description {
        text-align: center;
    }

    .page-faq__cta-buttons {
        justify-content: center;
    }

    .page-faq__content-area {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    /* HERO Section mobile */
    .page-faq__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-faq__hero-container {
        padding: 20px 15px;
        flex-direction: column;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-faq__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Buttons mobile adaptation */
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        padding-left: 15px !important; /* Add padding to container */
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}