.icon,
.fa,
[class^="fa-"] {
    font-family: "Font Awesome 6 Free";
}
body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,

    /* 👇 中文兜底（关键） */
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans CJK SC",
    "Source Han Sans SC",

    sans-serif;
}
html{
    margin: 0;
    padding: 0;
    color: #333;
    word-wrap: break-word;   /* 长单词或长链接自动换行 */
  word-break: break-word;  /* 强制长字符串换行 */
  white-space: normal;     /* 遇到空格正常换行 */
}
div{
    font-family: Arial, Helvetica, sans-serif;
}
a{
    color: #333;
    text-decoration: none;
    font-weight: normal;
    padding: 0;
}

ul,li,dl,dd,dt{
    list-style: none;
    padding: 0;
}
img{
    max-width: 100%;
}
.bgcolor{
    background-color: #344652;
}
.fwcolor{
    color: #344652;
}
.fwcolor-b{
    color: #324968;
}
.fwcolor-c{
    color: #6284ac;
}
.border-color{
    background-color: #27343c;
}

.w-10{
    width: 10%;
}
.w-20{
    width: 20%;
}
.w-30{                  
    width: 30%;
}
.w-40{
    width: 40%;
}
.w-50{
    width: 50%;
}
.w-60{
    width: 60%;
}
.w-70{
    width: 70%;
}
.w-80{
    width: 80%;
}
.w-90{
    width: 90%;
}
.w-100{
    width: 100%;
}


.navpc>ul>li>a{
    color: #fff;
    font-size: .85rem;
    font-family: verdana;
    font-weight: 600;
    display: block;
    line-height: 3.1rem;
    border-bottom: 2px solid transparent;
}
.navpc>ul>li:hover > a{
    border-bottom-color: #c05f5f;
}
nav{
    position: fixed;
}
body:not(.home):not(.front-page) nav {
    background-color: #344652;
}
::selection {
    background-color: #c05f5f;
    color: #ffffff;
}

::-moz-selection {
    background-color: #c05f5f;
    color: #ffffff;
}


/* 缩小状态：减少 logo 的垂直内边距 */
.nav-shrunk .logo {
    padding-top: 0.1rem !important;   /* 原来是 py-3 (1rem)，缩小到 0.5rem */
    padding-bottom: 0.1rem !important;
}

/* 缩小状态：也可以顺便缩小 logo 图片本身 */
.nav-shrunk .logo img {
    transform: scale(0.6);
}

/* 列表样式清除 */
.navpc ul li { list-style: none; }


.main-nav{
    z-index: 999;
}



/* 一级菜单 */
.pcmenu > li {
    position: relative;
}

/* 二级菜单 */
.pcmenu > li > ul {
    border-top: 2px solid #c05f5f;
    background-color: #344652;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

/* 二级菜单项 */
.pcmenu > li > ul > li {
    position: relative; /* 为三级菜单定位 */
}

.pcmenu > li > ul > li > a {
    display: block;
    padding: 8px 16px;
    font-size: .9rem;
    color: #eee;
    white-space: nowrap;
}

/* hover 显示二级菜单 */
.pcmenu > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* hover 效果 */
.pcmenu > li > ul > li > a:hover {
    background: #f5f5f5;
    color: #344652;
}

/* 三级菜单 */
.pcmenu > li > ul > li > ul {
    border-top: 2px solid #c05f5f;
    background-color: #3e5566;
    position: absolute;
    top: 0;
    left: 100%; /* 三级菜单向右展开 */
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

/* hover 显示三级菜单 */
.pcmenu > li > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 三级菜单项 */
.pcmenu > li > ul > li > ul > li > a {
    display: block;
    padding: 8px 16px;
    font-size: .9rem;
    color: #eee;
    white-space: nowrap;
}

/* hover 效果 */
.pcmenu > li > ul > li > ul > li > a:hover {
    background: #f5f5f5;
    color: #344652;
}
/* 左边展开 */
.pcmenu > li > ul > li > ul.left {
    left: auto;
    right: 100%;
    transform: translateX(-10px);
}

.pcmenu > li > ul > li:hover > ul.left {
    transform: translateX(0);
}








/* 移动菜单容器 */
.mobmenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #344652;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform .3s ease;
}

.mobmenu.active {
    transform: translateX(0);
}

.mobmenu-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
}

