/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', 'Avenir', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: #1e2f3e;
    line-height: 1.5;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

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

/* ----- CONTAINER ----- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container_ban { 
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    background-color: rgba(0,0,0,0.4);
}
/* ----- HEADER & NAVIGATION ----- */
.site-header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}
.logo img {
    width: 100%;
    height: auto;
}

.xian {
    width: 100%;
    max-width: 940px;
    height: 1px;
    border-top: 1px solid #000;
    margin: 0 auto;
}

.nav {
    width: 100%;
    max-width: 940px;
    margin: 10px auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    color: #1f3f57;
    transition: 0.2s;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0077be;
    border-bottom-color: #0077be;
}

/* ----- HERO SECTION ----- */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('/images/ban1.jpg');
    background-size: cover;
    background-position: center 30%;
    text-align: center;
    color: white;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px 0px 20px;
   
}

.hero h2 {
    font-size: clamp(2rem, 8vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin-top: 70px;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;margin-bottom: 30px;
}

/* ----- SECTION COMMON ----- */
.section {
    padding: 30px 0;
    border-bottom: 1px solid #eff3f8;
}
.section:last-child { border-bottom: none; }

.section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    text-align: center;
    color: #002b44;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

/* ABOUT */
.section_about {
    width: 100%;
    background-color: #e1eff2;
    padding: 30px 0;
}
.about-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 24px;
}
.about-text h3 {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    margin-bottom: 20px;
    font-weight: 500;
    color: #003153;
}
.about-text p {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem);
    color: #2d4a6a;
    line-height: 1.6;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #eef2f8;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px -12px rgba(0,0,0,0.1);
}

.service-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-content {
    padding: 24px 20px 28px;
    text-align: center;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #004070;
    font-weight: 600;
}

.service-content p {
    font-size: 0.9rem;
    color: #4a667c;
    margin-bottom: 20px;
}

.btn-learn {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.btn-learn:hover {
    background: #004b7c;
    transform: scale(0.98);
}

/* CONTACT SECTION (two columns) */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    background: #fafdff;
    border-radius: 28px;
    padding: 32px 24px;
    border: 1px solid #eef3fc;
}

.contact-info {
    flex: 1;
    min-width: 200px;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #1f496e;
    line-height: 1.5;
}

.contact-info strong {
    font-weight: 600;
    color: #00315c;
    display: inline-block;
    min-width: 70px;
}

.contact-form {
    flex: 1;
    min-width: 200px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4e0e9;
    border-radius: 40px;
    font-size: 0.9rem;
    background: white;
    font-family: inherit;
    transition: 0.2s;
}

.form-group textarea {
    border-radius: 24px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0077be;
    box-shadow: 0 0 0 3px rgba(0,119,190,0.08);
}

.btn-submit {
    background: #003366;
    color: white;
    border: none;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #004b7c;
}

.thanks-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #557c99;
    font-style: italic;
}

hr.divider-light {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: #e2ecf5;
}

/* FOOTER */
.footer {
    background: #f5f9fe;
    text-align: center;
    padding: 32px 0 24px;
    font-size: 0.8rem;
    color: #4a657c;
    border-top: 1px solid #e5ecf3;
}

.footer p {
    margin-bottom: 8px;
}

/* ========== 移动端专用优化 ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .container_ban {
        padding: 0 16px;
    }
    .site-header {
        padding: 0 12px;
    }
    .logo {
        max-width: 280px;
        margin: 16px auto;
    }
    .nav-links {
        gap: 16px;
    }
    .nav-links a {
        font-size: 13px;
    }
    .hero {
        min-height: 400px;
        padding-bottom: 30px;
    }
    .hero h2 {
        margin-top: 50px;
        margin-bottom: 12px;
    }
    .section {
        padding: 30px 0;
    }
    .section-title {
        margin-bottom: 24px;
    }
    .section_about {
        padding: 40px 0;
    }
    .about-text {
        padding: 0 16px;
    }
    .services-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .service-image {
        height: 180px;
    }
    .service-content {
        padding: 20px 16px 24px;
    }
    .contact-wrapper {
        padding: 24px 16px;
        gap: 24px;
    }
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    .btn-submit {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .footer {
        padding: 24px 0 20px;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .service-content h3 {
        font-size: 1.1rem;
    }
    .service-content p {
        font-size: 0.85rem;
    }
    .btn-learn {
        padding: 6px 20px;
        font-size: 0.8rem;
    }
    .contact-info strong {
        min-width: 60px;
    }
}
/* 响应式容器 */
.about_ban {
    width: 100%;
}

