/* ============================================
   FAQ Page Styles (faq.css)
   ============================================ */

/* ---------- Breadcrumb ---------- */
.faq-breadcrumb {
    background: linear-gradient(to right, #F9FAFB, #fff);
    border-bottom: 1px solid #F3F4F6;
    margin-top: 80px;
    padding: 0 24px;
}

.faq-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
}

.faq-breadcrumb-inner a {
    color: #6B7280;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
}

.faq-breadcrumb-inner a:hover {
    color: #E85A24;
    background: rgba(232, 90, 36, 0.06);
}

.faq-breadcrumb-inner a:first-child::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.faq-bc-sep {
    margin: 0 4px;
    color: #D1D5DB;
    font-size: 11px;
}

.faq-bc-current {
    color: #E85A24;
    font-weight: 600;
    padding: 4px 8px;
}

/* ---------- Page Header ---------- */
.faq-page-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 24px;
    text-align: center;
}

.faq-page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1A2B4A;
    margin-bottom: 8px;
}

.faq-page-header p {
    font-size: 15px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Main Layout ---------- */
.faq-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: flex;
    gap: 40px;
}

/* ---------- FAQ Content (Left) ---------- */
.faq-content {
    flex: 1;
    min-width: 0;
}

/* Category Filter */
.faq-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.faq-cat-btn {
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-cat-btn:hover {
    border-color: #E55D25;
    color: #E55D25;
}

.faq-cat-btn.active {
    background: #E55D25;
    border-color: #E55D25;
    color: #fff;
}

/* FAQ Item */
.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #E55D25;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.faq-item.active {
    border-color: #E55D25;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1A2B4A;
    position: relative;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #E55D25;
}

.faq-q-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E55D25;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    color: #999;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: #E55D25;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 20px 20px 60px;
}

.faq-answer-inner {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer-inner li {
    margin-bottom: 6px;
}

.faq-answer-inner strong {
    color: #1A2B4A;
}

.faq-answer-inner a {
    color: #E55D25;
    text-decoration: none;
}

/* ---------- Sidebar (Right) ---------- */
.faq-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.faq-sidebar-section {
    margin-bottom: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.faq-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    padding: 14px 16px;
    background: #f5f6f8;
    border-bottom: 2px solid #E55D25;
    display: flex;
    align-items: center;
    gap: 6px;
}

.faq-sidebar-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #E55D25;
    border-radius: 2px;
    display: inline-block;
}

/* Still Have Questions */
.faq-contact-box {
    padding: 24px 16px;
    text-align: center;
    background: linear-gradient(135deg, #1A2B4A 0%, #2D4A75 100%);
    color: #fff;
}

.faq-contact-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-contact-box p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
    line-height: 1.6;
}

.faq-contact-btn {
    display: block;
    padding: 10px 24px;
    background: #E55D25;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.faq-contact-btn:hover {
    background: #d4522a;
}

.faq-whatsapp-btn {
    display: block;
    padding: 10px 24px;
    background: #25D366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.faq-whatsapp-btn:hover {
    background: #128C7E;
}

.faq-email-link {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.faq-email-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Related Links */
.faq-related-list {
    padding: 12px;
}

.faq-related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    font-size: 13px;
    color: #444;
    transition: color 0.2s;
}

.faq-related-item:last-child {
    border-bottom: none;
}

.faq-related-item:hover {
    color: #E55D25;
}

.faq-related-item svg {
    flex-shrink: 0;
    color: #E55D25;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
    .faq-main {
        flex-direction: column;
    }

    .faq-sidebar {
        width: 100%;
        order: 2;
    }

    .faq-sidebar-section {
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .faq-page-header {
        padding: 24px 16px 16px;
    }

    .faq-page-header h1 {
        font-size: 22px;
    }

    .faq-main {
        padding: 0 16px 40px;
    }

    .faq-sidebar {
        display: none;
    }

    .faq-categories {
        gap: 6px;
        margin-bottom: 20px;
    }

    .faq-cat-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-q-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 16px 52px;
    }
}