.mobmenu-close {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.mobmenu-list {
    list-style: none;
    padding: 0 20px;
}

.mobmenu-list li > a {
    display: block;
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    font-size: 16px;
}

/* 二级菜单 */
.mobmenu-list li ul {
    display: none;
    padding-left: 15px;
}

/* 只要 li 下面有 ul，就显示 + 号 */
.mobmenu-list li:has(> ul) > a::after {
    content: '+';
    float: right;
}

/* 展开状态 */
.mobmenu-list li.open > ul {
    display: block;
}

.mobmenu-list li.open > a::after {
    content: '−';
}








/* 基础样式重置（仅作用于当前轮播内部） */
#topBanner * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 轮播容器核心样式 - 宽度始终100%，高度响应式 */
#topBanner {
    width: 100% !important; /* 强制宽度100%，覆盖所有屏幕 */
    position: relative;
    overflow: hidden;
    /* 大屏（默认，>992px）：整屏高度 */
    height: 100vh;
    margin: 0 !important; /* 取消之前的居中margin */
}



/* 仅作用于#topBanner内部的Swiper核心容器 */
#topBanner .swiper {
    width: 100%;
    height: 100%;
}

/* 仅作用于#topBanner内部的轮播图 */
#topBanner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并覆盖容器 */
}

/* 文字区域默认样式（大/中屏：左下方） */
#topBanner .fixed-left-box {
    position: absolute;
    left: 50px;   /* 大/中屏：距离左侧50px */
    bottom: 50px; /* 大/中屏：距离底部50px */
    z-index: 1;
    max-width: 500px;
    width: auto;
    text-align: left; /* 大/中屏：文字左对齐 */
}


/* 仅作用于#topBanner内部的左右切换按钮 */
#topBanner .swiper-button-next,
#topBanner .swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

#topBanner .swiper-button-next::after,
#topBanner .swiper-button-prev::after {
    font-size: 18px;
}

/* 仅作用于#topBanner内部的底部轮播点 */
#topBanner .swiper-pagination {
    bottom: 20px !important;
}

#topBanner .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    margin: 0 6px;
    opacity: 0.6;
}

#topBanner .swiper-pagination-bullet-active {
    background: #344652;
    opacity: 1;
}

#topBanner .bottom-square {
    /* 如需样式，添加前缀 */
}

.fixed-left-box a {
    text-decoration: underline;
    color: #fff;
}




.avbut{
    background-color: #324968;
}

.abuticon{
    color: #558ab4;
    font-size: 12rem;
}

.servicedot {
    position: relative;
    overflow: hidden;
}

/* 视差背景层 */
.servicedot .parallax-bg {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 130%; /* 比容器高，避免滚动露底 */
    background: 
        rgba(0, 0, 0, 0.1)
        url("images/services-dots.png")
        no-repeat
        center center;
    background-size: cover;

    transform: translateY(0);
    will-change: transform;
    z-index: 1;
}

/* 内容层始终在背景之上 */
.servicedot .container {
    position: relative;
    z-index: 2;
}
.servicelist p{
    font-weight: 600;
    font-family: sans-serif;
}
.servicelist li{
    margin-bottom: 1rem;
}


/* 轮播可视区域作为定位基准 */
.awards-swiper-wrap {
    position: relative;
}

/* 右上角按钮 */
.awards-nav {
    position: absolute;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* 半透明小方块 */
.awards-btn {
    position: static;
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,.35);
    border-radius: 4px;
}

.awards-btn::after {
    font-size: 14px;
    color: #fff;
}

.awards-btn:hover {
    background: rgba(0,0,0,.55);
}
.awards-swiper img{
    width: auto;
    height: 180px;
    object-fit: contain;
}

/* 去掉 swiper 默认定位 */
.swiper-button-prev,
.swiper-button-next {
    position: static;
}
.parallax-section {
    position: relative;
    overflow: hidden;
    min-height: 400px; /* 必须给区块高度 */
}

.parallax-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%; /* 背景比内容高，保证滚动时覆盖 */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; /* 默认上下居中 */
    transform: translateY(0);
    will-change: transform;
    z-index: 1;
}

.parallax-section > .container {
    position: relative;
    z-index: 2;
}



.newsline{
    font-family: sans-serif;
    line-height: 1.6rem;
}
.newslink{
    font-size: .8rem;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 2px;
    display: block;
    padding: .2rem .4rem;
    float: right;
    margin-left: .5rem;
    transition: opacity 0.5s;
    margin-top: 2rem;
}
.newslink:hover{
    opacity: 0.8;
}

.footer{
    background-color: #232b30;
}
.fttxt,.fttxt a{
    color: #eee;
    font-size: .9rem;
    line-height: 1.4rem;
}
.copyright{
    background-color: #1b2226;
    color: #eee;
    font-size: .8rem;
    padding: 1rem 0;
}
.search{
    z-index: 999;
}
.search-box {
    position: absolute;
    top: 100%;
    margin-top: -5px;
    margin-right: -25px;
    display: none;
    z-index: 999;
    background-color: #344652;
    padding: 20px;
    border: 1px solid #ccc;
}

.search-box form {
    display: flex;
    align-items: center;
    background: #fff;
    line-height: 2.5rem;
    overflow: hidden;
}

