/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: 366px;
}

/* 更新头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    float: left;
    height: 60px; /* 增加高度 */
}

.logo {
    height: 50px; /* 增大logo尺寸 */
    margin-right: 15px;
}

.logo-text {
    font-size: 20px;
    font-weight: 500;
    color: #3E3A39;
    line-height: 1.2;
	padding-top:18px;
}

.contact-info {
    float: right;
    display: flex;
    align-items: center;
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s;
	margin-top:15px;
}

.contact-info:hover {
    background-color: rgba(200, 200, 200, 0.2);
}

.phone-icon {
    color: #243F9B;
    margin-right: 10px;
    font-size: 18px;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #3E3A39;
}

/* Banner区域 */
/* 更新Banner样式 */
.banner {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    height: 650px;
    display: flex;
    align-items: flex-start; /* 内容靠上 */
    justify-content: center;
    text-align: center;
    color: #3E3A39; /* 文字黑色 */
    margin-top: 80px;
    padding-top: 80px; /* 增加上内边距 */
}

.banner-content h1 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #3E3A39;
    font-weight: 700;
}

.banner-content h2 {
    font-size: 22px;
    color: #3E3A39;
    font-weight: 500;
}

/* 解决方案区域 */
.solutions {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.solutions h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: #1A3E99;
    margin: 0 auto 20px;
}

.subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

/* 更新主色调为#243F9B */
.divider {
    background-color: #243F9B;
}

.service-item, .mobile-nav-item.add-wechat {
    background-color: #243F9B;
}

.service-item:hover, .mobile-nav-item.add-wechat:hover {
    background-color: #1a2f7a;
}

.footer-section h4::after {
    background-color: #fff;
}

.play-button {
    background-color: rgba(36, 63, 155, 0.8);
}

/* 产品区域 */
.products {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.section-title h3 {
    font-size: 30px;
    color: #333;
    margin: 0 20px;
}

.en-text {
    color: #ddd;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 产品卡片样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
    line-height: 1.2;
}

.product-model {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 2px;
	text-align:center;
    color: #333333;
}

.product-name {
    font-size: 18px;
    font-weight: 300;
    color: #333333;
	text-align:center;
    margin-top: 0;
}

.product-desc {
    position: relative;
    z-index: 2;
    background-color: rgba(36, 63, 155, 0.7);
    padding: 15px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    margin: 20px;
    width: calc(100% - 40px);
    backdrop-filter: blur(2px);
}

.product-desc p {
    margin-bottom: 8px;
}

/* 公司介绍区域 */
.company {
    padding: 60px 0;
    background-color: #fff;
}

.company h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.company-content {
    display: flex;
    gap: 40px;
}

.video-container {
    flex: 1;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button i {
    color: #fff;
    font-size: 24px;
    margin-left: 5px;
}

/* 更新公司介绍样式 */
.company-info {
    flex: 1;
    text-align: justify; /* 两端对齐 */
    text-justify: inter-ideograph; /* 更好的中文对齐 */
}

.company-info p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 更新视频弹窗样式 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%; /* 增大宽度占比 */
    max-width: 1000px; /* 增大最大宽度 */
    height: 80vh; /* 使用视窗高度单位 */
    background-color: #000;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 3;
}

.close-btn:hover {
    color: #ff6b00;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 60vh; /* 移动端适当减小高度 */
    }
}

@media (max-width: 480px) {
    .modal-content {
        height: 50vh;
    }
    .close-btn {
        top: -30px;
        font-size: 24px;
    }
}

/* 底部区域 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #fff;
}

.footer-section p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #ecf0f1;
}

.footer-section i {
    margin-right: 10px;
    color: #FFF;
}

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

.footer-section ul li a {
    color: #ecf0f1;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #1A3E99;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #34495e;
    font-size: 14px;
    color: #bdc3c7;
}

/* 悬浮客服 */
.floating-service {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 1000;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    width: 50px;
    height: 50px;
    background-color: #539133;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
}

.service-item:hover {
    background-color: #e05d00;
    transform: scale(1.1);
}

.wechat-service .qr-code {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    width: 160px;
    height: 160px;
    text-align: center;
}

.wechat-service .qr-code img {
    width: 100%;
    height: 100%;
}

.wechat-service .qr-code p {
    font-size: 12px;
    color: #333;
}

.wechat-service:hover .qr-code {
    display: block;
}

/* 移动端底部导航 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #666;
    font-size: 12px;
}

.mobile-nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.mobile-nav-item.add-wechat {
    border-right: 1px solid #eee;
}

.mobile-nav-item.call-phone a {
    color: inherit;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner {
        height: 300px;
        margin-top: 60px;
    }
    
    .banner-content h1 {
        font-size: 36px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .company-content {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-service {
        display: none;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .phone-number {
        font-size: 14px;
    }
    
    .banner {
        height: 200px;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .banner-content h2 {
        font-size: 18px;
    }
    
    .solutions h3, .company h3 {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title .en-text {
        display: none;
    }
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #243F9B;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20% auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.achievements {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.achievement-item {
    text-align: center;
}

.number {
    display: block;
    font-size: 25px;
    color:#243F9B;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.label {
    color: var(--gray-color);
}

/* 产品亮点样式 */
.product-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(36, 63, 155, 0.9);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
    font-size: 14px;
    line-height: 1.5;
}

.product-card {
    position: relative;
    overflow: hidden; /* 确保亮点内容不会溢出 */
}

.product-card:hover .product-highlight {
    transform: translateY(0);
}

/* 产品卡片悬停时调整信息区域透明度 */
.product-card:hover .product-info {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}


/* 移除原有的渐变效果 */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none; /* 移除渐变背景 */
    z-index: 1;
}

/* 更新产品信息区域的样式 */
.product-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
    line-height: 1.2;
    background: none; /* 确保没有背景色 */
}

/* 更新悬停效果 */
.product-card:hover .product-info {
    background: none; /* 移除悬停时的渐变效果 */
}