/* 共享样式文件 - 适用于所有页面 */

/* 顶部联系信息栏 */
.top-bar {
    background: #f8f8f8;
    color: #000;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .contact-info i {
    margin-right: 5px;
    color: #d8302f;
}

.top-bar .social-links a {
    color: #000;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.top-bar .social-links a:hover {
    color: #d8302f;
}

/* Logo文字样式 */
.text-logo {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    line-height: 1.4;
}

.text-logo:hover {
    color: #d8302f;
    text-decoration: none;
}

/* 导航栏样式 */
.navbar-custom {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.navbar-custom .navbar-nav > li > a {
    color: #333;
    font-weight: 500;
    padding: 20px 15px;
    transition: all 0.3s;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li.active > a {
    color: #d8302f;
    background: #f8f8f8;
}

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, #1c72ce 0%, #d8302f 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-top: 0;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d8302f;
}

.content-section h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 15px;
    color: #444;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* 服务卡片 */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 特色列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 16px;
    color: #555;
}

.feature-list li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: #d8302f;
    font-size: 18px;
}

/* 数据统计 */
.stats-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .number {
    font-size: 48px;
    font-weight: bold;
    color: #d8302f;
    display: block;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
}

/* 团队展示 */
.team-member {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.team-member img {
    width: 100%;
    height: auto;
}

.team-member .info {
    padding: 20px;
    text-align: center;
}

.team-member h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-member .position {
    color: #d8302f;
    font-size: 14px;
    margin-bottom: 10px;
}

/* FAQ样式 */
.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-item h4:after {
    content: '\f078';
    font-family: 'FontAwesome';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.faq-item.active h4:after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item .answer {
    display: none;
    padding-top: 15px;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .answer {
    display: block;
}

/* 联系表单 */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d8302f;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background: #d8302f;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #c02020;
}

/* 联系信息卡片 */
.contact-info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-card .info-item i {
    font-size: 24px;
    color: #d8302f;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-info-card .info-item .text {
    flex: 1;
}

.contact-info-card .info-item .text strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.contact-info-card .info-item .text span {
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .text-logo {
        font-size: 14px;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .page-banner p {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .stat-item .number {
        font-size: 36px;
    }
    
    .navbar-custom .navbar-nav > li > a {
        padding: 15px 10px;
    }
}

/* 关键词高亮 */
.keyword-highlight {
    color: #d8302f;
    font-weight: 500;
}

/* 面包屑导航 */
.breadcrumb-custom {
    background: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb-custom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.breadcrumb-custom ul li {
    margin-right: 10px;
}

.breadcrumb-custom ul li:after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-custom ul li:last-child:after {
    display: none;
}

.breadcrumb-custom ul li a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-custom ul li a:hover {
    color: #d8302f;
}

.breadcrumb-custom ul li.active {
    color: #333;
}
