/* 自定义FAQ部分样式 */

/* FAQ部分整体样式 */
#faqs {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

#faqs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,113,0,0.05) 100%);
    z-index: 0;
}

/* 标题部分样式优化 */
#faqs .title-content h6 {
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 113, 0, 0.1);
    border-radius: 20px;
    color: #ff7100 !important;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

#faqs .title-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    color: #333;
}

#faqs .title-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* 手风琴样式改进 */
#faqs .accordion {
    position: relative;
    z-index: 1;
}

#faqs .card {
    border: none;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

#faqs .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#faqs .card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#faqs .card-header:hover {
    background-color: rgba(255, 113, 0, 0.03);
}

#faqs .card-header h5 {
    font-weight: 500;
    color: #333;
    margin: 0;
    padding-right: 30px;
    position: relative;
}

/* 自定义折叠图标 */
#faqs a.faq[data-toggle=collapse]:before {
    content: '\F374';
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    background: linear-gradient(to right, #ff7100, #ff9d00);
    line-height: 28px;
    display: block;
    float: right;
    font-family: 'Material Design Icons';
    font-size: 18px;
    color: #ffffff;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 113, 0, 0.3);
}

#faqs a.faq[data-toggle=collapse].collapsed:before {
    content: '\F415';
    background: #f0f0f0;
    color: #666;
    box-shadow: none;
}

/* 内容部分样式 */
#faqs .card-body {
    padding: 20px 25px;
    background-color: #fff;
    border-top: none;
}

#faqs .card-body p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 15px;
}

/* 右侧图片样式 */
#faqs .faq-content {
    position: relative;
    padding: 20px;
}

#faqs .faq-content img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: rotate(2deg);
}

#faqs .faq-content:hover img {
    transform: rotate(0deg);
}

/* 响应式调整 */
@media (max-width: 768px) {
    #faqs .faq-content {
        margin-top: 40px;
    }
    
    #faqs .card-header h5 {
        font-size: 16px;
    }
    
    #faqs .title-content h2 {
        font-size: 26px;
    }
}