/* css/faq.css */

/* --- Custom Accordion Styles --- */

/* Remove default background and borders */
.custom-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Button Styling */
.custom-accordion .accordion-button {
    color: #fff;
    font-weight: 400;
}

/* Remove blue focus ring */
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Remove default Bootstrap arrow (we will replace it with a custom plus/minus if strictly needed, 
   but standard arrow styled white looks clean. To strictly match screenshot's '+' circle, see below) */
.custom-accordion .accordion-button::after {
    filter: invert(1); /* Turns the default SVG arrow white */
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Expanded State */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-red); /* Highlight active question in Red */
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e92126'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    /* Re-colored arrow to red when open */
}

/* Body Text */
.custom-accordion .accordion-body {
    font-size: 15px;
    line-height: 1.8;
}

/* --- CTA Overlay Box --- */
.cta-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-red); /* Using Red instead of Gold */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.icon-square {
    flex-shrink: 0;
}

/* ===========================
   MOBILE RESPONSIVE STYLES
   =========================== */

@media (max-width: 991px) {
    .faq-section {
        padding: 40px 0 !important;
    }
    
    .custom-accordion .accordion-button {
        font-size: 15px;
        padding: 15px 20px;
    }
    
    .custom-accordion .accordion-body {
        font-size: 14px;
        padding: 15px 20px;
    }
    
    .cta-overlay {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 30px 0 !important;
    }
    
    .custom-accordion .accordion-button {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .custom-accordion .accordion-body {
        font-size: 13px;
        padding: 12px 15px;
    }
    
    .cta-overlay {
        padding: 20px !important;
    }
    
    .cta-overlay h5 {
        font-size: 1rem !important;
    }
    
    .cta-overlay p {
        font-size: 13px !important;
    }
}