﻿/* ===========================================
   HERO
=========================================== */

.container-fluid.bg-primary {
    position: relative;
    overflow: hidden;
}

    .container-fluid.bg-primary::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        right: -150px;
        top: -220px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
    }

    .container-fluid.bg-primary::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        left: -100px;
        bottom: -120px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

/* ===========================================
   SEARCH
=========================================== */

.faq-header-section {
    background: #fff;
    padding: 35px 0 25px;
}

.faq-search {
    max-width: 850px;
    margin: auto;
    position: relative;
}

    .faq-search i {
        position: absolute;
        left: 22px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 17px;
    }

    .faq-search input {
        width: 100%;
        height: 64px;
        padding: 0 24px 0 58px;
        border: 1px solid #edf2f7;
        border-radius: 18px;
        background: rgba(255,255,255,.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 35px rgba(0,0,0,.08);
        font-size: 15px;
        transition: all .3s ease;
    }

        .faq-search input:focus {
            outline: none;
            border-color: rgba(13,110,253,.4);
            box-shadow: 0 12px 35px rgba(13,110,253,.18);
        }

.faq-count {
    text-align: center;
    margin-top: 15px;
    color: #6b7280;
    font-size: 14px;
}

/* ===========================================
   FAQ
=========================================== */

.faq-wrapper {
    max-width: 850px;
    margin: 15px auto 80px auto;
}

.faq-accordion .accordion-item {
    border: 1px solid #edf2f7;
    border-radius: 18px;
    background: #fff;
    margin-bottom: 14px;
    padding: 0 24px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.04);
    transition: all .25s ease;
}

    .faq-accordion .accordion-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,.08);
    }

    .faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
        background: linear-gradient( 90deg, rgba(13,110,253,.05), rgba(13,110,253,.01) );
        border-color: rgba(13,110,253,.25);
    }

.faq-accordion .accordion-button {
    background: transparent;
    box-shadow: none !important;
    padding: 22px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
}

    .faq-accordion .accordion-button:hover {
        color: #0d6efd;
    }

    .faq-accordion .accordion-button:not(.collapsed) {
        background: transparent;
        color: #0d6efd;
    }

    .faq-accordion .accordion-button:focus {
        box-shadow: none;
    }

    .faq-accordion .accordion-button::after {
        display: none;
    }

    /* + - ICON */

    .faq-accordion .accordion-button::before {
        content: "+";
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 50%;
        background: #f3f4f6;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        font-size: 22px;
        font-weight: 400;
        transition: all .3s ease;
    }

    .faq-accordion .accordion-button:not(.collapsed)::before {
        content: "−";
        background: #0d6efd;
        color: #fff;
        transform: rotate(180deg);
    }

.faq-accordion .accordion-body {
    padding: 0 0 24px 50px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.9;
}

    .faq-accordion .accordion-body p:last-child {
        margin-bottom: 0;
    }

/* ===========================================
   MOBILE
=========================================== */

@media(max-width:768px) {

    .faq-header-section {
        padding: 25px 0;
    }

    .faq-search input {
        height: 58px;
    }

    .faq-accordion .accordion-item {
        padding: 0 18px;
    }

    .faq-accordion .accordion-button {
        font-size: 15px;
        padding: 18px 0;
    }

    .faq-accordion .accordion-body {
        padding-left: 0;
        font-size: 14px;
    }

    .faq-accordion .accordion-button::before {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 18px;
    }
}
.faq-meta {
    max-width: 850px;
    margin: 0 auto 15px auto;
}

.faq-badge-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #eef5ff;
    color: #0d6efd;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}
.faq-total-count {
    position: absolute;
    right: -12px;
    top: -12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f59e0b,#f97316);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(245,158,11,.35);
}
.announcement-header {
    background: linear-gradient(135deg,#0f172a,#1e3a8a,#2563eb) !important;
}
