/* 引入一般字重 */
@font-face {
  font-family: 'NotoSansTC'; /* 自定義名稱 */
  src: url('../fonts/NotoSansTC-ExtraLight.ttf') format('truetype');
  font-weight: 400; /* 正常字重 */
  font-style: normal;
  font-display: swap; /* 加載策略，可避免 FOUT */
}

/* 引入粗體字重 */
@font-face {
  font-family: 'NotoSansTC2';
  src: url('../fonts/NotoSansTC-SemiBold.ttf') format('truetype');
  font-weight: 900; /* 粗體 */
  font-style: normal;
  font-display: swap;
}

.footer{
	background-color: #007cba;
}

/* 上方標題 */
.trust-title{
  text-align: center;
  padding-top: 40px;
  color: #3FE6E0;
  font-size: 30pt;
  font-weight: bold !important;
  font-family: 'NotoSansTC2';
  letter-spacing: 2px;
  margin: 0px;
  background-image: url("../images/title3.png");
  background-repeat: no-repeat;
  background-position: 300px 55px;
}
.trust-sub{
  text-align: center;
  font-size: 16pt;
  color: #7EEFEA;
  margin-bottom: 30px;
  font-weight: bold !important;
  font-family: 'NotoSansTC2';
  letter-spacing: 2px;
  top: -8px;
  position: relative;
}

/* 數據區 */
.stats{
    text-align:center;
    margin-bottom:40px;
}
.stat-item{
    margin-bottom:30px;
}
.stat-number{
  font-size: 119px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-family: Arial black;
  display: flex;
  margin-left: 30px;
}
.stat-label{
  margin-top: 8px;
  text-align: center;
  font-size: 20pt;
  color: #fff;
  margin-bottom: 30px;
  font-weight: bold !important;
  font-family: 'NotoSansTC2';
  letter-spacing: 2px;
  top: -8px;
  position: relative;
}

/* 中央 CTA 區 */
.cta-box{
  padding: 80px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 0px auto;
  position: relative;
  background-image: url("../images/frame.png");
  background-repeat: no-repeat;
  background-position: 80px 10px;
}

.cta-title{
  font-family: 'NotoSansTC2';
  font-size: 35pt;
  font-weight: 700;
  margin-bottom: 0px;
  color: #fff;
  letter-spacing: 2px;
    display: inline-flex;
	ine-height: 100px;
}
.cta-title span{
    color:#39F3E6;
}

.cta-btn{
  font-family: 'NotoSansTC2';
  background: #39F3E6;
  color: #007cba;
  font-size: 30pt;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 40px;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 2px;
  width: 660px;
}
.cta-btn:hover{
    background:#2dd8cb;
    color:#004b46;
}

/* 聯絡資訊 */
.contact{
  font-family: 'NotoSansTC2';
  font-size: 15pt;
  font-weight: bold;
  margin-top: 25px;
  opacity: 0.9;
  line-height: 1.8;
  color: #fff;
    display: inline-flex;
}

/*數字動畫*/
.footer .trust-title,
.footer .trust-sub,
.footer .stat-item,
.footer .cta-box {
  opacity:0;
  transform: translateY(30px);
}

/* 數字震動/彈跳可選 */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
.is-invalid {
  animation: shake 0.3s;
}


.copyright{
  font-family: 'NotoSansTC2';
  text-align: center;
  font-size: 20px;
  color: #fff;
  padding: 0px 0 50px 0px;
  font-weight: bold;
}

/* RWD 調整 */
@media (max-width: 810px) {
	.footer .trust-title,
	.footer .trust-sub,
	.footer .stat-item,
	.footer .cta-box {
	  opacity:1;
	  transform: translateY(30px);
	}
	.stat-number {
	  font-size: 63px;
	}
	.suffix{
	  font-size: 40px !important;
	}
	.suffix2{
	  margin-top: 20px !important;
	  font-size: 35px !important;
	}
	.stat-label {
	  font-size: 16pt;
	}
	.trust-title {
	  background-position: 0px 55px;
	}
	.cta-box {
	  background-position: 0px 10px;
	  background-size: 99%;
	}
	.cta-title {
	  font-size: 30pt;
	}
	.cta-btn {
	  font-size: 26pt;
	  width: 478px;
	}
}
@media(max-width:768px){
	.stats {
	  margin-bottom: 0px;
	}
	.stat-item {
  margin-bottom: 0px;
}
	.stat-number {
  font-size: 80px;
  text-align: center;
    display: block;
  }
  .suffix {
    font-size: 60px !important;
  }
   .suffix2 {
    margin-top: 37px !important;
    font-size: 43px !important;
  }
   .cta-box {
    background-size: unset;
  }
	.trust-title {
	  font-size: 19pt;
	  letter-spacing: 1px;
	  margin: 0px;
	  background-image: url("../images/title_m3.png");
	  background-repeat: no-repeat;
	  background-position: 70px 55px;
	}
	
	.trust-sub {
	  font-size: 12pt;
	}
	
	.cta-box {
	  background-image: url("../images/frame_m.png");
	  background-repeat: no-repeat;
	  background-position: 45px 15px;
	  padding: 30px 20px;
	}
	.cta-title {
	  font-size: 22pt;
	  font-weight: 700;
	  margin-top: 30px;
	  letter-spacing: 0px;
      display: block;
	}
	.cta-title p{
	 margin:0px;
	}
	.cta-btn {
	  font-family: 'NotoSansTC2';
	  background: #39F3E6;
	  color: #007cba;
	  font-size: 18pt;
	  font-weight: 800;
	  padding: 5px 15px;
	  display: inline-block;
	  text-decoration: none;
	  width: 260px;
	  border-radius: 0px;
    letter-spacing: 0px;
	}
	
	.contact {
	  font-family: 'NotoSansTC2';
	  font-size: 15pt;
	  font-weight: bold;
	  margin-top: 0px;
	  opacity: 0.9;
	  line-height: normal;
	  color: #fff;
	  display: block;
	}
	.contact p,span{
	 margin:0px;
	}
	.copyright {
	  padding: 50px 10px 80px 10px;
	}
	
}
@media (max-width: 428px) {
 .cta-box {
    background-position: 50px 15px;
  }
}
@media (max-width: 414px) {
 .cta-box {
    background-position: 40px 20px;
  }
 .trust-title {
    background-position: 60px 55px;
 }
}
@media (max-width: 390px) {
  .trust-title {
    background-position: 50px 55px;
  }
  .stat-number {
	  margin-left: 10px;
	  display: block;
	}
  .cta-box {
    background-position: 30px 15px;
  }
}  
@media (max-width: 375px) {
  .trust-title {
    background-position: 40px 55px;
  }
  .cta-box {
    background-position: 25px 10px;
  }
}
