/* banner-content */
.banner-content {
    padding: 120px 0 60px 0;
    background: #fff;
}

.banner-content {
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    overflow: hidden;
    position: relative;
}

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

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

.chemistry_cont .cont-title-en {
    font-size: 70px;
    line-height: 1.1;
    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;
}

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

/*  */
@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;
}

/* 蝴蝶 */
.butterfly.second_type {
    position: absolute;
    z-index: 11;
    width: 150px;
    margin: auto;
    left: 200px;
    right: auto;
    top: -70px;
}

/* 翻牌效果 */
@keyframes flipIn {
    0% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateY(-10deg);
        opacity: 1;
    }

    70% {
        transform: perspective(400px) rotateY(10deg);
    }

    100% {
        transform: perspective(400px) rotateY(0deg);
    }
}

.flipIn {
    animation-name: flipIn;
}

/* secondary_content */
.knowledge_list {
    margin-bottom: 60px;
}

/*banner*/
/*banner end*/
.knowledge_content_content img {
    padding: 10px;
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.news_list_block_other {
    border-bottom: 1px solid #eee;
}

.news_list_block.border_none {
    border-bottom: 0px solid #cfcfcf;
}

.news_rows {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 55px;
}

.cont_date {
    position: absolute;
    top: 10px;
    font-size: 50px;
    z-index: 3;
    letter-spacing: 1px;
    left: -20px;
}

.cont_date i {
    display: block;
    width: 40px;
    height: 2px;
    background: #534741;
    margin-bottom: 12px;
}

.rows_img {
    position: relative;
    display: inline-block;
    height: 297px;
    width: 297px;
    border-radius: 297px 297px;
    background-repeat: no-repeat;
    background-position: center right;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-transition: all 1s ease-in;
    -o-transition: all 1s ease-in;
    transition: all 1s ease-in;
}

.rows_img:hover .rows_img_hover {
    width: 100%;
    height: 100%;
}

.rows_img:hover .rows_img_hover:after {
    width: 100%;
    height: 100%;
}

.rows_img.animated {
    background-position: center center;
}

.rows_img_hover {
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 297px 297px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}

.rows_img_hover:after {
    position: absolute;
    content: "";
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 0;
    height: 0;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 297px 297px;
    z-index: 2;
    background: url(../images/common_icon/hover_icon.png), rgba(255, 255, 255, 0.3);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 87px auto;
    -webkit-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}

.rows_content {
    position: relative;
    width: calc(100% - 310px);
    z-index: 2;
    display: inline-block;
    vertical-align: top;
    padding: 55px 0 0 45px;
    font-size: 18px;
}

.rows_content p.cont_title {
    position: relative;
    font-size: 26px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.rows_content p.cont_title:before {
    content: "";
    position: absolute;
    z-index: -1;
    display: inline-block;
    width: 214px;
    height: 49px;
    left: -95px;
    top: -3px;
    background-image: url(../images/common_icon/sec2_title_bg.png);
    background-position: left top;
    background-repeat: no-repeat;
}

.rows_content p.cont_txt {
    letter-spacing: 1px;
}

.cont_list {
    padding-left: 20px;
    letter-spacing: 1px;
    font-size: 18px;
    margin-top: 20px;
}

.cont_list li {
    list-style: disc;
    padding-left: 0;
    margin-bottom: 5px;
}

.cont_list_hot {
    background: #e07d19;
    border-radius: 5px;
    padding: 1px 10px 2px 10px;
    color: #fff;
    font-size: 16px;
}

.rows_content a {
    position: relative;
    display: inline-block;
    width: 145px;
    max-width: 145px;
    height: 44px;
    line-height: 40px;
    border: 1px dotted #999;
    bottom: -13px;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
}

.checklist-container {
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: #FFA500;
    /* 自訂勾選框顏色 */
}

.checklist-item label {
    margin: 0;
}

.knowledge h2 {
    font-size: 25px;
    margin-bottom: 20px;
}

h2.knowledge_content_title.only_title {
    font-size: 32px;
}

.contact-infomation .border_line,
.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: 15px 40px 15px 0;
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors {
    padding: 50px 0 0 0;
}

.doctors .team-member {
    background-color: var(--surface-color);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #eaeaea;
    position: relative;
    border-radius: 5px;
    transition: 0.5s;
    padding: 0;
    height: 100%;
}

/* news */
.events-content {
    padding: 50px 0 20px 0;
}

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #444444;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #222222;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #34b7a7;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #444444;
    /* The default color of the main navmenu links */
    --nav-hover-color: #34b7a7;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #34b7a7;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

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

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

.section-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;
}

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

.section-title p {
    margin-bottom: 0;
}

.news_list_skill {
    margin-bottom: 15px;
}

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

.news_list_row {
    padding-left: 25px;
}

.news_list_row li {
    list-style: disc;
    font-size: 1.1rem;
}

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

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 80px 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action .counter {
    width: 140px;
    display: inline-block;
}

.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;
}

