.home-faq-modern {
    padding: 80px 0;
}

/* --- Accordion Card --- */
.custom-accordion .custom-faq-item {
    background-color: #f8f9fa;
    border: none; /* Removes Bootstrap's default borders */
    border-radius: 12px !important; /* Soft rounded corners */
    margin-bottom: 16px; /* Spacing between questions */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* --- Accordion Button --- */
.custom-accordion .custom-faq-button {
    background-color: transparent !important;
    border: none;
    box-shadow: none !important; /* Removes blue outline on click */
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Hide Bootstrap's default chevron arrow */
.custom-accordion .custom-faq-button::after {
    display: none !important;
}

.faq-question-text {
    font-size: 20px;
    font-weight: 500;
    color: #111111;
    line-height: 1.4;
}

/* --- Custom Orange Plus/Minus Icon --- */
.faq-icon-wrapper {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background-color: #081c33;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* The horizontal line (Minus) */
.faq-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

/* The vertical line (Forms the Plus) */
.faq-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* When Accordion is OPEN (button is NOT collapsed) */
.custom-faq-button:not(.collapsed) .faq-icon-wrapper::after {
    /* Rotate the vertical line 90deg and fade it out to smoothly turn the + into a - */
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* --- Accordion Body --- */
.custom-accordion .custom-faq-body {
    padding: 0 30px 30px 30px; /* Zero top padding to sit close to the question */
    font-size: 18px;
    color: #666666;
    line-height: 1.8;
    background-color: transparent;
}

.custom-accordion .custom-faq-body p {
    margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .custom-accordion .custom-faq-button {
        padding: 20px;
    }
    .custom-accordion .custom-faq-body {
        padding: 0 20px 20px 20px;
    }
    .faq-question-text {
        font-size: 17px;
    }
}