:root {
  --primary: #014DA2;
  --secondary: #E95C14;
  --tertiary: #001F75;
  --text-dark: #323232;
  --white: #ffffff;
  --line: #B8BFCA;
  --tear: #AED4FF;
  --helper-text: #737373;
  --inner-background: #f9f9f9;
  --primary-gradient: linear-gradient(349deg, #E95C14 9.07%, #FF7A39 93.33%);

  /* Spacing Variables */
	--spacing-4: 4px;
	--spacing-6: 6px;
	--spacing-8: 8px;
	--spacing-12: 12px;
	--spacing-16: 16px;
	--spacing-20: 20px;
	--spacing-24: 24px;
	--spacing-32: 32px;
	--spacing-40: 40px;
	--spacing-56: 56px;
	--spacing-60: 60px;
	--spacing-64: 64px;
	--spacing-80: 80px;
	--spacing-96: 96px;
	--spacing-120: 120px;
}



body{
	font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
    font-weight: 500;
	background-color: var(--primary);
	line-height: 1.7;
    overflow-x: hidden;
    margin: 0 auto;
}

:lang(zh), [lang="zh-TW"], .chinese {
    font-family: 'Noto Sans TC', sans-serif;
}

   
.english {
    font-family: 'Montserrat', sans-serif;
}

button{
    border: none;
    cursor: pointer
}

/* Color */


/* Spacing */


.container{
	display: flex;
	height: 80px;
	justify-content: space-between;
	align-items: center;
    padding: 0 32px
}


.submit{
	width: 100%;
	position: relative;
}


/*------------ KV -------------*/
.KV {
    margin-top: 80px;
    position: relative;
}

.kv-img {
    background-image: url(../IMG/Banner/KV_1440.png);
    width: 100%;
    height: 800px;
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* header */
.navbar{
	width: 100%;
	position: fixed;
	top: 0;
	align-items: center;
	background:white ;
	z-index: 10000;
}


.logo a {
	color: #fff;
	font-size: 20px;
	font-weight: bolder;
	text-indent: 101%;
    overflow: hidden;
    display: block;
    background-size: contain;
    background-image: url(../IMG/YuantaLogo.svg);
    width: 165px;
	background-repeat: no-repeat;
    white-space: nowrap;
    overflow: hidden;
}


/* ContactUS */
.contactus{
	background-color: rgb(1, 53, 112);
    background-image: url(../IMG/BG_Element/contact-us_W.png);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}
.section{
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
}
.section p{
	font-size: 36px;
	font-weight: 900;
}




.block{
	text-align: center;
	display: flex;
	flex-direction: column;
    align-items: center;
}
.block p{
	font-size: 36px;
	font-weight: 900;
}



/* Footer */

.footer-content{
    background-color: rgb(0, 40, 84);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    text-align: center;
    padding: 16px 24px;
}
.contactus .TitleContent {
    color: var(--white);
}

.footer-inline{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.reminder{
    color: var(--text-dark);
	background: linear-gradient(
        transparent calc(100% - 10px),
        #F3D8CB 0
    );
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
/* -----------ContactUS-itmt------------ */


.contact-block{
    display: flex;
    gap: 40px;
}

.contact-item{
    width: 100%;
    border-radius: 16px;
    padding: 16px;
    background-color: var(--inner-background);
}

.contact-title{
	display: flex;
	align-items: center;
	gap: 8px;
    color: var(--primary);
}

.contact-title p{
    font-size: 24px;
    font-weight: 800;
}

.contact-hand{
    width: 139px;
    height: auto;
    display: block;
    margin: -26px auto;
    position: relative;
    z-index: 2;
}

.contactus .card-style{
    padding: 48px 32px;
} 

.phone,.email{
    font-size: 18px;
    padding-left: 28px;
}

body {
  color: var(--text-dark);
}

/* Spacing */
.card-style{
    width: 100%;
    padding: 80px 160px;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: 0 0 40px 0 rgba(225, 204, 255, 0.70);
    position: relative;
}
.container{
	display: flex;
	height: 80px;
	justify-content: space-between;
	align-items: center;
    padding: 0 32px
}

.mb-40{
    margin-bottom: 40px;
}

.inner-background{
    background-color: var(--inner-background);
    padding: 40px;
    border-radius: 24px;
}

.wrapper{
	max-width: 960px;
    padding: 120px 0px;
	margin: 0 auto;
}

.block-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 64px;
}

.Title,.Title-White{
    display: inline-block;
    text-align: center;
    position: relative;
    color: var(--tertiary);
    width: fit-content;
    margin:  0 auto;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    z-index: 1;
}

.TitleContent{
    color: var(--text-dark);
    font-size: 20px;
    text-align: center;
    font-weight: 500;
}

.Title,.Title-White{
    display: inline-block;
    text-align: center;
    position: relative;
    color: var(--tertiary);
    width: fit-content;
    margin:  0 auto;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    z-index: 1;
}

.Title-White{
	color: var(--white);
}


.Title::after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, rgba(231, 255, 81, 0.00) 0%, #E7FF51 39.9%, #E7FF51 55.29%, rgba(231, 255, 81, 0.00) 100%);  
    left: 50%; 
    transform: translateX(-50%);
    bottom: 4px;
    z-index: -1;
}

.Title-White::after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, rgba(233, 92, 20, 0.00) 0%, rgba(233, 92, 20, 0.80)20%, rgba(233, 92, 20, 0.80) 80%, rgba(233, 92, 20, 0.00) 100%);
    left: 50%; 
    transform: translateX(-50%);
    bottom: 4px;
    z-index: -1;
}

