* {
    margin: 0;
    padding: 0;
    /* css3盒子模型 */
    box-sizing: border-box;
}

@font-face {
  font-family: Microsoft Yahei2;
  src: url(../fonts/msyhbd.ttf);
  font-weight: bold;
}

i,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}


td,
th,
caption {
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-family: 'Poppins';
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

a {
    color: #343434;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    border: none;
}

ol,
ul,
li {
    list-style: none;
}

input,
textarea,
select,
button {
  font-family:  'Microsoft Yahei', 'Poppins';
    color: #343434;
}

table {
    border-collapse: collapse;
}

html {
    overflow-y: scroll;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0
}

img {
    /* border 0 照顾低版本浏览器 如果 图片外面包含了链接会有边框的问题 */
    border: 0;
    /* 取消图片底侧有空白缝隙的问题 */
    vertical-align: middle
}

button {
    /* 当我们鼠标经过button 按钮的时候，鼠标变成小手 */
    cursor: pointer
}

button,
input {
    /* "\5B8B\4F53" 就是宋体的意思 这样浏览器兼容性比较好 */
    font-family:  'Microsoft Yahei', 'Poppins';
    /* 默认有灰色边框我们需要手动去掉 */
    border: 0;
    outline: none;
}

body {
    /* CSS3 抗锯齿形 让文字显示的更加清晰 */
    -webkit-font-smoothing: antialiased;
    font: 12px/1.5;
    background-color: #ffffff;
    color: #343434;
    font-size: 14px;
    font-family: 'Poppins';
    position: relative;
}

.hide,
.none {
    display: none
}


.w {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.c {
  width: 90%;
  margin: 0 auto;
}

@media (max-width: 1440px) {

  .c {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
  }
}

@media (max-width: 767px) {

    .w {
        width: 90%;
        max-width: 1280px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {

    .w {
        width: 90%;
        max-width: 1280px;
        margin: 0 auto;
    }
}

@font-face {
    font-family: Thesignature;
    src: url(../font/Thesignature.ttf);
}


/*  shortcut */

.shortcut {
    width: 100%;
    background-color: #0f0f0f;
    padding: 10px 0px;
    display: flex;
    justify-content: center;
}

.shortcut .v {
    width: 95%;
}

.shortcut i{ 
    color: #eb2228;
}

.shortcut p,
.shortcut a{ 
    color: #8f8f8f;
    padding: 0px 10px;
    font-size: 14px;
}

.shortcut_bd {
    display: flex;
    justify-content: space-between;
}

.shortcut-content_1 {
    display: flex;
    font-size: 16px;
}

.shortcut-content_2 {
    display: flex;
}

.shortcut-content_2 i {
    color: #ffffff;
    transition: all 0.3s ;
    font-size: 16px;
}

.shortcut-content_2 i:hover {
    color: #eb2228;
}

@media (max-width: 991px) {
 .shortcut {
    display: none;
 }
}

/* header */

header {
    padding: 20px 0px;
    border: 1px solid rgba(255, 255, 255, 0.1);;
    position: absolute;
    width: 100%;
    z-index: 2;
}


header .c {
    margin: 0 auto;
    width: 95%;
    height: 100%;
}

.header_bd {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.header_logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.header_logo img {
    max-width: 120px;
    height: 100%;
}                  

/*  navarbar */

.navbar {
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .dropdown_list,
  .dropdown_list_2 {
    list-style: none;
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.dropdown_list a,
.dropdown_list_2 a {
    text-decoration: none;
    color: black;
}

.dropdown_list::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #eb2228; /* 线的颜色 */
    position: absolute;
    bottom: 0;
    transition: width 0.3s; /* 添加宽度变化的过渡效果 */
    
}

.dropdown_list:hover::after {
    width: 100%; /* 在hover时将宽度设置为100% */
}
  
  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
  }
  
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    padding: 5px 10px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transition: all 1s;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
    transition: all 1s;
}

  #dropdownContent1 a {
    border-bottom: 1px solid #272727;
  }

  @media (max-width: 991px) {
    header {
       display: none;
    }
   }

/* header_content */

.header_content {
    display: flex;
    justify-content: center;
    align-content: center;
    column-gap: 10px;
}

.header_content  i {
    height: 50px;
    width: 50px;
    display: inline-block;
    background-color: #eb2228;
    color: #ffffff;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_content_1 p:nth-child(1) {
    font-size: 12px;
    color: #8f8f8f;
}

.header_content_1 p:nth-child(2) {
    font-size: 16px;
    color: #ffffff;
}

/* side nav */

nav {
    position: absolute;
    width: 100%;
}

  .side_nav {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    white-space: nowrap;
    align-items: center;
    z-index: 100;
    position: relative;
}


.side_nav img {
    max-width: 150px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 10px 8px 10px 10px;
    text-decoration: none;
    font-size: 16px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.side_nav_a {
    border-bottom:  1px solid #272727;
    padding: 10px 8px 10px 8px !important;
}

.sidenav a:hover {
    color: #eb2228;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}


nav  .menu {
    color: #ffffff;
    font-size: 30px;
}

nav .cross {
    font-size: 20px;
}

@media (min-width:992px) {
    .side_nav {
        display: none;
    }
}

@media (max-width: 1280px) {
    .side_nav span {
        font-size: 30px;
    }

    .hdsection .bg .navbar {
        display: none;
    }

    @media screen and (max-height: 450px) {
        .side_nav {
            padding-top: 15px;
        }

        .side_nav a {
            font-size: 18px;
        }
    }

    @media (max-width: 576px) {

        .side_nav {
            display: flex;
            justify-content: space-between;
            padding: 15px;
            white-space: nowrap;
            align-items: center;
        }


        .hdsection .bg .navbar {
            display: none;
        }


        .side_nav span {
            font-size: 20px;
        }

        .side_nav a {
            font-size: 18px;
        }

        .side_nav h1 img {
            max-width: 100px;
        }

        .side_nav .topbtn {
            height: 25px;
            padding: 0px 10px;
            border-radius: 3px;
            font-size: 10px;
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            background: linear-gradient(135deg, #d90a2c 0, #ed0d50 50%, #d9230a 100%);
            ;
            color: white;
        }
    }
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 0.7表示透明度，你可以根据需要调整 */
    z-index: 1; /* 确保遮罩层在sidenav之上 */
}

/* sideinfo */

.side_info {
    display: flex; 
    align-items: center;
    column-gap: 10px;
    padding-top: 30px;
}

.side_info i {
   color:#eb2228 ;
   font-size: 32px;
}

.side_info p:nth-child(1) {
    color:#b2c1c0 ;
    font-size: 12px;
 }
 
 .side_info p:nth-child(2) {
    color:#ffffff;
    font-size: 14px;
 }

/* form */
.form {
    padding: 50px 0px;
    position: relative;
    overflow: hidden;
}

.form_bg {
    position: absolute;
    z-index: -1;
}

.form_bd {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

  .from_tittle {
    margin-bottom: 40px;
  }

  .from_tittle p:nth-child(1){
    color: #6a6a6a;
    font-size: 18px;
  }

  .from_tittle p:nth-child(1) span {
    color: #e42b2b;
    font-size: 12px;
  }

  .form h2 {
    font-size: 46px;
    font-weight: 600;
  }

  .form_content_1 {
    align-self: center;
  }

  form input  {
    background-color: #f3f3f3;
    padding: 10px;
    width: 300px;
    border-radius: 5px;
    height: 55px;
  }

  textarea {
    border: none;
    background-color: #f3f3f3;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    height: 100px;
  }

  .form_box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    column-gap: 20px;
  }

form button {
    position: relative;
    font-size: 16px;
    line-height: 28px;
    padding: 15px 50px;
    font-weight: 600;
    overflow: hidden;
    color: #ffffff;
    background: #ff3838;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

form button::before {
    left: 0;
    top: 0;
    content: "";
    background-color: #e42b2b;
    border-radius: 10px;
    height: 100%;
    width: 24px;
    position: absolute;
    -webkit-transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: 1;
}

form button span {
    position: relative;
    z-index: 2;
}

form button:hover::before { /* 悬停时将透明度设置为1 */
    width: 100%;
}

.form_content_1 img {
    max-width: 130%;
    border-radius: 10px;
}

.form_content_1:nth-child(2) {
    position: relative;

}

@media (max-width: 991px) {

    .form_bd {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 40px;
    }

    .form_box input {
      width: 100%;
    }

    .input_box {
        width: 100%;
    }

    form {
        margin-bottom: 30px;
    }
}


@media (max-width: 576px) {

   .form h2 {
   font-size: 35px;
   font-weight: 600;
   letter-spacing: -2px;
  }

  .form_box  {
    display: block;
    margin-bottom: 0px;
  }

  .form_box input:nth-child(1) {
    width: 100%;
    margin-bottom: 20px;
  }

}

/* contact */

.contact {
    background: url(../images/pattern-8.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    padding: 100px 0px;
}

.contact_bd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact_bd_p h2 {
    color: #ffffff;
    font-size: 46px;
    font-weight: 500;
}

.cover_content_a_2 a {
    position: relative;
    font-size: 16px;
    line-height: 28px;
    padding: 15px 50px;
    font-weight: 600;
    overflow: hidden;
    color: #000000;
    background: #ffffff;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    border-radius: 10px;
    overflow: hidden;
}

.cover_content_a_2 a::before {
        left: 0;
        top: 0;
        content: "";
        background-color: #e8e8e8;
        border-radius: 10px;
        height: 100%;
        width: 24px;
        position: absolute;
        -webkit-transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        z-index: 1;
}


.cover_content_a_2 a:hover::before { /* 悬停时将透明度设置为1 */
    width: 100%;
}

.cover_content_a_2 a span {
    position: relative;
    z-index: 2;
}


@media (max-width: 991px) {

    .contact {
        background: url(../images/pattern-8.jpg) no-repeat;
        background-size: cover;
        background-position: center center;
        height: 100%;
        width: 100%;
        padding: 90px 0px;
    }

    .contact_bd {
        display: block;
        justify-content: space-between;
        align-items: center;
    }

    .contact_bd_p h2 {
        color: #ffffff;
        font-size: 34px;
        font-weight: 500;
        text-align: center;
    }

    .contact_bd_p {
        margin-bottom: 30px;
    }

    .cover_content_a_2 {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 576px) {

    .contact {
        background: url(../images/pattern-8.jpg) no-repeat;
        background-size: cover;
        background-position: center center;
        height: 100%;
        width: 100%;
        padding: 70px 0px;
    }
    
    .contact_bd_p h2 {
        color: #ffffff;
        font-size: 26px;
        font-weight: 500;
        text-align: center;
        letter-spacing: -1px;
    }
}

/* footer */

footer {
    background: url(../images/pattern-9.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;

}

.footer_bd {
    padding: 40px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
}

.footer_content_1,
.footer_content_2,
.footer_content_3 {
    justify-self: center;
}

.footer_content_1_img {
    margin-bottom: 30px;
}

.footer_content_1_img img {
    max-width: 200px;
}

.footer_content_1_p {
    color: #8f8f8f;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 30px;
}

.footer_content_1_icon {
    display: flex;
}

.footer_content_1_icon a:nth-child(1) i {
    color: #ffffff;
    font-size: 14px;
    border-radius: 5cqw;
    padding: 16px 20px;
    margin-right: 10px;
    background-color: #0f0f0f;
}

.footer_content_1_icon i {
    color: #ffffff;
    font-size: 14px;
    border-radius: 5cqw;
    padding: 16px 16px;
    margin-right: 10px;
    background-color: #0f0f0f;
}

.footer_content_2_tittle,
.footer_content_3_p {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer_content_2_a a{
    display: block;
    color: #8f8f8f;
    margin-bottom: 10px;
    font-size: 16px;
}


.footer_content_3_p2 {
    color: #8f8f8f;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 15px;
}

.footer_content_3_p3 {
    display: flex;
    column-gap: 10px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer_content_3_p3 i {
    color: #e42b2b;
    font-size: 16px;
}

.footer_shortcut {
    padding: 40px 0px;
    border-top: solid 1px #303030;
    text-align: center;
    color: #8f8f8f;
}


.footer_shortcut a {
    padding: 40px 0px;
    border-top: solid 1px #303030;
    text-align: center;
    color: #8f8f8f;
}

@media (max-width: 768px) {

    
.footer_bd {
    padding: 40px 0px;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 30px;
    row-gap: 40px;
}

.footer_content_1,
.footer_content_2,
.footer_content_3 {
    justify-self:  start;
}


}

.sub-cover {
    height: 500px;
    background: url(../images/1480.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.sub-cover .w::before {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(var(--bg-theme-color1)), to(transparent));
    background: linear-gradient(#0f0f0f, transparent);
    min-height: 300px;
    content: "";
}

.sub-cover .w {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sub-cover-title {
    z-index: 1;
}

.sub-cover .w  .sub-cover-title h1 {
    color: #ffffff;
    font-size: 36px;
    text-align: center;
    font-weight: 600;
}


.sub-cover .w  .sub-cover-title p:nth-child(1) {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.sub-cover .w  .sub-cover-title p:nth-child(2) {
    color: #ffffff;
    font-size: 40px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
}

.sub-cover .w  .sub-cover-title p:nth-child(3) {
    color: #ffffff;
    font-size: 22px;
    text-align: center;
    font-weight: 400;
}

@media (max-width: 767px)  {

    
.sub-cover .w  .sub-cover-title p:nth-child(2) {
    color: #ffffff;
    font-size: 32px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
}

.sub-cover .w  .sub-cover-title p:nth-child(3) {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
}

}



/* section-title */


.milestone-title,
.client-title,
.advantages-title,
.factory-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 25px;
}

.milestone-title span,
.client-title span,
.advantages-title span,
.factory-title span {
    color: #ea222a;
}

@media (max-width: 576px) {

    .milestone-title,
    .client-title,
    .advantages-title,
    .factory-title {
        text-align: center;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 25px;
}

}


.cover_content_a a {
    position: relative;
    font-size: 16px;
    line-height: 28px;
    padding: 15px 50px;
    font-weight: 600;
    overflow: hidden;
    color: #ffffff;
    background: #ff3838;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    border-radius: 10px;
    overflow: hidden;
}

.cover_content_a a::before {
        left: 0;
        top: 0;
        content: "";
        background-color: #e42b2b;
        border-radius: 10px;
        height: 100%;
        width: 24px;
        position: absolute;
        -webkit-transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
        z-index: 1;
}

/* PRODUCT PAGES DETAIL*/


.detail {
    padding: 70px 0px;
}

.detail_bd {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}

.detail_bd img {
    width: 100%;
}

.detail_bd_list {
    align-self: center;
}

.title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}


.detail_bd ul {
    margin-bottom: 40px;
}

.detail_bd ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.detail_bd_list_a {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
}

.detail_bd a:nth-child(1) i {
    font-size: 30px;
    padding: 8px 30px;
    background-color: #e42b2b;
    color: #ffffff;
    border-radius: 5px;
}

.detail_bd a:nth-child(2)  {
    font-size: 20px;
    padding: 8px 30px;
    background-color: #e42b2b;
    color: #ffffff;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.swiper {
    width: 600px;
    height: 500px;
  }

  .swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.swiper-pagination ,
.swiper-button-prev,
.swiper-button-next,
.swiper-scrollbar {
    opacity: 0;
}

@media (max-width: 1025px) {

    .detail_bd {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

}

@media (max-width: 576px) {

    .title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .detail_bd ul li {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .detail_bd a:nth-child(2)  {
        font-size: 18px;
        padding: 8px 30px;
        background-color: #e42b2b;
        color: #ffffff;
        border-radius: 5px;
        width: 100%;
        text-align: center;
        font-weight: 600;
    }

    .swiper {
        width: 290px;
        height: 290px;
      }

}

@media (max-width: 280px) {

    
    .swiper {
        width: 260px;
        height: 200px;
      }

}

        /* whatsapp */
        #fixed-image {
            position: fixed;
            bottom: 20px;
            right: 20px;
            object-fit: cover;
            z-index: 1;
            width: 70px;
            height: 70px;
        }

        @media (max-width: 575px) {
            #fixed-image {
                position: fixed;
                bottom: 10px;
                right: 10px;
                width: 55px;
                height: 55px;
            }
        }

        @media (min-width: 768px) {
            #fixed-image {
                width: 50px;
                height: 50px;
            }
        }

        @media (min-width: 992px) {
            #fixed-image {
                width: 70px;
                height: 70px;
            }
        }
