@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.6rem, 3.5vw, 4rem);
  font-weight: 600;
}

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

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(1.1rem, 1vw, 1.2rem);
  font-weight: 400;
}

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

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

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

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

body {
  font-family: "Noto Serif TC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #fdf6ec;
}

h2 {
  margin-bottom: 3rem;
  text-align: center;
  display: inline-block;
  border-bottom: 0.3rem solid #d4af37;
  padding-bottom: 0.5rem;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}

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

a {
  text-decoration: none;
  color: #1c3b30;
}

.cta-link {
  display: flex;
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 100;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 768px) {
  .cta-link {
    gap: 0.7rem;
    bottom: 1rem;
    right: 0.7rem;
  }
}
.cta-link a {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  background: #1c3b30;
  background: #d4af37;
  background: #8b3a2b;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
@media (max-width: 768px) {
  .cta-link a {
    width: 50px;
    height: 50px;
  }
}
.cta-link a i {
  color: white;
  font-size: 2.3rem;
}
.cta-link a svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1048; /* 比 navbar 高一點 */
  background: #1c3b30;
  color: white;
  padding: 0.5rem 1.5rem;
}
@media (max-width: 768px) {
  .lang-bar {
    padding-right: 0.5rem;
  }
}

.navbar {
  position: fixed;
  top: 47.5px;
  width: 100%;
  left: 0;
  background: #1c3b30;
  z-index: 1049;
  transition: 0.5s;
}
@media (max-width: 768px) {
  .navbar {
    top: 45.5px;
    padding: 0.5rem 0;
  }
}
.navbar .navbar-toggler {
  border: 1px solid white;
}
.navbar .navbar-toggler-icon {
  filter: invert(1) brightness(50);
}
.navbar .navbar-brand {
  transform: translateY(-1.3rem);
  display: inline-block;
  text-decoration: none;
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: #ffd966;
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  background: #8b3a2b; /* 赭紅棕 */
  outline: 3px solid #ffd966;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 6px 18px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .navbar .navbar-brand {
    transform: translateY(0rem);
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 0.3rem;
    outline: 1.5px solid #ffd966;
    font-weight: 600;
  }
}
.navbar .navbar-brand:hover {
  background: #732f23;
  color: #fff2cc;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  padding: 0rem 1.5rem;
  border-right: 1px solid rgb(255, 255, 255);
  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:last-child .nav-link {
  border-right: none;
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #1c3b30;
}

#hero {
  width: 100%;
  height: 100vh;
  position: relative;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 101.81px;
    height: 85vh;
  }
}
#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);
  background: linear-gradient(to bottom, rgba(28, 59, 48, 0.9), rgba(28, 59, 48, 0.8), rgba(28, 59, 48, 0.95));
}
#hero .cta-box .cta-content {
  text-align: center;
  color: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content {
    padding: 0;
  }
}
#hero .cta-box .cta-content h5 {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid #d4af37;
  margin-bottom: 2rem;
  display: inline-block;
}
#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: 0.5rem;
  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: #1c3b30;
  background: #d4af37;
}
#hero .cta-box .cta-content .btn-box a:last-child {
  color: white;
  background: rgba(255, 255, 255, 0.155);
  border: 1px solid white;
}
#hero .cta-box .cta-content .btn-box a:last-child:hover {
  background: white;
  color: #1c3b30;
}
#hero .cta-box .cta-content .stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 5rem;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .stats {
    margin-top: 2rem;
    gap: 1rem;
  }
}
#hero .cta-box .cta-content .stats .stats-item {
  text-align: center;
}
#hero .cta-box .cta-content .stats .stats-item .num {
  color: #d4af37;
  font-size: 2rem;
  font-weight: 800;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .stats .stats-item .num {
    font-size: 1.2rem;
  }
}
#hero .swiper {
  width: 100%;
  height: 100%;
}
#hero .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#hero .scroll-down {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 1000;
  display: inline-block;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  padding-top: 80px;
}
#hero .scroll-down:hover {
  opacity: 0.5;
}
#hero .scroll-down .arrow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
#hero .scroll-down .arrow:nth-of-type(1) {
  animation-delay: 0s;
}
#hero .scroll-down .arrow:nth-of-type(2) {
  top: 16px;
  animation-delay: 0.15s;
}
#hero .scroll-down .arrow:nth-of-type(3) {
  top: 32px;
  animation-delay: 0.3s;
}

