/* faq.css */

/* Banner */
.faq-banner {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/cta_background_industrial_1767775320098.webp') center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    background-attachment: fixed;
}

.faq-banner h1 {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 800;
}

/* FAQ Content */
.faq-content-section {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.faq-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.faq-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.faq-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Accordion */
.accordion-container {
    /* max-width: 900px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.accordion-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 0, 18, 0.1);
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.accordion-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-header h3 {
    color: var(--primary-color);
}

.accordion-item.active .accordion-toggle {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg); /* Simple plus to x or similar rotation */
}

/* For chevron, maybe rotate 180deg */
.accordion-toggle i {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fafafa;
}

.accordion-body {
    padding: 20px 30px;
    color: #555;
    line-height: 1.7;
}

/* CTA Section (Reuse from Contact/About/Index if standard, or specific) */
/* Using shared .cta-banner styles from about.css if reusing about.css or define here if standalone. 
   Assuming we might want a simple bottom CTA.
*/
.faq-cta {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.faq-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.faq-cta p {
    margin-bottom: 30px;
    color: #666;
}

@media (max-width: 768px) {
     .faq-banner{
        height: auto;
        padding: 60px 0;
    }
    .faq-banner h1 {
        font-size: 2.5rem;
    }
    .accordion-header {
        padding: 20px;
    }
    .accordion-header h3 {
        font-size: 1rem;
        padding-right: 15px;
    }
    .accordion-body {
        padding: 0 20px 25px;
    }
    .faq-intro h2{
        font-size: 2rem;
    }
}
