/* --- 全局重置 --- */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- 要求1: 宽度固定为 1290px --- */
.container-custom {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-custom2 {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 搜索图标 */
.search-icon {
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
}

/* ================= 重写：头部导航样式（两行结构） ================= */

/* 1. 上半部分：白色背景区 */
.header-top {
    background-color: #f2f2f2;
    padding: 18px 0;
}

.top-left {
    gap: 15px; /* Logo 和 宣传语图片之间的间距 */
}

.logo-box img {
    max-height: 75px;
    display: block;
}

.divider-line {
    display: inline-block;
    width: 1px;
    height: 45px;
    background-color: #ccc; /* 竖线分割 */
}

.slogan-box img {
    max-height: 68px;
    display: block;
}

.top-right {
    gap: 25px; /* 电话、邮箱、语言、搜索之间的间距 */
}

.header-contact {
    gap: 20px;
    font-size: 14px;
    color: #333;
}

.header-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-contact .contact-item i {
    font-size: 16px;
    color: #2b4054; /* 图标颜色 */
}

.lang-switch {
    font-size: 14px;
	font-weight:bold;
    color: #333;
    cursor: pointer;
}

.search-icon-top {
    font-size: 22px;
    cursor: pointer;
    color: #000;
}

/* 2. 下半部分：深蓝色导航区 */
.header-nav-wrap {
    background-color: #253848; /* 深蓝色背景 */
    height: 60px; /* 固定导航条高度 */
	border-bottom:4px solid #b2030d;
}

.header-nav-wrap .navbar {
    height: 100%;
}

.header-nav-wrap .navbar-nav {
    height: 100%;
}

.header-nav-wrap .nav-link {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 0 3rem !important;
    height: 60px;
    line-height: 60px;
    position: relative;
    transition: color 0.3s;
}

/* 对应设计图，首页有红色的下划线 */
.header-nav-wrap .nav-link.active {
    color: #f6c900 !important;
}
.header-nav-wrap .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #b2030d; 
}

.header-nav-wrap .nav-link:hover {
    color: #f6c900 !important;
}

/* --- 移动端适配 --- */
@media (max-width: 991px) {
    .header-top .container-custom2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .top-left {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .slogan-box,.divider-line,.contact-item{
        display:none;
    }
    .top-right {
        width: 35%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 5px;
    }
    .header-contact {
        display:none;
    }
    .header-nav-wrap {
        height: auto;
        padding: 10px 0;
    }
    .header-nav-wrap .navbar-collapse {
        background-color: #1d3142;
        margin-top: 10px;
        border-radius: 4px;
        padding: 10px 0;
    }
    .header-nav-wrap .nav-link {
        text-align: center;
        height: auto;
        line-height: 2.5;
        padding: 5px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .header-nav-wrap .nav-link.active::after {
        display: none; /* 移动端隐藏红线，直接改为文字变色 */
    }
    .header-nav-wrap .nav-link.active {
        background-color: rgba(246, 201, 0, 0.1);
        color: #f6c900 !important;
    }
}

/* --- 14. 轮播图视差固定与覆盖效果 --- */

/* 1. 轮播图背景图固定处理 */
#heroCarousel .carousel-item {
    min-height: 800px;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;   /* 核心：让背景图片在滚动时完全固定不动 */
    position: relative;
}

/* 2. 修复切换时内部图片与容器的对齐（防止顶部留白） */
#heroCarousel .carousel-item .carousel-caption {
    position: absolute;
    bottom: 55%;
    transform: translateY(50%);
	text-align:left;
}

.service-links-section,
.about-section,
.products-section,
.footer-section {
    position: relative;
    z-index: 1; /* 层级提高，保证完全覆盖轮播图 */
}

.carousel-caption h1 {
    font-size: 5.8rem;
    font-weight: bold;
    text-shadow: 4px 3px 2px rgba(0,0,0,0.4);
}

.carousel-caption p {
    font-size: 3.8rem;
    margin-top: 10px;
    text-shadow: 3px 3px 2px rgba(0,0,0,0.4);
}

.carousel-caption .sub-desc {
    font-size: 2.6rem;
    display: block;
    margin-top: 50px;
    line-height: 1.6;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.4);
}

