/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    height: 44px;
    margin-right: 0;
    display: block;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c5aa0;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2c5aa0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 移动端菜单展开 */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(20, 40, 90, 0.97);
    padding: 20px 0;
    z-index: 999;
}

.nav-menu.open ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.nav-menu.open li {
    margin: 0;
    width: 100%;
    text-align: center;
}

.nav-menu.open a {
    display: block;
    padding: 14px 0;
    color: #fff !important;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 主要内容区域 */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 公司简介卡片 */
.company-intro-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.company-intro-card h2 {
    color: #2c5aa0;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.company-intro-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.company-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.company-stats .stat-item {
    text-align: center;
}

.company-stats .stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.company-stats .stat-label {
    font-size: 14px;
    color: #666;
}

/* 核心业务卡片 */
.core-services {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.core-services h2 {
    color: #2c5aa0;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(44, 90, 160, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 联系信息卡片 */
.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.contact-info-card h2 {
    color: #2c5aa0;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-details {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    color: #555;
}

.contact-details .contact-item i {
    font-size: 20px;
    color: #2c5aa0;
    margin-right: 10px;
    width: 25px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 轮播Banner */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #1e3f73;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.slider-nav button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 20px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-nav button:hover {
    background: rgba(255,255,255,0.5);
}

.prev-btn {
    left: 20px;
    position: absolute;
}

.next-btn {
    right: 20px;
    position: absolute;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* 公司简介 */
.company-intro {
    background: #f8f9fa;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h3 {
    font-size: 28px;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.intro-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #2c5aa0;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
}

/* 核心业务 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.business-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 32px;
    color: white;
}

.business-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.business-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.card-link:hover {
    color: #1e3f73;
}

/* 公司优势 */
.company-advantages {
    background: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 40px;
    color: white;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 经典案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.case-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    font-weight: bold;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.case-info p {
    color: #666;
    line-height: 1.6;
}

.cases-more {
    text-align: center;
}

/* 新闻动态 */
.news-section {
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    display: flex;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-date {
    background: #2c5aa0;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-right: 25px;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.news-date .month {
    font-size: 14px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: #2c5aa0;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-meta {
    color: #999;
    font-size: 14px;
}

.news-more {
    text-align: center;
}

/* 合作伙伴 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.partner-item:hover {
    transform: translateY(-3px);
}

.partner-item img {
    max-width: 120px;
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-item:hover img {
    opacity: 1;
}

/* 底部 */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c5aa0;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 关于我们页面样式 */
.company-detail {
    padding: 80px 0;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-text h2 {
    font-size: 32px;
    color: #2c5aa0;
    margin-bottom: 25px;
}

.detail-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.detail-image img {
    width: 100%;
    border-radius: 10px;
}

/* 发展历程 */
.company-history {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2c5aa0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #2c5aa0;
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 30px;
    flex: 1;
}

.timeline-content h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

/* 企业文化 */
.company-culture {
    padding: 80px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.culture-icon i {
    font-size: 32px;
    color: white;
}

.culture-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

/* 团队实力 */
.team-strength {
    background: #f8f9fa;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #2c5aa0;
    display: block;
}

.stat-card .stat-label {
    color: #666;
    font-size: 14px;
}

.team-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* 资质荣誉 */
.honors {
    padding: 80px 0;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.honor-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.honor-item:hover {
    transform: translateY(-5px);
}

.honor-item img {
    width: 100%;
    max-width: 150px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.honor-item h3 {
    font-size: 16px;
    color: #333;
}

/* 产品服务页面样式 */
.service-categories, .case-categories, .news-categories {
    padding: 40px 0;
    background: #f8f9fa;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tab-btn {
    background: white;
    border: 2px solid #ddd;
    color: #666;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
}

.products-detail {
    padding: 80px 0;
}

.service-group {
    margin-bottom: 80px;
}

.service-group h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.product-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

/* 服务流程 */
.service-process {
    background: #f8f9fa;
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 案例展示页面样式 */
.cases-showcase {
    padding: 80px 0;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card .case-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.case-tags .tag {
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.case-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-highlights {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.highlight-item {
    text-align: center;
}

.highlight-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.highlight-value {
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* 客户评价 */
.client-testimonials {
    background: #f8f9fa;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.author-info span {
    color: #666;
    font-size: 14px;
}

.rating {
    color: #ffc107;
}

/* 新闻页面样式 */
.news-list {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card .news-image {
    width: 300px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2c5aa0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.news-card .news-content {
    padding: 25px;
    flex: 1;
}

.news-card .news-content h3 {
    margin-bottom: 15px;
}

.news-card .news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-card .news-content h3 a:hover {
    color: #2c5aa0;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.news-meta i {
    margin-right: 5px;
}

.news-card .news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-tags {
    display: flex;
    gap: 8px;
}

.news-tags .tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    background: white;
    border: 1px solid #ddd;
    color: #666;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    color: #666;
    padding: 0 10px;
}

/* 热门文章 */
.popular-articles {
    background: #f8f9fa;
    padding: 80px 0;
}

.popular-list {
    max-width: 600px;
    margin: 0 auto;
}

.popular-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.popular-item:hover {
    transform: translateY(-2px);
}

.popular-rank {
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
}

.popular-content {
    flex: 1;
}

.popular-content h4 {
    margin-bottom: 8px;
}

.popular-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.popular-content h4 a:hover {
    color: #2c5aa0;
}

.popular-meta {
    font-size: 14px;
    color: #666;
}

.popular-meta span {
    margin-right: 15px;
}

/* 联系我们页面样式 */
.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 32px;
    color: white;
}

.contact-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-details p {
    color: #666;
    margin-bottom: 8px;
}

/* 联系表单 */
.contact-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.form-section h2,
.map-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-label a {
    color: #2c5aa0;
    text-decoration: none;
}

/* 地图区域 */
.map-container {
    background: #f0f0f0;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.map-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.transport-info {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.transport-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
}

.transport-item i {
    width: 30px;
    color: #2c5aa0;
    margin-right: 15px;
}

/* 分支机构 */
.branch-offices {
    padding: 80px 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.office-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.office-card:hover {
    transform: translateY(-5px);
}

.office-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.office-header h3 {
    color: #333;
    font-size: 20px;
}

.office-type {
    background: #2c5aa0;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.office-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.office-info i {
    width: 20px;
    margin-right: 10px;
    color: #2c5aa0;
}

/* FAQ */
.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #333;
    font-size: 18px;
    margin: 0;
}

.faq-question i {
    color: #2c5aa0;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .intro-content,
    .detail-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .business-grid,
    .advantages-grid,
    .cases-grid,
    .culture-grid,
    .team-stats,
    .honors-grid,
    .products-grid,
    .process-steps,
    .testimonials-grid,
    .contact-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item,
    .news-card {
        flex-direction: column;
        text-align: center;
    }
    
    .news-card .news-image {
        width: 100%;
        height: 200px;
    }
    
    .news-date {
        margin-right: 0;
        margin-bottom: 20px;
        align-self: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .case-highlights {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .slide-content h1 {
        font-size: 24px;
    }
    
    .business-card,
    .case-info {
        padding: 25px 20px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
        padding: 0 15px;
    }
    
    .company-intro-card {
        grid-column: 1;
        grid-row: 1;
        padding: 25px;
    }
    
    .core-services {
        grid-column: 1;
        grid-row: 2;
        padding: 25px;
    }
    
    .contact-info-card {
        grid-column: 1;
        grid-row: 3;
        padding: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-actions .btn-primary,
    .contact-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .intro-content,
    .detail-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .business-grid,
    .advantages-grid,
    .culture-grid,
    .team-stats,
    .honors-grid,
    .products-grid,
    .process-steps,
    .testimonials-grid,
    .contact-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 15px 0;
    }
    
    .content-grid {
        gap: 15px;
    }
    
    .company-intro-card,
    .core-services,
    .contact-info-card {
        padding: 20px;
    }
    
    .company-intro-card h2,
    .core-services h2,
    .contact-info-card h2 {
        font-size: 24px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
}

/* ===== 语言切换按钮 ===== */
#lang-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s, border-color 0.25s;
    white-space: nowrap;
    margin-left: 24px;
    flex-shrink: 0;
}

#lang-toggle:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* 普通页面（白色导航）上的语言按钮 */
.header:not(.header-transparent) #lang-toggle {
    border-color: #2c5aa0;
    color: #2c5aa0;
}

.header:not(.header-transparent) #lang-toggle:hover {
    background: #2c5aa0;
    color: #fff;
}

.lang-active   { font-weight: 700; opacity: 1; }
.lang-inactive { font-weight: 400; opacity: 0.55; }
