/* ================================================
   faq.css - styles specific to the FAQ page
   Requires style.css to be loaded first
   ================================================ */

/* Shrink the banner header on the FAQ page */
.top-header {
    padding: 40px 0;
}

/* Page hero */
.faq-hero {
    text-align: center;
    padding: 30px 20px 10px;
    margin-top: 0;
}

.faq-hero img {
    width: 2420px;
    margin-left: -530px;
    height: auto;
}

/* Back button */
.back-btn-wrap {
    padding: 20px 30px 0;
    max-width: 900px;
    margin: 0 auto;
}

.back-btn {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.back-btn img {
    height: 100px;
    width: auto;
    display: block;
}

.back-btn:hover {
    transform: translateY(-2px) scale(1.06);;
    filter: drop-shadow(0 4px 10px rgba(102, 126, 234, 0.3));
}

/* FAQ container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 30px 80px;
}

/* Category blocks */
.faq-category {
    margin-bottom: 40px;
}

.faq-category-img {
    height: 140px;
    margin-left: -1500px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

/* Individual FAQ item images — shifted left so the answer box aligns
   with the start of the category banner */
.faq-item-img {
    width: calc(100% + 70px);
    margin-left: -110px;
    height: auto;
    display: block;
    margin-bottom: -20px;
}

/* Help Banner */
.help-banner {
    margin-top:20px;
    text-align:center;
}

.help-banner img {
    width:140%;
    max-width:1100px;
    height:auto;
    display:block;
    margin:0 auto;
    margin-left: -150px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-header {
        padding: 20px 0;
    }

    .faq-container {
        padding: 10px 16px 60px;
    }

    .faq-category-img {
        height: 48px;
    }

    .help-banner img {
        width:100%;
    }
}
