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;
}

.header-swiper-container {
  position: relative;
}




#headerContainer {
  width: 100%;
  opacity: 0.34;
}

.vertical-line {
  position: absolute;
  top: 0;
  right: 7%;
  width: 1px;
  height: 100%;
  background: #FFFFFF;
  z-index: 99;
}

.swiper-slide {
  position: relative;
}

.swiper-slide .slide-content {
  position: absolute;
  top: 30%;
  left: 19%;
  text-align: left;
}

.slide-content h2 {
  font-weight: bold;
  font-size: 60px;
  color: #FFFFFF;
  line-height: 84px;
}

.slide-content h4 {
  font-weight: 400;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 33px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
}

.slide-content h4::after {
  content: '';
  width: 60px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  top: 100%;
  left: 0;
}

.slide-content h5 {
  padding-top: 10px;
  font-weight: bold;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 33px;
}

@media screen and (max-width:768px) {
  .swiper-slide .slide-content {
    position: absolute;
    top: 18%;
    left: 10%;
    text-align: left;
  }

  .slide-content h2 {
    font-size: 24px;
    line-height: 24px;
  }

  .slide-content h4 {
    font-size: 16px;
    padding-bottom: 0;
  }

  .slide-content h5 {
    font-size: 13px;
    padding-top: 0;
  }
}

/* 我們的信念*/
#our-belief {
  padding: 80px 0 50px 0;
}

.belief-left {
  margin-top: 42px;
}

.belief-left h3 {
  font-weight: bold;
  font-size: 32px;
  color: #2A7DE1;
  line-height: 45px;
  text-align: left;
  text-transform: uppercase;
}

.belief-left h2 {
  font-weight: bold;
  font-size: 32px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 45px;
  text-align: left;
}

.belief-left div {
  margin-top: 60px;
  display: flex;
  column-gap: 8em;
  row-gap: 2em;
  flex-wrap: wrap;
  /*設置換行*/
}

.belief-left div>span>img {
  margin-bottom: 4px;
}

.belief-left div>span {
  font-weight: bold;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 22px;
}

.belief-left>p {
  font-size: 16px;
  line-height: 30px;
}

.belief-left>p:first-child {
  margin-bottom: 50px;
}

@media screen and (max-width:1520px) {
  .belief-left {
    margin-top: 10px;
  }

  .belief-left div {
    row-gap: 1em;
    column-gap: 5em;
    margin-top: 30px;
  }
}

@media screen and (max-width:768px) {
  .belief-left {
    margin-bottom: 26px;
  }

  #our-belief {
    padding: 60px 0;
  }
}


/* 關於我們 */
#aboutus {
  padding: 50px 0;
}

.aboutus {
  display: flex;
}

.aboutus-left {
  position: relative;
  display: flex;
  height: 300px;
  flex-direction: column;
  justify-content: center;
}

.aboutus-left p {
  font-size: 16px;
  line-height: 30px;
}

.aboutus-left img {
  max-width: 95%;
}

.rectangle {
  width: 30%;
  height: 80%;
  background-color: #FFFFFF;
  border: 15px solid #2A7DE1;
  position: absolute;
  top: 10%;
  right: -10%;
  z-index: -99;
}

.aboutus-right {
  width: 80%;
  margin: 30% 0% 0% 13%;
}

.aboutus-right h3 {
  font-weight: bold;
  font-size: 32px;
  color: #2A7DE1;
  line-height: 45px;
  text-align: left;
  text-transform: uppercase;
}

.aboutus-right h2 {
  font-weight: bold;
  font-size: 32px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 45px;
  text-align: left;
  margin-bottom: 39px;
}

.aboutus-right p {
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 36px;
  text-align: left;
}

@media screen and (min-width:1393px) {
  .aboutus-left img {
    max-width: 100%;
    float: right;
  }
}

@media screen and (max-width:1393px) {
  .aboutus-right {
    margin-top: 15%;
  }

  .aboutus-left img {
    max-width: 95%;
  }
}

@media screen and (max-width:992px) {
  .aboutus-right {
    margin-top: 7%;
    width: 100%;
  }

  .aboutus-right h2 {
    margin-bottom: 20px;
  }
}

@media screen and (max-width:768px) {
  .aboutus-right {
    width: 100%;
    margin: 7% 0% 0% 0%;
  }

  .rectangle {
    position: absolute;
    top: 10%;
    right: 2%;
    z-index: -99;
  }
}

/* 公司曆程 */
#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;
}


/* 幫助 */
#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;
}


/* 我們的客戶 */
#parter {
  padding: 30px 0 80px 0;
}

.partercontainer {
  max-width: 1300px;
  width: 100%;
}

.partercontainer h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.partercontainer ul {
  display: flex;
  align-items: center;
}

.partercontainer .tit,
.partercontainer .tit h3 {
  color: rgba(0, 0, 0, 0.6);
}

.partercontainer .content>ul {
  column-gap: 40px;
  list-style: none;
  margin-top: 50px;
  padding-left: 0;
}

.partercontainer .seamlesswrap img{
  width: auto;
}
.partercontainer .swiper-wrapper{
  align-items: center;
}
/* .partercontainer .swiper-wrapper .swiper-slide{
  width: 20% !important;
} */


@media screen and (max-width:768px) {

  /* .partercontainer .swiper-wrapper .swiper-slide{
    width: auto !important;
  } */
  #our-belief{
    padding: 50px 0 30px 0;
  }
  #aboutus {
    padding: 30px 0;
  }

  #aboutus .row {
    display: flex;
    flex-direction: column;
  }

  #aboutus .aboutus-left {
    order: 2;
    height: auto;
  }

  #aboutus .aboutus-right {
    order: 1;
  }
  .partercontainer .content>ul {
    column-gap: 15px;
  }

  .partercontainer h2{
    margin-bottom: 20px;
  }

  .aboutus-left p {
    font-size: 16px;
    line-height: 30px;
    margin-top: 20px;
  }
}