@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300&display=swap');
:root {
    box-sizing: border-box;
    --primary: #000;
    --secondary: black;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

 ::-webkit-scrollbar-track {
    background: #fff;
}

 ::-webkit-scrollbar-thumb {
    background: linear-gradient(#ebdfdf, #6d7197);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
}


/* Background */

#container {
    position: fixed;
    height: 100%;
    width: 100%;
}

#output {
    width: 100%;
    height: 100%;
}


/* LANGUAGE */

.change-language>div {
    box-shadow: 5px 5px 10px rgba(163, 177, 198, 0.6), -5px -5px 10px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    margin-bottom: 0.6vw;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.6), 0 0 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.change-language>div:hover {
    color: #fff;
    background: rgb(87, 85, 85);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 3px rgba(255, 255, 255, 0.5);
}

.change-language {
    position: fixed;
    bottom: 7vw;
    right: 2vw;
    z-index: 9;
}

@media only screen and (max-width: 1430px) {
    .change-language {
        bottom: 13vw;
    }
}

@media only screen and (max-width: 630px) {
    .change-language {
        bottom: 25vw;
    }
}

.act34 {
    animation: adr33 1.2s infinite alternate-reverse;
}

@keyframes adr33 {
    0% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0px);
    }
}

.active::before {
    -webkit-animation: inner-ripple 2000ms linear infinite;
    -moz-animation: inner-ripple 2000ms linear infinite;
    animation: inner-ripple 2000ms linear infinite;
}

.active::after {
    -webkit-animation: outer-ripple 2000ms linear infinite;
    -moz-animation: outer-ripple 2000ms linear infinite;
    animation: outer-ripple 2000ms linear infinite;
}

.active::after,
.active::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
    background: #000;
    opacity: 0.15;
    box-sizing: border-box;
}

@keyframes outer-ripple {
    0% {
        transform: scale(1);
        filter: alpha(opacity=50);
        opacity: 0.5;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        -webkit-filter: alpha(opacity=50);
    }
    80% {
        transform: scale(1.5);
        filter: alpha(opacity=0);
        opacity: 0;
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -ms-transform: scale(1.5);
        -o-transform: scale(1.5);
    }
    100% {
        transform: scale(2.5);
        filter: alpha(opacity=0);
        opacity: 0;
        -webkit-transform: scale(2.5);
        -moz-transform: scale(2.5);
        -ms-transform: scale(2.5);
        -o-transform: scale(2.5);
    }
}