.search-box input {
    border: none;
    width: 220px;
    outline: none;
    padding: 0 5px;
    font-size: .8rem;
}

.search-box button {
    border: none;
    background: #c05f5f;
    color: #fff;
    width: 50px;
    cursor: pointer;
}
.search-arrow{
    height: 10px;
    width: 10px;
    position: absolute;
    top: -6px;
    left: 90%;
    margin-left: -5px;
    transform: rotate(45deg);
    background-color: #344652;
    border: 1px solid #ccc;
}
.pagemt{
    margin-top: 70px;
}
.postiontxt a,.postiontxt{
    color:#f8f9fa;
    font-family: verdana;
    font-size: .8rem;
}
.pagesearch input{
    border: none;
    width: 100%;
    outline: none;
    padding: 0 5px;
    border: 1px solid #ccc;
    font-size: .8rem;
    line-height: 2.5rem;
}
.pagesearch form {
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
    border: 0;
    outline: none;
    box-shadow: none;
}
.pagesearch button{
    border: none;
    background: #c05f5f;
    color: #fff;
    width: 20%;
    line-height: 2.5rem;
    cursor: pointer;
}


/* ===== 基础 ===== */
.category-menu,
.category-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-menu > li {
    position: relative;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
}

.category-menu > li > a {
    display: block;
    padding: 12px 40px 12px 12px;
    color: #333;
    text-decoration: none;
}

/* + / − */
.toggle-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
}

/* 二级菜单基础 */
.sub-menucy {
    display: none;
    background: #fff;
    z-index: 99;
}

.sub-menucy li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    white-space: nowrap;
}



.prolstpg .nav-pills .nav-link.active,.prolstpg .nav-pills .show>.nav-link{
    background-color: #27343c;
    border-radius: 0;
}

.prolstpg .nav-link{
    color: #27343c;
    background: #eee;
    border-radius: 0;
}

/* ===== 容器 ===== */
.img-preview-wrap {
    width: 50%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .img-preview-wrap {
        width: 100%;
    }
}

/* ===== 大图 ===== */
.img-preview-main {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.img-preview-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

/* 放大状态 */
.img-preview-main.zoom {
    background-size: 180%;
}

/* ===== 缩略图区域 ===== */
.thumbs-wrap {
    margin-top: 12px;
    display: flex;
    align-items: center;
    position: relative;
}

.img-preview-list {
    display: flex;
    gap: 10px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* 单个缩略图 */
.thumb {
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    border: 1px solid #eee;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 左右按钮 ===== */
.thumb-btn {
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.thumb-btn.prev {
    margin-right: 8px;
}

.thumb-btn.next {
    margin-left: 8px;
}
/* 箭头不允许被压缩 */
.thumb-btn {
    flex-shrink: 0;
}

/* 中间缩略图区域占剩余空间 */
.img-preview-list {
    flex: 1;
}

/* ===== 移动端优化 ===== */
@media (max-width: 768px) {
    .img-preview-main {
        height: 300px;
    }

    .img-preview-main.zoom {
        background-size: 100%;
    }

    .thumb-btn {
        width: 30px;
        height: 30px;
    }
}









/* =========================
   PC：右侧弹出（hover）
========================= */
@media (min-width: 992px) {
    .sub-menucy {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 220px;
        box-shadow: 0 0 10px rgba(0,0,0,.08);
    }

    .menu-item.has-children:hover > .sub-menucy {
        display: block;
    }
}

/* =========================
   移动端：下方展开（点击）
========================= */
@media (max-width: 991px) {
    .sub-menucy {
        position: static;
        box-shadow: none;
    }

    .menu-item.open > .sub-menu {
        display: block;
    }
}













/* 小屏幕（≤768px）：文字区域居中显示 */
@media (max-width: 768px) {
    #topBanner {
        height: 50vh;
    }
    #topBanner .fixed-left-box {
        left: 50%;    /* 水平居中 */
        top: 50%;     /* 垂直居中 */
        bottom: auto; /* 取消底部定位 */
        transform: translate(-50%, -50%); /* 位移实现真正居中 */
        text-align: center; /* 小屏：文字居中对齐 */
        width: 90%;   /* 小屏：限制宽度避免溢出 */
        max-width: 100%; /* 小屏：取消最大宽度限制 */
    }
    /* 小屏幕隐藏描述文字（可选，保持原有逻辑） */
    #topBanner .fixed-left-box p.d-none.d-md-block {
        display: none !important;
    }
}
/* 中屏幕（Pad，768px < 宽度 ≤ 992px）：高度70%视口高度，宽度保持100% */
@media (max-width: 992px) {
    #topBanner {
        height: 70vh;
    }
    .search-box {
        margin-right: 12px;
    }
}
