/* --- FAQ HERO SECTION --- */
.faq-hero .hero-image-placeholder {
    /* Replace with an appropriate image path */
    background-image: url('../images/faq.jpg'); 
    background-size: cover;
    background-position: center; 
    border: none;
}

/* --- FAQ ACCORDION STYLES --- */
.faq-accordion-container {
    border-top: 1px solid var(--gray-dark);
}

.faq-item {
    border-bottom: 1px solid #ccc;
    background-color: var(--white);
    overflow: hidden; /* Contains the floating elements */
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    color: var(--black);
}

.accordion-header:hover {
    background-color: var(--gray-light);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s;
}

/* Content Area (Hidden by default) */
.accordion-content {
    max-height: 0;
    padding: 0 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--gray-light);
}

.accordion-content p {
    padding: 15px 0 30px; /* Padding for the text inside */
    margin: 0;
    border-top: 1px solid #ddd;
    line-height: 1.8;
}

/* Active State */
.faq-item.active .accordion-header {
    color: var(--black);
}

.faq-item.active .accordion-header .icon {
    transform: rotate(45deg); /* Turns '+' into 'x' */
}

.faq-item.active .accordion-content {
    max-height: 500px; /* Large enough value to contain content */
    padding: 0 0;
}

/* --- FAQ Responsiveness --- */
@media (max-width: 768px) {
    .accordion-header {
        font-size: 1rem;
        padding: 15px 0;
    }
}