.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);
}

/*--------------------------------------------------------------
# Other Section
--------------------------------------------------------------*/
.other {
    padding: 130px 0 50px 0;
}

.other .other-meta {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.other .other-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

@media (max-width: 992px) {
    .other .other-title {
        font-size: 1.5rem;
    }
}

.other .other-description {
    margin-bottom: 2rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.other .feature-list-wrapper {
    margin-bottom: 2rem;
}

.other .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.other .feature-list li i {
    color: var(--accent-color);
    font-size: 1.25rem;
    position: relative;
    top: 5px;
}

.other .profile .profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.other .profile .profile-name {
    font-size: 1.125rem;
    margin: 0;
}

.other .profile .profile-position {
    color: var(--accent-color);
    margin: 0;
    font-size: 0.875rem;
}

.other .contact-info {
    padding: 1rem 1.5rem;
    background-color: var(--surface-color);
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

.other .contact-info i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.other .contact-info .contact-label {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 0.875rem;
    margin: 0;
}

.other .contact-info .contact-number {
    font-weight: 600;
    margin: 0;
}

.other .image-wrapper {
    position: relative;
}

@media (max-width: 468px) {
    .doctors .team-member {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
}

.doctors .team-member .pic {
    flex-shrink: 0;
}

.doctors .team-member .pic img {
    transition: ease-in-out 0.3s;
    background: linear-gradient(135deg, rgba(245, 246, 246, 1) 0%, rgba(219, 220, 226, 1) 55%, rgba(221, 223, 227, 1) 90%, rgba(221, 223, 227, 1) 90%, rgba(245, 246, 246, 1) 100%);
}

.doctors .team-member:hover {
    transform: translateY(-10px);
}

.doctors .team-member .member-info {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 468px) {}

.doctors .team-member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.doctors .team-member span {
    font-size: 1.1rem;
    font-weight: 500;
}

.doctors .team-member span::after {
    content: "";
    position: absolute;
    display: none;
    width: 50px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 85%);
    bottom: 0;
    left: 0;
}

@media (max-width: 468px) {
    .doctors .team-member span::after {
        left: calc(50% - 25px);
    }
}

.doctors .team-member p {
    margin: 10px 0 0 0;
    font-size: 1.1rem;
}

.doctors .team-member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

@media (max-width: 468px) {
    .doctors .team-member .social {
        justify-content: center;
    }
}

.doctors .team-member .social a {
    background: color-mix(in srgb, var(--default-color), transparent 94%);
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 36px;
    height: 36px;
}

.doctors .team-member .social a i {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 16px;
    margin: 0 2px;
}

.doctors .team-member .social a:hover {
    background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
    color: var(--contrast-color);
}

.doctors .team-member .social a+a {
    margin-left: 8px;
}

@media (max-width: 767px) {
    .checklist-container {
        margin: auto;
        max-width: 350px;
    }

    .rows_content p.cont_title {
        margin-bottom: 10px;
        text-align: center;
    }

    .rows_content p.cont_en {
        text-align: center;
    }

    .rows_content p.cont_title strong {
        display: block;
        width: 100%;
    }

    .rows_content {
        width: 100%;
        padding: 0;
    }

    .rows_img {
        max-width: 100%;
        max-height: 280px;
        width: 280px;
        height: 280px;
        border-radius: 100%;
        margin: auto;
        display: block;
    }

    .cont_date {
        left: -230px;
        right: 0;
        top: -10px;
        margin: auto;
        display: block;
        width: 80px;
        text-align: center;
    }

    .news_rows {
        max-width: 90%;
        padding-left: 0;
    }

    .bannermain_box img {
        width: 425px;
    }

    .rows_content p.cont_title:before {
        width: 214px;
        background-position: center top;
        height: 49px;
        left: -20px;
        right: 0;
        margin: auto;
        top: -8px;
    }

    .rows_content a {
        width: 100%;
    }

    .rows_content a {
        display: block;
    }
}

.rows_content a img {
    vertical-align: middle;
    margin-left: 15px;
}

/*按鈕*/
.buttonfx:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: #fff;
    z-index: -2;
    -webkit-transform: translate3D(0, 0, 0);
    -ms-transform: translate3D(0, 0, 0);
    transform: translate3D(0, 0, 0);
}

/* -------------按鈕樣式-------------- */
.buttonfx {
    outline: none;
    background: transparent;
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    transition: all .5s;
}

.buttonfx:before,
.buttonfx:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: #303030;
    /* onhover background color */
    z-index: -1;
    transform: translate3D(0, -100%, 0);
    /* move elements above button so they don't appear initially */
    transition: all .5s;
}

.buttonfx:before {
    background: #fff;
    /* button default background color */
    z-index: -2;
    transform: translate3D(0, 0, 0);
}

.buttonfx:hover {
    color: white;
}

.buttonfx:hover:after {
    transform: translate3D(0, 0, 0);
    transition: all .5s;
}

.slideleft:after {
    top: 0;
    z-index: -1;
    transform: translate3D(-101%, 0, 0);
}

.slideleft:hover:after {
    transform: translate3D(0, 0, 0);
    transition: all .5s;
}

/* 響應式裝置========== */
@media only screen and (min-width : 992px) {
    .checklist-item {
        width: 32%;
        display: inline-block;
    }

    .chemistry_cont .cont-title-en {
        white-space: nowrap;
    }

    .owl-carousel.js-marquee-carousel .owl-item img {
        max-height: 750px
    }

    .banner-content.only_type::before {
        content: '';
        position: absolute;
        z-index: 2;
        top: -30%;
        right: -10%;
        width: 100%;
        height: 100%;
        background: rgba(243, 215, 214, 0.2);
        /* 遮色片顏色和透明度 */
        transform: skewY(-40deg) scale(1, 1.2);
        /* 使遮色片傾斜 */
        transform-origin: top right;
    }

    .banner-content.only_type::after {
        content: '';
        position: absolute;
        top: -30%;
        left: 0;
        width: 120%;
        height: 120%;
        background: rgba(243, 215, 214, 0.2);
        /* 遮色片顏色和透明度 */
        transform: skewY(-45deg) scale(1, 1.4);
        /* 使遮色片傾斜 */
        transform-origin: top left;
    }
}

@media screen and (min-width: 992px) and (max-width: 1366px) {
    .chemistry_cont_brand {
        border: 1px solid #ccc;
        border-radius: 100px;
        width: 110px;
        height: 110px;
        padding-top: 9px;
        box-shadow: 2px 2px 5px 0.5px rgba(80, 80, 80, 0.1);
        /* Permalink - use to edit and share this gradient. 固定鏈接 - 用於編輯和分享此漸變： https://colorzilla.com/gradient-editor/#b5b5b5+0,eaeaea+53,ffffff+100&1+0,0+100 */
        background: linear-gradient(135deg, rgba(181, 181, 181, 1) 0%, rgba(234, 234, 234, 0.47) 53%, rgba(255, 255, 255, 0) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
}

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

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

    /*   main_marquee_info   */
    .main_marquee_info .main_marquee_info_border {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
    }

    .main_marquee_info .main_marquee_info_title {
        top: 15px;
        left: 15px;
        font-size: 35px;
        line-height: 40px;
    }

    .main_marquee_info .main_marquee_info_center {
        width: 40px;
        height: 100%;
        position: absolute;
        background-color: rgba(255, 255, 255, 0);
        top: 0;
        right: 0;
        left: auto;
        margin: auto;
        z-index: 2;
    }

    .knowledge_list_img img {
        max-width: 250px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {}

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

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

    .luxury_banner span.luxury_banner_font abbr.luxury_first_txt {
        font-size: 30px;
        line-height: 36px;
        letter-spacing: 3px;
        margin-top: 90px;
    }

    .luxury_banner span.luxury_banner_font abbr {
        width: 95%;
    }

    .luxury_banner span.luxury_banner_font abbr.luxury_second_txt {
        font-size: 18px;
    }

    .luxury_banner span.luxury_banner_font abbr.luxury_decoration {
        width: 80%;
        max-width: 330px;
        height: 50px;
        top: -35px;
    }

    .luxury_banner span.luxury_banner_border abbr {
        width: 90%;
        max-width: 420px;
    }

    .chemistry_cont_brand {
        width: 90px;
        height: 90px;
        padding-top: 1px;
        font-size: 15px;
    }

    .chemistry_cont_brand img {
        max-width: 40px;
    }

    .chemistry_cont_brand abbr {
        position: relative;
        top: -4px;
    }

    .butterfly.second_type {
        left: 220px;
        top: -80px;
        width: 100px
    }
}

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

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