/* --- 3. 大图标链接区块样式 --- */
.service-links-section {
    padding: 60px 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f7e295; /* 按钮背景色 */
    min-height: 180px;          /* 保证在移动端不被内容压缩变形 */
    padding: 20px 20px;
    text-decoration: none;      /* 去掉 a 标签默认下划线 */
    color: #1c3a85;             /* 深蓝色字体 */
    transition: all 0.3s ease;
}

/* 图标样式 */
.service-card i {
    font-size: 60px;
    color: #1c3a85;             /* 图标颜色 */
    margin-bottom: 2px;
    display: inline-block;
}

/* 文字样式 */
.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #1c3a85;
}

/* 鼠标悬停效果，提升交互体验 */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background-color: #f8dd80;
}

/* --- 4. 关于我们区域样式 --- */
.about-section {
    background-color: #ffffff;
    padding: 80px 0 100px 0;
}

.about-title {
    font-size: 48px;
    font-weight: bold;
    color: #1b3456; /* 深蓝色，与头部一致 */
    margin-bottom: 25px;
}

.about-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #c77d30; /* 橙褐色，还原截图颜色 */
    margin-bottom: 40px;
}

.about-content {
    text-align: left;
}

.about-content p {
    color: #666666;
    font-size: 16px;
    line-height: 1.8; /* 增加行高，方便阅读 */
    margin-bottom: 25px;
}

.about-logo-wrapper {
    text-align: left; /* 强迫 40 Years 图片靠左对齐 */
    margin-top: 100px;
}

.forty-years-logo {
    width: 130px; /* 根据真实图片比例调整 */
    height: auto;
    border: 6px solid #e6512c; /* 橙色外边框 */
    padding: 8px;
    background-color: #ffffff;
}

/* --- 5. 最新产品区域样式 --- */
.products-section {
    background-color: #ffffff;
    padding: 60px 0;
}

/* 头部标题 */
.title-group .sub-title {
    display: block;
    color: #888888;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.title-group .main-title {
    font-size: 40px;
    font-weight: bold;
    color: #1b3456; /* 深蓝色 */
    margin: 0;
}

.btn-show-all {
    display: inline-block;
    padding: 10px 35px;
    color: #1b3456;
    font-weight: 500;
    border: 2px solid #1b3456;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-show-all:hover {
    background-color: #1b3456;
    color: #ffffff;
}

/* 产品卡片 */
.product-card {
    background-color: #ffffff;
    border: 2px solid #2352d8; /* 蓝色外边框 */
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 图片区域 */
.product-img-wrapper {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* 让图片区域占据尽可能多的剩余空间 */
    
    /* 👇 新增：必须加上 overflow: hidden，否则图片放大时会撑破蓝色边框 👇 */
    overflow: hidden; 
}

/* 👇 新增：保证链接占满整张图片的区域 👇 */
.product-img-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* --- 替换更新原来的 img 样式 --- */
.product-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;   
    /* 👇 新增：添加平滑过渡动画 👇 */
    transition: transform 0.4s ease; 
}

/* 👇 新增：鼠标悬停卡片时图片放大的效果 👇 */
.product-card:hover .product-img-wrapper img {
    transform: scale(1.08); /* 放大 1.08 倍 */
}


/* 底部信息与按钮区域 */
.product-info {
    background-color: #295de6; /* 亮蓝色背景 */
    display: flex;
    flex-direction: column;
}

.product-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 25px 0;
}

.product-btn {
    display: block;
    width: 94%;
	margin: 3%;
    background-color: #1f44a1; /* 深蓝色按钮 */
    color: #ffffff;
    text-align: center;
    padding: 14px 0;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: #142f75;
    color: #ffffff;
}

/* 产品分类卡片 */
.productfl-card {
    background-color: #ffffff;
    border: 2px solid #f4f5f7; /* 蓝色外边框 */
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}
.productfl-img-wrapper {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1; 
    overflow: hidden; 
}

.productfl-img-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.productfl-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;   
    transition: transform 0.4s ease; 
}

.productfl-card:hover .productfl-img-wrapper img {
    transform: scale(1.08); /* 放大 1.08 倍 */
}
.productfl-info {
    display: flex;
    flex-direction: column;
}

