:root {
  --primary-color: #fe6601;
}

html,
body {
  padding: 0;
  margin: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

p {
  margin: 0;
}

body {
  position: relative;
}

.header {
  height: 80px;
  padding: 0 128px;
  display: flex;
  align-items: center;
  /* width: 1440px; */
}

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

.header-container-left {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--primary-color);
}

.header .logo {
  width: 130px;
  height: 40px;
  background: url("../images/logo.png") 0 0 no-repeat;
  background-size: 100% 40px;
  margin-right: 10px;
}

.header .tabs {
  display: flex;
  gap: 96px;
  align-items: center;
  font-size: 16px;
  line-height: 22px;
  color: #4e5969;
}

.header .tab {
  list-style: none;
  cursor: pointer;
  transition: all 0.2s;
}

.header .tab.active {
  color: var(--primary-color);
  position: relative;
}

.header .tabs li.active::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -12px;
  width: 100%;
  height: 0px;
  border-bottom: 2px solid var(--primary-color);
}

.container {
  height: calc(100vh - 80px);
  background: url("../images/banner.png") 0 0 no-repeat;
  /* background-size: 100% calc(100vh - 80px);
  background-clip: content-box; */
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .center {
  width: 1135px;
  height: 480px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  display: flex;
  border-radius: 4px;
  position: relative;
}

.container .center .txt {
  position: absolute;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  color: var(--primary-color);
  left: 10px;
  top: 10px;
  display: none;
}

.center .left {
  flex: 0 0 703px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-container {
  position: relative;
  width: 703px;
}

.swiper-container .swiper-wrapper {
  transition-timing-function: linear;
}

.swiper-container .dot {
  position: absolute;
  width: 72px;
  height: 4px;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: center;
}

.swiper-container .dot div {
  height: 4px;
  width: 50%;
}

.swiper-container .dot .active {
  height: 4px;
  background-color: var(--primary-color);
}

.left .swiper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left .phone-image {
  flex: 0 0 221px;
  height: 480px;
  background: url("../images/WeChat4ad2b2984cee971502c456e0b4771f00.png") 0 0
    no-repeat;
  background-size: 221px 480px;
}

.left .driver-swiper .phone-image {
  background: url("../images/WeChatf7d583f09576897a75e0d318b9bcf40f.png") 0 0
    no-repeat;
  background-size: 221px 480px;
}

.left .home-txt {
  flex: 1;
  padding: 0 39px;
  color: #3d3d3d;
  font-size: 16px;
  line-height: 24px;
}

.left .cargo {
  width: 324px;
  height: 155px;
  background: url("../images/join-cargo.png") 0 0 no-repeat;
  background-size: 100%;
  display: none;
}

.left .driver {
  width: 538px;
  height: 155px;
  background: url("../images/join-driver.png") 0 0 no-repeat;
  background-size: 100%;
  display: none;
}

.right {
  flex: 1;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
}

.right h6 {
  font-size: 20px;
  line-height: 22px;
  font-weight: 500;
  color: #1d2129;
  margin: 0;
  text-align: left;
}

.right-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.right-container .cargo,
.right-container .driver {
  display: none;
}

.right-container .services {
  margin-top: 40px;
  margin-bottom: 0;
  display: none;
}

.wechat {
  width: 198px;
  height: 198px;
  display: none;
  margin-top: 40px;
}

.download {
  width: 210px;
  height: 210px;
  margin-top: 35px;
}

.wechat img,
.download img {
  width: 100%;
  height: 100%;
}

.footer {
  padding: 0 14px;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  height: 44px;
  border-radius: 4px;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}

.footer .copyright,
.copyright a {
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}

.driver {
  display: none;
}
