/* banner-content */
.banner-content_img {
    height: 400px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center top;
}

.banner-content {
    padding: 80px 0 0 0;
}

.chemistry_rows {
    padding-top: 0;
}

.banner-content.second_type {
    padding: 100px 0 100px 0;
}

.chemistry_cont {
    z-index: 11;
    max-width: 100%;
}

.chemistry_cont .cont-title {
    font-size: 30px;
    letter-spacing: 5px;
}

.chemistry_cont .cont-en {
    line-height: 1.1;
    letter-spacing: 1px;
}

.chemistry_cont .cont-text {
    letter-spacing: 2px;
}

.chemistry_cont .cont-title-en .cont-title-en-title1 {
    left: 0;
    top: 0;
}

.chemistry_cont .cont-title-en .cont-title-en-title2 {
    left: 0;
    top: 0;
}

/*  */
@keyframes fly-in {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.cont-title-en-title1 span,
.cont-title-en-title2 span {
    display: inline-block;
    opacity: 0;
    animation: fly-in 1.5s ease-out forwards;
}

.cont-title-en-title1 span:nth-child(1) {
    animation-delay: 0s;
}

.cont-title-en-title1 span:nth-child(2) {
    animation-delay: 0.5s;
}

.cont-title-en-title1 span:nth-child(3) {
    animation-delay: 0.8s;
}

.cont-title-en-title1 span:nth-child(4) {
    animation-delay: 1s;
}

.cont-title-en-title1 span:nth-child(5) {
    animation-delay: 1.2s;
}

/* 按需添加更多 nth-child 規則 */

.cont-title-en-title2 span:nth-child(1) {
    animation-delay: 0s;
}

.cont-title-en-title2 span:nth-child(2) {
    animation-delay: 0.5s;
}

.cont-title-en-title2 span:nth-child(3) {
    animation-delay: 0.8s;
}

.cont-title-en-title2 span:nth-child(4) {
    animation-delay: 1s;
}

.cont-title-en-title2 span:nth-child(5) {
    animation-delay: 1.2s;
}

.cont-title-en-title2 span:nth-child(6) {
    animation-delay: 1.4s;
}

/* 按需添加更多 nth-child 規則 */

/* 特約診所內容 */
.branch-section {
    padding: 50px 0 50px 0;
}

/* .branch-section:before {
    content: '';
    display: block;
    width: 1px;
    height: 130px;
    background: #987d74;
    position: absolute;
    top: 40px;
    right: 0;
    margin: auto;
    left: 0;
}
.branch-section:after {
  content: '';
  display: block;
  position: absolute;
  border: 1px solid #987d74;
  width: 10px;
  height: 10px;
  border-radius: 50px;
    top: 180px;
    right: 0;
    margin: auto;
    left: 0;
} */

.branch-section-select-option {
    max-width: 600px;
    border-radius: 8px;
    padding: 0 15px;
}

.branch-section-select-option .col-3 {
    padding: 0;
}

.branch-section-select-option h2 {
    height: 50px;
    line-height: 50px;
    border-right: #bdafa7 solid 1px;
    background: #534741;
    color: #fff;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.branch-section-select-option h2.active {
    background: #e07d19;
}

.branch-section-select-option .col-3:first-child h2 {
    border-radius: 8px 0 0 8px;
}

.branch-section-select-option .col-3:last-child h2 {
    border-radius: 0 8px 8px 0;
}

.team_content_doctor_title {
    position: relative;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.team_content_doctor_title:before {
    content: "";
    display: inline-block;
    width: 90px;
    height: 2px;
    background: #7a7a7a;
    position: absolute;
    bottom: -1px;
    z-index: 1;
}

.news_list_content {
    margin-bottom: 0;
}

.news_list_img figure {
    margin-bottom: 0;
}

.news_list .news_list_title span {
    font-size: 22px;
    letter-spacing: 1px;
    z-index: 2;
    color: #101010;
}

.news_list .news_list_title:before {
    content: "";
    position: absolute;
    z-index: -1;
    display: inline-block;
    width: 214px;
    height: 49px;
    left: 0px;
    right: 0;
    z-index: 1;
    margin: auto;
    top: -13px;
    background-image: url(../images/locations/box-yellow-xs.png);
    background-size: 135px auto;
    background-position: center center;
    background-repeat: no-repeat;
}

.news_list .news_list_row {
    padding-left: 20px;
}

.news_list .news_list_row li {
    position: relative;
    padding-left: 0;
}

.news_list .news_list_row li {
    list-style: disc;
}

.news_list .news_list_row li:marker {
    position: relative;
    left: 20px;
}

.news_list .news_list_row_title {
    min-width: 120px;
    position: relative;
}

.news_list .news_list_row_text {
    vertical-align: text-top;
}

.contact-infomation .border_line {
    background: -webkit-gradient(linear, left top, right top, from(#e07d19), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to right, #e07d19, rgba(0, 0, 0, 0));
    height: 1px;
    margin: 45px 0 0px 0;
}

.knowledge_share_icon {
    display: inline-block;
    width: 90px;
    height: 36px;
    line-height: 36px;
    background: #df9300;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    vertical-align: middle;
}

.knowledge_share_icon.info_type {
    background: #333;
}

.knowledge_share_icon:hover {
    color: #fff;
}

.share_team {}

.share_team h3 {}

.share_team ul {
    padding-left: 20px;
}

.share_team li {
    list-style: disc;
}


.news_list_skill {
    margin-bottom: 15px;
}

.news_list_skill span {
    display: inline-block;
    vertical-align: top;
    height: 36px;
    line-height: 36px;
    font-size: 1.2rem;
    padding: 0 8px;
    margin: 5px 10px 5px 0;
    background: #645794;
    color: #fff;
    text-align: center;
    border-radius: 8px;
}



.accident_list {
    display: inline-block;
    width: 100%;
    position: relative;
    /* Permalink - use to edit and share this gradient. 固定鏈接 - 用於編輯和分享此漸變： https://colorzilla.com/gradient-editor/#e8e8e8+0,fcfcfc+0,e8e8e8+100 */
    background: linear-gradient(135deg, rgba(232, 232, 232, 1) 0%, rgba(252, 252, 252, 1) 0%, rgba(233, 233, 233, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    margin-bottom: 5px;
    border-radius: 8px;
    border: 1px solid #cecece;
    box-shadow: 2px 2px 2px 1px rgba(150, 150, 150, 0.1);
}

.accident_list.blue_type {
    /* Permalink - use to edit and share this gradient. 固定鏈接 - 用於編輯和分享此漸變： https://colorzilla.com/gradient-editor/#feffff+46,feffff+46,d2ebf9+100 */
    background: linear-gradient(to bottom, rgba(254, 255, 255, 1) 46%, rgba(254, 255, 255, 1) 46%, rgba(210, 235, 249, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #000;
}

.accident_list h3 {
    line-height: 1.3;
    font-size: 1.2rem;
}

.accident_list p {
    line-height: 1.5;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 0;
}

.certification_content.branch-section {
    padding: 60px 0;
}
/*  */
.time-line{
    
}
.time-line .card-item{
    position: relative;
    padding: 15px;
}
.time-line .card-item img{
    max-width: 500px;
}
.time-line .card-item:before{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    display: inline-block;
    width: 1px;
    height: 100%;
    background: #555;
}
.time-line .card-item:after{
    position: absolute;
    content: "";
    left: -3px;
    top: -5px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
}
/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.experience_item img {
  position: relative;
  display: inline-block;
  width: 60px;
  height: auto;
  z-index: 1;
}
.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
    line-height: 1.5;
}

.call-to-action p {
  color: #fff;
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
    background: var(--accent-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  color: var(--background-color);
  border: 2px solid var(--accent-color);
}
/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding-top: 60px;
  padding-bottom: 60px;
}

.testimonials .testimonial-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.testimonials .testimonial-masonry::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent-color), transparent 95%), transparent);
  opacity: 0.5;
  z-index: -1;
}

.testimonials .testimonial-item:nth-child(3n-1) {
  margin-top: 3rem;
}

.testimonials .testimonial-item:nth-child(3n) {
  margin-top: 1.5rem;
}

.testimonials .testimonial-item.highlight .testimonial-content {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern i {
  color: var(--accent-color);
}

.testimonials .testimonial-content {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .testimonial-content:hover {
  transform: translateY(-5px);
}

.testimonials .testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  position: relative;
}

.testimonials .quote-pattern {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .quote-pattern i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.testimonials .client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .client-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonials .client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials .client-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
    color: #fff;
}

.testimonials .client-details .position {
  font-size: 1rem;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

@media (max-width: 1199.98px) {
  .testimonials .testimonial-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonials .testimonial-item:nth-child(3n-1),
  .testimonials .testimonial-item:nth-child(3n) {
    margin-top: 0;
  }

  .testimonials .testimonial-item:nth-child(even) {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials .testimonial-masonry {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonials .testimonial-item:nth-child(even) {
    margin-top: 0;
  }

  .testimonials .testimonial-content {
    padding: 1.5rem;
  }

  .testimonials .testimonial-content p {
    font-size: 0.9375rem;
    margin: 1.25rem 0;
  }

  .testimonials .quote-pattern {
    width: 2.25rem;
    height: 2.25rem;
    top: -1.125rem;
  }

  .testimonials .quote-pattern i {
    font-size: 1.125rem;
  }

  .testimonials .client-info {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .testimonials .client-image {
    width: 45px;
    height: 45px;
  }

  .testimonials .client-details h3 {
    font-size: 1.3rem;
  }

  .testimonials .client-details .position {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-overview {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats .stats-overview .stats-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.stats .stats-overview .stats-description {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.stats .stats-overview .stats-cta {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.stats .stats-overview .stats-cta .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.stats .stats-overview .stats-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.stats .stats-overview .stats-cta .btn-outline {
  border: 2px solid var(--heading-color);
  color: var(--heading-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background-color: transparent;
  transition: all 0.3s ease;
}

.stats .stats-overview .stats-cta .btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .stats .stats-overview {
    margin-bottom: 3rem;
  }
}

.stats .stats-card {
  background-color: var(--surface-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.stats .stats-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats .stats-card .stats-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--accent-color);
}

.stats .stats-card .stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
  line-height: 1;
}

.stats .stats-card .stats-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--default-color);
}

.stats .achievements-gallery {
  margin-top: 2rem;
}

.stats .achievements-gallery .achievement-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.stats .achievements-gallery .achievement-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.stats .achievements-gallery .achievement-item .achievement-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.stats .achievements-gallery .achievement-item .achievement-content h4 {
  color: var(--contrast-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stats .achievements-gallery .achievement-item .achievement-content p {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.stats .achievements-gallery .achievement-item:hover img {
  transform: scale(1.1);
}

.qun-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.qun-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.qun-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.qun-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.qun-title p {
  margin-bottom: 0;
}
/* 響應式裝置========== */
@media only screen and (min-width : 992px) {
    .branch-section .container {
        max-width: 950px;
        margin: 0 auto;
    }

    .news_list .news_list_img {
        max-width: 40%;
    }

    .news_list .news_list_text {
        width: 100%;
    }

    .banner-content_img .chemistry_cont {
        margin-top: 60px;
    }

    .banner-content_img .chemistry_cont .cont-title-en {
        white-space: nowrap;
        font-size: 70px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1366px) {}

@media only screen and (max-width : 991px) {
    .news_list .news_list_row li {
        font-size: 17px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .news_list .news_list_img {
        max-width: 40%;
    }
}

@media only screen and (max-width : 991px) {
    .chemistry_cont .cont-title-en {
        font-size: 40px;
    }
}

@media only screen and (max-width : 767px) {
    .banner-content {
        padding: 70px 0 0px 0;
    }

    .banner-content_img {
        background-image: url(../images/locations/banner_new-xs.jpg?v=20240518) !important;
        background-position: center top;
        background-size: cover;
    }

    .chemistry_rows {
        padding-top: 40px;
    }

    .contact-infomation .chemistry_rows {
        padding-top: 0;
    }

    .chemistry_cont .cont-title-en {
        font-size: 45px;
        line-height: 1.1;
        letter-spacing: 1.5px;
    }

    .contact-infomation {
        padding: 0px 0 0px 0;
    }

    .news_list_content {
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .branch-section {
        padding: 0 0 0 0;
    }
}

@media only screen and (max-width : 330px) {}

/* ==========響應式裝置 */