@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 Serif TC", "Songti TC", serif;
  background-color: #f8f5f0;
  color: #2e2e2e;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

/* CSS */
[data-aos=blur-up] {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(10px);
  transition: all 0.1s ease;
}

[data-aos=blur-up].aos-animate {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #132f55;
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #bda070;
  margin-top: 1.5rem;
  transition: all 0.4s ease-in-out;
}
h2::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: #bda070;
  transform: rotate(45deg);
  margin-bottom: 1rem;
  opacity: 0.6;
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
}

.split {
  display: inline-block;
  overflow: hidden;
  text-shadow: 0 1.3em currentColor; /* 和 JS 位移一致 */
  will-change: transform;
  padding: 1 1rem;
}

.char {
  display: inline-block;
  position: relative;
}

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

a {
  text-decoration: none;
  color: #132f55;
}

img {
  -o-object-fit: cover;
     object-fit: cover;
}

.all-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  opacity: 1;
}
.all-bg img {
  width: 100%;
  height: 100%;
}

.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: #bda070;
  font-size: 0.8rem;
  border-radius: 100%;
}
.cta-link .dropstart svg {
  width: 50px;
}
@media (max-width: 768px) {
  .cta-link .dropstart svg {
    width: 43px;
  }
}
.cta-link .dropstart svg #background {
  fill: #bda070;
}
.cta-link .dropstart svg #icon {
  fill: #333;
}
.cta-link .dropdown-menu {
  margin-right: 0.25rem;
  margin-left: 0;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background: white;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .navbar-brand img {
  width: 130px;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 100px;
  }
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse {
    padding-top: 1rem;
  }
}
.navbar .navbar-collapse .navbar-nav {
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse .navbar-nav {
    gap: 0.5rem;
  }
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #132f55;
}

.parallax-fixed {
  position: relative;
  height: 100vh; /* 可自行調整高度 */
  overflow: hidden;
}
.parallax-fixed .parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 120%;
}
.parallax-fixed .parallax-img img {
  width: 100%;
  height: 100%;
}

.parallax-dynamic {
  position: relative;
  /* 高度交給圖片本身決定 */
}
.parallax-dynamic .parallax-media {
  overflow: hidden;
  line-height: 0; /* 移除 img 作為 inline 元素的行高縫隙 */
}
.parallax-dynamic .parallax-media img {
  display: block;
  width: 100%;
  height: auto;
  /* 關鍵：先往上、並放大一點，避免上下兩端出現空白 */
  transform: translateY(-12%) scale(1.12);
  transform-origin: center;
  will-change: transform;
}

#hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 115.91px;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 92.66px;
  }
}
#hero video {
  width: 100%;
}
#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);
}
#hero .cta-box .cta-content {
  text-align: center;
  color: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
}
#hero .cta-box .cta-content h1 {
  margin-bottom: 1rem;
  text-align: center;
}
#hero .cta-box .cta-content p {
  margin-bottom: 2rem;
}
#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;
  border-radius: 10rem;
  transition: 0.5s;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .btn-box a {
    padding: 0.5rem 1rem;
  }
}
#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: #132f55;
  color: white;
}
#hero .cta-box .cta-content .btn-box a:last-child {
  color: gray;
  background: white;
}
#hero .cta-box .cta-content .btn-box a:last-child:hover {
  background: white;
  color: #132f55;
}
#hero .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (max-width: 768px) {
  #hero .scroll-indicator {
    right: 1rem;
    bottom: 1.5rem;
    display: none;
  }
}
#hero .scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: rgba(19, 47, 85, 0.5);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
#hero .scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: rgba(19, 47, 85, 0.3);
  position: relative;
  overflow: hidden;
}
#hero .scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #132f55;
  animation: scrollDown 2s infinite;
}

#about .about-image-wrapper {
  position: relative;
  padding: 20px;
}
#about .about-image-wrapper .decorative-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 90%;
  border: 2px solid #bda070;
  z-index: 1;
  opacity: 0.5;
}
#about .about-image-wrapper .img-fluid {
  position: relative;
  z-index: 2;
  border-radius: 4px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  #about .about-image-wrapper {
    padding: 0;
  }
  #about .about-image-wrapper .decorative-box {
    display: none;
  }
}
#about .about-content {
  position: relative;
}
#about .about-content .icon-deco {
  font-size: 3rem;
  color: #bda070;
  margin-bottom: 1rem;
  display: block;
}
#about .about-content h3 {
  font-size: 1.8rem;
  color: #132f55;
  font-weight: 700;
  border-left: 4px solid #bda070;
  padding-left: 1rem;
}
#about .about-content p {
  color: #2e2e2e;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  text-align: justify;
}

