/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: AlimamaShuHeiTi;
  src: url(../font/AlimamaShuHeiTi-Bold.otf);
}

@font-face {
  font-family: SourceHanSansCNRegular;
  src: url('../font/SourceHanSansCN-Regular.otf');
}


body {
  font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  height: 50px;
  padding: 0 60px;
  background: #00903d;
  border-radius: 30px;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 18px;
  border: 1px solid #00903d;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #3EB370;
  border-color: #3EB370;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  padding: 0 60px;
  height: 50px;
  background: rgba(62, 179, 112, 0.3);
  border-radius: 31px 31px 31px 31px;
  border: 1px solid #4d926a;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  font-family: Microsoft YaHei, Microsoft YaHei;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}

.section-header p {
  font-size: 30px;
  color: #d9d9d9;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: #2ecc71;
  margin: 0 auto;
}

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.logo {
  display: flex;
  align-items: center;
}

.main-nav {
  height: 100%;
}

.main-nav ul {
  display: flex;
  height: 100%;
}

.main-nav li {
  height: 100%;
  position: relative;
}

.main-nav li a {
  width: 120px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  height: 98%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav li.active a,
.main-nav li a:hover {
  color: #00903d;
}

.main-nav li.active a:after,
.main-nav li a:hover:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #00903d;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.min-nav-close {
  display: none;
}

/* 首页横幅 */
.banner {
  height: 100vh;
  background: url('../images/banner-bg.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 1200px;
  margin: 0 auto;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: AlimamaShuHeiTi;
}

.banner-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: SourceHanSansCNRegular;
}

.banner-content span {
  color: #2ecc71;
}

.banner-logo {
  margin-bottom: 20px;
}

.banner-content p {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 22px;
  color: #ffffff;
  line-height: 39px;
  text-align: left;
}

.banner-buttons {
  margin-top: 30px;
  display: flex;
}

.banner-buttons .btn {
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-buttons .btn:last-child {
  margin-right: 0;
}

/* 页面横幅 */
.page-banner {
  display: flex;
  align-items: center;
  margin-top: 70px;
  position: relative;
}

.about-banner {
  height: 400px;
  background: url('../images/about-banner.jpg') no-repeat center center;
  background-size: 100% 100%;
}

.products-banner {
  height: 400px;
  background: url('../images/products-banner.jpg') no-repeat center center;
  background-size: 100% 100%;
}

.contact-banner {
  height: 400px;
  background: url('../images/contact-banner.png') no-repeat center center;
  background-size: 100% 100%;
}

/* banner 背景图已经包含文字的，文字就隐藏了 */
/* .about-banner .banner-content,
.products-banner .banner-content,
.contact-banner .banner-content {
  display: none;
} */

/* 核心服务 */
.core-service {
  padding: 80px 0;
}

.service-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-item {
  width: calc(33.33% - 20px);
  margin-bottom: 30px;
  text-align: center;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0px 8px 16px 1px rgba(0, 0, 0, 0.06);
  border-radius: 6px;
}

.service-img {
  height: 270px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  position: relative;
}

.service-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.service-item:hover .service-img img {
  transform: scale(1.05);
}

.service-item h3 {
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 26px 26px 26px 22px;
}

.service-item-hover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  z-index: -1;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.6s;
}

.service-item-hover-title {
  cursor: pointer;
  width: 90px;
  height: 32px;
  border-radius: 0px 0px 0px 0px;
  border: 1px solid #ffffff;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item:hover .service-item-hover {
  z-index: 1;
  opacity: 1;
}

/* 合作伙伴 */
.partners {
  padding: 80px 0;
  background: url(../images/partners-1.png) no-repeat center center;
  background-size: 100% 100%;
}

.partner-items {
  display: flex;
  flex-wrap: wrap;
}

.partner-item {
  width: calc(25% - 20px);
  height: 108px;
  padding: 0;
  transition: all 0.3s ease;
  margin-right: 26px;
  cursor: pointer;
}

.partner-item:nth-child(4n+4) {
  margin-right: 0;
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-item img {
  width: 100%;
}

/* 页脚 */
.footer {
  background-color: #222;
  color: #fff;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 300;
  font-size: 14px;
  color: #e3e3e3;
}

.footer-top-con {
  padding: 65px 0;
}

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

.footer-item {
  display: flex;
  margin-top: 18px;
}

.footer-item:nth-child(1) .footer-item-right {
  margin-top: -5px;
}

.footer-item:nth-child(3) .footer-item-right {
  margin-top: -4px;
}

.footer-item:first-child {
  margin-top: 0;
}

.footer-item-left {
  display: flex;
  align-items: center;
  height: 14px;
}

.footer-item-left img {
  margin-right: 10px;
}

.footer-item-right {
  margin-top: -3px;
}

.footer-item-right > div {
  display: flex;
  align-items: center;
}

.p-min-text {
  width: 60px;
  text-align: justify;
  text-align-last: justify;
}

.p-min-line {
  width: 1px;
  height: 16px;
  margin: 0 10px;
  background-color: #e3e3e3;
}

.footer-right-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 100px;
}

.footer-logo {
  margin-right: 60px;
}

.footer-logo img {
  height: 60px;
}

.footer-qrcode {
  width: 100px;
  height: 100px;
}

.footer-qrcode img {
  width: 100%;
}

.copyright {
  height: 50px;
  background-color: #333333;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 300;
  font-size: 14px;
  color: #8c8c8c;
}

.copyright .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.beian {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.beian img {
  height: 16px;
  margin-right: 5px;
}

.beian a {
  color: #8c8c8c;
  font-size: 14px;
  margin-left: 10px;
}

.beian a:hover {
  color: #aaa;
}

/* 公司简介 */
.company-profile {
  padding: 80px 0;
}

.profile-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

.profile-text p {
  margin-bottom: 40px;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 20px;
  color: #333333;
  line-height: 40px;
  letter-spacing: 2px;
}

.profile-text p:last-child {
  margin-bottom: 0;
}

.profile-text p span {
  font-weight: bold;
}

.profile-image {
  /* width: 50%; */
}

.profile-image img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 合作背景 */
.cooperation-bg {
  padding: 60px 0;
  background: url(../images/partners-2.png) no-repeat left bottom;
}

.coop-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.coop-item {
  display: flex;
  align-items: center;
  width: calc(33.3% - 36px);
  justify-content: center;
}

.coop-icon {
  width: 80px;
  height: 80px;
  font-family: Microsoft YaHei, Microsoft YaHei;
}

.coop-icon img {
  width: 100%;
}

.coop-text h3 {
  font-weight: bold;
  font-size: 28px;
  color: #00903d;
  line-height: 38px;
}

.coop-text p {
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  line-height: 20px;
}

.coop-line {
  width: 1px;
  height: 88px;
  background: #a9a9a9;
  margin: 0 26px;
}

/* 产品分类 */
.product-category {
  padding: 80px 0;
}

.category-tabs {
  margin-top: 30px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  width: 896px;
  height: 70px;
  margin: 0 auto;
  background: #f5f6f5;
  border-radius: 35px;
  margin-bottom: 50px;
}

.tab-nav li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  border-radius: inherit;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
}

.tab-nav li.active {
  color: #fff;
  background: linear-gradient(90deg, #00903d 0%, #3eb370 100%);
}

.tab-content {
  position: relative;
}

.tab-hint-img {
  position: absolute;
}

.tab-hint-img1 {
  left: -128px;
  top: -60px;
}

.tab-hint-img2 {
  right: -98px;
  bottom: -22px;
}

.tab-pane {
  display: none;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  height: 500px;
}

.tab-pane.active {
  display: flex;
}

.product-sidebar {
  width: 28%;
  height: 100%;
  overflow-y: auto;
  border-radius: 8px;
  padding-right: 10px;
}

/* 滚动条 */
.product-sidebar::-webkit-scrollbar {
  width: 4px;
  height: 1px;
}

.product-sidebar::-webkit-scrollbar-thumb {
  background: transparent !important;
}

.product-sidebar::-webkit-scrollbar-thumb,
.product-sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(237,249,243,.8) !important;
}

.product-img-on {
  display: none;
}

li.active .product-img {
  display: none;
}

li.active .product-img-on {
  display: block;
}

.product-li-head {
  display: flex;
  align-items: center;
}

.product-li-head span {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 18px;
  color: #00903d;
  margin-left: 12px;
}

.product-sidebar ul li {
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.product-sidebar ul li.active {
  background-color: #edf9f3;
}

.product-sidebar ul li i {
  color: #2ecc71;
  margin-right: 10px;
}

.product-sidebar ul li span {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.product-sidebar ul li p {
  font-size: 14px;
  color: #606664;
  display: none;
}

.product-sidebar ul li.active p {
  display: block;
}

/* .product-sidebar ul li.active p,
.product-sidebar ul li:hover p {
  display: block;
} */

.product-sidebar ul li:hover .product-img-on {
  display: block;
}

.product-sidebar ul li:hover .product-img {
  display: none;
}

.product-sidebar ul li:hover {
  background-color: #edf9f3;
}

.product-preview {
  width: calc(72% - 30px);
  height: 100%;
  padding: 0px 15px 15px;
  background: #f5f9fc;
  box-shadow: 0px 2px 30px 1px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

.dots{
  display: flex;
  align-items: center;
  padding: 15px 0 10px;
}

.dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 5px;
}

.dot1{
  background: #E7513D;
}

.dot2{
  background: #EEC75E;
}

.dot3{
  margin-right: 0;
  background: #62D5B1;
}


.product-preview img {
  width: 100%;
  border-radius: 8px;
}

.product-content {
  width: 100%;
  text-align: center;
}

.product-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.product-content p {
  margin-bottom: 30px;
}

.product-content img {
  max-width: 80%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品服务 */
.product-service {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-card {
  width: calc(33.33% - 60px);
  background-color: #fff;
  border-radius: 8px;
  padding: 0 0 40px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 190px;
  height: 190px;
  margin: 0 auto;
}

.service-icon img {
  width: 100%;
}

.service-card h3 {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  line-height: 24px;
}

/* 联系方式 */
.contact-info {
  padding: 80px 0;
}

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

.contact-card {
  width: calc(50% - 15px);
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.card-image {
  height: 365px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-content p {
  margin-bottom: 10px;
  color: #666;
}

.card-content i {
  color: #2ecc71;
  margin-right: 10px;
}

/* 地图 */
.map-section {
  padding: 0 0 80px;
  position: relative;
}

.map-section .container {
  position: relative;
}

.map-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 300px;
  bottom: -40px;
  background-color: #f7f7f7;
}

#map {
  width: 100%;
  height: 474px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

#map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-info {
  padding: 6px 26px;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 323px;
  background: #ffffff;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  font-family: Microsoft YaHei, Microsoft YaHei;
  color: #333333;
}

.map-location-on {
  display: none;
}

.map-marker img {
  margin-right: 10px;
}

.map-marker {
  display: flex;
  cursor: pointer;
  align-items: center;
  padding: 20px 0;
}

.map-marker:first-child {
  border-bottom: 1px dashed #e5e5e5;
}

.marker-info h4 {
  font-weight: bold;
  font-size: 16px;
  line-height: 30px;
}

.marker-info p {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.map-marker-active .map-location {
  display: none;
}

.map-marker-active .map-location-on {
  display: block;
}

.map-marker-active .marker-info h4 {
  color: #fe0e07;
}

/* 在线留言 */
.contact-form {
  padding: 80px 0 120px;
}

#contactForm {
  /* max-width: 800px; */
  margin: 0 auto;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
}

.form-row .form-group {
  width: calc(50% - 30px);
}

.form-group-title {
  margin-bottom: 12px;
}

.form-group-input {
  min-height: 58px;
  background: #f9f9f9;
  border-radius: 6px 6px 6px 6px;
  border: 1px solid #e1e3e1;
  display: flex;
  align-items: center;
  padding: 0 16px 0 40px;
  position: relative;
}

.form-group-input label {
  position: absolute;
  top: 16px;
  left: 16px;
  height: 24px;
}

.form-group-textarea .form-group-input {
  align-items: baseline;
  padding-top: 20px;
  height: 220px;
}

.form-group-textarea .form-group-input label {
  height: 24px;
}

.form-group input,
.form-group textarea {
  flex: 1;
  height: 100%;
  margin-left: 20px;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  background-color: transparent;
  resize: none;
  min-height: 56px;
  color: #333333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a9a9a9;
}

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

.form-submit .btn-primary {
  height: 58px;
  border-radius: 6px;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #f9f9f9 inset !important;
}
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-text-fill-color: #333 !important;
  transition: background-color 5000s ease-in-out 0s !important;
}
