/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.2s linear;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
table /* 设置table 的样式*/ {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img {
  border: 0;
}
em,
strong {
  font-style: normal;
  font-weight: normal;
}
li {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
body,
input,
button,
textarea {
  font-size: 12px;
  font-family: "Lato";
}
a {
  text-decoration: none;
  outline: none;
}
a:hover {
  cursor: pointer;
}
th,
td {
  vertical-align: top;
}
html,
body {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
@font-face {
  font-family: "ErasBoldITC";
  src: url("font/Eras Bold ITC.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* 导航栏样式 */
.navbar-sub {
  display: none;
  position: relative;
  z-index: 99;
}
.navbar-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: #fff;
}
.navbar-sub {
  display: none;
  height: 50px;
  clear: both;
}
.navbar-sub .logo {
  font-size: 1.5rem;
  font-weight: bold;
  float: left;
  padding: 10px 20px;
}
.navbar-sub .logo img {
  max-width: 80px;
}
/* 响应式导航栏 */
.hamburger {
  display: block;
  flex-direction: column;
  cursor: pointer;
  float: right;
  padding: 10px 20px;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
}
.navbar-sub .nav-links {
  display: flex;
  list-style: none;
  display: none;
  flex-direction: column;
  clear: both;
  width: 100%;
  background-color: #333;
  width: 100%;
  margin-top: 10px;
}

.navbar-sub .nav-links li {
  line-height: 1.5;
  margin-left: 20px;
}

.navbar-sub .nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}
.navbar {
  /* overflow: hidden; */
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  height: 75px;
  /* align-items: center; */
  z-index: 999;
}
.navbar .box {
  background-color: rgba(220, 221, 221, 0.25);
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(220, 221, 221, 0.6);
}
.navbar .gray,
.navbar .ml .input.gray {
  background-color: rgba(3, 5, 5, 0.65);
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(2, 2, 2, 0.66);
}
.navbar.pcb .gray {
  background-color: rgba(58, 59, 59, 0.65);
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(2, 2, 2, 0.66);
}
.navbar .ml {
  margin-left: 5vw;
  padding: 0 30px;
  position: relative;
}
.navbar .ml a {
  padding: 18px 5px;
}
.search {
}
.search .search-box {
  display: none;
  position: absolute;
  top: 95%;
  right: 0;
  width: 250px;
  background-color: rgba(220, 221, 221, 0.25);
  border: 1px solid rgba(220, 221, 221, 0.6);
  border-radius: 5px;
  height: 36px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}
.search:hover .search-box {
  display: block;
}
.navbar .ml .submit {
  background: url("../images/t-icon1.png");
  width: 30px;
  height: 30px;
  background-size: cover;
  position: absolute;
  top: 3px;
  right: 10px;
  border: none;
  font-size: 0;
  cursor: pointer;
}
input::placeholder {
  color: #fff;
}
.navbar .ml .input {
  padding: 10px 50px 10px 10px;
  border: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background-color: rgba(220, 221, 221, 0.25);
  color: #fff;
}
.navbar a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  font-size: 1.5vw;
  font-family: "ErasBoldITC";
}
.navbar.pcb a {
  color: #000;
}

.navbar a:hover {
  color: #009a97;
}
.navbar a.active {
  color: #009a97;
}
.navbar .logo {
  color: white;
  font-size: 25px;
  font-weight: bold;
  margin-right: 20px;
}

.navbar .logo img {
  max-width: 80px;
}
.navbar .right {
  margin-left: auto;
  float: left;
}
/*banner*/
html,
body {
  position: relative;
  height: 100%;
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero {
  background-image: url("../images/index_03.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-family: "Browallia New";
}
.pcb-ban {
  background-image: url("../images/indexs_02.jpg");
  background-size: cover;
  color: #000;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.hero p.big {
  font-size: 2rem;
}
.hero .buttons {
  display: flex;
  gap: 20px;
}

.hero .btn {
  padding: 0 20px;
  border: 1px solid #fff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border-radius: 20px;
  font-size: 1.6rem;
}

.hero .btn:hover {
  border: 1px solid #0056b3;
  background: #3a84e9;
}

.pcb-ban .btn {
  border-color: #000;
  color: #000;
}

/* 服务卡片样式 */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}

.service-card {
  background-color: #f9f9f9;
  position: relative;
  border-radius: 5px;
  text-align: center;
}
.service-card a {
  color: #000;
  padding: 8vw 0;
}

.service-card.ai {
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
}
.service-card a {
  color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 8vw 0;
  border-radius: 10px;
  box-sizing: border-box;
}
.service-card:hover a {
  background-color: rgba(0, 154, 151, 0.5);
}
.service-card.ai a {
  color: #fff;
}
.service-card img {
  max-width: 100%;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}
.service-card a img {
  max-width: 40%;
  border-radius: 5px;
  height: auto;
}

.service-card h3 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
}
.service-card p {
  font-size: 1vw;
  margin-bottom: 30vh;
}

/* 公司文化样式 */
.culture {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 15px;
  padding: 15px;
}

.culture-card {
  background-color: #f9f9f9;
  border-radius: 5px;
  text-align: center;
  position: relative;
}
.culture-card a {
  padding: 8vw;
  color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 10px;
}
.culture-card:hover a {
  background-color: rgba(0, 154, 151, 0.5);
}
.culture-card img {
  max-width: 100%;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  height: 100%;
}

.culture-card h3 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
}
.culture-card p {
  font-size: 1.5vw;
  margin-bottom: 30vh;
}

/* 创新故事样式 */
.innovations {
  padding: 40px 0;
  text-align: center;
}

.innovations h2 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
  color: #b5b5b5;
}
.innovations p {
  color: #b5b5b5;
  font-size: 1.5vw;
  padding-bottom: 2rem;
}
.innovation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}

