:root {
  --text-color: #2b2b2b;
  /* --primary-color: rgb(250, 160, 50); */
  --primary-color: #0c62ad;
  --primary-op-color: rgba(255, 255, 255, 0.5);
  --gray-color: rgb(70, 70, 70);
  /* --second-color: rgb(220, 100, 0); */
  --second-color: rgb(13, 121, 253);

  --linear-color: linear-gradient(
    90deg,
    var(--primary-color),
    var(--second-color)
  );
}

body {
  position: relative;
}

.swiper {
  padding: 0;
  width: 100%;
  position: relative;
}

.swiper-slide img {
  width: 100%;
}

.swiper-slide .img_bg {
  object-fit: contain;
}

.swiper-pagination-bullet {
  width: 30px !important;
  height: 4px !important;
  border-radius: 4px !important;
  background-color: var(--primary-color) !important;
}


.anicontainer{
  min-width: 160px;
  max-width: 160px;
}



.title-en {
  font-size: 60px;
}

.title-cn {
  font-size: 40px;
  margin-top: -50px;
}
.title-cn b {
  color: var(--primary-color);
}

.brand {
  width: 100%;
  /*background: red;*/
  display: flex;
  overflow: hidden;
  position: relative;
}
.brand:before {
  left: 0;
  box-shadow: 20px 0px 16px inset #fff;
}
.brand:before {
  content: "";
  position: absolute;
  height: 100%;
  box-shadow: 80px 0px 40px inset #fff;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 10;
}
.brand:after {
  content: "";
  position: absolute;
  height: 100%;
  box-shadow: -100px 0px 40px inset #fff;
  top: 0;
  bottom: 0;
  right: 0;
  width: 200px;
  z-index: 10;
}

.brand ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.brand ul li:nth-child(1) {
  animation: myScroll 30s linear infinite;
}

.brand ul li:nth-child(2) {
  animation: myScroll 20s linear infinite;
}

.brand ul li {
  display: flex;
  left: 0;
  top: 0;
}

.child-brand {
  position: relative;
  opacity: 0;
  width: 330px;
  height: 210px;
  background: #ffffff;
  border-radius: 6px;
  margin: 20px 0;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 10px 10px rgb(0 0 0 / 5%);
}

.child-brand img {
  width: 90%;
  height: 90%;
}

.brand-row:nth-child(2) .child-brand {
  width: 210px;
  height: 210px;
}

.opacity-show {
  opacity: 1;
  top: 0px;
  transition: opacity 1.4s ease 0s, top 1.4s ease 0s;
}

.honor-swiper {
  animation: fadeInUp;
  animation-duration: 1s;
}

.honor-swiper .swiper-wrapper .swiper-slide img {
  object-fit: contain;
  height: 200px;
  cursor: pointer;
}

.swiper-button-prev .swiper-button-next {
  color: var(--gray-color) !important;
}

#wenhua .nav-link,
#wenchuang .nav-link,
#huiyi .nav-link,
#shipin .nav-link,
#tuwen .nav-link {
  font-size: 14px !important;
  font-weight: bold;
}

.contact-container {
  width: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.contact-container ul {
  width: 50px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
}

.project-link{
  display:block;
  min-width: 250px;
}

.project {
  overflow: hidden;
}

.project img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project:hover img {
  transform: scale(1.2);
}

.contact-container ul li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  box-shadow: 0 0 10px #ccc;
  border-radius: 8px;
  background: white;
  display: flex;
}

.contact-container ul li .contact-info {
  display: none;
  position: absolute;
  top: -120px;
  left: -260px;
}

.contact-container ul li:hover .contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: white;
}

.contact-container ul li .contact-info img {
  height: 100%;
  width: 250px;
}

.contact-container ul li img {
  width: 50px;
  height: 50px;
  margin: auto;
  object-fit: contain;
}

.timeline {
  display: flex;
  overflow-x: auto;
  padding: 20px 0;
  position: relative;
}

.timeline::-webkit-scrollbar {
  display: none; /* 隐藏滚动条 */
}

.timeline .timeline-content::before {
  content: '';
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary-color);
}


.timeline-item {
  min-width: 200px;
  padding: 15px;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}

.timeline-content {
  text-align: center;
}

.timeline-content .year {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-content .event {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* 确保在移动端也能水平滚动 */
@media (max-width: 768px) {
  .timeline {
    -webkit-overflow-scrolling: touch;
  }
  
  .company-container > div:first-child > img{
    width:200px;
  }
}

@keyframes myScroll {
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .title-en {
    font-size: 40px;
  }

  .title-cn {
    font-size: 30px;
    margin-top: -35px;
  }
  
  .company-container > div:first-child > img{
    width:200px;
  
  }
}

@media(max-width: 435px) {
  .title-en {
    font-size: 30px;
  }

  .title-cn {
    font-size: 20px;
    margin-top: -25px;
  }
  .company-container > div:first-child > img{
    width:200px;
  
  }
  
  
}

/* 关于壹唯页面标题样式 */
.section-title {
  position: relative;
  padding-left: 15px;
  margin: 40px 0 20px;
  font-weight: bold;
}

.have-bg{
  position: absolute;
  margin: 60px 40px 0 20px;
}


.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 120%;
  transform: translateX(20%);
  width: 80px;
  height: 2px;
  background-color: var(--primary-color);
}

/* 内容块样式 */
.content-block {
  padding: 20px;
  margin-bottom: 30px;
  background-color: #f8f9fa;
}

.content-block ul li{
  list-style: square;
  font-size: 20px;
  margin-bottom: 20px;
}


.top-title-container{
  background: url(../image/bg_c.png) no-repeat center center;
  background-size: cover;
  position: relative;
}

.top-title{
  position: relative;
}

.top-title1{
  background: url(../image/bg_a.png) no-repeat center center;
  background-size: cover;
  position: relative;
}

.top-title::before{
  content: '';
  position: absolute;
  left:60px;
  top: 40px;
  width: 50px;
  height: 5px;
  background-color: white;
}

.top-title::after{
  content: '';
  position: absolute;
  left:60px;
  bottom: 40px;
  width: 110px;
  height: 3px;
  background-color: white;
}


.company-container{
  margin:20px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.company-container > div:first-child > img{
  width:400px;

}

.img-container{
  padding:8px;
  background-color: #cccccc;
  margin-bottom: 20px;
}

.img-container img{
  width:120px;
}

.youshi-bg{
  padding-bottom : 200px;
  background: url(../image/bg_22.png) no-repeat bottom center;
  background-size: contain;
  position: relative;
}