@charset "UTF-8";
html,
body {
    width: 100%;
    height: 100%;
}
.main-font {
    font-size: 17px;
    color: #fff;
}
.blue-font {
    font-size: 36px;
    color: #034ea2;
}
.text2 {
    margin: 10px 0 2.0833vw 0;
    font-size: 36px;
}
.wight-font {
    font-weight: 600;
}
body {
    background-blend-mode: multiply;
    background-color: rgba(17, 23, 29, 0.5);
    background-image: url("../images/home/bg.png");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}
.main-content {
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}
@media screen and (min-width: 769px) and (max-width: 1366px) {
    .main-width {
        width: 90vw;
        margin: 0 auto;
    }
    .product .ibox li:last-child {
        display: none;
    }
}
@media screen and (min-width: 1367px) {
    .main-width {
        width: 72.9167vw;
        margin: 0 auto;
    }
}

/* 头部样式 */
@media screen and (max-width: 768px) {
    body > .top.update {
        height: 5vh;
    }
    .top.update .menu-icon span {
        background-color: #000;
    }
    body > .top {
        position: relative;
        height: 8vh;
    }
    header > a > img {
        width: 53.0233vw;
        height: 9.3023vw;
    }
    header > .rightbar {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        height: 30vh;
        width: 30vw;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        border: #ccc 1px solid;
        background-color: #fff;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }

    .second-nav {
        margin-top: 10px;
        text-align: center;
        display: none;
        flex-direction: column;
        gap: 8px;
    }
}
@media screen and (min-width: 769px) {
    body > .top.update {
        height: 5.2083vw;
    }
    body > .top {
        padding: 0 3vw;
        height: 6.25vw;
        display: flex;
    }
    body > .swiper-box h1 {
        font-size: 48px;
    }
    body > .swiper-box p {
        font-size: 20px;
    }
    .introdution .content {
        width: 72.9167vw;
        margin: 0 auto;
    }
    #nav a img {
        width: 22vw;
        height: auto;
    }
    header .rightbar {
        height: 100%;
        display: flex !important;
        flex-direction: row;
        flex: 1;
        justify-content: space-between;
    }
    header .rightbar > .item {
        height: 100%;
        background: linear-gradient(to right, #074594, #074594) no-repeat;
        background-size: 0 4px;
        background-position: center bottom;
        transition: background-size 0.3s ease;
    }
    .rightbar > .item:hover {
        box-sizing: border-box;
        background-size: 100% 4px;
    }
    header .rightbar > .item > a {
        height: 100%;
        font-size: 17px;
        display: flex;
        color: #fff;
        align-items: center;
    }
    /* 二级菜单 */
    header .second-nav {
        display: none;
        position: absolute;
        min-width: auto;
        width: max-content;
        white-space: nowrap;
        top: 100%;
        background: #fff;
        color: #222;
        padding: 10px;
        text-align: center;
        overflow: hidden;
    }
    header .item-items .item {
        height: 50px;
        line-height: 50px;
    }
    header .item-items .item {
        border-bottom: 1px solid #ccc;
    }
    header .item-items .item:last-child {
        border-bottom: none;
    }
    .rightbar .item:hover .item-items {
        display: block;
        border: 1px solid #ccc;
    }

    /* 导航栏基础样式 */
    .rightbar .item {
        height: 100%;
        position: relative;
    }
    body > .top:hover {
        height: 5.2083vw;
    }
}
/* 添加响应式设计的样式 */
@media screen and (max-width: 768px) {
    .navbar {
        position: relative;
    }
    /* 在小屏幕上隐藏导航栏和搜索框等 */
    .second-nav li {
        display: none;
    }

    /* 显示汉堡式图标 */
    .navbar .menu-icon {
        display: block;
        position: relative;
        right: 5%;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 3;
    }

    .navbar .menu-icon span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #fff;
        border-radius: 4px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: 0.25s ease-in-out;
    }

    .navbar .menu-icon span:nth-child(1) {
        top: 0px;
    }

    .navbar .menu-icon span:nth-child(2),
    .navbar .menu-icon span:nth-child(3) {
        top: 10px;
    }

    .navbar .menu-icon span:nth-child(4) {
        top: 20px;
    }
    .navbar.open .menu-icon span {
        background-color: #000;
    }
    /* 菜单展开时的样式 */
    .navbar.open .menu-icon span:nth-child(1) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    .navbar.open .menu-icon span:nth-child(2) {
        transform: rotate(45deg);
    }

    .navbar.open .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .navbar.open .menu-icon span:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    /* 展开菜单时的导航栏样式 */
    .navbar.open ul {
        display: flex;
        flex-direction: column;
    }

    #navbarMenu {
        width: 100vw;
        height: 60vh;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        background-color: #ffffff;
        position: absolute;
        left: 0;
        top: -40%;
        z-index: 2;
        text-align: center;
    }

    #navbarMenu li a {
        font-size: 20px;
    }
}
.navbar li {
    position: relative;
    margin-right: 15px;
}