@keyframes inner-ripple {
    0% {
        transform: scale(1);
        filter: alpha(opacity=50);
        opacity: 0.5;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    30% {
        transform: scale(1);
        filter: alpha(opacity=50);
        opacity: 0.5;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    100% {
        transform: scale(1.5);
        filter: alpha(opacity=0);
        opacity: 0;
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -ms-transform: scale(1.5);
        -o-transform: scale(1.5);
    }
}


/* TOP */

.ceing {
    box-shadow: 5px 5px 10px rgb(163 177 198 / 60%), -5px -5px 10px rgb(255 255 255 / 50%);
    cursor: pointer;
    margin-bottom: 0.6vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    font-weight: 600;
}


/* Navigation */


/* Navigation */

header {
    display: -webkit-flex;
    justify-content: flex-end;
    padding: 2em 1em;
}

.hamburger {
    --hm-width: 2em;
    --hm-height: 0.2em;
    --spacing: calc(var(--hm-width) / 4);
    width: var(--hm-width);
    height: var(--hm-height);
    background-color: var(--primary);
    position: fixed;
    transition: transform 0.8s ease-in-out;
    z-index: 3;
}

.hamburger::after,
.hamburger::before {
    content: "";
    width: 50%;
    height: inherit;
    background-color: var(--primary);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.8s ease-in-out;
}

.hamburger::after {
    top: calc(-1 * var(--spacing));
}

.hamburger::before {
    top: var(--spacing);
    left: 50%;
}

.close.hamburger::before,
.close.hamburger::after {
    left: 50%;
    transform: translate(-50%) rotate(-450deg);
    background-color: white;
}

.close.hamburger {
    transform: rotate(45deg);
    background-color: white;
}

.nav2 {
    position:fixed;
    left: 5rem;
    z-index: 1;
}

@media only screen and (max-width: 1440px) {
    .nav2 {
        left: 1rem;
    }
}

.nav2 h1 {
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .nav2 {
        display: none;
    }
}

.menu2 li {
    margin: 1rem;
    list-style: none;
    transition: all 0.3s ease;
}

.menu2 li a {
    font-size: 1.2rem;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media only screen and (max-width: 1440px) {
    .menu2 li a {
        font-size: 0.7rem;
    }
}

.menu2 li a:hover {
    color: #ffffff;
    padding-left: 25px;
}

.menu-item2 {
    color: #fff;
}

.nav1 {
    position: absolute;
    background-color: var(--secondary);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in;
}

.reveal-nav {
    transform: scaleX(1);
    opacity: 1;
}

.menu {
    list-style: none;
}

.menu-item {
    color: #fff;
    text-decoration: none;
    font-size: calc(0.5rem + 2vw);
    text-align: center;
    opacity: 0;
    transform: translate(-20em);
    display: block;
    transition: transform 0.8s ease-in-out, opacity 0.3s ease-in;
}

.menu li+li {
    margin-top: 2em;
}

.reveal-items .menu-item {
    transform: translate(0);
    opacity: 1;
}

.reveal-items li:nth-child(1) .menu-item {
    transition-delay: 0.1s;
}

.reveal-items li:nth-child(2) .menu-item {
    transition-delay: 0.2s;
}

.reveal-items li:nth-child(3) .menu-item {
    transition-delay: 0.3s;
}

.reveal-items li:nth-child(4) .menu-item {
    transition-delay: 0.4s;
}

.reveal-items li:nth-child(5) .menu-item {
    transition-delay: 0.5s;
}

.reveal-items li:nth-child(6) .menu-item {
    transition-delay: 0.6s;
}

.reveal-items li:nth-child(7) .menu-item {
    transition-delay: 0.7s;
}


/* APPOINT */

.appoint {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.column {
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
}

.wrap {
    height: 100%;
}

.wrap h1 {
    font-size: 4rem;
}

@media (max-width: 768px) {
    .wrap h1 {
        text-align: center;
        font-size: 3rem;
    }
}

.card1 {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    width: 1000px;
    height: 262px;
    margin: 80px 0;
    border-radius: 5px;
}

.card2 {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    width: 1000px;
    height: 236px;
    margin: 80px 0;
    border-radius: 5px;
    flex-direction: row-reverse;
}

.card3 {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    width: 1000px;
    height: 234px;
    margin: 80px 0;
    border-radius: 5px;
}

.card4 {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    width: 1000px;
    height: 235px;
    margin: 80px 0;
    border-radius: 5px;
    flex-direction: row-reverse;
}

.card5 {
    display: flex;
    flex: 0 0 auto;
    background: #fff;
    width: 1000px;
    height: 235px;
    margin: 80px 0;
    border-radius: 5px;
}

.card-pic-wrap {
    border-radius: 5px 0 0 5px;
    width: 350px;
    flex: 0 0 auto;
    position: relative;
}

.card-pic-wrap img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 0em 2em 2em;
    width: 100%;
}

h3 {
    font-weight: 600;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 2.2em;
    margin: 1em 0 1em;
}

@media (max-width: 1002px) {
    h3 {
        font-size: clamp(1.2rem, 2.5vw, 2rem);
        margin: 0em 0em 0em;
        padding: 30px;
    }
    p {
        font-size: 0.9rem;
    }
    .card1 {
        height: unset;
    }
    .card2 {
        height: unset;
    }
    .card3 {
        height: unset;
    }
    .card4 {
        height: unset;
    }
    .card5 {
        height: unset;
    }
    .wrap {
        margin-left: 20px;
        margin-right: 20px;
    }
    .card1 {
        flex-direction: column;
        margin-top: 50px;
        width: 100%;
        margin: 50px auto;
    }
    .card2 {
        flex-direction: column;
        margin-top: 50px;
        width: 100%;
        margin: 50px auto;
    }
    .card3 {
        flex-direction: column;
        margin-top: 50px;
        width: 100%;
        margin: 50px auto;
    }
    .card4 {
        flex-direction: column;
        margin-top: 50px;
        width: 100%;
        margin: 50px auto;
    }
    .card5 {
        flex-direction: column;
        margin-top: 50px;
        width: 100%;
        margin: 50px auto;
    }
    .card-pic-wrap {
        width: 100%;
        border-radius: 5px 5px 0 0;
    }
    .card-pic-wrap img {
        bottom: 20px;
        position: relative;
    }
    .card-content {
        padding: 0em 1em 1em;
    }
}

@media (max-width: 768px) {
    h3 {
        text-align: center;
        /* font-size: 1.7em; */
    }
}

/* Footer */
.footer {
    position: relative;
    margin-top: 3rem;
    background-color: #808393;
    padding: 70px 0;
}

.topmenus {
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    max-width: 800px;
    margin: auto;
    padding-top: 2vw;
    border-bottom: 0.8px solid white;
    padding-bottom: 1.5rem;
    color: aliceblue;
}


.topmenus a {
    text-decoration: none;
}


 .topmenus h1 {
    background: linear-gradient(#fff, #fff);
    background-size: 0% 1px;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff;
    padding-bottom: 0.31vw;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 300;
    transition: all .5s;
}

.topmenus h1:hover {
    background-size: 100% 1px;
    background-position: 0% 100%;
    opacity: 1;
    padding-left: 2px;
}



.logoaddress {
    position: relative;
    padding-top: 2vw;
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-columns: 200px 200px;
    color: aliceblue;
    margin-bottom: 3rem;
}



.logoaddress img {
    width: 105px;
}

.adresss {
    font-size: 0.9rem;
    text-align: left;
    color: aliceblue;
}
/* For Tablet View */

@media screen and (max-width: 700px) {
    .topmenus {
        display: grid;
        gap: 1.5rem;
        text-align: center;
        border-bottom: none;
    }
}

@media screen and (max-width: 486px) {
    .logoaddress {
        padding-top: 1vw;
        justify-content: center;
        align-items: center;
        display: grid;
        grid-template-columns: 140px 140px;
        color: aliceblue;
    }
    .logoaddress img {
        width: 85px;
    }
    .adresss {
        font-size: 0.7rem;
    }
}





/* 
.footer {
    position: relative;
    margin-top: 8rem;
    background-color: #808393;
    padding: 70px 0;
    cursor: pointer;
}

.footer-flex {
    display: flex;
    color: #000;
    justify-content: space-evenly;
}

.footer-flex1 {
    font-size: 4.5rem;
}

.footer-flex2 {
    font-size: 3.5rem;
}

footer p {
    width: 700px;
    margin: 1rem auto auto auto;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 6rem;
}

@media screen and (min-width:200px) and (max-width:1130px) {
    .footer-flex {
        flex-direction: column;
        padding: 30px;
    }
    .footer p {
        width: 80%;
    }
}

@media screen and (max-width:555px) {
    .footer-flex1 {
        font-size: 3.5rem;
    }
    .footer-flex2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:395px) {
    .footer-flex1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width:350px) {
    .footer-flex1 {
        font-size: 2rem;
    }
    .footer-flex2 {
        font-size: 1rem;
    }
    .footer p {
        font-size: 1rem;
        width: 80%;
    }
}

.footer-container {
    max-width: 1000px;
    margin: auto;
}

@media screen and (max-width:1024px) {
    .footer-container {
        max-width: 1000px;
    }
}

.footer-img {
    display: flex;
    justify-content: center;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

}

ul {
    list-style: none;
}

.footer-col {
    cursor: pointer;
}



.footer-col h4 {
    font-size: 1rem;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #8b8986;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #fff;
}

.footer-col ul li a {
    background: linear-gradient(#fff, #fff);
    background-size: 0% 1px;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff;
    padding-bottom: 0.31vw;
    cursor: pointer;
    font-size:0.9rem;
    text-decoration: none;
    transition: all .5s;
}

.footer-col ul li a:hover {
    background-size: 100% 1px;
    background-position: 0% 100%;
    opacity: 1;
    padding-left: 8px;
}


@media screen and (max-width:1270px){
      .footer-col{
        padding: 0 35px;
      }
}


@media screen and (min-width:280px) and (max-width:768px) {

  .row {
    display: list-item;
  }

    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
    .footer-col {
        width: 100%;
    }
    .footer-text {
        display: flex;
        flex-direction: column;
        line-height: 20px;
    }
} */