body {
    padding-top: 0px;
}

header {
    background-color: var(--main-color);
}

#headerNav .main-menu .menu-item a {
    font-size: 16px;
    line-height: 21px;
}

#headerNav .main-menu .menu-item:hover a {
    color: #ffffff;
    font-weight: bold;
    position: relative;
  }

  #headerNav .main-menu .menu-item:hover a::after {
    background-color: #ffffff;
  }

  #headerNav.header-nav-container {
    border: none;
  }

  #headerNav.header-nav-container.stick-to-top {
    border-bottom: 1px solid var(--border-color);
  }

  #headerNav.header-nav-container .main-menu .menu_active > a {
    color: #ffffff !important;
  }

  #headerNav.header-nav-container.stick-to-top .main-menu .menu_active > a {
    color: var(--main-color) !important;
    font-weight: bold;
  }

  #headerNav.header-nav-container.stick-to-top .main-menu .menu-item:hover>a {
    color: var(--main-color) !important;
    position: relative;
  }
  #headerNav.header-nav-container.stick-to-top .dropdown_menu>ul>li:hover{
    background-color: #ffffff;
  }

  #headerNav.header-nav-container.stick-to-top .main-menu .menu-item:hover a::after {
    background-color: var(--main-color) !important;
  }

  #headerNav.header-nav-container.stick-to-top .main-menu .menu_active > a::after {
    background-color: var(--main-color) !important;
  }

  .headContainer{
    position: relative;
  }
  .swiper-pagination{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .head-swiper .swiper-pagination-bullets {
    color: #CCCCCC;
    bottom: 150px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    top: 40%;
    left: 85%;
  }

  .head-swiper .swiper-pagination-bullet {
    width: 32px;
    height: 32px;
    background: url(../images/index_dots_before.png) no-repeat;
    display: inline-block;
  }


  .head-swiper .swiper-pagination-bullet-active {
    background: url(../images/index_dots.png) no-repeat;
  } 

  @media screen and (max-width:768px) {
    .head-swiper .swiper-slide>img{
      display: none;
    }
    .head-swiper .swiper-wrapper{
      height: 200px !important;
    }
    .head-swiper .swiper-slide{
      background: url(../images/index_banner.jpg) no-repeat center;
      background-size: cover;
      height: 100%;
    }
  }


#headerContainer{
  width: 100%;
  background: linear-gradient( 270deg, #B8D4F6 0%, rgba(42,125,225,0) 60%, #B8D4F6 100%);
  opacity: 0.34;
}
.vertical-line {
  position: absolute;
  top: 0;
  right: 16%;
  width: 1px;
  height: 100%;
  background: #FFFFFF;
  z-index: 99;
}


/* peculiarity */
#peculiarity{
  background-color: #2a7de1;
  color: #ffffff;
  padding: 20px 0;
}
.peculiarity ul{
  text-align: center;
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.peculiarity ul>li{
  list-style: none;
  position: relative;
  overflow: hidden;
}
.re{
  position: relative;
  cursor: pointer;
}
.peculiarity ul>li>div>p{
  font-size: 18px;
}
.re::after{
  content: '';
  width: 35px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  top: 50%;
  left: 45%;
}

.peculiarity ul>li>div>span{
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 400;
}

.hide-content{
    max-height: 0; /* 初始最大高度为0 */
    opacity: 0; /* 初始透明度为0 */
    transition: max-height 0.3s ease, opacity 0.3s ease; /* 过渡效果 */
    pointer-events: none; /* 禁用鼠标事件 */
}
.hide-content p{
  font-size: 15px !important;
  line-height: 30px;
  margin-bottom: 0;
}

.hide-content.visible {
  margin: 20px 0 0 0;
  max-height: 250px; /* 设置为合适的最大高度以便容纳内容 */
  opacity: 1; /* 透明度为1 */
  pointer-events: auto; /* 启用鼠标事件 */
}

.show-screen{
  display: none !important;
}
@media screen and (max-width:768px) {
  /* .hide-screen p{
    color: transparent;
  } */
  .show-screen{
    display: block !important;
  }
  .peculiarity ul>li>div>span{
    font-size: 13px;
  }
}


/* 公司曆程 */
#milestones{
  padding: 100px 0;
  background: url(../images/milestones-backimg.jpg) no-repeat center;
  background-size: cover;
}
#milestones h3{
  font-weight: bold;
  font-size: 32px;
  color: #FFFFFF;
  line-height: 45px;
  text-align: center;
  font-style: normal;
  text-transform: uppercase;
}
#milestones h2{
  font-weight: 500;
  font-size: 32px;
  color: #FFFFFF;
  line-height: 45px;
  text-align: center;
}
.timeline_container{
  display: flex;
  justify-content: center;
}
.timeline{
  position: relative;
  margin: 0px auto;
  width:100%;
  height: 100%;
  box-sizing: border-box;
}
.timeline::before {
	content: '';
	position: absolute;
	left: 49.99%;
	width: 2px;
  height: 97%;
	background: #fff;
  top: 10%;
}
@media screen and (max-width:1669px) {
  .timeline::before {
    height: 96%;
  }
}
@media screen and (max-width:768px) {
  .timeline::before {
    height: 96%;
    top: 9%;
  }
}
@media screen and (max-width:419px){
  .timeline::before{
    height: 98%;
    top: 7%;
  }
}
#milestones img {
	display: block;
  margin: 0 auto;
  transform: rotate(180deg);
  transform: rotate(180deg);
  margin-top: 36px;
}

