/* ==========================================
   CUSTOM FAQ STYLES
=========================================== */
.cv-faq-section {
    background-color: #D9E6FF;
    padding: 80px 0;
    position: relative;
    z-index: 0;
}

.cv-faq-heading {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    color: #1a232e;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

/* Accordion Item Styling */
.cv-custom-accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #d1d8dc;
    border-radius: 0 !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cv-custom-accordion .accordion-item:first-of-type {
    border-top: 1px solid #d1d8dc;
}

/* Accordion Button (Header) */
.cv-faq-btn {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    position: relative;
    color: #1a232e !important;
}

.cv-faq-num {
    font-size:1.4vw;
    font-weight: 500;
    color: #1a232e;
    min-width: 45px;
}

.cv-faq-question {
    font-size: 1.4vw;
    font-weight: 700;
    color: #1a232e;
    flex-grow: 1;
    padding-right: 40px;
}

/* Remove Bootstrap default arrow */
.cv-faq-btn::after {
    display: none !important;
}

/* Custom Circular Icon Indicator on the Right */
.cv-faq-btn::before {
    content: "+";
    position: absolute;
    right: 25px;
    width: 38px;
    height: 38px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
}

/* Accordion Body (Expanded Content) */
.cv-faq-body {
    padding: 0 25px 30px 70px;
    color: #4b5563;
    font-size: 1.3vw;
    line-height: 1.6;
    font-weight: 500;
}

/* ==========================================
   ACTIVE / OPEN STATE STYLING (Applies to ANY item)
=========================================== */
.cv-custom-accordion .accordion-item.cv-active-item {
    background-color: #cda85fb0 !important;
    border-top: 1px solid var(--color-2) !important;
    border-bottom: 1px solid var(--color-2) !important;
    margin-top: -1px;
    z-index: 2;
    position: relative;
}

/* Change icon indicator to '✕' and color when open */
.cv-faq-btn:not(.collapsed)::before {
    content: "×" !important;
    background-color: var(--color-2) !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
=========================================== */
@media (max-width: 768px) {
    .cv-faq-btn {
        padding: 20px 15px;
        gap: 15px;
    }
    .cv-faq-body {
        padding: 0 15px 20px 15px;
    }
    .cv-faq-num {
        min-width: 35px;
        font-size: 20px;
    }
    .cv-faq-btn::before {
        right: 15px;
        width: 32px;
        height: 32px;
    }
    .cv-faq-question{
        font-size: 20px;
    }
    .cv-faq-body{
        font-size: 18px;
    }
}