
/* Common Style */



.chip{
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    font-size: 16px;
    background-color: #FDEFE6;
    color: #EB6100;
    padding: 2px 6px;
    border-radius: 10px;
    width: fit-content;
}

.chip-line{
    display: flex;
    gap: 8px;
}

.main-button {
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 600; 
    color: #005BAC;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: auto;
    transition: color 0.3s ease;
  }

  
  .angle-right {
    background-image: url(../Image/angle-right.svg);
    width: 32px;
    height: 32px;
    background-size: cover;
    transition: 
      background-image 0.3s ease,
      transform 0.3s ease; 
  }



  .main-button:hover {
    color: #005BAC;
  }
  
  .main-button:hover .angle-right {
    transform: translateX(8px); 
    background-image: url(../Image/angle-hover.svg);
  }
    .angle-outline{
        background-image: url(../Image/angle-outline.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 32px;
        height: 32px;
        transition: transform 0.3s ease;
    }

    .company-item:hover .angle-outline {
    transform: translateX(8px);
    }

.main-title{
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 600;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin:  0 auto;
    color: #323232;
}

.square{
    width: 12px;
    height: 12px;
    background-color: #BB925B;
    border-radius: 2px;
    flex-shrink: 0;
}


.line{
    height: 1px;
  background-color: #BB925B;
  flex-grow: 1;
  transform: scaleX(0);
  transform-origin: center;
  
}

.line.animate {
  animation: growLine 0.8s ease-out forwards;
}

.main-title .line:first-of-type {
    transform-origin: right;
    animation-delay: 0s;
  }
  
  .main-title .line:last-of-type {
    transform-origin: left;
    animation-delay: 0.15s;
  }

@keyframes growLine {
    to {
      transform: scaleX(1);
    }
}

.title-content{
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    text-align: center;
    margin-top: 32px;
    font-size: 18px;
    color: #323232;
}

.group-hiring,.job-search,.employee-training,.learning-domains,.health-welfare{
    max-width: 1200px;
    margin:  0 auto;
    padding: 100px 48px;
    overflow-x: hidden;
}

@media (max-width: 1279px) {

    .group-hiring,.job-search,.employee-training,.learning-domains,.health-welfare{
        padding: 80px 48px;
    }
}

@media (max-width: 1023px) {

    .group-hiring,.job-search,.employee-training,.learning-domains,.health-welfare{
        padding: 60px 32px;
    }

    .title-content{
        margin-top: 20px;
    }

    .main-button{
        font-size: 18px;
    }
   
    .angle-outline{
        width: 24px;
        height: 24px;
    }

    .company-item:hover .angle-outline {
    transform: none;
    }

    .main-button:hover .angle-right {
    transform: none; 
    background-image: url(../Image/angle-right.svg);
    }
}


@media (max-width: 767px) {
	.container{
		height: 60px;
	}

    .group-hiring,.job-search,.employee-training,.learning-domains,.health-welfare{
        padding: 40px 16px;
    }

    .main-title{
        gap: 16px;
    }

    .square{
        width: 8px;
        height: 8px;
    }

    .chip{
        font-size: 14px;
    }

  
}

/* -- KV-- */

.banner{
    position: relative;
    margin-top: 80px;
}

.kv-container{
    background-image: url(../Image/kv-banner/kv-background.png);
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.parallelogram-olive {
    position: absolute;
    width: 16px;
    height: 600px;
    left: calc(10% + 36vw); 
    background-color: #B3A882;
    transform: skew(-29deg) scaleY(0);
    transform-origin: bottom;
    animation: growUp 0.6s ease-in-out forwards;
    z-index: 2;
  }
  
  @keyframes growUp {
    from {
      transform: skew(-29deg) scaleY(0);
    }
    to {
      transform: skew(-29deg) scaleY(1);
    }
  }

  .parallelogram-blue {
    position: absolute;
    width: 24px;
    height: 600px;
    left: calc(9% + 36vw); 
    background-color: #005BAC;
    transform: skew(-29deg) scaleY(0);
    transform-origin: bottom;
    animation: growUp-blue 1s ease-in-out forwards;
    z-index: 1;
  }
  
  @keyframes growUp-blue {
    from {
      transform: skew(-29deg) scaleY(0);
    }
    to {
      transform: skew(-29deg) scaleY(1);
    }
  }



   .hero-title::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 250px;
    top: 0;
    left: calc(80% - 30.5vw);
    background-color: #B3A882;
    transform: skew(-30deg) scaleY(0);
    transform-origin: top;
    animation: growUp-left 0.6s ease-in-out forwards;
    z-index: 2; 
  }
  
  @keyframes growUp-left {
    from {
      transform: skew(-30deg) scaleY(0);
    }
    to {
      transform: skew(-30deg) scaleY(1);
    }
  } 
  
  

.kv-content{
    max-width: 1200px;
    position: absolute;
    top: 0;              
    left: 50%;
    transform: translateX(-95%);
}

.hero-container{
    width: fit-content;
}

.hero-container .main-button{
    width: fit-content;
}


.hero-title{
    display: flex;
    color: #005BAC;
    gap: 32px;
    padding-top: 40px;
    white-space: nowrap;
    overflow-x: hidden;
}

.hero-title p{
    font-size: 64px;
    letter-spacing: 6px;
}

.hero-title span{
    font-size: 96px;
    letter-spacing: 6px;
}

.second-hero{
    color: #9A8F6B;
    font-size: 32px;
}

.title-line{
    width: 100%;
    height: 1px;
    background-color: #BCBCBC;
    margin: 32px 0px 32px 0px;
}

.hero-content{
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #323232;
    margin-bottom: 16px;
}



.social-gruop{
    display: flex;
    gap: 16px;
    margin-top: 32px;
    align-items: center;
}

.social-link{
    display: flex;
    align-items: center;
    font-size: 24px;
    gap: 8px;
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 700;
    color: #323232;
}

.social-line{
    width: 1px;
    height: 32px;
    background-color: #323232;
}

@media (max-width: 1919px) {
    .hero-title::before {
        width: 18px;
        left: calc(-4vw + 9%);
      }
}

@media (max-width: 1439px) {

    .kv-container{
        background-image: url(../Image/kv-banner/kv-background-1280.png);
        height: 560px;
        min-height: 0;
    }

    .hero-title::before {
        width: 18px;
        left: calc(-4vw + 6%);
    }

    .hero-title p{
        font-size: 46px;
        letter-spacing: 2px;
    }
    
    .hero-title span{
        font-size: 72px;
        letter-spacing: 2px;
    }
    
    .title-line{
        margin: 24px 0px 24px 0px;
    }

    .parallelogram-olive {
        width: 10px;
        height: 560px;
        left: calc(12% + 36vw); 
      }
    
      .parallelogram-blue {
        width: 16px;
        height: 560px;
        left: calc(11% + 36vw); 
      }

      @keyframes growUp {
        from {
          transform: skew(-28deg) scaleY(0);
        }
        to {
          transform: skew(-28deg) scaleY(1);
        }
      }

      @keyframes growUp-blue {
        from {
          transform: skew(-28deg) scaleY(0);
        }
        to {
          transform: skew(-28deg) scaleY(1);
        }
      }
}

@media (max-width: 1279px) {

	.kv-container{
        background-image: url(../Image/kv-banner/kv-background-768.png);
        aspect-ratio: 768 / 443; 
        height: auto;
    }

    .kv-content{
        position: static;         
        transform: none;          
        left: auto;              
        margin: 0 auto;            
        padding: 0 32px; 
    }

    .hero-container{
        max-width: 960px;
        width: 100%;
        margin: 0 auto;
    }
    
    .second-hero,.hero-content{
        text-align: center;
    }

    .hero-title{
        justify-content: center;
        padding-top: 16px;
    }

    .hero-title p{
        font-size: 40px;
    }
    
    .hero-title span{
        font-size: 64px;
    }

    .hero-container .main-button{
        width:fit-content ;
        margin: 0 auto;
    }
    

    .social-gruop{
        justify-content: center;
        margin-top: 32px;
        margin-bottom: 40px;
    }

    .social-link{
        font-size: 18px;
    }

    .social-link img{
        width: 24px;
        height: 24px;
    }

    .hero-title p{
        font-size: 40px;
    }
    
    .hero-title span{
        font-size: 64px;
    }

    .parallelogram-olive {
        width: 18px;
        height: 102px;
        right: 16%;
        left: auto;
        bottom: 0;
      }
    
      .parallelogram-blue {
        width: 32px;
        height: 330px;
        bottom: 0;
        left: auto;
        right: 16%;
      }

      .hero-title::before {
        width: 2vw;
        height: 20vw;
        left: 14.5vw;
    }

      @keyframes growUp {
        from {
          transform: skew(-28deg) scaleY(0);
        }
        to {
          transform: skew(-28deg) scaleY(1);
        }
      }

      @keyframes growUp-blue {
        from {
          transform: skew(-28deg) scaleY(0);
        }
        to {
          transform: skew(-28deg) scaleY(1);
        }
      }
}

@media (max-width: 767px) {

    .banner{
        position: relative;
        margin-top: 56px;
    }

    .kv-container{
        background-image: url(../Image/kv-banner/kv-background-360.png);
        aspect-ratio: 360 / 209; 
        height: auto;
    }

    .hero-title{
        gap: 16px;
    }

    .hero-title p{
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .hero-title span{
        font-size: 42px;
        letter-spacing: 2px;
    }
    
    .hero-content {
        font-size: 16px;
    }

    .second-hero{
        font-size: 20px;
    }

    .title-line{
        margin: 16px 0px 16px 0px;
    }

    .kv-content{
        padding: 0 16px;
    }

    .hero-content br:nth-of-type(2),
.hero-content br:nth-of-type(3),
.hero-content br:nth-of-type(4){
  display: none;
}

.parallelogram-olive {
    width: 8px;
    height: 80px;
    right: 16%;
    left: auto;
    bottom: 0;
  }

  .parallelogram-blue {
    width: 18px;
    height: 330px;
    bottom: 0;
    left: auto;
    right: 16%;
  }
   
}


/* -- Scroll Tab-- */

.tabs {
    position: sticky;
    top: 80px;
    width: 100%;
    background-color: white;
    box-shadow: 0px 6px 19px 0px #D2D2D2;
    z-index: 9999;
  }
  
.tabs-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

  .tab-button {
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 600;
    width: 100%;
    padding:16px 24px;
    border: none;
    background-color: white;
    color: #737373;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.2s;
  }
  

  
  .tab-button:hover {
    color: #4c4c4c;
  }
  
  .tab-button.active {
    color: #005BAC;
    border-bottom: 4px solid #005BAC;
  }
  
 
  
  #section1 { background-color: #F6F6F6;position: relative;z-index: 999; }
  #section2 { background-color: white; }
  #section3 { background-color: #F5FAFF;}

   #section1::after {
    content: "";
    display: block;
    background-image: url(../Image/section1-background.png);
    width: 100%;
    height: 1700px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
  }

  #section3{
    background-image: url(../Image/section3-background.png);
    background-size: cover;
    background-position: center;

  } 
  @media (max-width: 1280px) {
    #section1::after {
        height: 1200px;
        bottom: 0;
      }
  }
  @media (max-width: 1023px) {
	.tab-button {
        font-size: 18px;
        padding: 12px;
    }

    #section1::after {
        height: 1200px;
        bottom: 0;
      }
}