#about {
  background: linear-gradient(135deg, rgba(28, 59, 48, 0.02) 0%, rgba(212, 175, 55, 0.05) 100%);
}
#about .about-img {
  width: 70%;
}
#about .info {
  margin-top: -1rem;
  margin-bottom: 2rem;
  color: #2b2b2b;
  font-size: 1.1rem;
}
#about .intro-content {
  max-width: 1000px;
  margin: 0 auto;
}
#about .intro-section {
  margin-bottom: 4rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#about .intro-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}
#about .intro-section h3 {
  background: linear-gradient(135deg, #1c3b30 0%, #0c1814 100%);
  color: white;
  margin: 0;
  padding: 1.5rem 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: none;
}
#about .intro-section h3.important {
  background: rgb(159, 27, 27);
}
#about .intro-section h3 i {
  font-size: 1.5rem;
  color: #d4af37;
}
#about .intro-section .content-box {
  padding: 2rem;
  line-height: 1.8;
}
#about .intro-section .content-box img {
  width: 100%;
  margin-bottom: 2rem;
}
#about .intro-section .content-box p {
  margin-bottom: 1.2rem;
  color: #2b2b2b;
  font-size: 1rem;
}
#about .intro-section .content-box p strong {
  color: #1c3b30;
  font-weight: 600;
}
#about .intro-section .content-box h4 {
  color: #1c3b30;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}
#about .intro-section .content-box ul,
#about .intro-section .content-box ol {
  margin: 1rem 0;
  padding-left: 2rem;
}
#about .intro-section .content-box ul li,
#about .intro-section .content-box ol li {
  margin-bottom: 0.8rem;
  color: #2b2b2b;
  line-height: 1.6;
}
#about .intro-section .content-box ul li strong,
#about .intro-section .content-box ol li strong {
  color: #1c3b30;
}
#about .intro-section .content-box a {
  color: #1c3b30;
  text-decoration: underline;
  font-weight: 500;
}
#about .intro-section .content-box a:hover {
  color: #0c1814;
}
#about .master-info {
  background: rgba(212, 175, 55, 0.05);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #d4af37;
}
#about .master-info h4 {
  color: #1c3b30;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
#about .master-info p {
  margin-bottom: 0;
}
#about .highlight-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
}
#about .highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
}
#about .successor-info {
  background: rgba(139, 58, 43, 0.05);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border-left: 4px solid #8b3a2b;
}
#about .successor-info h4 {
  color: #8b3a2b;
  margin-bottom: 1rem;
}
#about .warning-box {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid rgba(255, 193, 7, 0.3);
  position: relative;
}
#about .warning-box::before {
  content: "⚠️ 重要聲明";
  position: absolute;
  top: -12px;
  left: 2rem;
  background: white;
  padding: 0 1rem;
  color: #856404;
  font-weight: 600;
  font-size: 0.9rem;
}
#about .warning-box p {
  margin-bottom: 1.2rem;
}
#about .example-box {
  background: rgba(220, 53, 69, 0.05);
  padding: 1.2rem;
  border-radius: 0.6rem;
  margin: 1rem 0;
  border-left: 3px solid #dc3545;
}
#about .example-box p {
  margin-bottom: 0;
  font-style: italic;
  color: #721c24;
}
#about .case-study {
  background: rgba(28, 59, 48, 0.05);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(28, 59, 48, 0.2);
}
#about .case-study p {
  margin-bottom: 1rem;
}
#about .case-study p:last-child {
  margin-bottom: 0;
}
#about .academic-detail {
  background: rgba(212, 175, 55, 0.08);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
