/* Custom Elementor Q&A Accordion Styles */

.elementor-qa-accordion {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.qa-accordion-item {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.qa-accordion-item:last-child {
    margin-bottom: 0;
}

/* Question and Answer Card Boxes */
.qa-question-box,
.qa-answer-box {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Question Box is clickable */
.qa-question-box {
    cursor: pointer;
}

/* Gap between Question Box and Answer Box */
.qa-answer-box-wrapper {
    margin-top: 12px;
    display: none; /* Hidden by default */
}

/* Wrapper for Badge and Text */
.qa-badge-text-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    padding-right: 15px;
}

/* Badges styling */
.qa-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    flex-shrink: 0;
    line-height: 1;
    font-family: inherit;
}

/* Question Badge Background (Dark Charcoal) */
.qa-question-box .qa-badge {
    background-color: #222222;
}

/* Answer Badge Background (Vibrant Pink/Magenta) */
.qa-answer-box .qa-badge {
    background-color: #e5006d;
}

/* Text styles */
.qa-question-text {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    line-height: 1.5;
}

.qa-answer-text {
    font-size: 16px;
    font-weight: 500;
    color: #555555;
    line-height: 1.6;
}

/* Toggle Icon */
.qa-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

/* Hover effects for premium feel */
.qa-question-box:hover {
    transform: translateY(-2px);
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.08);
}

/* Active State Styles if needed */
.qa-accordion-item.active .qa-question-box {
    /* Optional styles when open */
}

/* Responsive adjustment */
@media (max-width: 767px) {
    .qa-question-box,
    .qa-answer-box {
        padding: 16px 20px;
    }
    
    .qa-answer-box-wrapper {
        margin-top: 10px;
    }
    
    .qa-accordion-item {
        margin-bottom: 16px;
    }
    
    .qa-badge-text-wrap {
        gap: 15px;
        padding-right: 10px;
    }
    
    .qa-badge {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    
    .qa-question-text {
        font-size: 15px;
    }
    
    .qa-answer-text {
        font-size: 14px;
    }

    .qa-toggle-icon {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
}
