/* =========================================================
   FAQ page (Views/Home/MostAskedQuestions)
   ========================================================= */

:root {
    --faq-primary: #1e88e5;
    --faq-primary-soft: #e8f2fd;
    --faq-accent: #fb9017;
    --faq-ink: #1f2937;
    --faq-text: #374151;
    --faq-muted: #6b7280;
    --faq-line: #edf1f6;
    --faq-bg: #f5f8fc;
    --faq-radius: 18px;
    --faq-shadow: 0 10px 28px -18px rgba(15, 35, 70, .38);
    --faq-ease: cubic-bezier(.22, .61, .36, 1);
}

body {
    background: var(--faq-bg);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.faq-hero {
    position: relative;
    padding: 60px 0 70px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f2c52 0%, #1565c0 55%, #1e88e5 100%);
}

.faq-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.faq-hero-shape-1 {
    top: -120px;
    left: -80px;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, .07);
}

.faq-hero-shape-2 {
    bottom: -160px;
    right: 8%;
    width: 300px;
    height: 300px;
    background: rgba(251, 144, 23, .18);
    filter: blur(20px);
}

.faq-hero-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.faq-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
}

    .faq-breadcrumb a {
        color: rgba(255, 255, 255, .85);
    }

        .faq-breadcrumb a:hover {
            color: #fff;
            text-decoration: none;
        }

    .faq-breadcrumb > i {
        font-size: 9px;
        opacity: .6;
    }

    .faq-breadcrumb span {
        color: var(--faq-accent);
        font-weight: 700;
    }

.faq-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.faq-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
}

/* ---------------------------------------------------------
   List
   --------------------------------------------------------- */
.faq-section {
    padding: 50px 0 70px;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: var(--faq-radius);
    box-shadow: var(--faq-shadow);
    overflow: hidden;
    transition: box-shadow .25s var(--faq-ease), border-color .25s var(--faq-ease);
}

    .faq-item:hover {
        border-color: var(--faq-primary-soft);
    }

.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    color: var(--faq-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}

    .faq-q:hover {
        color: var(--faq-primary);
    }

.faq-q-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--faq-primary-soft);
    color: var(--faq-primary);
    font-size: 14px;
}

.faq-q-text {
    flex: 1;
    line-height: 1.7;
}

.faq-q-caret {
    flex: 0 0 auto;
    color: var(--faq-muted);
    font-size: 14px;
    transform: rotate(180deg);
    transition: transform .3s var(--faq-ease), color .3s var(--faq-ease);
}

.faq-q:hover .faq-q-caret {
    color: var(--faq-primary);
}

.faq-q.collapsed .faq-q-caret {
    transform: rotate(0deg);
}

.faq-a {
    padding: 0 22px 20px 62px;
    color: var(--faq-text);
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width: 575.98px) {
    .faq-hero {
        padding: 40px 0 50px;
    }

        .faq-hero h1 {
            font-size: 24px;
        }

        .faq-hero p {
            font-size: 14px;
        }

    .faq-q {
        padding: 15px 16px;
        font-size: 14px;
    }

    .faq-a {
        padding: 0 16px 16px 50px;
        font-size: 13px;
    }

    .faq-q-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item, .faq-q-caret {
        transition: none !important;
    }
}
