

.page-about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.link-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

/* 上方連結按鈕 */
.about-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 50px;
  text-decoration: none; 
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #fff;
  border-radius: 12px;
  position: relative;
  transition: background 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  background: linear-gradient(to right, #949a9c, #537780);
}

.about-link.active {
  background: linear-gradient(to right, #1cb687, #91e5c7);
}
.about-link:hover {
  text-decoration: none;
  color: #ffffff !important; 
  opacity: 0.95;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.about-link .en-sub {
  position: absolute;
  bottom: -25px;
  font-size: 14px;
  font-weight: normal;
  color: #1cb687;
  transition: color 0.3s ease; 
}

.about-link:not(.active) .en-sub {
  color: #949a9c;
}
.about-link:hover .en-sub {
  color: #1cb687; 
}


/* --- 下方內容左右 Flex 排版 --- */
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* 左側文字 */
.page-about-wrapper .section-title{
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.page-about-wrapper .section-title h2 span{
  color: #000;
  font-family: "Anybody", sans-serif;

}
.text-content {
  flex: 1;
  max-width: 550px;
}

.article {
  margin-top: 30px;
}

.zh-text {
  font-size: 18px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.zh-text strong {
  color: #222;
  font-weight: bold;
}

.en-text {
  font-size: 16px;
  line-height: 1.6;
  color: #8c8c8c;
}


/* --- 右側圖片與裝飾底圖 --- */
.image-wrapper {
  flex: 1;
  position: relative; /* 讓裝飾底圖可以相對於它做絕對定位 */
  display: flex;
  justify-content: flex-end;
}

.main-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-top-left-radius: 40px; /* 依照圖片左下/左上圓角設計 */
  border-bottom-left-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2; /* 讓圖片壓在裝飾點點上方 */
}

/* 點點裝飾底圖（絕對定位） */
.bg-deco {
  position: absolute;
  width: 210px;
  height: 210px;
  left: -20px;
  bottom: -20px;
  z-index: 1;
  background-image: radial-gradient(#e0f5ee 20%, transparent 20%);
  background-size: 16px 16px;
  opacity: 0.8;
}

/* RWD 響應式：手機板自動變單欄 */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .image-wrapper {
    justify-content: center;
    width: 100%;
  }
  .bg-deco {
    left: 20px;
  }
} 


/* tab */

.tab-wrapper {
  width: 100%;
  margin: 20px 0 0;
}

/* tab 選單外層 */
.tab-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 20px 0;
  margin: 0 0 10px 0;
}

.tab-menu .tab-item {
  display: flex;
  align-items: center;
  padding: 0 40px;
  cursor: pointer;
  position: relative;
}

/* 項目之間的分隔線 */
.tab-menu .tab-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background-color: #ddd;
}

/* Icon 外圈圓格 */
.tab-menu .tab-item .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #bdbdbd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.3s ease;
}

/* 控制內部的 SVG / IMG 尺寸與置中 */
.tab-menu .tab-item .icon-box .fake-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

.tab-menu .tab-item .icon-box .fake-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* 文字包裝盒 */
.tab-menu .tab-item .text-box {
  display: flex;
  flex-direction: column;
}

.tab-menu .tab-item .text-box .title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tab-menu .tab-item .text-box .sub {
  font-size: 12px;
  color: #999;
}

/* Hover 狀態 */
.tab-menu .tab-item:hover .icon-box {
  background-color: rgba(59, 179, 147, 0.5);
}
.tab-menu .tab-item:hover .text-box .title {
  color: #3bb393;
}
.tab-menu .tab-item.active .icon-box {
  background-color: #3bb393;
}
/* .tab-menu .tab-item.active .icon-box .fake-icon img {
  filter: brightness(0) invert(1);
} */
.tab-menu .tab-item.active .text-box .title {
  color: #3bb393;
}

