@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(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.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;
  background: #fff;
  color: #222;
}

h2 {
  margin-bottom: 2rem;
  color: #091839;
  text-align: center;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 1.5rem;
  }
}

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

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

p {
  line-height: 2;
  margin-bottom: 1rem;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background: white;
  background: #091839;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-toggler-icon {
  filter: invert(1);
}
.navbar .navbar-brand {
  transition: 0.5s;
  color: white;
}
.navbar .navbar-brand img {
  width: 80px;
  transition: 0.5s;
}
.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: linear-gradient(45deg, #ffd700, #ffc300, #ffb000, #ffd700);
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta .nav-link {
  color: black;
}

#hero {
  width: 100%;
  height: 90vh;
  position: relative;
}
@media (max-width: 768px) {
  #hero {
    height: auto;
    margin-top: 54px;
  }
}
#hero .cta-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.438);
}
@media (max-width: 768px) {
  #hero .cta-box {
    padding: 0rem 1rem;
    position: relative;
    background: none;
    margin-top: -2rem;
  }
}
#hero .cta-box .cta-content {
  text-align: center;
  color: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1764705882);
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content {
    background: rgba(0, 0, 0, 0.659);
  }
}
#hero .cta-box .cta-content h1 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 3rem;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content h1 {
    font-size: 2rem;
  }
}
#hero .cta-box .cta-content p {
  margin-bottom: 2rem;
  font-size: 1.3rem;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content p {
    font-size: 1rem;
  }
}
#hero .cta-box .cta-content .btn-box {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .btn-box {
    flex-direction: column;
  }
}
#hero .cta-box .cta-content .btn-box a {
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  border-radius: 10rem;
  transition: 0.5s;
}
#hero .cta-box .cta-content .btn-box a i {
  padding-left: 0.5rem;
  font-size: 1.3rem;
}
#hero .cta-box .cta-content .btn-box a:first-child {
  background: #091839;
  color: white;
}
#hero .cta-box .cta-content .btn-box a:last-child {
  color: white;
  border: 1px solid white;
}
#hero .cta-box .cta-content .btn-box a:last-child:hover {
  background: white;
  color: #091839;
}
#hero .swiper {
  width: 100%;
  height: 100%;
}
#hero .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#about h2 {
  text-align: start;
}
#about .img-box {
  position: relative;
  width: 90%;
  height: auto;
}
@media (max-width: 768px) {
  #about .img-box {
    margin-bottom: 4rem;
  }
}
#about .img-box::after {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #ffd700, #ffc300, #ffb000, #ffd700);
  content: "";
  top: 1rem;
  left: 1rem;
}
#about .img-box img {
  width: 100%;
}

#services {
  background: #091839;
}
#services h2 {
  color: white;
}
#services .services-card {
  margin-bottom: 5rem;
}
@media (max-width: 768px) {
  #services .services-card {
    margin-bottom: 3rem;
  }
}
#services .services-card img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  #services .services-card img {
    height: 150px;
  }
}
#services .services-card .text {
  width: 90%;
  background: #f7fafb;
  margin: -0.8rem auto 0;
  z-index: 5;
  position: relative;
  padding: 1rem;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.15);
  background: linear-gradient(45deg, #ffd700, #ffc300, #ffb000, #ffd700);
}
#services .services-card .text::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent #091839 transparent;
  /* 可以加點陰影增加立體感 */
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.15);
}
#services .services-card .text p {
  margin: 0;
}

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

#contact {
  background: #f2f2f2;
}
@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: #091839;
  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: #091839;
  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;
}

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