.navbar li a {
    padding: 10px;
}

body > .top {
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    transition: height 0.3s ease;
    box-sizing: border-box;
    /* 添加过度动画，下边框元素重复渲染 */
    transition: all 0.4s ease;
}

body > .top.update {
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}
body > .top.update .rightbar .item a {
    color: #000;
}

header {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* footer */
.footer {
    position: relative;
    overflow: hidden;
    background: url("../images/home/footer-bf.jpg"); /* 保留原有背景图片 */
    color: #fff;
    padding: 60px 0 0; /* 增加上下内边距，提高整体高度 */
}
.footer-content {
    padding: 0 30px; /* 左右间距 */
}
@media screen and (max-width: 768px) {
    .footer-content-center {
        flex-wrap: wrap !important;
        flex-direction: column !important;
    }
}
.footer-content-center {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px; /* 增加列间距 */
    margin-bottom: 40px; /* 增加底部间距 */
}
@media (min-width: 768px) {
    .footer-center-left {
        width: 25%;
    }
}
.footer-center-left {
    min-width: 280px;
}
.footer-center-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px; /* 增加内边距 */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-center-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}
.title-1 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
}
.title-1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4caf50;
    transition: width 0.4s ease;
}
.footer-center-item:hover .title-1:after {
    width: 70px;
}
.item-1 {
    margin-bottom: 15px;
}
.item-1 a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85);
}
.item-1 a:hover {
    color: #4caf50;
    transform: translateX(5px);
}
.item-1 a:hover:before {
    opacity: 1;
    left: -10px;
}
.ewm img {
    transition: all 0.5s ease;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.ewm img:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.lian-more a {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    border-radius: 30px;
    color: #4caf50;
    transition: all 0.4s ease;
    margin-top: 15px;
}
.lian-more a:hover {
    background: #4caf50;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}
.footer-content-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-copy {
    text-align: center; /* Copyright水平居中 */
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
/* 新的动画效果 */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* 为不同部分设置交错动画 */
.footer-content-top {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}
.footer-center-left:nth-child(1) .footer-center-item {
    animation: slideInFromBottom 0.6s ease 0.1s forwards;
    opacity: 0;
}
.footer-center-left:nth-child(2) .footer-center-item {
    animation: slideInFromBottom 0.6s ease 0.2s forwards;
    opacity: 0;
}
.footer-center-left:nth-child(3) .footer-center-item {
    animation: slideInFromBottom 0.6s ease 0.3s forwards;
    opacity: 0;
}
.footer-center-left:nth-child(4) .footer-center-item {
    animation: slideInFromBottom 0.6s ease 0.4s forwards;
    opacity: 0;
}
.footer-center-left:nth-child(5) .footer-center-item {
    animation: slideInFromBottom 0.6s ease 0.5s forwards;
    opacity: 0;
}
.footer-content-bottom {
    animation: fadeIn 0.8s ease 0.7s forwards;
}
@media (max-width: 768px) {
    .footer-logo img {
        max-width: 80%;
        margin-bottom: 10px;
    }
    .footer {
        padding-top: 30px;
    }
}

/* aside */
.fixed_contacts {
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 25%;
    transition: all 0.3s;
}
.fixed_contacts_default {
    width: 50px;
    height: 250px;
    background: #1d84dc;
}
.fixed_contacts_active {
    width: 320px;
    height: 380px;
    background: #1d84dc;
}
.fixed_contacts ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-left: 0 !important;
}
.fixed_contacts ul li:not(:last-child) {
    border-bottom: solid 1px #459ce7;
}
.fixed_contacts ul li:last-child {
    height: 130px;
    align-items: start;
}
.fixed_contacts ul li {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 18px !important;
    padding-inline-start: 0;
    padding: 0 !important;
}
.fixed_contacts ul li a {
    color: inherit;
    display: none;
}
.fixed_contacts ul li a:hover {
    color: inherit !important;
}
.whatsapp_qrcode {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.whatsapp_qrcode a {
    height: 50px;
    line-height: 50px;
}
.whatsapp_qrcode img {
    display: none;
    width: 90px;
    /*	height: 75px;*/
}

/* Keyframes动画 */
/* 定义从下往上的动画 */
@keyframes slideInUp {
    from {
        transform: translateY(100%); /* 初始位置在下方（相对于自身高度） */
        opacity: 0; /* 初始透明 */
    }
    to {
        transform: translateY(0); /* 最终回到原位置 */
        opacity: 1; /* 最终不透明 */
    }
}
/* 应用动画到目标元素 */
.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards; /* 动画持续0.6秒，缓出，保持最终状态 */
}
/* 上下跳动动画 */
@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0); /* 初始和结束位置（无垂直偏移） */
    }
    50% {
        transform: translateX(-50%) translateY(-10px); /* 中间位置向上偏移10px */
    }
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 二级菜单页header下图片样式 */
/* 添加.header-img容器样式 */
.header-img {
    width: 100%;
    height: 50vh;
    position: relative;
    overflow: hidden; /* 可选：隐藏超出容器的图片部分 */
}