.tab-main-content {
  position: relative;
  background-color: #f5f5f5;
  min-height: 400px;
  overflow: hidden;
}

.tab-main-content .tab-panel {
  display: flex;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

/* 啟用中的面板：浮現並回復原位 */
.tab-main-content .tab-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 左側圖片區 */
.tab-main-content .tab-panel .panel-left {
  width: 50%;
}
.tab-main-content .tab-panel .panel-left .fake-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.tab-main-content .tab-panel .panel-left .fake-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 右側文字區 */
.tab-main-content .tab-panel .panel-right {
  width: 50%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.tab-main-content .tab-panel .panel-right .panel-wrap {
  max-width: 550px;
}
.tab-main-content .tab-panel .panel-right .panel-title {
  font-size: 28px;
  color: #3bb393;
  margin: 0 0 25px 0;
  font-weight: 500;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(59, 179, 147, 0.3);
  padding-bottom: 10px;
  display: inline-block;
  align-self: flex-start;
}

.tab-main-content .tab-panel .panel-right .panel-title span {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  margin-left: 8px;
}

.tab-main-content .tab-panel .panel-right .panel-desc {
  font-size: 20px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 15px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.tab-main-content .tab-panel .panel-right .panel-en {
  font-size: 15px;
  color: #999;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .tab-container {
    margin: 20px auto;
  }
  .tab-menu {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* 隱藏 Firefox 滾動條 */
  }
  .tab-menu::-webkit-scrollbar {
    display: none; /* 隱藏 Chrome/Safari 滾動條 */
  }
  .tab-menu .tab-item {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 10px
  }
  .tab-menu .tab-item .text-box {
      align-items: center;
  }
  .tab-menu .tab-item .icon-box {
    width: 45px;
    height: 45px;
    margin-right: 8px;
  }
  .tab-menu .tab-item .text-box .title {
    font-size: 14px;
  }
  /* 改為上下垂直排版 */
  .tab-main-content {
    min-height: auto;
  }
  .tab-main-content .tab-panel {
    flex-direction: column;
  }
  .tab-main-content .tab-panel .panel-left,
  .tab-main-content .tab-panel .panel-right {
    width: 100%;
  }
  /* 調整手機版圖片高度 */
  .tab-main-content .tab-panel .panel-left .fake-img {
    height: 240px;
  }
  /* 調整手機版文字內距與字級 */
  .tab-main-content .tab-panel .panel-right {
    padding: 30px 20px;
  }
  .tab-main-content .tab-panel .panel-right .panel-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .tab-main-content .tab-panel .panel-right .panel-title span {
    font-size: 16px;
  }
  .tab-main-content .tab-panel .panel-right .panel-desc {
    font-size: 14px;
  }
  .tab-menu .tab-item .icon-box .fake-icon {
    width: 30px;
    height: 30px;
  }
}

/* Core Values */

.core-wrapper{
  padding: 110px 0;
}
.core-wrapper .section-title{
  display: flex;
  justify-content: center;
}

.core-content {
	 display: flex;
	 gap: 40px;
	 align-items: center;
	 margin-top: 80px;
}

 .core-content .core-grid {
	 flex: 1;
	 display: grid;
	 grid-template-columns: repeat(2, 1fr);
	 gap: 80px 30px;
}

 .core-content .core-item {
	 display: flex;
	 align-items: flex-start;
	 gap: 20px;
}
 .core-content .core-item .core-icon-wrapper {
	 flex-shrink: 0;
	 margin-top: 5px;
}
 .core-content .core-item .core-icon {
	 width: 50px;
	 height: 50px;
	 border-radius: 50%;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 border: 1px solid #00b285;
	 padding: 10px;
	 box-sizing: border-box;
	 background-color: #fff;
}
 .core-content .core-item .core-icon img {
	 width: 100%;
	 height: 100%;
	 object-fit: contain;
	 max-width: 100%;
	 max-height: 100%;
}
 
 .core-content .core-item .core-icon {
	 flex-shrink: 0;
	 width: 70px;
	 height: 70px;
	 border-radius: 50%;
	 overflow: hidden;
	 display: flex;
	 align-items: center;
	 justify-content: center;
}
 .core-content .core-item .core-icon img {
	 width: 100%;
	 height: 100%;
	 object-fit: contain;
}
 .core-content .core-item .core-text h3 {
	 font-size: 25px;
	 font-weight: 600;
	 color: #222;
	 margin: 0 0 20px 0;
	 letter-spacing: 1px;
}
 .core-content .core-item .core-text p {
	 font-size: 18px;
	 line-height: 1.6;
	 color: #666;
	 margin: 0;
}
 .core-content .core-image {
	 flex: 1;
	 width: 100%;
}
 .core-content .core-image img {
	 width: 100%;
	 height: auto;
	 object-fit: cover;
	 display: block;
	 border-radius: 4px;
}
 @media (max-width: 991px) {
	 .core-content {
		 flex-direction: column-reverse;
		 gap: 60px;
     margin: 30px 0;
	}
}
 @media (max-width: 568px) {
  .core-wrapper{
    padding: 60px 0 0;
  }
	 .core-content .core-grid {
		 grid-template-columns: 1fr;
		 gap: 30px;
	}
  .core-content .core-item .core-text h3 {
    font-size: 20px;
  }
  .core-content .core-item .core-text p {
    font-size: 15px;
  }
  .core-wrapper .section-title{
    gap: 0;
  }
} 
.contact_bg{
  background-image: url(../../images/contact_bgimg.jpg);
  background-repeat: no-repeat;
  padding: 70px 0;
  border-radius: 40px 40px 0 0;
}
.contact_bg .contact_bg-content{
  display: flex;
  justify-content: space-between;
}

.contact_bg .section-title{
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
}
.contact_bg .section-title h2{
  opacity: 0.8;
  color: #fff;
}
.contact_bg .section-title span{
  color: #fff;
}
.contact_bg .btn-wrap{
  margin: 20px 0;
}
 @media (max-width: 767px) {
  .contact_bg .contact_bg-content{
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .contact_bg .section-title{
    align-items: center;
  }
} 

.process-wrapper .btn-wrap{
  justify-content: flex-start;
}

/* certificates */
.certificates{
  padding: 80px 0 40px;
}
.certificates .section-title{
  display: flex;
  justify-content: center;
}
.cert-content{
  padding: 50px 0;
  background-image: url(../../images/certificates_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 30px;
}


/* Owl Carousel 設定 */
.owl-nav {
    width: 100%;
    position: absolute;
    top: 45%;
}

.owl-prev {
    position: absolute;
    left: 0px;
}

.owl-next {
    position: absolute;
    right: 0px;
}

.owl-carousel .fa {
    color: #fff;
    font-size: 20px;
    background-image: none;
    background-color: #49494998;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: relative;
    transition: all .2s;
}
.owl-carousel .fa:hover{
    background-color: #16B286;
    transform: scale(1.1);
}

.owl-carousel .fa-angle-right:before,
.owl-carousel .fa-angle-left:before{
    position: absolute;
    top: 30%;
    left: 46%;
}
/* .owl-carousel .fa-angle-left:before{
    position: absolute;
    top: 34%;
    right: 40%;
} */

.owl-dots {
    /* text-align: center;
    margin-top: 60px; */
    display: none;
}

.owl-dot span {
    background-color: rgba(22, 80, 152, 0.5);
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin: 5px;
}

.owl-dots .active span {
    background-color: rgba(22, 80, 152, 1);
}

.owl-dot:hover span {
    background-color: #70A9FF;
}

/* Owl Carousel 商品 style */
.owl-item{
    margin: 0;
}
.owl-item .item .pro_main,
.owl-item .item .pro_item .pro_txt_box .pro_text,
.owl-item .item .pro_sale .pro_price,
.owl-item .item .pro_sale .pro_btn .fa {
    display: none;
}

.owl-item .item .pro_item .pro_title {
    /* color: #333333;
    font-size: 18px;
    text-align: center;
    margin: 20px; */
    display: none;
}

.owl-item .item .pro_item a:hover {
    text-decoration: none;
}

.owl-item .item .pro_item .pro_title:hover {
    text-decoration: none;
}

.owl-item .item .pro_sale {
    /* color: #888888;
    text-align: center;
    padding: 10px 30px 30px; */
    display: none;
}

.owl-item .item .pro_btn {
    color: #ffffff;
    background-color: #277ad0;
    border-radius: 20px;
    display: inline-block;
    padding: 10px 27px;
    transition: all .4s;
}

.owl-item .item .pro_btn:hover {
    background-color: #185eb1;
    text-decoration: none;
}

.owl-item .item .pro_item {
    overflow: hidden;
}

.owl-item .item .pro_item a img {
    background-color: #ffffff;
    display: block;
    border-radius: 10px;
    transform: scale(1);
    transition: all .4s;
}

.owl-item .item:hover .pro_item a img {
    transform: scale(1.05);
}
.owl-item .on_sale{
    display: none;
}
.owl-carousel .owl-item{
    border-radius: 30px;
}

/* process */
.process{
  padding: 80px 0 100px;
}
.process .section-title{
  display: flex;
  justify-content: center;
  margin: 0 0 80px;
}
.process-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  position: relative;
}
.process-content::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 1px;
  background-color: #dddddd;
  z-index: 1;
}

.process-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 15px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: calc(var(--step-index) * 0.2s);
}
.process-item:hover .process-img-wrapper img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.process-header {
  margin-bottom: 20px;
  background-color: #fff;
  padding: 0 10px;
}
.process-header .glow-dot {
  width: 40px;
  height: 40px;
  background-color: #63f1c9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
}
.process-header .glow-dot svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 2;
}
.process-header .glow-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #16B286;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.4;
  animation: breathe 2.4s ease-in-out infinite;
}

