/*默认清楚所有样式*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a{
  text-decoration: none;
}

ul{
  list-style: none;
}

body{
  font-size: 12px;
  overflow-x: hidden;
}
:root {
  --bgcolor: #ea4322;
}

html{
  overflow-x: hidden;
}


/* 按钮样式 */
.btn {
  background: #ea4322;
  border: medium none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0;
  padding: 10px 30px;
  text-align: center;
  text-transform: capitalize;
  touch-action: manipulation;
  transition: 0.3s;
  vertical-align: middle;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow: none !important;
  border-radius: 30px;
}

.btn:hover {
  background: #000b22;
  color: #fff;
  border-color: #000b22;
}

.active-btn {
  background: #000b22;
  color: #fff;
  border-color: #000b22;
}

.btn:not(:disabled):not(.disabled):active,
:focus {
  color: #ea4322;
}

.btn:focus {
  background: #ea4322;
  color: #fff;
  border-color: #fff;
}

.btn:active {
  color: inherit;
  background: inherit;
}

/* 页面头部 */
.header {
  height: 70px;
}
/* 固定定位*/
.header-list {
  width: 100%;
  height: 70px;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.header-list .el-row{
  width: 100%;
  max-width: 1440px;
  margin: auto;
}
.header-top {
  max-width: 1440px;
  width: 100%;
  height: 70px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* logo */
.logo {
  width: 60px;
  padding-left: 20px;
}
.logo a {
  background: url("../../assets/image/logo.jpg") no-repeat;
  width: 48px;
  height: 48px;
  border-radius: 5px;
  display: inline-block;
  background-size: contain;
  outline: none;
}

/*头部导航*/
.header-top ul {
  flex: 1;
  display: flex;
  line-height: 60px;
}
.header-menu {
  display: flex;
}
.header-menu li {
  margin: 0 30px;
  list-style: none;
  position: relative;
  color: #333;
}

.header-menu a {
  text-decoration: none;
  color: inherit;
}
.header-menu li span {
  font-size: 16px;
}
/* 伪元素添加下滑选中线 */
.header-menu li:hover span,
.header-menu .router-link-active span
{
  color: var(--bgcolor);
}
/*TODO 记得搞一个导航active的*/
.header-menu li::before
 {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 100%;
  border-bottom: 3px solid var(--bgcolor);
  transition: all 0.2s;
}

.header-menu li:hover::before,
.header-menu .router-link-active li::before
 {
  content: "";
  left: 0;
  width: 100%;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.header-right .start {
  margin-right: 20px;
}
.header-right .start .start-button {
  background-color: black;
  border-radius: 20px;
}
.header-right .login{
  margin-right: 20px;
}
.header-right .login .login-button {
}
.header-right .logout {
  margin-right: 20px;
}
.header-right .logout .logout-button {
  border: none;
}

/*公司*/
.company-detail {
  display: flex;
}
.company-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding-right:20px;
}
.company-introduce {
  padding: 20px;
  letter-spacing: 2px;
  line-height: 34px;
  padding-bottom: 0;
}

/*轮播图*/
.banner-list {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}
.banner-list .el-carousel__container {
  width: 100%;
  padding-bottom: 50%; /* 高度自适应宽度的一半 */
  position: relative;
}
.banner-list .el-carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.banner-list .el-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*服务*/
.container-bg {
  padding: 50px 0;
}

.service-contain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 30px;
}
.service-list {
  width: 100%;
}
.service-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.service-list ul li {
  list-style: none;
  width: 30%;
  height: 211.6px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.service-list ul li i::before {
  font-size: 70px;
  color: #353535;
  transition: 0.3s;
}
.service-list ul li h4 {
  font-size: 26px;
  font-weight: 500;
  margin-top: 10px;
  transition: 0.3s;
}
.service-list ul li:hover {
  background: linear-gradient(90.54deg, #ec4b2b 0.42%, #f85535 102.71%);
}
.service-list ul li:hover i::before {
  color: #fff;
}
.service-list ul li:hover h4 {
  color: #fff;
}
.service-list ul li:hover i::before p {
  color: #fff;
}
