/* Wrapper */
.hec-faq-accordion-wrapper {
    margin-bottom: 3rem;
}

/* Title */
.hec-faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

/* Accordion Container */
.hec-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Item */
.hec-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hec-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hec-faq-item-active {
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
}

/* Question */
.hec-faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    background: #f9fafb;
    transition: background-color 0.2s ease;
}

.hec-faq-question:hover {
    background: #f3f4f6;
}

.hec-faq-item-active .hec-faq-question {
    background: #eff6ff;
}

.hec-faq-question-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.hec-faq-question-text {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
}

.hec-faq-item-active .hec-faq-question-text {
    color: #1e40af;
}

/* Icon */
.hec-faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hec-faq-icon-line {
    position: absolute;
    background-color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hec-faq-item-active .hec-faq-icon-line {
    background-color: #3b82f6;
}

/* Plus/Minus Icon */
.hec-faq-icon-plus .hec-faq-icon-horizontal {
    width: 18px;
    height: 2px;
}

.hec-faq-icon-plus .hec-faq-icon-vertical {
    width: 2px;
    height: 18px;
}

.hec-faq-item-active .hec-faq-icon-plus .hec-faq-icon-vertical {
    transform: rotate(90deg);
    opacity: 0;
}

/* Arrow Icon */
.hec-faq-icon-arrow .hec-faq-icon-horizontal {
    width: 12px;
    height: 2px;
    transform: rotate(45deg);
    transform-origin: right center;
}

.hec-faq-icon-arrow .hec-faq-icon-vertical {
    width: 12px;
    height: 2px;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.hec-faq-item-active .hec-faq-icon-arrow .hec-faq-icon-horizontal {
    transform: rotate(-45deg);
}

.hec-faq-item-active .hec-faq-icon-arrow .hec-faq-icon-vertical {
    transform: rotate(45deg);
}

/* Chevron Icon */
.hec-faq-icon-chevron::before {
    content: '›';
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #6b7280;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
    display: block;
}

.hec-faq-item-active .hec-faq-icon-chevron::before {
    transform: rotate(-90deg);
    color: #3b82f6;
}

/* Answer */
.hec-faq-answer {
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hec-faq-answer-inner {
    padding: 1.5rem;
    background: #ffffff;
}

.hec-faq-answer-inner p {
    margin: 0 0 1rem 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.hec-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* Style Variations */

/* Bordered Style */
.hec-faq-style-bordered .hec-faq-item {
    border-width: 2px;
}

.hec-faq-style-bordered .hec-faq-item-active {
    border-color: #2563eb;
}

/* Minimal Style */
.hec-faq-style-minimal .hec-faq-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}

.hec-faq-style-minimal .hec-faq-item:hover {
    box-shadow: none;
}

.hec-faq-style-minimal .hec-faq-question {
    background: transparent;
}

.hec-faq-style-minimal .hec-faq-question:hover {
    background: #f9fafb;
}

.hec-faq-style-minimal .hec-faq-item-active .hec-faq-question {
    background: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .hec-faq-title {
        font-size: 1.5rem;
    }
    
    .hec-faq-question {
        padding: 1rem;
    }
    
    .hec-faq-question-text {
        font-size: 1rem;
    }
    
    .hec-faq-answer-inner {
        padding: 1rem;
    }
    
    .hec-faq-icon {
        width: 20px;
        height: 20px;
    }
}

/* Accessibility */
.hec-faq-question:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hec-faq-item,
    .hec-faq-question,
    .hec-faq-answer,
    .hec-faq-icon-line {
        transition: none;
    }
}
/* Answer transitions - fixed */
.hec-faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
}

.hec-faq-item-active .hec-faq-answer {
    max-height: 2000px; /* Large enough for any content */
    opacity: 1;
}

/* Ensure answer stays open when active */
.hec-faq-item-active .hec-faq-answer {
    display: block !important;
}
.bg-blue{
    background: #012269;
}