* {
    margin: 0;
    padding: 0;
   
    font-smooth: always;
    /* 启用字体平滑 */
    -webkit-font-smoothing: antialiased;
    /* 在一些WebKit浏览器中启用字体抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
    /* 在一些Firefox浏览器中启用字体抗锯齿 */
    font-family: Arial, Helvetica, sans-serif;
    
}
p{ font-weight:300;
margin-top: 0;
    margin-bottom: 0;}
a{
    text-decoration: none;
    color: #000;
}
h1{
    font-size: 55px;
    font-weight: bold;
}
h2{
    font-size: 40px;
     font-weight: bold;
}
h3{
    font-size: 30px;
     font-weight: bold;
}
/* 平滑滚动 */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

#main-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.scrollbar-thumb{
    background-color: rgba(0,0,0,0.5);
}

.scrollbar-track-y{
    width: 5px !important;
    background-color: rgba(0,0,0,0.2) !important;
}


/* ==翻页样式== */
.pagesinfo {
    color: #555555;
    font-size: 12px;
}

.pagesnow {
    color: #D07E36;
    font-size: 14px;
    text-decoration: none
}

.pages {
    color: #777777;
    font-size: 14px;
    text-decoration: none
}

/*首页轮播*/
.swiper div.swiper-wrapper{
    height: auto;
}

.swiper-slide img{
    width: 100%;
}

/*主导航*/
#mainMenu{
  background-color: #fff;
  top: 25px;
  z-index: 9;
  position: fixed;
}
#caidan .secondMenu {
padding: 15px 0 !important;
    display: none;
    position: absolute;
    left: 0;
    top: 68px;
    background: linear-gradient(to bottom, #55A536, #1C813A);
    min-width: 114px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#caidan .mobile-li {
    position: relative;
    padding-left: 17px;
    padding-right: 17px;
    padding-bottom: 22px;
    padding-top: 22px;
}
#caidan .mobile-li:hover{
   background: linear-gradient(to bottom, #55A536, #1C813A);
}
#caidan .active .mainLink{
  color: #55A536 !important;
}
#caidan .mobile-li:hover .mainLink{
  color: #fff !important;
}
#caidan .mainLink > .icon {
    transition: transform 0.3s ease;
    display: inline-block;
}
#caidan .mainLink > .icon.on {
    transform: rotate(180deg);
}
#caidan .secondMenu a {
    display: block;
    white-space: nowrap;
    padding:10px 25px !important;
    font-size: 15px !important;
    color: #fff;
    font-weight: 300;
    position: relative;
    padding-left: 10px;
}
#caidan .secondMenu a:hover{
    font-weight: bold;
}
#caidan .secondMenu a:before {
  content: '';
  position: absolute;
  left: 13px;
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
}
#caidan .secondMenu a:hover::before {
  opacity: 1;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* 手机-二级菜单默认折叠隐藏  */
.offcanvas-body .secondMenu {
  overflow: hidden;
}
.offcanvas-body .mainLink > i.icon {
  transition: transform 0.3s ease;
  display: inline-block;
}
.offcanvas-body .mainLink > i.icon.on {
  transform: rotate(180deg);
}
.offcanvas-body .secondMenu a {
  padding-left: 1.2rem;
  display: block;
}
li{
  list-style-type: none;
}

#mainMenu .logo {
    width: 147px;
    height: 131px;
    position: absolute;
    margin-left: -70px;
    top: -20px;
    z-index: 99;
    left: 50%;
    background: url(logo.png) no-repeat top center;
    background-size: 0%; /* 初始缩小 */
    animation: logoScale 0.2s ease-out forwards;
}
/* 关键帧：从0放大到80% */
@keyframes logoScale {
    0% {
        background-size: 0%;
        opacity: 0;
    }
    100% {
        background-size: 80%;
        opacity: 1;
    }
}
#caidan > ul > li:nth-child(4) {
    margin-right: 170px;
}
#caidan ul{
    justify-content: center;
    padding-left: 0;
    margin-bottom: 0;
}
#caidan .mt-3{
    margin-top: 0;
}
.cdlx p{
    display: block;
    overflow: hidden;
    float: right;
    margin-right: 15px;
    color: #666;
    font-weight: 300;
}
.cdlx a{
    display: block;
    overflow: hidden;
    float:right;
    color: #666;
    font-weight: 300;
}
.cdlx1 span{
    color: #666;
    font-weight: 300;
}
.cdlx1{display: flex;
    align-items: center;}
.cdlx{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


#shipin {
    padding: 0;
    height: 100vh;
    display: block;
    overflow: hidden;
    position: relative;
}
#shipin:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 24, 65, 0.4) 30%, rgb(38 103 159 / 20%));
    z-index: 1;
}
#myVideo{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    object-fit: cover;
}
.wenzi{
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    color: #fff;
    bottom: 45%;
    transition: all 2s ease;
    transform: translateY(100px);
    opacity: 0; 
}
.wenzi h1{
    text-shadow: 0 3px 7px rgb(0 0 0 / 30%);
}
#shipin.active .wenzi{
    transform: translateY(0px);
    opacity: 1;
    text-align: center;
}
.wenzi p{
    margin-top: -5px;
    color: #A2A2A2;
    font-size: 28px;
    padding-bottom: 40px;
}
.wenzi .tx_svd_icon {
    text-align: center;
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 20px;
    border-radius: 100%;
    background: #55A536;
    color: #fff;
    border: none;
    animation: 1s linear infinite witr-shadow;
}
@keyframes witr-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(85, 165, 54, 0.3), 0 0 0 7px rgba(85, 165, 54, 0.3), 0 0 0 15px rgba(85, 165, 54, 0.3);
    }
    100% {
        box-shadow: 0 0 0 7px rgba(85, 165, 54, 0.3), 0 0 0 15px rgba(85, 165, 54, 0.3), 0 0 0 20px rgba(85, 165, 54, 0);
    }
}
.con{
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    color: #fff;
    bottom: 35px;
    transition: all 2s ease;
    text-align: center;
    opacity: 0.6;
}
.con i{
    font-size: 25px;
}
.container.con .iconfont {
  display: inline-block !important; /* 关键：让 transform 生效 */
  animation: iconJump 1s ease-in-out infinite !important;
}

@keyframes iconJump {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* 向上跳 10px */
  }
  100% {
    transform: translateY(0);
  }
}