#news {
  background-color: #fff;
}
#news .news-card {
  background: #f8f5f0;
  border: 1px solid rgba(19, 47, 85, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}
#news .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(19, 47, 85, 0.1);
}
#news .news-card .news-img-box {
  position: relative;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
}
#news .news-card .news-img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#news .news-card .news-img-box .news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #bda070;
  background: #132f55;
  color: white;
  padding: 4px 12px;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
#news .news-card .news-content {
  padding: 2.5rem;
}
@media (max-width: 768px) {
  #news .news-card .news-content {
    padding: 1.5rem;
  }
}
#news .news-card .news-content .news-date {
  font-size: 0.9rem;
  color: #bda070;
  font-family: "Noto Sans TC", sans-serif;
  display: block;
  margin-bottom: 0.5rem;
}
#news .news-card .news-content .news-title {
  font-size: 1.4rem;
  color: #132f55;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}
#news .news-card .news-content .news-excerpt {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
}
#news .news-card .news-content .news-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #132f55;
  font-weight: 600;
  border-bottom: 1px solid #bda070;
  padding-bottom: 2px;
  transition: all 0.4s ease-in-out;
}
#news .news-card .news-content .news-more-btn:hover {
  color: #bda070;
  border-bottom-color: #132f55;
}

#services {
  background-color: #fff;
  background: #132f55;
}
#services h2 {
  color: #f8f5f0;
}
#services .service-card {
  background: #f8f5f0;
  border: 1px solid rgba(19, 47, 85, 0.1);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s ease-in-out;
  position: relative;
}
#services .service-card .img-box {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  #services .service-card .img-box {
    height: 300px;
  }
}
#services .service-card .img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}
#services .service-card .img-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 47, 85, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}
#services .service-card .img-box .overlay i {
  font-size: 3rem;
  color: #bda070;
}
#services .service-card .txt-box {
  padding: 1.5rem;
}
#services .service-card .txt-box h4 {
  color: #132f55;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(189, 160, 112, 0.3);
  padding-bottom: 0.5rem;
}
#services .service-card .txt-box p {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 0;
}

#process .timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
#process .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: rgba(19, 47, 85, 0.2);
}
@media (min-width: 769px) {
  #process .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
#process .timeline .timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
@media (min-width: 769px) {
  #process .timeline .timeline-item {
    width: 50%;
  }
  #process .timeline .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
  }
  #process .timeline .timeline-item:nth-child(odd) .timeline-marker {
    right: -20px;
    left: auto;
  }
  #process .timeline .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
  }
  #process .timeline .timeline-item:nth-child(even) .timeline-marker {
    left: -20px;
  }
}
@media (max-width: 768px) {
  #process .timeline .timeline-item {
    padding-left: 60px;
  }
}
#process .timeline .timeline-item .timeline-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  color: white;
  background: #bda070;
  border: 2px solid #bda070;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}
@media (max-width: 768px) {
  #process .timeline .timeline-item .timeline-marker {
    left: 0;
  }
}
#process .timeline .timeline-item .timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #bda070;
}
#process .timeline .timeline-item .timeline-content h4 {
  color: #132f55;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
#process .timeline .timeline-item .timeline-content p {
  font-size: 0.95rem;
  color: #666666;
  margin: 0;
}

#pricing {
  position: relative;
}
#pricing::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("../images/assets/pricing.avif");
  background-size: cover;
  z-index: -1;
  background-blend-mode: multiply;
}
#pricing .pricing-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}
#pricing .pricing-card .card-header {
  padding: 2rem;
  text-align: center;
}
#pricing .pricing-card .card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
#pricing .pricing-card .card-header .price {
  font-size: 1.2rem;
  color: #bda070;
  font-weight: bold;
}
#pricing .pricing-card.simple .card-header {
  background-color: #f1f1f1;
}
#pricing .pricing-card.simple .card-header h3 {
  color: #666666;
}
#pricing .pricing-card.solemn .card-header {
  background-color: #132f55;
}
#pricing .pricing-card.solemn .card-header h3 {
  color: #fff;
}
#pricing .pricing-card .card-body {
  padding: 2rem;
  flex: 1;
}
#pricing .pricing-card .card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#pricing .pricing-card .card-body ul li {
  margin-bottom: 0.8rem;
  color: #2e2e2e;
  display: flex;
  align-items: flex-start;
}
#pricing .pricing-card .card-body ul li i {
  color: #bda070;
  margin-right: 0.5rem;
  margin-top: 4px;
}
#pricing .pricing-card .card-body ul li.section-title {
  font-weight: bold;
  color: #132f55;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
  display: block;
}
#pricing .pricing-card .card-body .note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666666;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  text-align: center;
}