.productfl-name {
    color: rgb(31, 54, 84);
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    padding: 25px 0;
}
.productfl-subname {
    color: rgb(30, 30, 30);
    font-size: 15px;
    padding: 25px 7px;
	text-align:left;
}

/* --- 6. 底部区域样式 --- */
.footer-section {
    background-color: #253848; /* 深蓝灰色背景，与头部导航栏色彩体系一致 */
    padding: 40px 0 30px 0;
    color: #e6e6e6;
}

/* 顶部 Logo 与导航 */
.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* 分割线 */
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.footer-logo-box {
    background-color: #ffffff;
    padding: 5px 20px;
    border-radius: 50px; /* 胶囊形状 */
    display: inline-flex;
    align-items: center;
}
.footer-logo-box img {
    max-height: 40px;
}

.footer-nav {
    gap: 30px;
}
.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}
.footer-nav a:hover,
.footer-nav a.active {
    color: #f6c900; /* 悬停时的高亮黄色 */
}

/* 联系方式文本 */
.footer-info p {
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 0;
}
.footer-info p strong {
    color: #ffffff;
    font-weight: 600;
}

/* 留言表单 */
.footer-form .form-control {
    background-color: rgba(255, 255, 255, 0.15); /* 半透明背景 */
    border: none;
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 14px;
}
.footer-form .form-control:focus {
    box-shadow: 0 0 0 2px rgba(246, 201, 0, 0.4); /* 聚焦时的淡黄色光圈 */
    background-color: rgba(255, 255, 255, 0.25);
}
/* 修改占位符文字颜色 */
.footer-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
/* 文本域高度调整 */
.footer-form textarea.form-control {
    resize: none;
}

/* 二维码区域 */
.footer-qr p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 14px;
    color: #ffffff;
}
.qr-box {
    display: inline-block;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 6px;
}
.qr-box img {
    width: 120px;
    height: 120px;
    display: block;
}

/* --- 7. 搜索弹窗样式 --- */
#searchModal .modal-content {
    background-color: #2b4054; /* 与网站头部一致的深蓝色 */
    border: none;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); /* 悬浮阴影 */
}

#searchModal .modal-header {
    padding-bottom: 0;
}

/* 搜索输入框 */
.search-input {
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 16px;
}
.search-input:focus {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
    color: #ffffff;
}
.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* 搜索按钮（黄色） */
.btn-search {
    background-color: #f6c900;
    color: #2b4054;
    font-weight: 600;
    padding: 0 30px;
    border: none;
    transition: all 0.3s;
}
.btn-search:hover {
    background-color: #e0b600;
    color: #1d3142;
}

/* --- 9. 返回顶部按钮样式 --- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;        /* ✅ 根据需求，定位在左下角 */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2b4054; /* 与头部一致的深蓝色 */
    color: #f6c900;            /* 与搜索图标一致的亮黄色 */
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;              /* 排在轮播图和菜单之上 */
    
    /* 默认隐藏状态 */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* 当页面下移时，添加上此 class 即可显示 */
#back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* 鼠标悬停或手指触摸时的反馈 */
#back-to-top:hover {
    background-color: #1d3142;
    transform: scale(1.1);
}


/* --- 10. 内页面包屑区域样式 --- */
.page-banner-section {
    background-color: #f4f5f7; /* 浅灰色背景 */
    padding: 80px 0 60px 0;
}

.breadcrumb-custom {
    font-size: 15px;
    letter-spacing: 1px;
}