.SubTitle {
	display: inline-block;
	color: var(--primary);
	text-align: center;
	font-size: 32px;
	font-weight: 700;
    line-height: 1.2;
}

.subtitle-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: var(--spacing-32);
	align-items: center;
	margin-bottom: var(--spacing-4);
}

.subtitle-container .line {
	flex: 1;
	height: 1px;
	background: var(--line);
}

.yuanta-content{
    font-size: 24px;
    text-align: center;
    font-weight: 500;
}

.Item {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.map-link{
    vertical-align: middle;
    margin-left: 8px;
}

.contactus .wrapper{
   padding: 60px 0px 27px 0px;
}

.bg-deco {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.scroll-fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.address-inline,.time-inline {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.pig-cirlce {
    background-image: url(../IMG/BG_Element/pig-circle.png);
    width: 344px;
    height: 245px;
    bottom: -120px;
    right: -200px;
}

.tech-img{
    background-image: url(../IMG/BG_Element/tech-img.png);
    width: 64px;
    height: 442px;
}

.tech-right{
    top: 0;
    right: -80px;
}

.tech-left{
    top: 240px;
    left: -80px;
}

.line-chart{
    background-image: url(../IMG/BG_Element/line-chart.png);
    width: 162px;
    height: 142px;
    bottom: -120px;
    left: -100px;
}

@media (max-width: 1439px) {

		.kv-img {
        height: auto;
        padding-bottom: 50%;
        background-size: cover;
        background-position: center;
    }

	.about{
		padding: 60px 140px 40px 140px;
	}
	.about{
        flex-direction: column;
        gap: 16px;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 24px;
		padding: 24px;
    }
    
    .pig-cirlce{
        width: 272px;
        height: 194px;
        right: -120px;
    }

    
}

@media (max-width: 1279px) {

    .card-style{
        padding: 64px;
    }

        .join-container {
        padding: 40px 32px;
    }

    .pig-cirlce,.line-chart,.tech-img{
        display: none;
    }
  }

@media (max-width: 1023px) {
    .container {
        width: 100%;
      }

      .card-style{
        padding: 40px;
    }


    .wrapper{
        max-width: none;
        width: 100%;
		padding: 40px 32px;
	}

    .contactus .wrapper{
        padding: 40px 32px 27px 32px;
    }
  }

  

@media (max-width: 767px) {

    .logo a {
        width: 138px;
        height: 24px;
    }

	.wrapper {
		width: 100%;
		padding: 64px 16px;
	}
    .container {
		width: 100%;
		padding: 0 24px;
		height: 56px;
	}

    .card-style{
        padding: 24px;
        box-shadow: 0 0 20px 0 rgba(225, 204, 255, 0.70);
    }

	.KV {
        margin-top: 56px;
    }

    .kv-img {
        background-image: url(../IMG/Banner/KV_360.png);
		aspect-ratio: 360 / 386;
    }

    .block-title{
        gap: 16px;
        margin-bottom: 32px;
    }

    .Title,.Title-White{
        font-size: 28px;
    }

    .contactus .wrapper {
    padding: 32px 16px 26px;
    }

    .contact-block{
        flex-direction: column;
        gap: 20px;
    }

    .yuanta-content{
        font-size: 18px;
    }

    .footer-inline {
        width: 100%;
        flex-direction: column;
        gap: var(--spacing-8);
    }

    .join-container{
        padding: 32px 16px;
    }

    .SubTitle {
		font-size: 26px;
	}

	.subtitle-container {
		gap: var(--spacing-16);
		margin-bottom: var(--spacing-12);
	}

    .TitleContent{
        font-size: 18px;
    }

}