#charity .charity-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 3rem;
  position: relative;
}
#charity .charity-box::before, #charity .charity-box::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #bda070;
  border-style: solid;
  transition: all 0.4s ease-in-out;
}
#charity .charity-box::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}
#charity .charity-box::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}
@media (max-width: 768px) {
  #charity .charity-box {
    padding: 2rem 1.5rem;
  }
}
#charity .charity-text h3 {
  color: #132f55;
}
#charity .quote {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(189, 160, 112, 0.1);
  border-left: 3px solid #bda070;
  color: #132f55;
  font-style: italic;
}
#charity .docs-card {
  background: #f8f5f0;
  padding: 2rem;
  border-radius: 4px;
}
#charity .docs-card h4 {
  font-size: 1.1rem;
  color: #132f55;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#charity .docs-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
#charity .docs-card .tags span {
  background: #fff;
  border: 1px solid #ddd;
  padding: 4px 10px;
  font-size: 0.9rem;
  color: #2e2e2e;
}
#charity .docs-card .small-note {
  font-size: 0.85rem;
  color: #bda070;
}
#charity .docs-card .check-list {
  list-style: none;
  padding-left: 0;
}
#charity .docs-card .check-list li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
#charity .docs-card .check-list li::before {
  content: "•";
  color: #bda070;
  position: absolute;
  left: 0;
  font-weight: bold;
}

#subsidy .subsidy-item {
  background: #fff;
  margin-bottom: 1.5rem;
  border-radius: 0;
  border-left: 4px solid #ddd;
  transition: all 0.4s ease-in-out;
}
#subsidy .subsidy-item:hover {
  border-left-color: #bda070;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
#subsidy .subsidy-item .subsidy-header {
  padding: 1.5rem;
}
#subsidy .subsidy-item .subsidy-header h3 {
  font-size: 1.25rem;
  color: #132f55;
  margin: 0;
  font-weight: 600;
}
#subsidy .subsidy-item .subsidy-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
}
#subsidy .subsidy-item .subsidy-body .highlight {
  color: #b45309;
  font-weight: 500;
  background: rgba(180, 83, 9, 0.05);
  padding: 0.5rem;
  display: inline-block;
}
#subsidy .subsidy-item .subsidy-body h4 {
  font-size: 1rem;
  color: #2e2e2e;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
#subsidy .subsidy-item .subsidy-body ul {
  padding-left: 1.2rem;
}
#subsidy .subsidy-item .subsidy-body ul li {
  margin-bottom: 0.3rem;
  color: #666666;
}
#subsidy .subsidy-item .subsidy-body .link-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #132f55;
  font-weight: 600;
}
#subsidy .subsidy-item .subsidy-body .link-btn i {
  margin-left: 5px;
}
#subsidy .subsidy-item .subsidy-body .link-btn:hover {
  color: #bda070;
  margin-left: 5px;
}

.auto-carousel {
  padding: 0;
}
.auto-carousel .swiper {
  width: 100%;
  transform: rotate(0deg);
  position: relative;
}
.auto-carousel .swiper .swiper-wrapper {
  transition-timing-function: linear !important; /* 平滑線性移動 */
}
.auto-carousel .swiper .swiper-slide {
  width: 600px;
  aspect-ratio: 3/2;
}
@media (max-width: 768px) {
  .auto-carousel .swiper .swiper-slide {
    width: 300px;
  }
}
.auto-carousel .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #132f55;
}
#works .nav-pills .nav-link {
  color: #ff6b00;
}

#contact {
  background: #132f55;
}
@media (max-width: 768px) {
  #contact {
    padding-bottom: 1rem;
  }
}
#contact h2 {
  color: white;
}
#contact .contact-box {
  display: flex;
  gap: 1rem;
  background: rgb(226, 226, 226);
  padding: 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: #132f55;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#contact .contact-box .icon-box i {
  color: white;
  font-size: 2rem;
}
#contact .contact-box a {
  color: #132f55;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

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