.timeline ul {
	margin: 0;
	padding: 0;
}

.timeline ul li {
	list-style: none;
	line-height: normal;
	position: relative;
	width: 50%;
	box-sizing: border-box;
}

.timeline ul li:nth-child(even) {
	float: left;;
	text-align: right;
	clear: both;
  padding: 20px 40px 20px 0px;
}

.timeline ul li:nth-child(odd) {
	float: right;;
	text-align: left;
	clear: both;
  padding: 0px 0px 20px 40px;
}
@media screen and (max-width:568px) {
  .timeline ul li:nth-child(even) {
    padding: 10px 40px 10px 0px;
  }
  
  .timeline ul li:nth-child(odd) {
    padding: 10px 0px 10px 40px;
  }
}
.timeline ul li:nth-child(even)::before{
	content: '';
	position: absolute;
	top: 82px;
	right: -10px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
}

.timeline ul li:nth-child(odd)::before{
	content: '';
	position: absolute;
	top: 62px;
	left: -10px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
}

.timeline ul li p {
	margin: 60px 0 0;
	font-weight: 500;
  font-size: 18px;
  color: #FFFFFF;
  line-height: 25px;
}

.timeline ul li .time h4 {
	margin: 0;
	padding: 0;
	font-weight: 400;
  font-size: 22px;
  color: #FFFFFF;
  line-height: 33px;
}

.timeline ul li:nth-child(even) .time {
	position: absolute;
	top: 61%;
	right: -115px;
	margin: 0;
	color: white;
}

.timeline ul li:nth-child(odd) .time {
	position: absolute;
	top: 53%;
	left: -115px;
	margin: 0;
	color: white;
}



@media screen  and (max-width:1200px) {
  .main_One_swiper {
    width: 100%;
    margin: 0 auto;
  } 
  
}
@media screen and (max-width:768px) {
  .main_One_swiper .swiper-button-prev{
    left: 80%;
  }
  .main_One_swiper{
    padding: 50px 0 100px 0;
  }
  #mainOne{
    padding-bottom: 50px;
  }
  .re::after{
    top: 50%;
    left: 40%;
  }
  .hide-content p{
    font-size: 14px !important;
    line-height: 25px;
    text-align: left;
  }
}
@media screen and (max-width:500px) {
  .peculiarity ul{
    width: 100%;
    padding-left: 0;
  }
  .re::after{
    top: 50%;
    left: 37%;
  }
}

/* aboutus */
#aboutus{
  padding: 80px 0 80px 0;
}
.aboutus_container .title{
  text-align: center;
  padding-bottom: 0;
  margin-bottom: 30px;
}
.aboutus_container .title h3{
  font-weight: bold;
  font-size: 32px;
  color: #2A7DE1;
  line-height: 45px;
}
.aboutus_container .title h2{
  font-weight: bold;
  font-size: 32px;
  color: rgba(0,0,0,0.8);
  line-height: 45px;
}
#index-row-left{
  padding: 15% 3%; 
  text-align: left;
}
#index-row-left h5{
  font-weight: bold;
  font-size: 24px;
  color: #2A7DE1;
  line-height: 33px;
  margin-bottom: 30px;
}
#index-row-left p{
  font-weight: bold;
  font-size: 16px;
  color: rgba(0,0,0,0.8);
  line-height: 32px;
}
@media screen and (max-width:990px){
  #index-row-left{
    padding: 0% 3%; 
  }
}
@media screen and (max-width:768px) {
  #index-row-left h5{
    font-size: 22px;
    text-align: center;
  }
}

/* 幫助 */
#help{
  background-color: #2A7DE1;
}
.help-container div{
  text-align: center;
  padding-top: 20px;
  padding-bottom: 25px;
}
.help-container div h5{
  font-weight: bold;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 37px;
  margin-bottom: 15px;
}
#rectangle>img{
  position: absolute;
  top: 0%;
  left: 0%;
}
#rectangle>span{
  position: absolute;
  top: 0%;
  left: 0%;
  background-color: #ffffff;
  border-radius: 3px 0px 0px 3px;
  width: 22%;
  height: 100%;
  padding-top: 8px;
}
#rectangle{
  border: 1px solid #ffffff;
  position: relative;
  padding: 9px 20px 9px 50px;
  border-radius: 5px;
}
#rectangle a{
  color: #ffffff;
}
