/* FAQ Accordion Styles */

/* FAQ Item */
.faq4_accordion {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Default transparent border for Elementor control */
}

/* FAQ Question (always visible) */
.faq4_question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

/* FAQ Answer (hidden by default) */
.faq4_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}

/* FAQ Answer when open */
.faq4_accordion.faq-open .faq4_answer {
    max-height: 500px; /* Adjust based on content */
    padding: 0 1rem 1rem 1rem;
}

/* Cross icon rotation */
.faq4_icon-wrappper {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Rotate cross when open */
.faq4_accordion.faq-open .faq4_icon-wrappper {
    transform: rotate(45deg);
}

/* Cross icon SVG */
.faq4_icon-wrappper svg {
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

.section_faq4 .faq4_component .button-group {
    justify-content: center !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq4_question {
        padding: 0.75rem;
    }
    
    .faq4_accordion.faq-open .faq4_answer {
        padding: 0.75rem;
    }
} 