@font-face {
    font-family: 'DIN_Condensed';  /* 自定义字体名称 */
    src: url('fonts/DIN-Condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.container {
    width: 1366px;
    margin: 0 auto;
}

.nav-block {
    display: flex;
    justify-content: space-between;
}
.logo {
    background-color: #ffffff;
    width: 350px;
    display: flex;
    position: relative;
}

.logo-bg {
    height: 100%;
    position: absolute;
    left: 0;
    width: 100%;
    right: 100%;
    top: 0;
    background-color: #CA1B33;
    z-index: -1;
}

.logo-img {
    width: 390px;
    display: block;
    height: auto;
}

.navbar {
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 10px;
    margin-top: 12px;
}

.nav-item {
    width: 88px;
    text-align: center;
    margin-right: 10px;
    color: #676767;
    transition: color 0.5s ease;
    padding-bottom: 10px;
}

.nav-item:hover {
    color: #CA1B33;
    font-weight: bold;
    border-bottom: 2px solid #CA1B33;
}

.nav-item-active {
    color: #CA1B33;
    font-weight: bold;
    border-bottom: 2px solid #CA1B33;
}

.change-lang {
    margin-bottom: 10px;
    background-color: #CA1B33;
    border-radius: 50px;
    width: 80px;
    height: 30px;
    line-height: 30px;
    color: #ffffff;
    text-align: center;
}

.phone-area {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.phone {
    font-family: '', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #CA1B33;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    line-height: 23px;
}

/* 添加移动端样式 */
.hamburger-btn {
    display: none; /* 默认隐藏 */
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

.block {
    margin: 50px 50px 0 50px;
}

.block-title {
    display: flex;
    align-items: flex-end;
}

.block-title-column {
    display: flex;
    flex-direction: column;
}

.title-text {
    font-weight: 500;
    color: #CA1B33;
    font-size: 24px;
    font-family: PingFang SC-Light,  sans-serif;
}

.title-text-en {
    font-weight: 300;
    color: rgba(103, 103, 103, 1);
    font-size: 18px;
    margin-left: 5px;
}

.title-text-en-column {
    font-weight: 300;
    color: rgba(103, 103, 103, 1);
    font-size: 18px;
    margin-top: 5px;
}

.contact-block {
    height: 450px;
    background: url(images/index/icon-contact-bg.png) 100% no-repeat;
    background-size: 100% 100%;
}

.contact-area {
    margin-top: 20px;
}

.contact-company-name {
}

.contact-group-name {
    color: #CA1B33;
    line-height: 40px;
    padding-right: 5px;
}

.contact-company-name-ch {
    font-size: 30px;
    font-family: 'DIN_Condensed', PingFang SC-Semibold;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-company-name-en {
    font-size: 20px;
    font-family: 'DIN_Condensed';
    font-weight: 700;
    color: rgba(103, 103, 103, 1);
    margin-bottom: 80px;
}

.contact-company-info {
    font-size: 18px;
    font-family: PingFang SC-Light;
    line-height: 30px;
    color: rgba(103, 103, 103, 1);
}

.contact-area {
    display: flex;
    justify-content: space-between;
}

.form-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    margin-right: 35px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}
label {
    margin-bottom: 5px;
}
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
}

.contact-submit-btn {
    background-color: #CA1B33;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-family: 'DIN_Condensed',  sans-serif;
}

/* 错误提示样式 */
.error {
    color: #ff4444;
    font-size: 12px;
    height: 18px;
    display: block;
    margin-top: 4px;
}

/* 结果提示样式 */
.result-message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.result-message.success {
    background: #dff0d8;
    color: #3c763d;
    margin-top: 10px;
}

.result-message.error {
    background: #f2dede;
    color: #a94442;
}

.footer-copy {
    height: 70px;
    line-height: 70px;
    background: #CA1B33;
    color: #ffffff;
}

.cate-hero {
    width: 100%;
}

.cate-nav {
    display: flex;
    margin-top: -3px;
}

.cate-nav-left {
    color: #ffffff;
    width: 20%;
    height: 60px;
    background-color: #CA1B33;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    align-content: flex-end;
}

.cate-name {
    font-size: 24px;
}

.cate-name-en {
    margin-left: 5px;
    font-size: 16px;
}

.cate-nav-right {
    width: 80%;
    height: 60px;
    background-color: #ECECEC;
}

.cate-nav-right {
    line-height: 60px;
    color: #CA1B33;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}

/* 联系我们 */
.contact-content-area {
    margin-top: 30px;
    display: flex;
    box-shadow: 0 0 20px 4px #dddddd;
}

.contact-info {
    width: 40%;
    height: 350px;
    background: linear-gradient(top left, #ee0021, #CA1B33);
    background: -ms-linear-gradient(top left, #ee0021, #CA1B33);
    background: -webkit-linear-gradient(top left, #ee0021, #CA1B33);
    background: -moz-linear-gradient(top left, #ee0021, #CA1B33);
    color: #ffffff;
    text-align: center;
    padding: 45px;
}

.map-container {
    width: 60%;
}

.contact-info-item {
    margin-bottom: 20px;
    justify-content: space-evenly;
}

.contact-info-item-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #ffffff;
}

.contact-info-item-icon img {
    width: 45px;
    height: 45px;
}

.contact-info-item-content {
    text-align: left;
    line-height: 20px;
    width: 55%;
}

.contact-info-item-content-title {
    width: 220px;
}

.contact-info-item-content-text {
    width: 220px;
}

.map-container {
    width: 100%;
}

.contact-form-content {
    opacity: 0.8;
}

.contact-company-form {
    font-family: 'DIN_Condensed',  sans-serif;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.mr-5 {
    margin-right: 5px;
}

.mt-5 {
    margin-top: 5px;
}

.mt-20 {
    margin-top: 20px;
}

.font-weight-bold {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

/*首页*/
.hero-area {
    width: 100%;
    height: calc(100vh - 68.51px);
    /* 关键设置 */
    background-size: 100% auto; /* 宽度100% 高度自动 */
    overflow: hidden; /* 隐藏超出部分 */
    position: relative;
}

.swiper {
    width: 100%;
    height: calc(100vh - 150px);
    --swiper-navigation-top-offset: 45%;
}

.swiper-slide > img {
    width: 100%;
    height: calc(100vh - 150px);
    overflow: hidden;
}

.swiper-button-next, .swiper-button-prev {
    color: #ffffff !important;
    font-size: 35px !important;
}

.hero-wrapper {
    height: calc(100vh - 150px);
    width: 100%;
    position: absolute;
    top: 30%;
    z-index: 1;
}

.slogan {
    color: rgba(255, 255, 255, 1);
    font-size: 45px;
    font-weight: 700;
    padding: 0 0 0 80px;
    line-height: 55px;
    font-family: 'DIN_Condensed',  sans-serif;
    text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 1px 2px rgba(0, 0, 0, 0.5);
}
.hero-slider {
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 150px;
    background-color: #CA1B33;
    border-top: 5px solid #e69d2b;
}

.hero-slider-items {
    height: 50px;
    margin-top: 65px;
    display: flex;
}

.hero-slider-item {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.hero-slider-image {
    width: 150px;
}

.hero-slider-number {
    font-size: 40px;
    color: #ffffff;
    font-weight: bold;
    font-family: 'DIN_Condensed',  sans-serif;
}

.hero-slider-text {
    color: #ffffff;
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
}

.profile-block {
    display: flex;
    flex-direction: column;
}

.profile-content {
    display: flex;
}

.profile-block-text {
    width: 50%;
    padding-right: 30px;
}

.profile-block-video {
    width: 50%;
}

.profile-block-video > video {
    width: 100%;
    margin-top: -20px;
}

.profile-text {
    margin-top: 20px;
    font-size: 18px;
    line-height: 35px;
    color: rgba(103, 103, 103, 1);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    text-align-last: left;
}

.profile-company-name {
    font-weight: bold;
    font-size: 24px;
    font-family: 'DIN_Condensed',  sans-serif;
}

.profile-cert {
    display: flex;
    margin-top: 10px;
}

.cert-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 75px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5px;
    margin-right: 10px;
}

.cert-icon >img {
    width: 70px;
}

.cert-text {
    margin-left: 15px;
    color: rgba(103, 103, 103, 1);
}

.product-list {
    margin-top: 20px;
    display: flex;
}

.product-item {
    height: 470px;
    transition: width 1s ease, background-color 0.5s;
    position: relative;
}

.product-item-1 {
    background: url(images/index/product-1.png)
    100% no-repeat;
    background-size: cover;
    width: 946px;
}
.product-item-2 {
    background: url(images/index/product-2.png)
    100% no-repeat;
    background-size: cover;
    width: 946px;
}
.product-item-3 {
    background: url(images/index/product-2.png)
    100% no-repeat;
    background-size: cover;
    width: 946px;
}

.product-item-text {
    color: #CA1B33;
    padding: 30px;
}

.product-item-title {
    font-size: 25px;
    font-weight: bold;
    font-family: 'DIN_Condensed', Microsoft YaHei, Microsoft YaHei-Normal, sans-serif;
}

.product-item-bottom {
    width: 100%;
    display: flex;
    position: absolute;
    bottom: 0;
    align-items: center;
    justify-content: space-between;
}

.product-item-image {
    margin-bottom: 30px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-hide-small {
    display: none;
}

.product-spec {
    font-size: 26px;
    font-weight: bold;
    display: none;
    font-family: 'DIN_Condensed', Microsoft YaHei, Microsoft YaHei-Normal, sans-serif;
}

.product-intro {
    margin-top: 30px;
    width: 400px;
    line-height: 20px;
    display: none;
}

.product-more {
    width: 130px;
    height: 50px;
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 85px;
}

/*quality*/
.quality-image-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
}

.quality-content-title {
    margin-top: 20px;
    font-size: 14px;
    font-family: Microsoft YaHei, Microsoft YaHei-Normal;
    font-weight: Normal;
    color: #666666;
    width: 200px;
}

.quality-content {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.quality-content-img > img {
    height:100%;
    width: 150px;
}

/*scene*/
.typical-customer-list {
    margin-top: 20px;
}

.customer-items {
    display: flex;
    justify-content: center;
}

.customer-item {
    background-color: #fff;
    border: 1px solid #c9c9c9;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

.customer-item img {
    width: 300px;
}

.footer-copy-name {
    margin-left: 50px
}

.footer-copy-ourname {
    margin-right: 50px;
}

.footer-copy-content {
    display: flex;
    justify-content: space-between;
}

.pc-display-none {
    display: none;
}

@media (max-width: 768px) {
    .mobile-display-none {
        display: none;
    }

    .mobile-show {
        display: block;
    }

    .container {
        width: 100%;
    }
    .hamburger-btn {
        display: block; /* 移动端显示汉堡按钮 */
        margin-left: auto; /* 靠右对齐 */
    }

    /* 添加菜单项入场动画 */
    .navbar.active .nav-item {
        animation: fadeInUp 0.3s ease forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 汉堡按钮动画 */
    .hamburger-btn.active .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-btn.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .logo {
        width: 335px;
    }

    .logo-img {
        width: 100%;
    }

    .nav-block {
        position: relative;
    }

    .navbar {
        display: none;
        width: 100%;
        position: absolute;
        background: #fff;
        flex-direction: column;
        margin-top: 0;
        margin-right: 0;
        z-index: 2;
    }

    .navbar.active {
        display: flex; /* 显示下拉菜单 */
    }
    .nav-item {
        width: 120px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .change-lang,
    .phone-area {
        margin-top: 20px;
        border-top: 1px solid #eee;
    }

    .phone-area {
        padding-top: 20px;
    }

    .slogan {
        font-size: 16px;
        font-weight: 700;
        padding: 0 0 0 45px;
        line-height: 24px;
    }

    .hero-wrapper {
        height: 201px;
        top: 40%;
    }

    :root {
    }

    .swiper{
        height: 201px;
        --swiper-navigation-size: 20px;
        --swiper-navigation-top-offset: 50%;
    }

    .swiper-slide > img {
        height: 201px;
    }

    .hero-area {
        height: 201px;
    }

    .hero-slider {
        display: none;
    }

    .hero-slider-items {
        margin-top: 80px;
    }
    .profile-content {
        flex-direction: column-reverse;
    }

    .profile-block-text,
    .profile-block-video {
        width: 100%;
    }

    .profile-text {
        font-size: 14px;
        line-height: 25px;
    }

    .profile-company-name {
        font-size: 19px;
    }

    .block-title {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .profile-cert {
        align-items: center;
        justify-content: space-evenly;
        flex-direction: column;
    }

    .cert-item {
        width: 100%;
        height: 60px;
        margin-top: 10px;
    }

    .product-list {
        flex-direction: column;
        margin-top: 15px;
    }

    .product-item {
        width: 100% !important;
        height: auto;
        margin-bottom: 15px;
        background-color: #CA1B33 !important;
        padding: 20px 0;
    }

    .product-item-text {
        padding: 15px;
        position: relative;
        color: white !important;
    }

    .product-item-title {
        font-size: 18px;
    }

    .product-item-bottom {
        position: static;
        flex-direction: column;
    }

    .product-item-image {
        width: 40% !important;
        margin: 15px 0;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-spec {
        display: block !important;
        font-size: 16px;
        margin-top: 8px;
    }

    .product-intro {
        display: block !important;
        width: 100% !important;
        font-size: 14px;
        line-height: 1.5;
        margin: 15px 0;
    }

    .product-more {
        margin: 0;
        padding: 0 10px;
        border-color: white;
        justify-content: center;
    }

    .product-hide-small {
        display: block !important;
    }

    .title-text-en.en-none {
        display: block !important;
        color: rgba(255,255,255,0.5);
    }

    .contact-container {
        margin-bottom: 20px;
    }

    .contact-block {
        background-image: none;
    }

    .contact-area {
        flex-direction: column;
    }

    .contact-company-info {
        font-size: 14px;
    }

    .contact-block {
        height: 100%;
        margin-bottom: 20px;
    }

    .footer-copy {
        height: 100%;
    }

    .footer-copy-content {
        flex-direction: column;
        line-height: 30px;
        text-align: center;
    }

    .cate-hero {
        width: 100%;
        height: 180px;
    }

    .cate-nav-left {
        width: 100%;
        justify-content: flex-start;
        padding-left: 20px;
    }

    .cate-nav-right {
        display: none;
    }

    .mobile-image-100 {
        width: 100% !important;
    }

    .contact-content-area {
        margin: 10px 20px;
        flex-direction: column-reverse;
    }

    .contact-company-name-ch {
        font-size: 24px;
    }

    .contact-info,
    .map-container {
        width: 100%;
    }

    .contact-info {
        padding: 10px 0;
    }

    .map-container {
        height: 300px;
    }

    .footer-copy-name {
        margin-left: 0;
    }

    .footer-copy-ourname {
        margin-right: 0;
    }

    .title-text {
        font-size: 20px;
    }

    .title-text-en-column {
        font-size: 15px
    }

    .block {
        margin: 20px 20px 0 20px;
    }

    .quality-content {
        width: 50%;
    }

}