#about .academic-detail h4 {
  color: #d4af37;
  margin-bottom: 1rem;
}
#about .cycle-info {
  background: rgba(139, 58, 43, 0.08);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(139, 58, 43, 0.2);
}
#about .cycle-info h4 {
  color: #8b3a2b;
  margin-bottom: 1rem;
}
#about .practical-advice {
  background: rgba(28, 59, 48, 0.08);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(28, 59, 48, 0.2);
}
#about .practical-advice p {
  margin-bottom: 1rem;
}
#about .practical-advice p:last-child {
  margin-bottom: 0;
}
#about .calculation-detail {
  background: rgba(212, 175, 55, 0.08);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
#about .calculation-detail h4 {
  color: #d4af37;
  margin-bottom: 1rem;
}
#about .prediction-case {
  background: rgba(28, 59, 48, 0.05);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border-left: 4px solid #1c3b30;
}
#about .prediction-case h4 {
  color: #1c3b30;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
#about .prediction-case p {
  margin-bottom: 1rem;
}
#about .result-box {
  background: rgba(40, 167, 69, 0.1);
  padding: 1.2rem;
  border-radius: 0.6rem;
  margin: 1rem 0;
  border-left: 3px solid #28a745;
  position: relative;
}
#about .result-box p {
  margin-bottom: 0;
  color: #155724;
  font-weight: 500;
}
#about .contact-info .contact-details {
  background: rgba(212, 175, 55, 0.05);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
}
#about .contact-info .contact-details h4 {
  color: #1c3b30;
  margin-bottom: 1rem;
  text-align: center;
}
#about .contact-info .contact-details ul {
  list-style: none;
  padding: 0;
}
#about .contact-info .contact-details ul li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(28, 59, 48, 0.1);
  display: flex;
  align-items: center;
}
#about .contact-info .contact-details ul li:last-child {
  border-bottom: none;
}
#about .contact-info .contact-details ul li strong {
  min-width: 120px;
  color: #1c3b30;
}
#about .contact-info .contact-details ul li a {
  color: #1c3b30;
  text-decoration: none;
  font-weight: 500;
}
#about .contact-info .contact-details ul li a:hover {
  text-decoration: underline;
}
#about .contact-info .service-info {
  background: rgba(139, 58, 43, 0.05);
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(139, 58, 43, 0.2);
}
#about .contact-info .service-info p {
  margin-bottom: 1rem;
}
#about .contact-info .service-info p:first-child {
  text-align: center;
  font-size: 1.1rem;
  color: #8b3a2b;
}
#about .contact-info .service-info ol {
  margin: 1rem 0;
  padding-left: 2rem;
}
#about .contact-info .service-info ol li {
  margin-bottom: 1rem;
  line-height: 1.6;
}
#about .contact-info .service-info ol li strong {
  color: #8b3a2b;
}
@media (max-width: 768px) {
  #about .intro-section {
    margin-bottom: 2rem;
  }
  #about .intro-section h3 {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  #about .intro-section .content-box {
    padding: 1.5rem;
  }
  #about .intro-section .content-box h4 {
    font-size: 1.1rem;
  }
  #about .master-info,
  #about .highlight-box,
  #about .successor-info,
  #about .warning-box,
  #about .example-box,
  #about .case-study,
  #about .academic-detail,
  #about .cycle-info,
  #about .practical-advice,
  #about .calculation-detail,
  #about .prediction-case,
  #about .result-box {
    padding: 1rem;
    margin: 1rem 0;
  }
  #about .contact-info .contact-details ul li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  #about .contact-info .contact-details ul li strong {
    min-width: auto;
  }
}

@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#services .service-card {
  border: 1px solid rgb(181, 181, 181);
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  height: 100%;
}
#services .service-card .icon-box {
  width: 80px;
  height: 80px;
  background: #1c3b30;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  #services .service-card .icon-box {
    width: 60px;
    height: 60px;
  }
}
#services .service-card .icon-box i {
  color: white;
  font-size: 3rem;
}
@media (max-width: 768px) {
  #services .service-card .icon-box i {
    font-size: 2.5rem;
  }
}
#services .service-card h3 {
  margin: 2rem 0 1rem;
}

#works {
  position: relative;
}
#works .swiper img,
#works .swiper video {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  #works .swiper img,
  #works .swiper video {
    height: 300px;
  }
}

@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: #1c3b30;
  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: #1c3b30;
  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 */