/* =====================================================
   FAQ PAGE — VISUAL OVERRIDE STYLES
   ===================================================== */

/* Background */
.fondfaq {
    background: linear-gradient(160deg, #06172e 0%, #07284D 55%, #0a3560 100%);
    padding: 0 0 72px;
    min-height: 100vh;
}

/* ── Hero Section ── */
.faq-section1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 80px 20px 56px;
    text-align: center;
    display: block;
    gap: 0;
    position: relative;
}

.faq-section1::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79,195,247,.5), transparent);
    margin: 48px auto 0;
}

.faq-image { display: none; }

.faq-hero-content { max-width: 680px; margin: 0 auto; }

.faq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(79,195,247,.1);
    border: 1px solid rgba(79,195,247,.28);
    color: #4fc3f7;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.faq-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.faq-hero-title span {
    background: linear-gradient(90deg, #4fc3f7 0%, #81d4fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero-sub {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 36px;
}

/* Search bar */
.faq-search-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.faq-search {
    width: 100%;
    padding: 15px 22px 15px 50px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color .3s, background .3s, box-shadow .3s;
    box-sizing: border-box;
    font-family: inherit;
}

.faq-search::placeholder { color: rgba(255,255,255,.35); }

.faq-search:focus {
    border-color: rgba(79,195,247,.5);
    background: rgba(255,255,255,.1);
    box-shadow: 0 0 0 3px rgba(79,195,247,.1);
}

.faq-search-icon {
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.35);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color .3s;
}

.faq-search-wrap:focus-within .faq-search-icon { color: rgba(79,195,247,.7); }

/* ── FAQ section wrapper ── */
.faq-section {
    width: 90%;
    max-width: 820px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: block;
    gap: 0;
}

/* ── Category headers ── */
.faq-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 38px 0 14px;
}

.faq-category:first-child { margin-top: 0; }

.faq-category-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(79,195,247,.14);
    border: 1px solid rgba(79,195,247,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4fc3f7;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.faq-category-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4fc3f7;
    white-space: nowrap;
}

.faq-category-line {
    flex: 1;
    height: 1px;
    background: rgba(79,195,247,.18);
}

/* ── FAQ Items ── */
.faq-item {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 8px;
    transition: border-color .25s ease, background .25s ease;
    display: flex;
    flex-direction: column;
}

.faq-item:hover {
    border-color: rgba(79,195,247,.22);
    background: rgba(255,255,255,.05);
}

.faq-item.active {
    border-color: rgba(79,195,247,.4);
    background: rgba(79,195,247,.04);
}

.faq-item.faq-hidden { display: none !important; }

/* ── Question ── */
.faq-question {
    padding: 18px 20px;
    background: transparent;
    color: #cce4f7;
    font-size: 0.96rem;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    line-height: 1.45;
    user-select: none;
}

.faq-question:hover { color: #fff; background: transparent; }
.faq-item.active .faq-question { color: #4fc3f7; }

/* Chevron icon */
.faq-chevron {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    color: rgba(255,255,255,.45);
    transition: transform .32s ease, border-color .25s, color .25s;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    border-color: rgba(79,195,247,.65);
    color: #4fc3f7;
}

/* ── Answer (smooth max-height accordion) ── */
.faq-answer {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease;
    background: transparent;
    border-left: none;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 700px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    color: rgba(255,255,255,.62);
    font-size: 0.93rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 16px;
}

.faq-answer-inner a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(79,195,247,.3);
    transition: border-color .2s, color .2s;
}

.faq-answer-inner a:hover {
    color: #81d4fa;
    border-color: #81d4fa;
}

/* Suppress conflicting base styles */
.faq-question.active + .faq-answer { display: block !important; }

/* No-results message */
.faq-no-results {
    text-align: center;
    color: rgba(255,255,255,.35);
    padding: 40px 0;
    font-size: 0.95rem;
    display: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .faq-section1 { padding: 60px 16px 40px; }
    .faq-section { width: 94%; }
    .faq-question { font-size: 0.9rem; padding: 16px 14px; }
    .faq-answer-inner { padding: 14px 14px 18px; font-size: 0.88rem; }
    .faq-hero-title { font-size: 1.8rem; }
}