.breadcrumb-custom a {
    color: #c9302c; /* 红褐色，还原设计图 Home 的颜色 */
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-custom a:hover {
    color: #a8231f;
}

.breadcrumb-custom span {
    color: #6c757d; /* 灰色字体 */
    margin: 0 8px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    color: #1b3456; /* 与网站保持一致的深蓝色 */
    letter-spacing: 1px;
}

/* --- 11. 内页图文内容区域样式 --- */
.page-content-section {
    padding: 80px 0 100px 0;
    background-color: #ffffff;
}

.content-title {
    font-size: 32px;
    font-weight: bold;
    color: #1b3456;
}

.content-desc {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content-section p{
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-image {
    width: 100%;
    max-width: 500px;
    object-fit: cover;
}

.btn-primary-custom {
    background-color: #1b3456;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none;
}
.btn-primary-custom:hover {
    background-color: #2b4054;
    color: #ffffff;
}

/* --- 12. 新闻列表样式 --- */
.news-section {
    background-color: #fcfcfc;
    padding: 80px 0 100px 0;
}

/* 分类按钮 */
.news-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cat-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #f0f2f5;
    color: #2b4054;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cat-btn:hover, .cat-btn.active {
    background-color: #2b4054;
    color: #ffffff;
}

/* 单个新闻卡片 */
.news-item {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-item .img-wrap {
    display: block;
    width: 100%;
    padding-top: 62.5%; /* 4:3 比例 */
    position: relative;
    overflow: hidden;
}

.news-item .img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .img-wrap img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px 15px 25px;
    text-align: left;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #1b3456;
    margin-bottom: 12px;
    height: 48px; /* 固定高度，保证排版整齐，超过2行隐藏 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-title a {
    color: #1b3456;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #f6c900;
}

.news-date {
    display: block;
    font-size: 13px;
    color: #888888;
}

/* --- 13. 分页样式 --- */
.pagination-wrapper .page-num {
    color: #2b4054;
    border: none;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 4px;
    font-weight: 500;
    background-color: transparent;
    transition: all 0.3s ease;
	position: relative;
	display: block;
}
.pagination-wrapper .page-num-current {
    background-color: #2b4054;
    color: #ffffff;
    border-color: #2b4054;
}

.pagination-wrapper .page-link {
    color: #2b4054;
    border: none;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 4px;
    font-weight: 500;
    background-color: transparent;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
    background-color: #e9ecef;
    color: #2b4054;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #2b4054;
    color: #ffffff;
    border-color: #2b4054;
}

.pagination-wrapper .page-item:first-child .page-link,
.pagination-wrapper .page-item:last-child .page-link {
    border-radius: 4px;
}

/* 1. 表格整体样式：圆角与边框 */
.custom-table {
	border-collapse: separate; /* 关键：允许圆角生效 */
	border-spacing: 0;
	border-radius: 8px;       /* 外框弧度 */
	overflow: hidden;         /* 裁剪内容以显示圆角 */
	box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 可选：增加一点阴影提升质感 */
}

/* 2. 表头样式：深蓝色背景 */
.custom-table thead th {
	background-color: #0f418b; /* Bootstrap Primary 深蓝 */
	color: #ffffff;            /* 白色文字 */
	border-bottom: none;       /* 去除底部默认边框，视觉更整洁 */
	vertical-align: middle;    /* 文字垂直居中 */
	text-align: center;
	font-size:16px;
}

/* 3. 单元格通用边框 */
.custom-table th, 
.custom-table td {
	border-color: #dee2e6;     /* 浅灰色边框 */
	vertical-align: middle;
	padding: 12px;             /* 增加内边距，让内容不拥挤 */
}

/* 4. 斑马纹：奇数行浅灰，偶数行浅蓝 */
/* 注意：这里选择 td 而不是 tr，防止边框线切断背景色 */
.custom-table tbody tr:nth-child(odd) td {
	background-color: #f8f9fa; /* 浅灰色 (Bootstrap gray-100) */
}

.custom-table tbody tr:nth-child(even) td {
	background-color: #e7f1ff; /* 浅蓝色 (柔和护眼) */
}

/* 5. 鼠标悬停效果（可选优化） */
.custom-table tbody tr:hover td {
	filter: brightness(0.95); /* 悬停时稍微变暗，增加交互感 */
}

.pro-img{
	width: 100%;
	height: 100%;
	object-fit: cover; /* 保持图片比例填充，不变形 */
	min-height: 300px; /* 设置最小高度，防止图片太扁 */
	border-radius: 20px; /* 卡片整体大圆角 */
	overflow: hidden; /* 关键：确保内部图片圆角不被直角容器遮挡 */
	box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 轻微阴影提升质感 */	
}

.text-content {
	padding: 3rem; /* 文字区域的内边距 */
	display: flex;
	flex-direction: column;
	justify-content: center; /* 文字垂直居中 */
}

/* --- 内页移动端适配 --- */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem; /* 手机端缩小字号 */
    }
    .page-content-section {
        padding: 50px 0;
    }
    .content-title {
        font-size: 26px;
        margin-top: 20px;
    }
    .content-image {
        max-width: 100%;
    }
}

/* --- 移动端适配 (响应式) --- */
@media (max-width: 991px) {
/* 1. 强制头部固定高度，不再被菜单撑开 */
    .header-wrapper {
        height: 70px !important;
        position: relative !important;
        z-index: 1030;
    }
    
    .container-custom {
        flex-wrap: nowrap !important; /* 强制横向排列，不换行 */
        height: 100%;
        padding: 0 15px;
    }
    
    .logo-wrapper {
        height: 100%;
        padding: 0 15px 0 0;
    }

    /* 2. 右侧汉堡与搜索图标样式 */
    .navbar {
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        flex: 1;
        /* 重要：保证汉堡按钮可以放在最右侧 */
        justify-content: flex-end; 
    }
    
    .navbar-toggler {
        border: none;
        padding: 0;
        margin: 0 !important; /* 移除我们之前加的 ms-auto，由上面的 justify-content: flex-end 控制 */
    }
    
    /* 将 Bootstrap 默认的黑色汉堡图标变成白色 */
    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
        width: 28px;
        height: 28px;
    }

    .search-icon {
        margin-left: 15px;
        font-size: 22px;
        display: flex;
        align-items: center;
        color: #f6c900;
    }

    /* 3. 下拉菜单变为全屏覆盖层 (使用 fixed 固定定位) */
    .navbar-collapse {
        position: fixed !important;  /* 固定定位：不依赖任何父级，直接针对屏幕 */
        top: 70px !important;        /* 紧贴 70px 高的头部下方 */
        left: 0 !important;
        width: 100% !important;      /* 宽度 100% 撑满全屏 */
        height: auto;
        
        background-color: #253848;
        z-index: 9999;               /* 必须非常大，保证浮在所有内容上方 */
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* 增加深邃阴影 */
        
        /* 安全高度限制 */
        max-height: calc(100vh - 70px);
        overflow-y: auto;            /* 菜单过长时，内部可以滚动 */
    }

    /* 4. 菜单项文字样式 */
    .navbar-nav {
        width: 100%;
        padding: 0;
    }

    .nav-link {
        padding: 14px 0 !important; 
        text-align: center !important; /* 对应截图，文字居中 */
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* 分割线 */
        color: #e6e6e6 !important;
        font-size: 16px;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* 悬浮和当前页状态 */
    .nav-link:hover, .nav-link.active {
        color: #f6c900 !important;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-info {
        margin-bottom: 20px;
    }
    .footer-form-wrapper {
        margin-bottom: 30px;
    }	
}

@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
		min-height:500px;
    }
    .carousel-caption {
        text-align: center;
        left: 5%;
        right: 5%;
        bottom: 55%;
    }
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
        margin-top: 5px;
    }
    .carousel-caption .sub-desc {
        //display: none; /* 小屏手机文字较多，建议隐藏副文本或缩小字号 */
		font-size:0.9rem;
    }
    .about-title {
        font-size: 32px;
    }
    .about-subtitle {
        font-size: 18px;
    }
    .about-content p {
        font-size: 14px;
    }
    .about-logo-wrapper {
        text-align: center; /* 在手机尺寸下，把图片居中显示会更美观 */
    }	
    .title-group .main-title {
        font-size: 32px;
        width: 100%;
    }
    .btn-show-all {
        margin-top: 15px;
    }
    .product-card {
        margin-bottom: 15px; /* 移动端时卡片增加底部间距 */
    }	
    .news-categories {
        gap: 10px;
    }
    .cat-btn {
        padding: 6px 18px;
        font-size: 14px;
    }
    .news-title {
        height: auto;
        min-height: 44px;
    }	
}

@media (max-width: 576px) {
    .service-card {
        min-height: 150px;
    }
    .service-card i {
        font-size: 40px;
    }
    .service-card h3 {
        font-size: 20px;
    }
    .footer-nav a {
        font-size: 14px;
    }	
    #back-to-top {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }	
}