/* FAQ Widget Styles */

.kc-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.kc-faq-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
}

.kc-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kc-faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.kc-faq-item.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.kc-faq-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    user-select: none;
}

.kc-faq-question {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

.kc-faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--kc-accent, #00b4a0);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 0px solid transparent;
}

.kc-faq-icon-open {
    display: none !important;
}

.kc-faq-item.active .kc-faq-icon-open {
    display: flex !important;
}

.kc-faq-item.active .kc-faq-icon-close {
    display: none !important;
}

.kc-faq-toggle i, .kc-faq-toggle svg {
    font-size: 14px;
    display: block;
}

.kc-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 30px;
}

.kc-faq-item.active .kc-faq-content {
    max-height: 500px; /* Adjust as needed */
    padding: 0 30px 30px 30px;
}

.kc-faq-answer {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
}

/* Responsive */
@media (max-width: 768px) {
    .kc-faq-title {
        font-size: 2rem;
    }
    
    .kc-faq-header {
        padding: 20px;
    }
    
    .kc-faq-question {
        font-size: 1rem;
    }
}
