.header.style_two.can-sticky {
  background: rgba(35, 47, 62, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: fixed; /* 固定在頂部 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.style_two.can-sticky.header-scrolled {
  background: rgba(35, 47, 62, 0.85); /* 滑動後更不透明 */
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2vw;
  min-height: 64px;
}
.logo img {
  height: 48px;
  object-fit: contain;
  max-width: 160px;
}
.nav_actions {
  display: flex;
  align-items: center;
}
.navigation .main-menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation .main-menu .menu-item a {
  color: #ffe066;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.navigation .main-menu .menu-item.active a,
.navigation .main-menu .menu-item a:hover {
  background: #ffe066;
  color: #232f3e;
}
.header_actions .trigger_btn {
  background: none;
  border: none;
  outline: none;
  padding: 0.5rem;
}
.trigger_inner span {
  display: block;
  height: 3px;
  width: 24px;
  background: #ffe066;
  margin: 4px 0;
  border-radius: 2px;
}
.single_banner.section-bg.contain {
  background: url("static/image/3.jpg") center/cover no-repeat;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}
.banner_text {
  background: rgba(35, 47, 62, 0.92);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.banner_text img {
  max-width: 220px;
  display: block;
}
.thm-btn.style_two {
  display: inline-flex;
  align-items: center;
  background: #ffe066;
  color: #232f3e;
  font-weight: 700;
  border-radius: 24px; /* 原本32px，改小 */
  padding: 0.55rem 1.3rem; /* 原本0.75rem 2rem，改小 */
  margin: 0.3rem;
  font-size: 0.98rem; /* 原本1.08rem，改小 */
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, color 0.2s;
}
.thm-btn.style_two:hover {
  background: #1e7a4d; /* 更深的綠色 */
  color: #ffe066;      /* 亮黃色文字 */
  box-shadow: 0 4px 16px rgba(30,122,77,0.18); /* 增加陰影效果 */
}
.thm-btn .icon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  object-fit: contain;
}
.section-bg {
  background: url("static/image/3.jpg") center/cover no-repeat;
}
.img-fluid.image-fit-contain {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.footer.style_two.section {
  background: rgba(35, 47, 62, 0.85);
  color: #ffe066;
  padding: 2rem 0 0.5rem 0;
  width: 100%;
  margin: 0;
  position: static;
}
.footer_inner {
  padding-bottom: 1rem;
}
.ft_logo img {
  height: 48px;
  object-fit: contain;
  max-width: 160px;
}
.copyright {
  border-top: 1px solid rgba(255, 224, 102, 0.18);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 1rem;
}
.cp_menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cp_menu li a {
  color: #ffe066;
  text-decoration: underline;
  font-weight: 700;
}
@media (max-width: 991.98px) {
  .header_inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2vw;
  }
  .logo {
    flex: 0 0 auto;
  }
  .nav_actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
    display: flex;
  }
  .header_actions {
    display: flex;
    gap: 0.5rem;
  }
  .navigation .main-menu {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .single_banner.section-bg.contain {
    flex-direction: column;
    min-height: 320px;
    padding: 1.5rem 0;
  }
  .banner_text {
    padding: 1.2rem 0.8rem;
  }
}
@media (max-width: 768px) {
  .header_inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 3vw;
  }
  .logo img {
    height: 32px;
    max-width: 100px;
  }
  .header_actions {
    gap: 0.3rem;
  }
  .banner_text img {
    max-width: 140px;
  }
  .thm-btn.style_two {
    font-size: 0.92rem;
    padding: 0.45rem 0.9rem;
    border-radius: 18px;
  }
}
@media (max-width: 768px) {
  .section-img img {
    max-height: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .brand-story-row .section-img {
    margin-bottom: 16px;
  }
}
@media (max-width: 991.98px) {
  .section-img img {
    max-height: 150px;
  }
}
body {
  font-family: "Kanit", Arial, sans-serif;
  background: #194c38;
  color: #f5f6fa;
  margin-bottom: 0;
}
.navbar {
  background: #194c38;
}
.navbar-brand,
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar-nav .nav-link.active {
  color: #e6c36b !important;
}
.navbar-toggler {
  border-color: #fff;
}
.navbar-toggler-icon {
  background-image: url("../img/navbar-toggler-icon.svg");
}
.brand-logo {
  width: auto;
  height: 38px;
}
.hero {
  background: linear-gradient(90deg, #194c38 0%, #2d6e54 100%);
  color: #fff;
  padding: 64px 0 32px 0;
  text-align: center;
}
.section-img {
  margin-bottom: 20px;
}
.section-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}
.card {
  border: none;
  box-shadow: 0 2px 8px rgba(46, 54, 80, 0.08);
  border-radius: 16px;
  background: #245e47;
  color: #fff;
}
.card-title {
  color: #e6c36b;
  font-weight: 700;
}
.footer {
  background: #194c38;
  color: #fff;
  padding: 16px 0 16px 0;
  margin: 24px 0;
}
.footer a {
  color: #e6c36b;
  text-decoration: underline;
  margin: 0 8px;
}
.btn-custom-login {
  background: linear-gradient(90deg, #e6c36b 0%, #f5f6fa 100%);
  color: #194c38;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  padding: 12px 36px;
  box-shadow: 0 2px 8px rgba(46, 54, 80, 0.08);
  transition: background 0.2s, color 0.2s;
}
.btn-custom-login:hover {
  background: linear-gradient(90deg, #e6c36b 0%, #e6c36b 100%);
  color: #fff;
}
.btn-custom-register {
  background: linear-gradient(90deg, #2d6e54 0%, #194c38 100%);
  color: #e6c36b;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  padding: 12px 36px;
  box-shadow: 0 2px 8px rgba(46, 54, 80, 0.08);
  transition: background 0.2s, color 0.2s;
}
.btn-custom-register:hover {
  background: linear-gradient(90deg, #e6c36b 0%, #e6c36b 100%);
  color: #194c38;
}

#intro {
  margin-top: 80px;
  position: relative;
  min-height: 420px;
}
#particles-js {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.single_banner.section-bg.contain {
  position: relative;
  z-index: 1;
  background: none !important; /* 只用粒子動畫，不疊加背景圖 */
}
