.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, relying on body padding for header offset */
    padding-bottom: 60px;
    background-color: #F4F7FB; /* Background */
}

.page-faq__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 15px;
}

.page-faq__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-faq__hero-title {
    font-size: clamp(2em, 3.2vw, 3.2em); /* Using clamp for responsive font size */
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-faq__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-faq__cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-faq__cta-button--secondary {
    background-color: #ffffff;
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
}

.page-faq__cta-button--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

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

.page-faq__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Intro Section */
.page-faq__intro-section {
    padding: 60px 0;
    background-color: #ffffff; /* Card BG */
    text-align: center;
}

.page-faq__intro-title {
    font-size: clamp(1.8em, 2.5vw, 2.5em);
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

.page-faq__intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
    line-height: 1.7;
}

/* FAQ Section */
.page-faq__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-faq__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faq__section-title {
    font-size: clamp(2em, 2.8vw, 2.8em);
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
}

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

.page-faq__faq-item {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #ffffff; /* Card BG */
    border-bottom: 1px solid transparent; /* No border by default, only on open */
    list-style: none; /* For details/summary */
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
    border-bottom: 1px solid #D6E2FF; /* Border when open */
}

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

.page-faq__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #2F6BFF; /* Main Color */
    transition: transform 0.3s ease;
}

/* The rotation is handled by JS for the content change */

.page-faq__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
    border-top: none;
}

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

.page-faq__faq-answer ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

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

.page-faq__faq-answer a {
    color: #2F6BFF; /* Main Color */
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    text-decoration: none;
}

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

/* Call to Action Bottom Section */
.page-faq__cta-bottom-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%); /* Using brand colors for a gradient */
    text-align: center;
    color: #ffffff;
}

.page-faq__cta-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-faq__cta-bottom-title {
    font-size: clamp(2em, 2.5vw, 2.5em);
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0;
}

.page-faq__cta-bottom-description {
    font-size: 1.1em;
    color: #ffffff;
    max-width: 700px;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: clamp(2em, 3vw, 2.8em);
    }
    .page-faq__section-title {
        font-size: clamp(1.8em, 2.5vw, 2.4em);
    }
    .page-faq__intro-title {
        font-size: clamp(1.6em, 2.2vw, 2.2em);
    }
    .page-faq__cta-bottom-title {
        font-size: clamp(1.8em, 2.2vw, 2.2em);
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-faq__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px !important;
    }

    .page-faq__hero-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }

    .page-faq__hero-content,
    .page-faq__hero-image {
        flex: 1 1 100%;
        min-width: unset;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__hero-title {
        font-size: 2em !important;
        text-align: center;
    }

    .page-faq__hero-description {
        font-size: 1em !important;
        text-align: center;
    }

    .page-faq__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-faq__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Intro Section */
    .page-faq__intro-section {
        padding: 40px 0 !important;
    }
    .page-faq__intro-title {
        font-size: 1.8em !important;
        padding: 0 15px;
    }
    .page-faq__intro-text {
        font-size: 0.95em !important;
        padding: 0 15px;
    }

    /* FAQ Section */
    .page-faq__faq-section {
        padding: 40px 0 !important;
    }
    .page-faq__section-title {
        font-size: 2em !important;
        margin-bottom: 30px !important;
        padding: 0 15px;
    }
    .page-faq__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-faq__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px !important;
    }
    .page-faq__faq-answer {
        font-size: 0.95em !important;
        padding: 15px 20px !important;
    }
    .page-faq__faq-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Call to Action Bottom Section */
    .page-faq__cta-bottom-section {
        padding: 60px 0 !important;
    }
    .page-faq__cta-bottom-title {
        font-size: 1.8em !important;
        padding: 0 15px;
    }
    .page-faq__cta-bottom-description {
        font-size: 1em !important;
        padding: 0 15px;
    }

    /* General image and container rules for content areas */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-faq__intro-section,
    .page-faq__faq-section,
    .page-faq__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-faq__faq-list,
    .page-faq__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}