/* common */
.btn-custom {
  background-color: #0098E6;
  /* 自定义背景颜色 */
  color: white;
  /* 白色文字 */
  border: none;
  /* 去掉边框 */
  transition: background-color 0.3s ease;
  /* 添加过渡效果 */
}

.btn-custom:hover {
  color: white;
  background-color: #007bb5;
  /* 鼠标经过时的深色 */
}

/* 导航栏样式 */
.navbar {
  transition: background-color 0.3s ease;
  background: rgba(17, 17, 17, 0.6) !important;
  /* 初始透明度 */
  backdrop-filter: blur(2px);
}

.navbar-brand img {
  height: 2rem;
}

.navbar-nav .nav-item {}

.navbar-nav .nav-item a {
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
}

.navbar-nav .nav-item.active a {
  color: #0098E6 !important;
}

.navbar-nav .nav-item.active a::after {
  content: "";
  display: block;
  width: 50%;
  height: 0.25rem;
  transform: translateX(50%);
  background-color: #0098E6;
  position: absolute;
  bottom: -0.5rem;
}

/* banner */
section.custom-banner {
  width: 100%;
  height: 38rem;
  overflow: hidden;
}

section.custom-banner img {
  width: 100%;
  height: 100%;
}

/* section */
.section .common-icon1 {
  width: 1.13rem;
  height: 1.44rem;
  background: url("../images/index/common-icon1.png") no-repeat center / 100% 100%;
}

/* 页脚样式 */
.footer {
  background-color: #333;
  color: white;
  padding: 1.25rem 0;
}

.footer .logo .title>div:first-child {
  font-weight: 600;
  color: #FFFFFF;
}

.footer .logo .title>div:last-child {
  font-weight: 400;
  font-size: 0.75rem;
  color: #7C7C7C;
  letter-spacing: 1.25px;
  text-align: left;
  font-style: normal;
  text-transform: uppercase;
}

.footer .address {
  font-weight: 400;
  font-size: 0.88rem;
  color: #FFFFFF;
  line-height: 1.25rem;
  text-align: left;
  font-style: normal;
}

.footer .concat .icon-custom-phone {
  width: 1.88rem;
  height: 1.88rem;
  background: url('../images/phone.png') no-repeat center / 100% 100%;
  vertical-align: top;
}

.footer .concat div {
  font-weight: 400;
  font-size: 0.88rem;
  color: #FFFFFF;
  line-height: 1.25rem;
}

.footer .scan .content {
  width: 5rem;
  margin-left: auto;
  text-align: center;
}

.footer .scan .content span {
  font-weight: 400;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.footer .scan .content img {
  width: 100%;
}

.footer p.border-top {
  border-top: 1px solid #444 !important;
}

.footer .copyright {
  color: #999;
}

/* 右下角固定部分 */
.fixed-part {
  position: fixed;
  right: 1.25%;
  bottom: 10%;
}

.fixed-part .contact {
  width: 3.13rem;
  height: 7.06rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.63rem 0.13rem #DAE6EC;
  border-radius: 1.56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
}

.fixed-part .contact>a {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 0;
}

.fixed-part .contact .icon-custom-wx,
.fixed-part .contact .icon-custom-phone {
  width: 1.38rem;
  height: 1.38rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.fixed-part .contact .icon-custom-wx {
  background-image: url('../images/icon-wx.png');
}

.fixed-part .contact .icon-custom-phone {
  background-image: url('../images/icon-phone.png');
}

.fixed-part .contact>a:hover .icon-custom-wx {
  background-image: url('../images/icon-wx-select.png');
}

.fixed-part .contact>a:hover .icon-custom-phone {
  background-image: url('../images/icon-phone-select.png');
}

.fixed-part .contact .line {
  width: 1.88rem;
  height: 0.06rem;
  background: #E5E5E5;
}

.fixed-part .to-top {
  width: 3.13rem;
  height: 3.13rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.63rem 0.13rem #DAE6EC;
  border-radius: 1.56rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.fixed-part .to-top>a {
  color: #353535;
}

.fixed-part .to-top:hover>a {
  color: #0098E6;
}

.fixed-part .contact-wx-content {
  position: absolute;
  right: 8rem;
  top: 0;
  width: 9.25rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.25rem 0.13rem rgba(229, 229, 229, 0.5);
  border-radius: 0.25rem;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.fixed-part .contact #btnWx:hover ~ .contact-wx-content {
  opacity: 1;
  right: 4.13rem;
}

.fixed-part .contact-phone-content{
  position: absolute;
  right: 8rem;
  top: 3.5rem;
  width: 9.5rem;
  background: #FFFFFF;
  box-shadow: 0rem 0rem 0.25rem 0.13rem rgba(229,229,229,0.5);
  border-radius: 0.25rem;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.fixed-part .contact #btnPhone:hover ~ .contact-phone-content {
  opacity: 1;
  right: 4.13rem;
}

.fixed-part .contact-phone-content .label{
  font-size: 0.8rem;
  color: #333333;
  line-height: 1.19rem;
}

.fixed-part .contact-phone-content p{
  font-weight: 500;
  font-size: 1rem;
  color: #008CFC;
  line-height: 1.38rem;
  margin-bottom: 0;
}

.fixed-part .contact-phone-content .desc{
  font-weight: 400;
  font-size: 0.75rem;
  color: #666666;
  line-height: 1.88rem;
}

.fixed-part .contact-wx-content .label>img {
  width: 1.725rem;
}

.fixed-part .contact-wx-content .label>span {
  font-size: 0.725rem;
}

.fixed-part .contact-wx-content .tips{
  font-size: 0.75rem;
  color: #333333;
}

/* 动画样式 */
.kenburns-top {
  -webkit-animation: kenburns-top 5s ease-out both;
  animation: kenburns-top 5s ease-out both;
}

@-webkit-keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
    transform-origin: 50% 16%;
  }

  100% {
    -webkit-transform: scale(1.25) translateY(-15px);
    transform: scale(1.25) translateY(-15px);
    -webkit-transform-origin: top;
    transform-origin: top;
  }
}

@keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
    transform-origin: 50% 16%;
  }

  100% {
    -webkit-transform: scale(1.25) translateY(-15px);
    transform: scale(1.25) translateY(-15px);
    -webkit-transform-origin: top;
    transform-origin: top;
  }
}

.slide-top {
  -webkit-animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
}

@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
}


/* 手机端 */
@media (max-width: 576px) {
  html {
    font-size: 12px !important;
  }

  /* banner */
  section.banner img {
    height: 200px !important;
  }
}

/* 平板 */
@media (min-width: 576px) and (max-width: 768px) {
  html {
    font-size: 14px !important;
  }
}

/* PC端 */
@media (min-width: 768px) {
  html {
    font-size: 16px !important;
  }
}