/* ===== FAQ Page Styles ===== */

/* ---------- Hero Section ---------- */
.faq-hero {
    position: relative;
    height: 45vh;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(1,23,44,.78) 0%, rgba(25,109,219,.55) 100%);
}
.faq-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.faq-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.faq-hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    margin: 0;
    font-weight: 400;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 60px 0;
    background: #fff;
}
.faq-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #0f1f3c;
    text-align: center;
    margin-bottom: 8px;
}
.faq-section-title span {
    color: #196ddb;
}
.faq-divider {
    width: 60px;
    height: 4px;
    background: #196ddb;
    border-radius: 4px;
    margin: 0 auto 40px;
}

/* ---------- Accordion Items ---------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e4ebf5;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item:hover {
    border-color: #c5d9f5;
    box-shadow: 0 4px 18px rgba(25,109,219,.07);
}
.faq-item.active {
    border-color: #196ddb;
    box-shadow: 0 6px 24px rgba(25,109,219,.1);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background .2s ease;
}
.faq-question:hover {
    background: #f7fbff;
}
.faq-item.active .faq-question {
    background: #f0f6ff;
}
.faq-q-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #196ddb, #44b0ff);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.faq-q-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #0f1f3c;
    flex: 1;
    line-height: 1.4;
}
.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #d0dae8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .3s ease;
}
.faq-toggle-icon::after {
    content: '+';
    font-size: 18px;
    font-weight: 600;
    color: #6b7c93;
    line-height: 1;
    transition: transform .3s ease;
}
.faq-item.active .faq-toggle-icon {
    border-color: #196ddb;
    background: #196ddb;
}
.faq-item.active .faq-toggle-icon::after {
    content: '\2212';
    color: #fff;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 20px 0 68px;
}
.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 20px 20px 68px;
}
.faq-answer p {
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    line-height: 1.75;
    color: #3a4a5e;
    margin: 0;
}

/* ---------- Bottom CTA ---------- */
.faq-cta {
    background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('https://amforus.com/public/assets/images/banner-home.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
}
.faq-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.faq-cta .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
    letter-spacing: .5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .faq-hero-content h1 { font-size: 1.9rem; }
    .faq-section { padding: 40px 0; }
    .faq-q-text { font-size: .92rem; }
    .faq-answer p { font-size: .9rem; }
    .faq-item.active .faq-answer { padding-left: 20px; }
    .faq-answer { padding-left: 20px; }
}
@media (max-width: 480px) {
    .faq-hero { height: 35vh; min-height: 220px; }
    .faq-hero-content h1 { font-size: 1.6rem; }
    .faq-question { padding: 14px 14px; gap: 10px; }
}
