/* =========================================
Modern FAQ Styling
========================================= */
.home-faq-modern {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-2);
    letter-spacing: -0.5px;
}

.faq-category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-1);
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

/* --- Accordion Item Override --- */
.custom-accordion .custom-faq-item {
    background-color: #f9f9f9;
    border: none; /* Removes default Bootstrap border */
    border-radius: 12px !important; /* Rounds the card corners */
    margin-bottom: 15px; /* Creates the gap between items */
    overflow: hidden; 
}

/* --- Accordion Button Override --- */
.custom-accordion .custom-faq-button {
    background-color: transparent !important;
    border: none;
    box-shadow: none !important; /* Removes blue outline on click */
    padding: 22px 25px;
    color: var(--color-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Hide Bootstrap's default chevron arrow */
.custom-accordion .custom-faq-button::after {
    display: none !important;
}

.faq-question-text {
    font-size: 20px;
    font-weight: 400; /* Light, clean font weight like the image */
    color: var(--color-2);
    line-height: 1.3;
}

/* --- Custom Orange Plus/Minus Icon --- */
.faq-icon-wrapper {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: var(--color-1);
    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 turn the + into a - */
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* --- Accordion Body --- */
.custom-accordion .custom-faq-body {
    padding: 0 25px 25px 25px; /* Removed top padding to sit closer to title */
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    background-color: transparent;
}

.custom-accordion .custom-faq-body p:last-child {
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .faq-question-text {
        font-size: 18px;
    }
    .custom-accordion .custom-faq-button {
        padding: 18px 20px;
    }
    .custom-accordion .custom-faq-body {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
    .faq-main-title {
        font-size: 30px;
    }
}