/* 全局变量 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #343a40;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 全局取消下划线 */
a, a:hover, a:focus, a:active,
h1, h2, h3, h4, h5, h6,
p, span, div, li, ul, ol {
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-column h3::after,
.section-title h2::after,
.contact-info h3:after,
.contact-form h3:after {
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-column h3,
.footer-links a,
.section-title p,
.contact-info h3,
.contact-form h3 {
    text-decoration: none !important;
    border-bottom: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #003d7a;
    color: var(--light-text);
    transform: translateY(-2px);
}

/* 语言切换下拉菜单 */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    font-size: 14px;
    font-weight: 500;
}

.lang-dropdown-btn:hover {
    background-color: #003d7a;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    right: 0;
}

.lang-dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    text-align: left;
}

.lang-dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.lang-flag {
    width: 20px;
    height: 15px;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

/* 语言显示控制 */
[data-lang] {
    display: none;
}

[data-lang="en"] {
    display: block;
}

a[data-lang], span[data-lang], button[data-lang], h1[data-lang], h2[data-lang], h3[data-lang], h4[data-lang], p[data-lang] {
    display: inline-block;
}

input[data-lang="zh"], textarea[data-lang="zh"] {
    display: none;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* 英雄区域 - 修改轮播图高度 */
.hero {
    height: 60vh; /* 进一步减小高度至60%视口高度 */
    min-height: 450px;
    margin-top: 80px;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light-text);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 通用部分样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: none !important;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 18px;
    text-decoration: none !important;
    border-bottom: none !important;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* 关于我们 */
.about-section {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* 修改特色列表样式 */
.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 22px;
    margin-right: 15px;
}

.feature-item span {
    font-weight: 500;
}

/* 统计数据部分 */
.stats-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: #fff;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    margin: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.stat-item .counter {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    margin: 0;
}

/* 服务项目 */
.services-section {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 企业文化 - 修改为图标样式 */
.team-section {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

/* 移除团队图片，改用图标 */
.team-image {
    display: none; /* 隐藏原来的图片 */
}

.team-info {
    text-align: center;
}

.team-info:before {
    content: "";
    font-family: "bootstrap-icons";
    font-size: 48px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 20px;
}

/* 为每个团队成员添加不同的图标 */
.team-member:nth-child(1) .team-info:before {
    content: "\F5A4"; /* 客户为本图标 */
}

.team-member:nth-child(2) .team-info:before {
    content: "\F4DA"; /* 创新图标 */
}

.team-member:nth-child(3) .team-info:before {
    content: "\F5B1"; /* 团队协作图标 */
}

.team-member:nth-child(4) .team-info:before {
    content: "\F5C2"; /* 诚信图标 */
}

.team-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.team-info p {
    color: var(--text-color);
    line-height: 1.7;
}

/* 客户部分 - 新样式 */
.clients-section {
    background-color: #fff;
}

.clients-content {
    margin-bottom: 50px;
}

.industry-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.industry-item {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fff;
}

.industry-icon {
    margin-right: 20px;
    min-width: 60px;
}

.industry-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.industry-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.industry-details p {
    margin: 0;
    color: var(--text-color);
}

/* 客户评价部分 */
.client-testimonials {
    margin-bottom: 50px;
}

.client-testimonials h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fff;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.testimonial-content p:before {
    content: '"';
    font-size: 50px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: 0;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-info p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 14px;
}

/* 合作优势部分 */
.cooperation-advantages h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fff;
}

.advantage-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.advantage-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantage-item p {
    margin: 0;
    color: var(--text-color);
}

/* 联系我们 - 改进布局 */
.contact-section {
    background-color: var(--light-bg);
}

/* 修改联系我们布局 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    text-decoration: none !important;
    border-bottom: none !important;
}

.contact-info h3:after {
    content: none !important; /* 移除下划线 */
}

.contact-details {
    margin-top: 30px;
}

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

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    background-color: rgba(0, 86, 179, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-decoration: none !important;
    border-bottom: none !important;
}

.contact-item p {
    margin: 0;
    text-decoration: none !important;
    border-bottom: none !important;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    text-decoration: none !important;
    border-bottom: none !important;
}

.contact-form h3:after {
    content: none !important; /* 移除下划线 */
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

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

/* 页脚 */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-column h3::after {
    content: none !important; /* 移除下划线 */
}

.footer-column p {
    margin-bottom: 20px;
    color: #adb5bd;
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transition: var(--transition);
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #adb5bd;
    transition: var(--transition);
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-column ul li a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        position: relative;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #fff;
        flex-direction: column;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        opacity: 0;
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
}
