/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
p{
    font-size: 16px;
    line-height: 1.8;
    text-indent: 2em;
    color: #333;
    margin: 10px 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    color: #003366;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #003366;
    cursor: pointer;
}

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

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: #0066cc;
}

/* Banner轮播 */
.banner {
    position: relative;
    overflow: hidden;
    height: 500px;
    background-color: #0066cc;
}

.banner-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: #fff;
    display: none;
}

.banner-slide.active {
    display: flex;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
}

.banner-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.banner-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-features li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.banner-image {
    max-width: 40%;
}

.banner-image img {
    width: 100%;
    height: auto;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-dot.active {
    background-color: #fff;
}

/* 关于我们 */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}
.container h2{
    font-size: 25px;
    color: #004c99;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: #0066cc;
}

.section-title::before {
    left: calc(50% - 120px);
}

.section-title::after {
    right: calc(50% - 120px);
}

.section-title h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 5px;
}

.section-title p {
    color: #999;
    font-size: 18px;
}

.about-content {
    display: grid;
    grid-template-columns:1fr 1fr ;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    justify-content: center;
}

.about-image {
    flex: 1;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
}
.about-business,.about-service{
    display: flex;
    flex-direction: column;
}
 /* 标题样式：统一高度+对齐，确保内容从同一行开始 */
        .box-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin: 0 0 15px 0; /* 标题底部间距，可调整 */
            height: 30px; /* 固定标题高度，消除高度差 */
            line-height: 30px; /* 文字垂直居中 */
            text-align: center;
        }
/* 内容区域：统一基准线，从同一行开始 */
        .box-content {
            font-size: 14px;
            color: #666;
            line-height: 1.8;
        }

/* 业务列表样式 */
        .business-list {
            margin: 0;
        }
        .business-list li {
            margin: 8px 0;
        }
/* 服务内容样式 */
        .service-content p {
            margin: 8px 0;
        }
/* 产品页面样式 */
.product-page {
    padding: 60px 0;
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-media {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.product-media img,
.product-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    color: #003366;
    margin-bottom: 10px;
}

.product-desc {
    color: #666;
    margin-bottom: 15px;
}

.product-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: #004c99;
}

/* 在线客服悬浮按钮 */
.floating-customer-service {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

.cs-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 120px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.cs-button:hover {
    background-color: #004c99;
}

.cs-button i {
    font-size: 24px;
    margin-bottom: 5px;
}

.cs-button span {
    font-size: 12px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* 移动端底部导航 */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #003366;
    z-index: 999;
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

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

.mobile-nav-item.active {
    color: #00ccff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-image {
        max-width: 80%;
        margin-top: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .mobile-footer {
        display: block;
    }

    .floating-customer-service {
        bottom: 70px;
    }
}
/* 资讯页面样式 */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}
.news-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    gap: 20px;
}
.news-date {
    min-width: 70px;
    text-align: center;
    color: #0066cc;
}
.news-date .day {
    display: block;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
}
.news-date .month {
    font-size: 14px;
    color: #666;
}
.news-content h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 8px;
}
.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.news-more {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

/* 联系页面样式 */
.contact-wrap {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info {
    flex: 1;
    min-width: 300px;
}
.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.contact-form h3 {
    margin-bottom: 20px;
    color: #003366;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 15px;
    outline-color: #0066cc;
}
.submit-btn {
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 22px;
    color: #0066cc;
    margin-top: 5px;
    min-width: 30px;
}
.info-item h4 {
    margin-bottom: 5px;
    color: #003366;
}
.contact-map{
    width: 100%;
    margin: 30px 0;
}
.contact-map h3{
    margin-bottom: 15px;
    color: #003366;
}
/* 网站底部样式 */
.site-footer {
  background-color: #003366;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-left h4 {
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-left p {
  max-width: 500px;
  line-height: 1.6;
  color: #ccc;
}
.footer-right p {
  margin-bottom: 8px;
  color: #ccc;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #999;
  font-size: 14px;
}