.process-item:nth-child(2) .glow-dot::after {
  animation-delay: 0.4s;
}

.process-item:nth-child(3) .glow-dot::after {
  animation-delay: 0.8s;
}

.process-item:nth-child(4) .glow-dot::after {
  animation-delay: 1.2s;
}

.process-body {
  margin-bottom: 25px;
  text-align: left;
  width: 100%;
  min-height: 130px;
  padding: 0 0 0 10px;
}
.process-body .title-zh {
  font-size: 24x;
  letter-spacing: 1.2px;
  color: #16B286;
  margin: 0 0 4px 0;
}
.process-body .title-en {
  font-size: 13px;
  color: #888888;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.process-body .desc-zh {
  font-size: 18px;
  color: #333333;
  margin: 0 0 6px 0;
  line-height: 1.4;
}
.process-body .desc-en {
  font-size: 14px;
  color: #888888;
  margin: 0;
  line-height: 1.4;
}

.process-img-wrapper {
  width: 100%;
  aspect-ratio: 1.6/1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: #f5f5f5;
}
.process-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .process{
    padding: 40px 0 80px;
  }
  .process .section-title{
    margin: 0 0 40px;
  }
  .process-content {
    flex-direction: column;
  }
  .process-content::before {
    left: 35px;
    top: 5%;
    bottom: 5%;
    width: 1px;
    height: 90%;
  }
  .process-item {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px 0;
    width: 100%;
  }
  .process-item .process-header {
    width: 50px;
    padding-right: 0;
  }
  .process-item .process-body {
    width: calc(100% - 60px);
    padding-left: 10px;
    margin-bottom: 15px;
  }
  .process-item .process-img-wrapper {
    margin-left: 60px;
    width: calc(100% - 60px);
  }
}