.innovation-card {
  background-color: #f9f9f9;
  position: relative;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #262523;
}
.innovation-card a {
  color: #000;
  padding: 8vw 0;
}
.innovation-card a {
  color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 8vw 0;
  border-radius: 10px;
  box-sizing: border-box;
}
.innovation-card:hover a {
  background-color: rgba(0, 154, 151, 0.5);
}
.innovation-card.ai a {
  color: #fff;
}
.innovation-card img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  height: 100%;
}
.innovation-card a img {
  max-width: 40%;
  border-radius: 5px;
  height: auto;
}

.innovation-card h3 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
}
.innovation-card p {
  font-size: 1vw;
  margin-bottom: 30vh;
  color: #000;
}

/* 领域展示样式 */
.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 20px 0;
}
.field {
  padding: 40px 0;
  text-align: center;
}
.field h2 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
  color: #b5b5b5;
}
.field-card {
  background-color: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 2px solid #9f9f9f;
}
.field-card img {
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}
.field-card a {
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 8vw 0;
  border-radius: 10px;
  box-sizing: border-box;
}

.field-card:hover a {
  background-color: rgba(0, 154, 151, 0.5);
}
.field-card img {
  width: 100%;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}
.field-card a img {
  max-width: 40%;
  border-radius: 5px;
  height: auto;
}
.field-card h3 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
}

/* 数据展示样式 */
.datas {
  padding: 40px 0;
  text-align: center;
}
.datas h2 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
  color: #b5b5b5;
}
.datas span {
  color: #00a1e9;
}
.data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  background-color: #f9f9f9;
}
.data-card img {
  display: block;
  width: 45px;
  margin-left: 17px;
}
.data-card {
  text-align: center;
  border-right: 2px solid #9f9f9f;
  padding: 0 6vw;
  box-sizing: border-box;
}
.data-card:last-child {
  border: 0;
}
.data-card .num {
  font-family: "ErasBoldITC";
  font-size: 2vw;
  color: #00a1e9;
}
.data-card h3 {
  margin-bottom: 10px;
  font-family: "微软雅黑";
  color: #9f9fa1;
  font-size: 1.3vw;
}

/* 全球合作样式 */
.cooperation {
  padding: 40px 20px;
}

