@charset "UTF-8";
body {
  font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #2c2c2c;
  background-color: #f8f8f5;
}

.all-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  opacity: 0.2;
}
.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;
  /* 避免子項目被等寬拉伸，同時維持靠右貼齊 */
  align-items: flex-end;
}
@media (max-width: 768px) {
  .cta-link {
    bottom: 1rem;
    right: 0.5rem;
  }
}
.cta-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 2rem;
  overflow: hidden;
}
.cta-link a.line {
  background: #39cd00;
}
.cta-link a.tel {
  background: #1c6b36;
}
.cta-link a.tel svg #background {
  fill: #1c6b36;
}
.cta-link a.tel svg #icon {
  fill: white;
}
.cta-link a .icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.cta-link a .icon svg {
  width: 50px;
}
.cta-link a .label {
  white-space: nowrap;
  overflow: hidden;
  color: white;
  /* 用可動畫屬性取代 display */
  opacity: 0;
  visibility: hidden;
  max-width: 0; /* 或用 width，依喜好 */
  margin-left: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.cta-link a:hover {
  gap: 0.5rem;
}
.cta-link a:hover .label {
  opacity: 1;
  visibility: visible;
  max-width: 200px;
  margin-left: 0rem;
  padding-right: 1rem;
  transform: translateX(0);
  transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease, visibility 0s;
}
.cta-link .dropdown-menu {
  margin-right: 0.25rem;
  margin-left: 0;
}

.navbar {
  background-color: rgba(248, 248, 245, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar .navbar-brand .brand-text-group {
  line-height: 1.1;
  border-left: 2px solid #dde7dd;
  padding-left: 12px;
  margin-left: 4px;
}
.navbar .navbar-brand .brand-text-group .brand-name-zh {
  color: #1c6b36;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
}
.navbar .navbar-brand .brand-text-group .brand-name-en {
  color: #6bbf59;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1px;
}
@media (max-width: 576px) {
  .navbar .navbar-brand .brand-text-group .brand-name-zh {
    font-size: 1.1rem;
  }
  .navbar .navbar-brand .brand-text-group .brand-name-en {
    font-size: 0.75rem;
  }
}
.navbar .nav-link {
  color: #1c6b36;
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar .nav-link:hover {
  color: #6bbf59;
}
.navbar .nav-link.btn-primary {
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background-color: #1c6b36;
  border: none;
}
.navbar .nav-link.btn-primary:hover {
  background-color: #6bbf59;
  color: #ffffff;
  transform: translateY(-2px);
}
@media (max-width: 991px) {
  .navbar .nav-link.btn-primary {
    margin-top: 10px;
    display: inline-block;
  }
}
@media (max-width: 991px) {
  .navbar .nav-link {
    padding: 0.5rem 0;
  }
}

.hero-section {
  position: relative;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.8) 100%), url("../images/banner/img-1.avif") center/cover no-repeat;
  height: 85vh;
  padding-bottom: 50px;
}
@media (max-width: 768px) {
  .hero-section {
    height: 30vh;
  }
}
@media (max-width: 768px) {
  .hero-section .hero-text-wrapper {
    display: none;
  }
}
.hero-section .hero-text-wrapper h1 {
  font-size: 2.8rem;
}
@media (max-width: 768px) {
  .hero-section .hero-text-wrapper h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}
.hero-section .hero-text-wrapper p.lead {
  font-weight: 500;
}
@media (max-width: 768px) {
  .hero-section .hero-text-wrapper p.lead {
    font-size: 1rem;
  }
}
.hero-section .hero-text-wrapper .hero-btns a svg {
  width: 30px;
}

@media (max-width: 768px) {
  #about h5 {
    font-size: 1.1rem;
  }
}

.service-card {
  background: white;
  border-radius: 15px;
  height: 100%;
  transition: transform 0.3s ease;
  border-bottom: 4px solid #dde7dd;
}
.service-card i {
  font-size: 2.5rem;
  color: #6bbf59;
  margin-bottom: 1rem;
  display: block;
}
.service-card h4 {
  color: #1c6b36;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: #6bbf59;
}

.timeline {
  position: relative;
  padding-left: 3.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dde7dd;
}
.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item:last-child::after {
  content: "";
  position: absolute;
  left: -2.35rem;
  top: 45px;
  bottom: 0;
  width: 10px;
  background: #f8f8f5;
}
.timeline-item .timeline-dot {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 45px;
  height: 45px;
  background: #1c6b36;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #1c6b36;
  z-index: 2;
}
.timeline-item .timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  border-left: 6px solid #6bbf59;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.timeline-item .timeline-content h5 {
  color: #1c6b36;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.timeline-item .timeline-content p {
  color: #555;
  line-height: 1.7;
}
.timeline-item .timeline-content img {
  transition: transform 0.4s ease;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  max-height: 300px;
}
.timeline-item .timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.timeline-item .timeline-content:hover img {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .timeline-item {
    padding-left: 0;
  }
  .timeline-item .timeline-content {
    padding: 1.5rem;
  }
  .timeline-item .col-md-5 {
    text-align: center;
  }
}

footer .social-links a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 50%;
}
footer .social-links a svg {
  width: 50px;
}
footer .social-links a svg:hover {
  fill: black !important;
}
footer .footer-bottom {
  font-size: 0.85rem;
}
footer .footer-bottom .designer-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}
footer .footer-bottom .designer-link:hover {
  color: #6bbf59;
}
@media (max-width: 991px) {
  footer .footer-bottom {
    text-align: center;
    margin-top: 2rem !important;
  }
}

.bg-light {
  background-color: #dde7dd !important;
}

.text-primary {
  color: #1c6b36 !important;
}/*# sourceMappingURL=style.css.map */