/* --- Base Banner Styles --- */
.faq-banner {
    background-color: #0052cc;
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: visible;
    margin-top: 200px;
}

.faq-banner__inner {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

/* --- Content (Text & Button) Styles --- */
.faq-banner__content {
    flex: 1;
    padding-left: 20px;
}

.faq-banner__title {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 20px !important;
    color: white;
}

.faq-banner__description {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 680px;
    line-height: 1.45;
}

.faq-banner__description p {
    color: white;
}

/* Button */
.faq-banner__button {
    display: inline-block;
    padding: 10px 10px;
    border: 1px solid white;
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.15s, color 0.15s;
    width: 150px;
    text-align: center;
    margin-bottom: 30px;
}

.faq-banner__button:hover,
.faq-banner__button:focus {
    background-color: white;
    color: #0052cc !important;
    outline: none;
}

/* --- Image Positioning --- */

/* Mobile: Hide image completely */
@media (max-width: 768px) {
    .faq-banner {
        margin-top: 0; /* Remove top margin on mobile */
    }

    .faq-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .faq-banner__image {
        display: none; /* Hide image on mobile */
    }

    .faq-banner__content {
        padding-left: 0;
        margin-left: 0;
    }

    .faq-banner__title {
        font-size: 1.5rem;
    }
}

/* Tablet: Image on the left */
@media (min-width: 769px) and (max-width: 1024px) {
    .faq-banner {
        margin-top: 150px; /* Reduced margin for tablet */
    }

    .faq-banner__image {
        position: absolute;
        bottom: 0;
        left: 20px; /* Moved closer to left edge */
        width: 300px; /* Smaller width for tablet */
        height: auto;
    }

    .faq-banner__image img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .faq-banner__content {
        margin-left: 320px; /* Adjusted for smaller image */
        padding-left: 10px;
    }

    .faq-banner__title {
        font-size: 1.75rem;
    }

    .faq-banner__description {
        max-width: 100%;
    }
}

/* Large desktop screens */
@media (min-width: 1440px) {
    .faq-banner__image {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 800px;
        height: auto;
    }

    .faq-banner__image img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .faq-banner__content {
        margin-left: 450px;
    }
}

/* Regular desktop (your existing one) */
@media (min-width: 1025px) and (max-width: 1439px) {
    .faq-banner__image {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 600px;
        height: auto;
    }

    .faq-banner__image img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .faq-banner__content {
        margin-left: 450px;
    }
}

/* Smaller desktop / large laptop */
@media (min-width: 992px) and (max-width: 1024px) {
    .faq-banner__image {
        left: -50px;
        width: 600px;
    }

    .faq-banner__content {
        margin-left: 380px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .faq-banner__image {
        position: absolute;
        bottom: 0;
        left: -90px;
        width: 575px;
        height: auto;
    }
}