.cooperation h2 {
  margin-bottom: 20px;
}
.cooperation {
  background: url("../images/index_37.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 100px 20px;
  padding-left: 40%;
}

.cooperation h1 {
  font-family: "ErasBoldITC";
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cooperation p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.icons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.icon {
  margin: 0 20px;
  text-align: center;
}

.icon img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.icon p {
  margin: 0;
}

@media (max-width: 768px) {
  .navbar-sub {
    display: block;
  }
  .cooperation {
    padding: 60px 20px;
  }

  .cooperation h1 {
    font-size: 2rem;
  }

  .cooperation p {
    font-size: 1rem;
  }

  .icons {
    /* flex-direction: column; */
    align-items: center;
  }

  .icon {
    margin: 10px 0;
    width: calc(50% - 10px); /* 使用 width 替代 flex-basis */
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;
  }
}
/* 页脚样式 */
.top-section {
  display: flex;
  justify-content: space-around;
  padding: 40px 0;
  background-color: #f8f9fa;
}

.top-item {
  text-align: center;
}

.top-item img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
}

.top-item a {
  text-decoration: none;
  color: #b5b5b5;
}

.top-item p {
  font-size: 1.5vw;
  color: #b5b5b5;
  padding: 10px 0;
}

.bottom-section {
  display: flex;
  justify-content: space-around;
  padding: 40px 40px;
  background-color: #0f3443;
  color: white;
}

.bottom-column {
  flex: 1;
  padding: 0 20px;
  font-size: 1rem;
}

.bottom-column h3 {
  margin-top: 0;
}

.bottom-column ul {
  list-style: none;
  padding: 0;
}
.bottom-column ul li {
  padding: 2px 0;
}
.bottom-column ul li a {
  text-decoration: none;
  color: white;
}

.bottom-column .logo {
  text-align: right;
}

.bottom-column .logo img {
  width: 150px;
  height: 42px;
}

.bottom-column .certifications {
  width: 130%;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  margin-left: -30%;
  text-align: right;
}
.bottom-column p {
  font-size: 0.7rem;
  text-align: right;
}
.bottom-column .certifications img {
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }
  .cooperation {
    padding-left: 5%;
  }
  .top-section {
    /* flex-direction: column; */
    align-items: center;
  }

  .top-item {
    margin: 10px 0;
  }

  .bottom-section {
    flex-wrap: wrap;
  }

  .bottom-column {
    margin: 10px 0;
    width: calc(50% - 10px); /* 使用 width 替代 flex-basis */
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;
  }

  .bottom-column .certifications {
    /* flex-direction: column;
    align-items: center; */
    width: calc(50% - 10px); /* 使用 width 替代 flex-basis */
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;
    display: none;
  }
  .bottom-column .certifications {
    margin-left: 0;
  }
  .bottom-column .certifications img {
    margin: 10px 0;
  }
}
/* 响应式设计 */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
  }

  .navbar .hamburger {
    display: flex;
  }

  .hero {
    height: 40vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/*pcb页面*/
/* quality样式 */
.quality {
  padding: 40px 0;
  text-align: center;
}

.quality h2 {
  font-family: "ErasBoldITC";
  font-size: 3.5vw;
  color: #b5b5b5;
}
.quality p {
  color: #b5b5b5;
  font-size: 1.5vw;
  padding-bottom: 2rem;
}
.quality-card img {
  width: 100%;
  display: grid;
  padding: 15px;
}

.mainbox {
  max-width: 1200px;
  margin: 0 auto;
}

/*pcb-pro样式*/
.pcb-pro {
  padding: 0 0 40px;
  text-align: center;
}

.pcb-pro h2 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
  color: #b5b5b5;
}
.pcb-pro p {
  color: #b5b5b5;
  font-size: 1.5vw;
  padding-bottom: 2rem;
}

.pcb-pro .pro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}

.pro-card img {
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  max-width: 100%;
}
.pro-card .text img {
  max-width: 65px;
  border: none;
  padding: 20px 0;
}
.pro-card .text {
  display: flex;
  flex-direction: column;
  height: 100%; /* 容器的高度 */
  font-size: 3vw;
  text-align: left;
  padding: 0 30px 0;
}
.pro-card .text h3 {
  font-size: 3vw;
  color: #009a97;
  font-family: "ErasBoldITC";
  padding-top: 8vw;
}
.pro-card .text p {
  color: #b5b5b5;
  font-size: 1.5vw;
  line-height: 2;
}

/* 全球合作样式 */
.quality-pic {
  padding: 40px 20px;
}

.quality-pic {
  background: url("../images/indexs_29.png") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 100px 20px;
  padding-right: 40%;
}
.quality-pic .text {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 3vw;
  text-align: left;
  padding: 3vw 50px;
}
.quality-pic .text h3 {
  font-size: 2.5vw;
  color: #009a97;
  font-family: "ErasBoldITC";
  padding-top: 3vw;
}
.quality-pic .text p {
  color: #b5b5b5;
  font-size: 1.5vw;
  line-height: 2;
}
.quality-pic .text img {
  max-width: 65px;
  border: none;
  padding: 20px 0;
}

.step {
  padding: 40px 20px;
  text-align: center;
}

.step .pro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}
.step h2 {
  font-family: "ErasBoldITC";
  font-size: 3vw;
  color: #b5b5b5;
  padding-bottom: 40px;
}
.step .pro-card img {
  border: 0;
}
.step .text img.top {
  max-width: 100%;
  border: none;
  padding: 0;
}
.step .text h3 {
  font-size: 3vw;
  color: #009a97;
  font-family: "ErasBoldITC";
  padding-top: 4vw;
}
