@charset "UTF-8";
@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(16px, 2.8vw, 18px);
}

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

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

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

h4 {
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  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-weight: 400;
  font-style: normal;
}

h2 {
  margin-bottom: 3rem;
  display: inline-block;
  position: relative;
  color: rgb(53, 53, 53);
}
h2::after {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: -2rem;
  background: url("../images/assets/butterfly.png") no-repeat;
  width: 40px;
  height: 40px;
  background-size: cover;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}

section {
  padding: 9rem 0rem 4rem;
}
@media (max-width: 768px) {
  section {
    padding: 7rem 0 3rem;
  }
}

a {
  text-decoration: none;
  color: #6ecdd0;
}

img {
  object-fit: cover;
}

.all-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
}
.all-bg img {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .all-bg img {
    object-position: right bottom;
  }
}

.cta-link {
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 999;
  flex-direction: column;
  display: flex;
  gap: 1rem;
}
@media (max-width: 768px) {
  .cta-link {
    bottom: 1rem;
    right: 0.5rem;
  }
}
.cta-link .tel {
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  outline: none;
}
.cta-link .tel.dropdown-toggle::before {
  display: none;
}
.cta-link .tel .name {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  border: 1.5px solid white;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background: red;
  font-size: 0.8rem;
  border-radius: 100%;
}
.cta-link svg {
  width: 50px;
}
.cta-link svg.phone #background {
  fill: #6ecdd0;
}
.cta-link svg.phone #icon {
  fill: white;
}
@media (max-width: 768px) {
  .cta-link svg {
    width: 43px;
  }
}
.cta-link .dropdown-menu {
  margin-right: 0.25rem;
  margin-left: 0;
}

.navbar.scrolled {
  background: white;
}
.navbar.scrolled .navbar-toggler-icon {
  filter: invert(0);
}
.navbar.scrolled .navbar-brand h1 {
  display: inline-block;
  text-decoration: none;
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 2.2px;
  color: #6ecdd0; /* 蝶舞柔藍主體 */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-brand h1 {
    font-size: 1.5rem;
  }
}
.navbar.scrolled .navbar-brand h1:hover {
  color: #8cbbd1; /* hover 稍微加深藍灰 */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 10px rgba(168, 207, 224, 0.6);
}
.navbar.scrolled .navbar-brand img {
  width: 100px;
  transition: 0.5s;
  border-radius: 100%;
  box-shadow: none;
}
@media (max-width: 768px) {
  .navbar.scrolled .navbar-brand img {
    width: 60px;
  }
}
.navbar.scrolled .navbar-collapse {
  flex-grow: 0;
}
.navbar.scrolled .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: rgb(109, 109, 109);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-toggler-icon {
  filter: invert(1);
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.navbar .navbar-brand img {
  width: 120px;
  transition: 0.5s;
  border-radius: 100%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 80px;
  }
}
.navbar .navbar-brand h1 {
  display: inline-block;
  text-decoration: none;
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 2.2px;
  color: white; /* 蝶舞柔藍主體 */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .navbar .navbar-brand h1 {
    font-size: 1.5rem;
  }
}
.navbar .navbar-brand h1:hover {
  color: #8cbbd1; /* hover 稍微加深藍灰 */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 10px rgba(168, 207, 224, 0.6);
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  padding: 0.5rem 1.5rem;
  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: #6ecdd0;
}

#hero {
  width: 100%;
  height: 100vh;
  position: relative;
}
#hero .swiper {
  width: 100%;
  height: 100%;
}
#hero .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 992px) {
  #hero .swiper .swiper-wrapper .swiper-slide {
    text-align: right;
  }
  #hero .swiper .swiper-wrapper .swiper-slide img {
    width: 60%;
  }
}
#hero .cta-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  z-index: 10;
}
@media (max-width: 768px) {
  #hero .cta-box {
    width: 100%;
    height: 60%;
    bottom: 0;
    top: auto;
  }
}
#hero .cta-box .item {
  height: 50%;
}
#hero .cta-box .item.item-1 {
  margin-left: auto;
  width: 50%;
  background: rgba(110, 205, 208, 0.3);
}
@media (max-width: 768px) {
  #hero .cta-box .item.item-1 {
    width: 30%;
  }
}
#hero .cta-box .item.item-2 {
  width: 50%;
  padding: 2rem;
  background: rgba(110, 205, 208, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  #hero .cta-box .item.item-2 {
    width: 70%;
  }
}
#hero .cta-box .item.item-2 p {
  font-size: clamp(1.3rem, 2.2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #hero .cta-box .item.item-2 .btn-box {
    flex-direction: column;
  }
}
#hero .cta-box .item.item-2 .btn-box a {
  padding: 0.5rem 1.5rem;
  border-radius: 10rem;
  transition: 0.5s;
  color: gray;
  background: white;
}
#hero .cta-box .item.item-2 .btn-box a i {
  padding-left: 0.5rem;
  font-size: 1.3rem;
}
#hero .cta-box .item.item-2 .btn-box a svg {
  fill: #6ecdd0;
}

#news .news-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
#news .news-card .tag {
  display: inline-block;
  background: #d8d0e4;
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
#news .news-card p {
  margin-bottom: 0;
}

#about .text-box {
  position: relative;
}
#about .text-box img {
  border-radius: 2rem;
}
@media (max-width: 768px) {
  #about .text-box img {
    height: 550px;
  }
}
#about .text-box .text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
  #about .text-box .text {
    width: 80%;
  }
}
#about .text-box .text p {
  line-height: 2;
  margin-bottom: 1rem;
}
#about .swiper {
  width: 100%;
  height: 650px;
}
@media (max-width: 768px) {
  #about .swiper {
    height: 350px;
  }
}
#about .swiper img {
  width: 100%;
  height: 100%;
  object-position: bottom;
  border-radius: 1rem;
}
#services .service-card {
  height: 100%;
}
#services .service-card .img-box {
  text-align: center;
  margin-bottom: 2rem;
}
#services .service-card .img-box img {
  width: 65%;
  aspect-ratio: 1/1;
  border-radius: 100%;
}
#services .service-card .text {
  border: 1.5px solid #6ecdd0;
  padding: 3.5rem 1rem 1rem;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: white;
}
#services .service-card .text h3 {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  background: #6ecdd0;
  color: white;
  padding: 0.5rem;
  border-radius: 0 0 1rem 0;
}
#services .service-card .text ul {
  list-style: circle;
}

#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #6ecdd0;
  color: white;
}
#works .nav-pills .nav-link {
  border: 1px solid #6ecdd0;
  color: #6ecdd0;
}
#works img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
@media (max-width: 768px) {
  #works img {
    height: 200px;
  }
}

@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 .icon-box {
  background: #6ecdd0;
  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: #6ecdd0;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

footer {
  padding-bottom: 1rem;
}
footer a {
  text-decoration: underline;
}/*# sourceMappingURL=all.css.map */