/* Modern FAQ Styles */

.modern-faq-area {
    background: #f8f9fa;
}

.modern-faq-wrapper {
    width: 100%;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    background: #fff;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.collapsed {
    background: #fff;
}

.faq-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #ff5e15 0%, #e54d0a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
    transform: scale(1.1);
}

.faq-question h5 {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0a1628;
    line-height: 1.4;
}

.faq-arrow {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-arrow i {
    color: #ff5e15;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) .faq-arrow {
    background: #ff5e15;
}

.faq-question:not(.collapsed) .faq-arrow i {
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px 100px;
    color: #495057;
    font-size: 15px;
    line-height: 1.8;
    background: #fff;
}

/* Collapse Animation */
.collapse {
    transition: height 0.3s ease;
}

.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
        gap: 15px;
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }
    
    .faq-question h5 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px 20px 75px;
        font-size: 14px;
    }
    
    .faq-arrow {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }
}

@media (max-width: 576px) {
    .faq-answer {
        padding: 0 20px 20px 20px;
    }
}