/* 修改图片样式 */
.header-image img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 面包屑navbar导航样式 */
body > .navbar {
    padding: 2rem 0;
    background-color: #fff;
}
.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 2rem;
    gap: 1.5rem;
}
.crumb-item {
    position: relative;
}
.crumb-item a {
    background-color: #ffffff;
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: 9px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(0);
}
/* 非当前项交互效果 */
.crumb-item:not(.current) a:hover {
    background-color: #0d84d3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 136, 211, 0.2);
}
.crumb-item:not(.current) a:hover .crumb-item.current a {
    background-color: #fff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 136, 211, 0.2);
}
/* 当前项样式 */
.crumb-item.current a {
    background-color: #0d84d3;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(8, 121, 212, 0.3);
}
/* 化学分子式分隔符 */
.crumb-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url("../images/navbar-img.png") no-repeat center;
    background-size: contain;
    transition: all 0.3s ease;
    z-index: 1;
}
/* 分隔符动画 - 模拟液体流动效果 */
.crumb-item:not(:last-child):hover::after {
    transform: translateY(-50%) scale(1.2);
    filter: brightness(1.3);
}
/* 加载动画 - 移除opacity属性 */
.crumb-item {
    animation: crumbFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.crumb-item:nth-child(1) {
    animation-delay: 0.1s;
}
.crumb-item:nth-child(2) {
    animation-delay: 0.3s;
}
.crumb-item:nth-child(3) {
    animation-delay: 0.5s;
}
@keyframes crumbFadeIn {
    to {
        transform: translateY(0) rotateX(0) scale(1);
        pointer-events: auto;
    }
}
/* 响应式调整 */
@media (max-width: 768px) {
    .breadcrumb {
        flex-direction: column;
        align-items: start;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }
    .crumb-item a {
        padding: 0.6rem 1.2rem;
    }
    .crumb-item:not(:last-child)::after {
        width: 18px;
        height: 18px;
        right: -1rem;
    }
}

/* other libs */
@-webkit-keyframes hvr-push {
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes hvr-push {
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
.hvr-push {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-push:hover,
.hvr-push:focus,
.hvr-push:active {
    -webkit-animation-name: hvr-push;
    animation-name: hvr-push;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

/* 新增从右侧滑入动画 */
@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* back-top */
/* 返回顶部按钮样式 */
.aside-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.aside-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.back-to-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: #0056b3;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.back-to-top:hover::before {
    left: 100%;
}

/* 箭头图标 */
.back-to-top-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(-45deg);
    position: relative;
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.aside-top.visible {
    animation: fadeInUp 0.5s ease forwards;
}