@media (max-width: 767px) {
	.tabs {
        top: 60px;
    }
    #section1::after {
        bottom: 100px;
      }
}



  /* -- Group Hiring -- */


  .hiring-block{
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 64px;
  }

 

  .hiring-image{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
    transition: transform 0.4s ease;
  }

    .hiring-image[data-banner="ma"] {
    background-image: url(../Image/hiring-block/MA-Banner.png);
  }

  .hiring-image[data-banner="itmt"] {
    background-image: url(../Image/hiring-block/ITMT-Banner.png);
  } 

  .hiring-item:hover .hiring-image {
    transform: scale(1.05); 
  }

  .hiring-item{
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
  }

  .hiring-item:hover .angle-right {
    transform: translateX(8px);
    background-image: url(../Image/angle-hover.svg);
  }

  .hiring-content{
    width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
  }

  .hiring-title{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 16px 0px;
    border-bottom: 1px solid #E5E5E5;
    color: #323232;
    gap: 8px;
  }

  .hiring-name{
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hiring-name span{
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #737373;
  }

  .time{
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    font-size: 18px;
    font-weight: 400;
    color: #323232;
  }

  .hiring-content .main-button{
    justify-content: flex-end;
    margin-top: 24px;
  }

  @media (max-width: 1023px) {

    .hiring-image{
        width: 40%;
    }

    .hiring-block{
        margin-top: 40px;
    }

    
    .hiring-content{
        padding: 16px 24px;
    }

    .hiring-title{
        padding: 12px 0px;
    }

    .time{
        font-size: 16px;
    }

    .hiring-item:hover .hiring-image {
    transform: none; 
    }

    .hiring-content .main-button{
        margin-top: 16px;
}

}

@media (max-width: 1280px) {
        .hiring-content{
        width: 80%;
    }
}


@media (max-width: 960px) {

    .hiring-title{
        flex-direction: column;
        align-items: flex-start;
    }

    .hiring-image{
        width: 60%;
    }
}

@media (max-width: 767px) {

    .hiring-image{
        width: 80%;
    }

    .hiring-title{
        width: 100%;
    }

    .hiring-content{
        padding: 16px;
    }

    .hiring-content .main-button{
        margin-top: 16px;
    }

    .chip-line{
        gap: 4px;
    }
}

@media (max-width: 660px) {
    .hiring-item{
        flex-direction: column;
    }
    .hiring-image{
        width: 100%;
        aspect-ratio: 1.6/1;
    }
    .hiring-content{
        width:auto;
    }
}


 /* -- Job Search -- */


.company-block{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.company-item{
    position: relative;
    height: 160px;
    background-color: white;
    border-left: 6px solid #005BAC;
    cursor: pointer;
    overflow: hidden;
}

.company-link{
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    padding: 24px;
    color: #323232;
}

.company-image{
    width: 120px;
    height: 120px;
    position: absolute;
    right: -24px;
    bottom: -16px;
    opacity: 0.15;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.company-item:hover .company-image {
    opacity: 1;
    transform: scale(1.1);
}

.company-item:hover .angle-right {
    background-image: url(../Image/angle-hover.svg); 
}

.job-search .main-title br,.company-item .center-icon br{
    display: none;
}
@media (max-width: 1280px) {

    

    .company-image{
        width: 100px;
        height: 100px;
        right: -16px;
    }

    .company-block{
        gap: 24px;
    }

    .company-item{
        height: 128px;
    }


    .company-link{
        padding: 16px 12px;
    }

    .company-image{
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 1023px) {

    .company-block{
        gap: 16px;
        grid-template-columns: repeat(3, 1fr);
    }

    .company-item{
        height: 102px;
    }

    .company-image{
        width: 84px;
        height: 84px;
        right: -16px;
        bottom: -16px;
        opacity: 1;
    }

    .company-item:hover .company-image {
        transform: none;
    }

    .hiring-item:hover .angle-right {
        transform: none;
        transition: none;
        background-image: url(../Image/angle-right.svg); 
}

    .company-link{
        font-size: 18px;
    }

    .company-item:hover .angle-right {
     background-image: url(../Image/angle-right.svg); 
    }

    
}



@media (max-width: 767px) {
    
    .company-block{
        margin-top: 40px;
    }

    .job-search .main-title br{
        display: block;
    }

    .job-search .main-title h3{
        text-align: center;
    }

    .company-image{
        width: 60px;
        height: 60px;
        right: -10px;
        bottom: -10px;
    }

    .company-link{
        padding: 16px;
    }

}
@media (max-width: 622px) {
    .company-block{
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 420px) {
    .mt{
        margin-bottom: 26px;
    }

    .company-item .center-icon br{
        display: block;
    }
}


/* employee-training */


.level-content{
    position: relative;
    padding-bottom: 120px;
    margin-top: 104px;
}


.employee-level{
    position: absolute;
    right: 0;
    bottom: 5px;
}


.dot{  
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.first{ color: #4291D8; }
.second{ color: #267CC9; }
.third{ color: #00539D; }
.fourth{ color: #00417A; }

.first-dot{ background-color: #4291D8; }
.second-dot{ background-color: #267CC9; }
.third-dot{ background-color: #00539D; }
.fourth-dot{ background-color: #00417A; }

.employee-item{
    padding: 10px 0px 10px 60px;
    border-bottom: 2px solid #E3E1D8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 70%;
}

.employee-title{
    display: flex;
    gap: 8px;
    align-items: center;
}


.employee-item p{
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    width: 55%;
    color: #737373;
    font-size: 18px;
    padding-left: 24px;
}

@media (max-width: 1279px) {

    .level-content{
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0;
        margin-top: 64px;
    }
    .employee-level{
        position: static;
        margin: 0 auto;
        order: 1;
        max-width: 480px;
    }
    .employee-block{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        order: 2;
        padding: 24px 40px;
    }

    .employee-item{
        width: 100%;
        padding: 10px 0px;
        border-bottom: none;
    }

    .employee-item p{
        width: auto;
    }

}


@media (max-width: 1023px) {
    .employee-training .title-content br:nth-of-type(2),
    .employee-training .title-content br:nth-of-type(3) {
        display: none;
    }

    .employee-level{
        max-width: 324px;
    }

    .employee-block{
        gap: 24px;
        padding: 24px 16px;
    }
}

        


@media (max-width: 767px) {
    
    .level-content{
        margin-top: 40px;
    }

    .employee-block{
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        padding: 0;
    }
}



/* learning-domains */

.learning-block{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 64px;
    margin-bottom: 40px;
}

.learning-item{
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    perspective: 1000px;
    width: 100%;
    height: auto;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    display: grid;
    flex-direction: column;
    transition: transform 0.6s;
    transform-style: preserve-3d;

  }


  @media (min-width: 1024px) {
    .learning-item:hover .flip-card-inner {
      transform: rotateY(180deg);
    }
  }
  
  @media (max-width: 1023px) {
    .learning-item.flipped .flip-card-inner {
      transform: rotateY(180deg);
    }
  }


  
  .flip-card-front,
  .flip-card-back {
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    backface-visibility: hidden;
    background-color: white;
    border: 1px solid #E9E9E9;
    border-top: 12px solid #005BAC;
    border-bottom: 4px solid #005BAC;
    box-sizing: border-box;
    padding: 16px 0px; 
  }
  
  .flip-card-front {
    gap: 20px;
    justify-content: center;
  }
  
  .flip-card-back {
    justify-content: flex-start;
    gap: 10px;
    transform: rotateY(180deg);
  }
  
  .flip-card-back li {
    font-family: 'NotoSansTC-Regular', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    list-style-type: disc;
  }
  

  .flip-card-back .learning-link .angle-outline-back{
    transform: rotate(180deg);
  }


  
  


.learning-link{
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    gap: 8px;
    color: #323232;
}

  
  .angle-outline {
    transition: transform 0.3s ease;
  }
  

.learning-image{
    width: 70px;
    height: 70px;
}



.learning-domains .main-button,.health-card .main-button{
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .learning-block{
        grid-template-columns: repeat(4, 1fr);
    }

    .learning-domains .title-content br{
        display: none;
    }

    .angle-outline-back{
        width: 24px;
    }
}

@media (max-width: 840px) {
    .learning-block{
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 600px) {
    .learning-block{
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    

    .flip-card-inner{
        height: 220px;
    }
    .flip-card-back li {
        font-size: 16px;
        line-height: 1.6;
    }

    .learning-link{
        font-size: 18px;
    }
}



/* health-welfare */


.health-block{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto;
    width: 100%;
}

.health-title{
    font-family: 'NotoSansTC-SemiBold', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #323232;
    border-bottom: 2px solid #e9e9e9;
    padding-bottom: 12px;
    text-align: center;
}

.health-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 64px;
    background-color: #fafafa;
}

.health-spacing{
    padding-top: 64px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.health-card{
    background-color: white;
    padding: 40px;
}

.health-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.health-item h5{
    text-align: center;
    color: #323232;
}

.health-item img{
    width: 170px;
    height: 170px;
}

.health-item br{
    display: none;
}


@media (max-width: 1200px) {
    .health-item br{
        display: block;
    }
}
@media (max-width: 1023px) {

    .health-block{
        gap: 16px;
    }

    .health-item img{
        width: 120px;
        height: 120px;
    }


    .health-card .title-content br:nth-of-type(2){
        display: none;
    }

    .health-container{
        padding: 24px;
    }

    .health-title{
        font-size: 20px;
    }

    
   
}



@media (max-width: 685px) {

    .health-block{
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        padding-top: 0;
    }

   .health-item{
    gap: 8px;
   }
    .health-item img{
        width: 100px;
        height: 100px;
    }

    .health-container{
        padding: 16px 24px;
    }

    .health-spacing{
        gap: 16px;
        padding-bottom: 32px;
    }

    .health-card{
        padding: 24px 16px;
    }
    .health-item h5{
        font-size: 16px;
    }

}



/* animate */
.fade-up,
.fade-right,
.fade-left {
  opacity: 0;
  transition: opacity 0.5s ease-in, transform 0.5s ease-out;
  will-change: opacity, transform;
}

/* 初始位移方向 */
.fade-up {
  transform: translateY(80px);
}

.fade-right {
  transform: translateX(-50px);
}

.fade-left {
  transform: translateX(80px);
  /* 若你希望 left 動畫更快，也可單獨覆蓋 transition 時間： */
  /* transition: opacity 0.4s ease-in, transform 0.6s ease-out; */
}

.fade-up.show,
.fade-right.show,
.fade-left.show {
  opacity: 1;
  transform: translate(0, 0);
}



.delay-02{
    transition-delay: 0.2s !important;
}
.delay-04 {
    transition-delay: 0.4s !important;
  }
.delay-06{
    transition-delay: 0.6s !important;
}
.delay-08{
    transition-delay: 0.8s !important;
}
  
.go-top{
    position: relative;
    z-index: 99999;
    background-color: #323232;
    opacity: 0;
    border-radius: 50%;
    padding: 12px;
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.go-top.show {
  opacity: 0.7;
  visibility: visible;
    pointer-events: auto;
}

.go-top:hover {
  opacity: 1;
}

@media (max-width: 767px) {
    .go-top{
        right: 16px;
        bottom: 16px;
    }
}