@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap");
:root {
  font-size: clamp(15px, 2.8vw, 18px);
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.2rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.25rem);
  font-weight: 500;
}

h5 {
  font-size: clamp(1.125rem, 1.7vw, 1.2rem);
  font-weight: 400;
}

h6 {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
}

p, a, span {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
}

small {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  font-weight: 400;
}

li {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.4;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.h2-box {
  margin-bottom: 2rem;
}
.h2-box small {
  font-weight: 500;
  color: #ef6918;
  letter-spacing: 0.1rem;
}
.h2-box h2 {
  margin-top: 0.3rem;
}
section {
  padding: 8rem 4rem;
}
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

a {
  text-decoration: none;
  color: #ef6918;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1049;
  transition: 0.7s;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar .container-navbar {
  align-items: start;
  gap: 2rem;
  transition: 0.7s;
}
@media (max-width: 768px) {
  .navbar .container-navbar {
    gap: 0;
  }
}
.navbar .navbar-toggler-icon {
  filter: invert(1);
}
.navbar .navbar-brand {
  transition: 0.7s;
}
.navbar .navbar-brand img {
  width: 120px;
  transition: 0.7s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 70px;
  }
}
.navbar .navbar-collapse {
  padding-top: 0.5rem;
  transition: 0.7s;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  padding: 0.5rem 2rem;
  color: white;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
    padding: 1rem 1em;
  }
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #ef6918;
}

.navbar.scrolled {
  background: #162d39;
}
.navbar.scrolled .container-navbar {
  align-items: center;
  gap: 2rem;
}
@media (max-width: 768px) {
  .navbar.scrolled .container-navbar {
    gap: 0;
  }
}
.navbar.scrolled .navbar-brand img {
  width: 75px;
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-brand img {
    width: 55px;
  }
}
.navbar.scrolled .navbar-collapse {
  padding-top: 0rem;
}
.navbar.scrolled .navbar-collapse .navbar-nav .nav-item .nav-link {
  padding: 0.5rem 2.5rem;
  color: white;
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-collapse .navbar-nav .nav-item .nav-link {
    padding: 1rem 1em;
  }
}
.navbar.scrolled .navbar-collapse .navbar-nav .nav-item.cta {
  background: #ef6918;
}

#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  #hero {
    height: 400px;
  }
}
#hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#hero svg {
  position: absolute;
  z-index: 2;
}
#hero svg.top {
  fill: #162d39;
  top: 0;
  left: 0;
}
@media (max-width: 768px) {
  #hero svg.top {
    width: auto;
    height: 90px;
    display: block;
  }
}
#hero svg.bottom {
  fill: white;
  transform: rotate(180deg);
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  #hero svg.bottom {
    width: auto;
    height: 120px;
  }
}
#hero .cta-box {
  position: absolute;
  bottom: 2.5rem;
  right: 1.5rem;
  display: flex;
  gap: 1rem;
  z-index: 3;
}
@media (max-width: 768px) {
  #hero .cta-box {
    z-index: 5;
  }
}
#hero .cta-box a {
  font-size: clamp(1.2rem, 2.2vw, 1.2rem);
  font-weight: 500;
  padding: 1rem 3rem;
  border-radius: 5rem;
  border: 2px solid #ef6918;
  line-height: 1;
}
@media (max-width: 768px) {
  #hero .cta-box a {
    padding: 0.8rem 2rem;
  }
}
#hero .cta-box a:first-child {
  color: #ef6918;
}
#hero .cta-box a:last-child {
  background: #ef6918;
  color: white;
}

#about p {
  line-height: 2;
}

#doctor {
  padding: 0 0;
}
#doctor .doctor-card {
  background: #ef6918;
  background: linear-gradient(to right, rgba(239, 105, 24, 0.9), #ef6918);
  color: white;
  padding: 4rem 8rem;
  border-radius: 3rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  #doctor .doctor-card {
    padding: 3rem 2rem 2rem;
  }
}
#doctor .doctor-card .h2-box {
  z-index: 2;
}
#doctor .doctor-card .h2-box small {
  color: white;
}
#doctor .doctor-card .h2-box h2 {
  color: black;
}
#doctor .doctor-card .dot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  z-index: 1;
  filter: invert(0) brightness(1.2);
}
@media (max-width: 768px) {
  #doctor .doctor-card .dot {
    filter: invert(0) brightness(1);
  }
}
#doctor .doctor-card .doctor-img {
  width: 100%;
  margin-bottom: 2rem;
  display: block;
  position: relative;
}
#doctor .doctor-card .doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
#doctor .doctor-card .doctor-img .solgan {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  #doctor .doctor-card .doctor-img .solgan {
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    flex-direction: column;
    margin-bottom: 1rem;
  }
}
#doctor .doctor-card .doctor-img .solgan p {
  text-wrap: nowrap;
  margin: 0;
  padding: 0.5rem 1rem;
}
#doctor .doctor-card .doctor-img .solgan p:first-child {
  background: #ef6918;
}
@media (max-width: 768px) {
  #doctor .doctor-card .doctor-img .solgan p:first-child {
    border: 2px solid white;
  }
}
#doctor .doctor-card .doctor-img .solgan p:last-child {
  border: 2px solid white;
  background: #f3c14d;
}
@media (max-width: 768px) {
  #doctor .doctor-card .doctor-img .solgan p:last-child {
    border: none;
  }
}
#doctor .doctor-card ul {
  list-style: none;
  padding: 0;
}
#doctor .doctor-card ul li {
  color: black;
  margin-bottom: 1rem;
  font-size: clamp(1.125rem, 1.7vw, 1.2rem);
  font-weight: 400;
  color: white;
}
#doctor .doctor-card ul li.name {
  color: #162d39;
}

