/* 页面列表通用样式 - 合并自service_list.php, about_us_list.php, contact_us_list.php */

/* 主标题样式 */
.main-title { font-size: 32px; color: #333; text-align: center; margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.main-title:after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: #0066cc; }

/* 添加特定的section间距类 */
.section-spacing { margin-bottom: 60px; }
.section-title { font-size: 1.375rem; margin: 0 0 30px; color: #333; position: relative; padding-left: 0px; text-align: center;  padding-bottom: 10px;}
.section-spacing h2{  }
.section-spacing h2:before { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-image: linear-gradient(90deg, var(--secondary-color), var(--primary-color));}

/* 统一卡片样式 */
.card-container { background: #fff; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); overflow: hidden; margin-bottom: 30px; }

/* 统一图片样式 */
.fixed-image { width: 100%; height: 100%; object-fit: cover; }

/* 英雄/公司概览区域样式 */
.hero-container, .company-overview { display: flex; margin-bottom: 40px; margin-left: 5px; }
.hero-content, .overview-content { flex: 0 0 55%; padding: 30px; }
.hero-image, .overview-image { flex: 0 0 39%; position: relative; overflow: hidden; min-width: 280px; }
.hero-title { font-size: 24px; color: #333; margin-bottom: 20px; position: relative; padding-bottom: 15px; }
.hero-title:after { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: #0066cc; }
.highlight-text { font-size: 18px; color: #0066cc; font-weight: bold; line-height: 1.6; margin-bottom: 15px; border-left: 4px solid #0066cc; padding-left: 15px; }
.hero-cta { margin-top: 25px; }
.cta-button { display: inline-block; background: #0066cc; color: #fff; padding: 12px 25px; border-radius: 5px; font-weight: bold; text-decoration: none; transition: background 0.3s; }
.cta-button:hover { background: #004c99; }

/* 我们的优势样式 */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; margin-left: 5px; }
.advantage-item { background: #fff; border-radius: 8px; padding: 25px 20px; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.advantage-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.advantage-icon { color: #0066cc; margin-bottom: 15px; }
.iconfoot { font-size: 36px; }
.advantage-item h3 { font-size: 1.25rem; margin-bottom: 10px; color: #333; }
.advantage-item p { color: #666; line-height: 1.5; }

/* 客户logo样式 */
.clients-container { padding: 25px; margin-top: 30px; }
.client-logos { display: flex; flex-wrap: wrap; justify-content: space-around; margin-top: 20px; gap: 20px; }
.client-logo { width: 200px; height: 60px; object-fit: contain; filter: grayscale(20%); transition: filter 0.3s, transform 0.3s; }
.client-logo:hover { filter: grayscale(0%); transform: scale(1.1); }

/* 联系我们部分样式 */
.contact-wrapper { display: flex; gap: 30px; margin-bottom: 10px; margin-left: 5px; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; flex: 2; }
.contact-card { padding: 25px; transition: transform 0.3s; display: flex; align-items: center; }
.contact-card:hover { transform: translateY(-5px); }
.contact-icon { color: #0066cc; margin-right: 20px; flex-shrink: 0; }
.contact-card h3 { font-size: 1.125rem; color: #333; }
.contact-card p { color: #555; line-height: 1.5; margin: 0 10px; }
.contact-desc { font-size: 14px; color: #777; margin-top: 5px !important; }
.qrcode-section { flex: 1; display: flex; justify-content: space-around; align-items: center; padding: 25px; }
.qrcode-item { text-align: center; }
.qrcode-img { width: 120px; height: 120px; margin-bottom: 10px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.qrcode-item p { margin: 0; font-weight: 500; color: #333; }
.qrcode-desc { font-size: 14px; color: #777; margin-top: 5px !important; }

/* 商务流程样式 */
.process-container { padding: 30px; }
.process-steps { display: flex; justify-content: space-between; position: relative; padding: 20px 0; }
.process-steps:before { content: ""; position: absolute; top: 50px; left: 40px; right: 40px; height: 2px; background: #e0e0e0; z-index: 1; }
.process-step { position: relative; z-index: 2; text-align: center; width: 18%; }
.step-number { width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background: #0066cc; color: white; font-size: 20px; font-weight: bold; margin: 0 auto 15px; }
.step-content h3 { font-size: 16px; margin-bottom: 8px; color: #333; }
.step-content p { color: #555; font-size: 14px; line-height: 1.5; }

/* FAQ样式 */
.faq-container { padding: 30px; }
.faq-item { margin-bottom: 15px; border-bottom: 1px solid #eee; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; cursor: pointer; }
.faq-question h3 { font-size: 1.125rem; color: #333; margin: 0; }
.toggle-icon { font-size: 20px; color: #0066cc; }
.faq-answer { padding: 0 0 15px; display: none; }
.faq-answer p { color: #555; line-height: 1.6; margin: 0; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .toggle-icon { content: "-"; }

/* 软件测试验收场景样式 */
.scenarios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; margin-left: 5px; }
.scenario-item { padding: 25px 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; align-items: center; }
.scenario-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.scenario-icon { color: #0066cc; margin-bottom: 15px; }
.scenario-item h3 { font-size: 1.125rem; margin-bottom: 10px; color: #333; }
.scenario-item p { color: #666; line-height: 1.5; margin-bottom: 15px; }
.scenario-link { color: #0066cc; text-decoration: none; font-weight: 500; margin-top: auto; transition: color 0.3s; }
.scenario-link:hover { color: #004c99; }

/* 选项卡容器样式 */
.tabs-container { margin-top: 30px; }
.tabs-header { display: flex; border-bottom: 2px solid #eee; margin-bottom: 30px; }
.tab-button { padding: 12px 25px; background: none; border: none; font-size: 16px; font-weight: 500; color: #555; cursor: pointer; position: relative; transition: color 0.3s; }
.tab-button:hover { color: #0066cc; }
.tab-button.active { color: #0066cc; }
.tab-button.active:after { content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: #0066cc; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* 服务类别样式 */
.service-grid { margin-top: 30px; }
.service-item { display: flex; margin-bottom: 30px; overflow: hidden; height: 280px; border-radius: 10px; transition: all 0.3s ease; }
.service-item:nth-child(even) { flex-direction: row-reverse; }
.service-image { flex: 1 1 45%; overflow: hidden; height: 100%; position: relative; min-width: 280px; max-width: 100%; border-radius: 10px; }
.service-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-item:hover .service-image img { transform: scale(1.05); }
.service-content { flex: 1 1 60%; padding: 30px; display: flex; flex-direction: column; overflow: hidden; min-width: 300px; }
.service-content h3 { font-size: 1.25rem; margin-bottom: 15px; color: #0066cc; }
.service-content p { color: #555; line-height: 1.7; margin-bottom: 20px; }
.service-description { flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; height: 140px; margin-bottom: 20px !important; max-height: 140px; }
.read-more { display: inline-block; color: #0066cc; font-weight: bold; transition: color 0.3s; text-decoration: none; margin-top: auto; text-align: right;}
.read-more:hover { color: #004c99; }

/* 企业文化样式 */
.values-grid, .culture-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 30px; margin-bottom: 20px; }
.value-item, .culture-item { background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); border-radius: 10px; padding: 30px 20px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.value-item:hover, .culture-item:hover { transform: translateY(-5px); }
.value-item h3, .culture-item h3 { font-size: 1.125rem; color: #0066cc; margin-bottom: 15px; position: relative; padding-bottom: 10px; }
.value-item h3:after, .culture-item h3:after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: #0066cc; }
.value-item p, .culture-item p { color: #555; line-height: 1.6; }
.values-description, .culture-description { padding: 25px; margin-top: 20px; }
.values-description p, .culture-description p { color: #555; line-height: 1.7; }

/* 公正性声明样式 */
.statement-container { padding: 30px; margin-top: 30px; }
.statement-content p { color: #555; line-height: 1.7; margin-bottom: 15px; }
.statement-content ul { margin-left: 20px; margin-bottom: 15px; }
.statement-content li { color: #555; line-height: 1.7; margin-bottom: 10px; position: relative; padding-left: 15px; }
.statement-content li:before { content: "•"; position: absolute; left: 0; color: #0066cc; }

/* 主营业务样式 */
.business-items { margin-top: 30px; }
.business-item { display: flex; margin-bottom: 30px; }
.business-item.reverse { flex-direction: row-reverse; }
.business-image { flex: 0 0 39%; overflow: hidden; }
.business-image img { transition: transform 0.5s; }
.business-item:hover .business-image img { transform: scale(1.05); }
.business-content { flex: 0 0 55%; padding: 30px; }
.business-content h3 { font-size: 20px; margin-bottom: 15px; color: #0066cc; }
.business-content p { color: #555; line-height: 1.7; margin-bottom: 20px; }

/* 响应式调整 */
@media (max-width: 992px) {
    .advantages-grid, .values-grid, .culture-container, .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { flex-direction: column; }
    .process-steps { flex-wrap: wrap; }
    .process-steps:before { display: none; }
    .process-step { width: 45%; margin-bottom: 20px; }
    .service-item, .business-item { flex-direction: column !important; height: auto; }
    .service-image, .business-image, .service-content, .business-content { flex: 1 1 100%; max-width: 100%; }
    .service-image { height: 200px; }
    .tabs-header { flex-wrap: wrap; }
    .tab-button { padding: 10px 15px; font-size: 14px; }
}

@media (max-width: 768px) {
    .hero-container, .company-overview { flex-direction: column; }
    .hero-content, .overview-content, .hero-image, .overview-image { flex: 0 0 100%; max-width: 100%; }
    .hero-image, .overview-image { height: 220px; }
    .advantages-grid, .values-grid, .culture-container, .scenarios-grid { grid-template-columns: 1fr; }
    .process-step { width: 100%; }
    .qrcode-section { flex-direction: column; gap: 20px; }
    .tabs-header { justify-content: center; }
    .tab-button { padding: 8px 12px; font-size: 14px; }
}