/* Define a custom primary color variable if not already defined globally */
:root {
    --primary-color: #fa5754; /* Occasor Red */
}
.text-primary-color {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.faq-category-heading {
    color: #333;
    font-size: 1.8rem;
    border-color: #ddd !important; /* Lighter divider for category */
}

/* Styling for the individual card/question container */
.faq-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners */
    transition: all 0.2s ease-in-out;
}

/* Hover effect on the card for interactivity */
.faq-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
}

/* Button (Question) Styling */
.card-header {
    background-color: #fff; /* White background for the question row */
    border-bottom: none;
}

.btn-link {
    text-align: left;
    padding: 1.2rem 1.5rem; /* Increased padding for better click area (the fix for your image) */
    color: #333;
    font-size: 1.1rem;
    transition: all 0.2s;
}

/* State when the question is NOT collapsed */
.btn-link:not(.collapsed) .faq-question-text {
    color: #333; /* Darker text when open */
}

/* Toggle icon styling and rotation */
.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.2s ease-in-out;
    color: #ccc;
}
.btn-link:not(.collapsed) .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Answer Body Styling (Crucial for the padding fix) */
.faq-answer-body {
    background-color: #f7f7f7; /* Light gray background for the answer */
    border-color: #eee !important;
    padding: 1.5rem !important; /* Add generous padding here */
}

.faq-answer-body p {
    line-height: 1.6;
    margin-bottom: 0;
}