#services {
  margin: 8rem 0;
  background-color: #eff2f4;
  background-image: url(../images/assets/background-dots.svg);
  background-size: auto;
  background-repeat: repeat;
  background-position: center;
  padding: 7.5rem 0 7.5rem;
  position: relative;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}
#services .h2-box {
  text-align: center;
}
#services .services-card {
  background: white;
  text-align: center;
  padding: 1rem;
  height: 100%;
  box-shadow: rgba(22, 45, 57, 0.05) 0px 6px 24px 0px, rgba(22, 45, 57, 0.08) 0px 0px 0px 1px;
  border-radius: 0.5rem;
}
#services .services-card svg {
  width: 100px;
  height: 100px;
  fill: gray;
}
#services .services-card h3 {
  padding-top: 1rem;
  color: #ef6918;
}

#process .h2-box {
  text-align: center;
}
#process .process-card {
  text-align: center;
}
#process .process-card .step {
  color: rgb(176, 176, 176);
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  position: relative;
}
#process .process-card .step::after {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: rgb(176, 176, 176);
  z-index: -2;
}
#process .process-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#process .process-card h3 {
  padding: 1rem;
  color: #ef6918;
}

#works {
  position: relative;
}
#works .dot {
  width: 330px;
  position: absolute;
}
@media (max-width: 768px) {
  #works .dot {
    width: 170px;
  }
}
#works .dot.left {
  transform: rotate(180deg) scaleX(-1);
  top: 0;
  left: 0;
}
#works .dot.right {
  transform: rotate(180deg);
  top: 0;
  right: 0;
}
#works .h2-box {
  text-align: center;
}
#works .works-box {
  display: flex;
  width: 100%;
  gap: 1rem;
}
#works .works-box .works-card {
  position: relative;
  overflow: hidden;
  flex: 1;
}
#works .works-box .works-card span {
  position: absolute;
  padding: 0.3rem 1rem;
  text-transform: capitalize;
  border-radius: 0 0 1rem 0;
  z-index: 2;
}
#works .works-box .works-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
@media (max-width: 768px) {
  #works .works-box .works-card img {
    height: 250px;
  }
}
#works .works-box .works-card.before {
  border-radius: 0.5rem;
}
#works .works-box .works-card.before span {
  background: gray;
  color: white;
}
#works .works-box .works-card.before img {
  filter: grayscale(1);
}
#works .works-box .works-card.after {
  border-radius: 0.5rem;
}
#works .works-box .works-card.after span {
  background: #ef6918;
  color: white;
}

#reviews {
  position: relative;
}
#reviews .dot-box {
  z-index: -1;
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 500px;
}
@media (max-width: 768px) {
  #reviews .dot-box {
    width: 200px;
  }
}
#reviews .dot-box img {
  display: block;
  width: 100%;
}
#reviews .dot-box img:last-child {
  transform: scaleY(-1);
}
#reviews .reviews-img {
  height: 300px;
  object-position: top;
  object-fit: cover;
}

#contact {
  background: #f2f2f2;
}
#contact .h2-box {
  text-align: center;
}
@media (max-width: 768px) {
  #contact {
    padding-bottom: 1rem;
  }
}
#contact .contact-box {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #contact .contact-box {
    margin-bottom: 1rem;
  }
}
#contact .contact-box:last-child {
  margin-bottom: 0;
}
#contact .contact-box h3 {
  font-size: 1.3rem;
}
@media (max-width: 768px) {
  #contact .contact-box h3 {
    font-size: 1.1rem;
  }
}
#contact .contact-box .icon-box {
  background: #ef6918;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
#contact .contact-box .icon-box i {
  color: white;
  font-size: 2rem;
}
#contact .contact-box a {
  color: #ef6918;
  font-weight: 600;
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  #contact .contact-box a {
    font-size: 1.2rem;
  }
}
#contact .contact-box a.small {
  font-size: 1rem;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}
#contact .map-box {
  background: rgba(22, 45, 57, 0.1);
  border-radius: 1rem;
  padding: 1.2rem 0.5rem;
}

footer {
  background: #f2f2f2;
  padding-bottom: 1rem;
}
footer a {
  text-decoration: underline;
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: #ef6918;
  color: #ef6918;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(22, 45, 57, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
}
.swiper-button-next:hover, .swiper-button-next:focus,
.swiper-button-prev:hover,
.swiper-button-prev:focus {
  background: #ef6918;
  color: white;
  box-shadow: 0 6px 24px rgba(239, 105, 24, 0.18);
  border-color: #ef6918;
}
.swiper-button-next:hover::after, .swiper-button-next:focus::after,
.swiper-button-prev:hover::after,
.swiper-button-prev:focus::after {
  color: white;
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.3rem;
  }
}/*# sourceMappingURL=all.css.map */