/* ============================================
   FAQ PAGE  -  scoped .tpfaq-
   ============================================ */

/* ------------------------------------------------
   SECTION
   ------------------------------------------------ */
.tpfaq-section {
    padding: 50px 0;
    background: #ffffff;
}
.tpfaq-question,
.tpfaq-answer {
    cursor: pointer;
}
.tpfaq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ------------------------------------------------
   HEADER
   ------------------------------------------------ */
.tpfaq-header {
    text-align: center;
    margin-bottom: 50px;
}

.tpfaq-badge {
    display: inline-block;
    background: rgba(236, 169, 13, 0.12);
    color: #ECA90D;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.tpfaq-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #01295E !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
}

.tpfaq-title span {
    color: #ECA90D !important;
}

.tpfaq-subtitle {
    font-size: 16px !important;
    color: #6c757d !important;
    margin: 0 auto !important;
    max-width: 520px;
    line-height: 1.6 !important;
}

/* ------------------------------------------------
   LAYOUT
   ------------------------------------------------ */
.tpfaq-layout {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.tpfaq-accordion-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ------------------------------------------------
   FAQ ITEM
   ------------------------------------------------ */
.tpfaq-item {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(1, 41, 94, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tpfaq-item.tpfaq-open {
    border-color: rgba(236, 169, 13, 0.4);
    box-shadow: 0 8px 28px rgba(1, 41, 94, 0.08);
}

/* ------------------------------------------------
   QUESTION BUTTON
   ------------------------------------------------ */
.tpfaq-question {
    width: 100%;
    text-align: left;
    background: #f8faff;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
}

.tpfaq-question:hover {
    background: rgba(236, 169, 13, 0.06);
}

.tpfaq-item.tpfaq-open .tpfaq-question {
    background: rgba(236, 169, 13, 0.08);
}

/* Number badge */
.tpfaq-q-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ECA90D;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.tpfaq-item.tpfaq-open .tpfaq-q-number {
    background: #01295E;
}

/* Question text */
.tpfaq-q-text {
    flex: 1;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #01295E !important;
    line-height: 1.4 !important;
}

/* Chevron */
.tpfaq-icon {
    flex-shrink: 0;
    color: #ECA90D;
    font-size: 13px;
    transition: transform 0.35s ease;
}

.tpfaq-item.tpfaq-open .tpfaq-icon {
    transform: rotate(180deg);
}

/* ------------------------------------------------
   ANSWER
   ------------------------------------------------ */
.tpfaq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
    background: #fff;
}

.tpfaq-answer p {
    margin: 0 !important;
    padding: 18px 20px 20px 70px !important;
    font-size: 15px !important;
    color: #6c757d !important;
    line-height: 1.75 !important;
}

/* ------------------------------------------------
   SIDEBAR
   ------------------------------------------------ */
.tpfaq-sidebar {
    flex: 0 0 290px;
    min-width: 290px;
}

.tpfaq-sidebar > * {
    position: sticky;
    top: 30px;
}

/* CTA Box */
.tpfaq-cta-box {
    background: #01295E;
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    margin-bottom: 22px;
}

.tpfaq-cta-icon {
    width: 64px;
    height: 64px;
    background: rgba(236, 169, 13, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: #ECA90D;
}

.tpfaq-cta-box h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
}

.tpfaq-cta-box p {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.6 !important;
}

.tpfaq-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ECA90D;
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.tpfaq-cta-btn:hover {
    background: #d49a0c;
    transform: translateY(-2px);
    color: #fff !important;
}

.tpfaq-cta-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tpfaq-cta-call:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Quick Links */
.tpfaq-quick-links {
    background: #f8faff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 24px 22px;
}

.tpfaq-quick-links h5 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #01295E !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f7;
}

.tpfaq-quick-links ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tpfaq-quick-links ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.tpfaq-quick-links ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tpfaq-quick-links ul li a:hover {
    background: rgba(236, 169, 13, 0.1);
    color: #01295E !important;
    transform: translateX(4px);
}

.tpfaq-quick-links ul li a i {
    color: #ECA90D;
    font-size: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .tpfaq-section {
        padding: 60px 0;
    }

    .tpfaq-title {
        font-size: 32px !important;
    }

    .tpfaq-layout {
        flex-direction: column;
    }

    .tpfaq-sidebar {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
    }

    .tpfaq-sidebar > * {
        position: static;
    }

   
   

    .tpfaq-cta-box h4 {
        grid-area: heading;
        margin-bottom: 4px !important;
        align-self: end;
    }

    .tpfaq-cta-box p {
        grid-area: para;
        margin-bottom: 14px !important;
        align-self: start;
    }

    .tpfaq-cta-btn {
        grid-area: btn1;
        margin-bottom: 8px;
    }

    .tpfaq-cta-call {
        grid-area: btn2;
    }

    .tpfaq-quick-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 30px;
    }

    .tpfaq-quick-links h5 {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .tpfaq-section {
        padding: 45px 0;
    }

    .tpfaq-title {
        font-size: 26px !important;
    }

    .tpfaq-subtitle {
        font-size: 14px !important;
        padding: 0 6px;
    }

    .tpfaq-header {
        margin-bottom: 35px;
    }

    .tpfaq-accordion-wrap {
        gap: 10px;
    }

    .tpfaq-question {
        padding: 14px 16px;
        gap: 10px;
    }

    .tpfaq-q-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 8px;
    }

    .tpfaq-q-text {
        font-size: 14px !important;
    }

    .tpfaq-answer p {
        padding: 14px 16px 16px 56px !important;
        font-size: 14px !important;
    }

    .tpfaq-cta-box {
        grid-template-columns: 1fr;
        grid-template-areas:
            "icon"
            "heading"
            "para"
            "btn1"
            "btn2";
        text-align: center;
        padding: 24px 18px;
    }

    .tpfaq-cta-icon {
        margin: 0 auto 12px;
    }

    .tpfaq-quick-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .tpfaq-title {
        font-size: 22px !important;
    }

    .tpfaq-badge {
        font-size: 11px;
        padding: 4px 14px;
    }

    .tpfaq-q-text {
        font-size: 13px !important;
    }

    .tpfaq-answer p {
        padding: 12px 14px 14px 50px !important;
        font-size: 13px !important;
    }
}   