.about_img {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    text-align: center;
}

.about_img img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 内容区域 */
.about_con {
    background-color: rgb(241, 241, 241);
    width: 100%;
    min-height: 500px;
    padding: 30px 20px;  /* 改为上下内边距，左右留白 */
}

.about_con_bt {
    max-width: 780px;    /* 限制最大宽度，不再固定宽度 */
    width: 90%;          /* 小屏幕时占据90%宽度 */
    margin: 0 auto 20px auto;
    font-size: 2rem;     /* 基准字体，后续用媒体查询调整 */
    text-align: center;
    line-height: 1.3;
}

.about_txt {
    max-width: 780px;
    width: 90%;
    margin: 0 auto;
    padding-top: 40px;
    font-size: 1rem;
    line-height: 1.6;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .about_con {
        padding: 60px 16px;
        min-height: auto;   /* 移动端取消最小高度限制，让内容自动撑开 */
    }

    .about_con_bt {
        font-size: 1.8rem;   /* 标题适当缩小 */
        margin-bottom: 16px;
    }

    .about_txt {
        padding-top: 20px;
        font-size: 0.95rem;
    }
}

/* 超小屏幕（手机竖屏） */
@media (max-width: 480px) {
    .about_con_bt {
        font-size: 1.5rem;
        width: 100%;        /* 完全占满左右边距由父容器 padding 提供 */
    }

    .about_txt {
        font-size: 0.9rem;
        width: 100%;
    }
}
.product_name{width:100%;height:auto;padding-top:50px;}
.product_name_bt{width:780px;margin: 0 auto 20px auto;text-align: center;font-size:40px;}
.product_name_txt{width:780px;margin: 0 auto 20px auto;text-align: center;}
.product_list{display:flex;flex-wrap:wrap;}
/* 确保父容器作为定位参考 */
.product_con {
    position: relative;
    width: 33%;
    overflow: hidden; /* 防止内容溢出 */
}

/* 图片容器：让图片填满宽度，消除底部空隙 */
.product_con_img {
    width: 100%;
    line-height: 0;
}
.product_con_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 文字区块：覆盖在图片上，并垂直居中 */
.product_txt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;        /* 占据图片高度的1/3 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;   /* 如果文字过多，可滚动，避免溢出 */
}

/* 标题样式 */
.product_txt_bt {
    font-size: 1.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* 描述文字 */
.product_txt_con {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 60%;
}

/* 按钮样式（保持原有风格） */
.product_txt_more a {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.product_txt_more a:hover {
    background: #004b7c;
}


/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 60px;
    padding: 0 20px;
}
.pagination li{list-style-type: none;}
.pagination a, .pagination span {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 0.9rem;
    transition: 0.2s;
    padding: 0 12px;
}
.pagination a:hover {
    background: #003366;
    color: #fff;
}
.pagination .active { 
    color: #fff;
    cursor: default;
}
.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.content{width:100%;min-height:1000px;background-color:rgb(241,241,241);}
.con{width:1520px;display:flex;padding-top:5%;padding-left:5%;}
.con_img{width:50%;}
.con_txt{width:50%;}
.con_txt_bt{font-size:40px;width：460px;text-align:center;margin-top:10%;}
.con_conent{width：460px;padding-left:10%;margin-top:10%;}
/* ========== 移动端自适应 ========== */
@media (max-width: 768px) {
    .product_txt_bt {
        font-size: 1.4rem;
    }
    .product_txt_con {
        font-size: 0.9rem;
        max-width: 90%;
    }
    .product_txt_more a {
        padding: 6px 20px;
        font-size: 0.8rem;
    }
    .product_name{height: auto;padding-top: 0px;}
    .product_name_bt{width:100%;}
    .product_name_txt{width:100%;}
    .product_con{width:100%;}
    .con{width:100%;flex-wrap:wrap;padding-left:0%;}
    .con_img{width:100%;}
    .con_txt{width:100%;}
}
