:root {
  --bg-main: #08110f;
  --bg-dark: #0d1715;
  --bg-card: rgba(0, 0, 0, 1);
  --line: rgba(85, 255, 170, 0.2);
  --line-strong: rgba(85, 255, 170, 0.45);
  --primary: rgba(113, 255, 171);
  --primary-dark: #27c980;
  --text-main: #e9fff6;
  --text-sub: #aed9c6;
  --text-muted: #7ea896;
  --white: #ffffff;
  --shadow-glow: 0 0 0 1px rgba(89, 240, 176, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  background: #000;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/*body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
  linear-gradient(rgba(89, 240, 176, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(89, 240, 176, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}*/

a { transition: all 0.3s ease; }

img {
  max-width: 100%;
  height: auto;
}

.site-wrap {
  position: relative;
  z-index: 1;
}

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 遮罩（超重要） */
.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 13, 0.8); /* 控亮度 */
  z-index: 1;
}

.mono {
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.04em;
}


.hero {
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
  height: 90vh;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), url(../images/AdobeStock_576595621.png);
  background-size: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
}


.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 240, 176, 0.18) 0%, rgba(89, 240, 176, 0.02) 50%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.eyebrow {
  display: inline-block;
  padding: 40px 0 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  background: rgba(5, 25, 19, 0.5);
  margin-top: 20%;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 2rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 1.75rem;
  max-width: 760px;
}

.hero-panel,
.info-card,
.feature-card,
.instructor-box,
.cert-box,
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-glow);
}

.hero-panel {
  padding: 1.75rem;
  margin-top: 10%;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

.section-title .accent,
.accent {
  color: var(--primary);
}

.section-desc {
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.system-label { display: inline-block; margin-bottom: 0.75rem; color: var(--primary); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; }

.info-card,
.feature-card,
.cert-box {
  height: 100%;
  padding: 1.5rem;
}

.info-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-family: "Share Tech Mono", monospace;
  display: flex;
  justify-content: space-between;
  flex-direction: row
}

.info-icon{
  width: 20%;
}

.card-title-custom {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card-text-custom {
  color: var(--white);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), transparent);
}

.list-clean {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-clean li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.9rem;
  color: var(--white);
  line-height: 1.8;
}

.list-clean li:last-child {
  margin-bottom: 0;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(89, 240, 176, 0.65);
}

.cert-map {
  background: #050908;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cert-map pre {
  color: #7ff7c4;
  font-size: 0.85rem;
  margin: 0;
  white-space: pre;
  font-family: "Share Tech Mono", monospace;
}

.instructor-box {
  padding: 2rem;
}

.instructor-photo {
  width: 210px;
  height: 210px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
  linear-gradient(135deg, rgba(89, 240, 176, 0.12), rgba(89, 240, 176, 0.03)),
  #0a120f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 1rem;
}

.instructor-name {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}

.meta-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.meta-text {
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.btn-tech,
.btn-tech-outline {
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  display: inline-block;
  min-width: 180px;
  text-align: center;
}

.btn-tech {
  color: #04100c;
  background: linear-gradient(90deg, var(--primary), #8df8cd);
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(89, 240, 176, 0.22);
}

.btn-tech:hover {
  color: #04100c;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(89, 240, 176, 0.28);
}

.btn-tech-outline {
  color: var(--primary);
  border: 1px solid var(--line-strong);
  background: rgba(89, 240, 176, 0.04);
}

.btn-tech-outline:hover {
  color: var(--white);
  border-color: var(--primary);
  background: rgba(89, 240, 176, 0.1);
  transform: translateY(-2px);
}

.cta-box {
  padding: 2.25rem;
  text-align: center;
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

.divider-top {
  border-top: 1px solid var(--line);
}

.hero-btn-group,
.cta-btn-group {
  width: 100%;
}

.cert-box,
.info-card,
.feature-card,
.hero-panel,
.instructor-box,
.cta-box {
  overflow: hidden;
}


/* First */
  .timeline-section{
    position: relative;
  }
  .timeline-section:after{
    content:"";
    position: absolute;
    top: calc(10% + 2rem);
    left: 50%;
    /* 讓線定位在中央，但是軸線會從左邊 50% 起往右畫 3px，造成軸線偏右 */
    width: 6px;
    height: 95%;
    transform: translateX(-50%);
    /* transform 是 CSS 的變形方式，其中包含位移，這邊用來修正軸線偏右 */
    background-color: #ececec; /* 寬度跟顏色把線畫出來 */
  }
  .timeline-pointer{
    position: relative;
  }
  .timeline-pointer.is-first:after {
    border-color: #758846;
  }
  .timeline-pointer.is-first:after {
    border-color: #758846;
  }
  .timeline-pointer:after{
    content:"";
    position: absolute;
    top: 10%;
    left: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #ccc;
    transform: translateX(-50%);
    background-color: #fff;
    z-index: 1;
  }
  section#testimony  p{font-size: 1.2rem;
    letter-spacing: 1px;line-height: 1.8;}
  section#testimony .wrap{max-width: calc(50% - 1.5rem);}
  section#testimony .title {
    font-family: jf-jinxuan, serif;
    font-size: 32px;
    line-height: 1.33;
    letter-spacing: 2.25px;
    color: #758846;
    margin-bottom: 1rem;
    padding-top: 15%;
    margin-top: 10%;
}
#solution .box img{display: block;}
  @media (max-width: 576px){
    .timeline-section:after, .timeline-pointer:after{
      display: none;
    }
  }
/* 課程核心目標 */
    .trouble-section {
      padding: 60px 0 80px;
      background: #eaf4f4;
    }

    .trouble-title {
      position: relative;
      text-align: center;
      font-size: 2.5rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      margin-bottom: 50px;
      color: #2f2f2f;
      line-height: 1.5;
    }

    .trouble-title .accent {
      color: #74aeb3;
    }

    .trouble-title:before,
    .trouble-title:after {
      content: "";
      position: absolute;
      width: 28px;
      height: 28px;
    }

    .trouble-title:before {
      border-top: 4px solid #74aeb3;
      border-left: 4px solid #74aeb3;
      left: 26%;
      top: -6px;
    }

    .trouble-title:after {
      border-right: 4px solid #74aeb3;
      border-bottom: 4px solid #74aeb3;
      right: 26%;
      bottom: 0;
    }

    .trouble-card {
      background: #ffffff;
      border: 8px solid #d7ecec;
      border-radius: 40px;
      min-height: 150px;
      padding: 28px 24px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 30px;
    }

    .trouble-card p {
      margin-bottom: 0;
      font-size: 1.15rem;
      line-height: 1.8;
      font-weight: 500;
      color: #333333;
    }

    .trouble-card .highlight {
      color: #74aeb3;
      font-weight: 700;
      display: inline-block;
      position: relative;
      z-index: 1;
    }

    .trouble-card .highlight:after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0.15em;
      height: 0.5em;
      background: rgba(116, 174, 179, 0.16);
      z-index: -1;
      border-radius: 3px;
    }

    .bottom-row {
      margin-top: 10px;
    }


.box-wrap {
  text-align: center;
  margin: 20px auto;
}

/* 上方對話框 */
.card-wrap {
  position: relative;
  display: inline-block;
  margin-top: 50px;

}

/* 卡片 */
.card {
  background: #d94a2b;
  color: #fff;
  padding: 25px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

/* 泡泡 */
.bubble {
  position: absolute;
  top: -20px;   /* ← 關鍵：往上疊 */
  left: 50%;
  transform: translateX(-50%);
  background: #ffe9e2;
  color: #d94a2b;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 1.2rem;
  white-space: nowrap;
  font-weight: bold;
  z-index: 1;
}

/* ▼ 三角形 */
.bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);

  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffe9e2;
}
/* Second */
#Second{background: url(../images/), linear-gradient(to bottom right, #1c4d51, #0e4546);}
#course{background: url(../images/), linear-gradient(to bottom right, #1c4d51, #0e4546);}
#solution{background: url(../images/), linear-gradient(to bottom right, #082624, #1b4637);}
    
/* btnLink */
#btnLink{padding: 10% 0 0 0;position: relative;}
#btnLink button{width: 100%; margin: 15px auto 25px auto; display: block;background:#2F7DE1;color:#FFF; border: 4px solid #FFF; border-radius: 50px; padding: 13px 20px; font-weight: bold; font-size:1.6rem;height: 72px;}
#btnLink button:hover{transform: translateY(5px);opacity: 0.6;}





@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 1280px;
  }
}

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 90px 0 56px;
  }
  
  .hero .row {
    align-items: flex-start !important;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.35;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  
  .section {
    padding: 56px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  
  .section-desc {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  
  .hero-panel,
  .info-card,
  .feature-card,
  .cert-box,
  .instructor-box,
  .cta-box {
    padding: 1.35rem;
  }
  
  .instructor-photo {
    width: 180px;
    height: 180px;
    margin-bottom: 1.25rem;
  }
  
  .cert-map pre {
    font-size: 0.76rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }
  
  .navbar {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
    max-width: 78%;
    white-space: normal;
    line-height: 1.3;
  }
  
  .navbar-dark-custom .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--line);
  }
  
  .navbar-dark-custom .nav-link {
    margin-left: 0;
    padding: 0.55rem 0;
    font-size: 0.95rem;
  }
  
  .hero {
    padding: 0;
  }
  
  .hero::after {
    width: 220px;
    height: 220px;
    right: -80px;
    top: 20px;
  }
  
  .eyebrow {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
    line-height: 1.4;
    margin-top: 45%;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 0.85rem;
  }
  
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
  }
  
  .hero-panel {
    margin-top: 1.25rem;
  }
  
  .section {
    padding: 46px 0;
  }
  
  .section-title {
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
  }
  
  .section-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }
  
  .system-label {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-panel,
  .info-card,
  .feature-card,
  .cert-box,
  .instructor-box,
  .cta-box {
    border-radius: 12px;
    padding: 1.1rem;
  }
  
  .info-number {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  
  .card-title-custom {
    font-size: 1.02rem;
    line-height: 1.45;
  }
  
  .card-text-custom,
  .meta-text,
  .list-clean li {
    font-size: 0.93rem;
    line-height: 1.75;
  }
  
  .list-clean li {
    padding-left: 1rem;
  }
  
  .list-clean li::before {
    width: 6px;
    height: 6px;
    top: 0.72rem;
  }
  
  .cert-map {
    padding: 0.75rem;
    border-radius: 10px;
  }
  
  .cert-map pre {
    font-size: 0.68rem;
    line-height: 1.45;
    min-width: 560px;
  }
  
  .instructor-box .row {
    text-align: left;
  }
  
  .instructor-photo {
    width: 150px;
    height: 150px;
    font-size: 0.82rem;
  }
  
  .instructor-name {
    font-size: 1.3rem;
    line-height: 1.4;
  }
  
  .meta-title {
    font-size: 0.95rem;
  }
  
  .btn-tech,
  .btn-tech-outline {
    display: block;
    width: 100%;
    min-width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.96rem;
  }
  
  .d-flex.flex-column.flex-sm-row,
  .d-flex.flex-column.flex-md-row {
    gap: 0.75rem;
  }
  
  .d-flex.flex-column.flex-sm-row > .btn-tech,
  .d-flex.flex-column.flex-sm-row > .btn-tech-outline,
  .d-flex.flex-column.flex-md-row > .btn-tech,
  .d-flex.flex-column.flex-md-row > .btn-tech-outline {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .footer-note {
    margin-top: 1rem;
    font-size: 0.78rem;
  }
  .box-wrap {
  margin: 40px auto;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hero-title {
    font-size: 1.55rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }

  .hero-subtitle,
  .section-desc,
  .card-text-custom,
  .meta-text,
  .list-clean li {
    font-size: 0.91rem;
  }
  
  .eyebrow,
  .system-label,
  .mono {
    letter-spacing: 0.02em;
  }
  
  .cta-box {
    padding: 1.1rem;
  }
}




      
@media(min-width: 1441px){.container {max-width: 1320px;}}

@media(max-width: 767px){
.container{max-width: 100%;}
   
.hero {
  height: 40vh;
}
#solution .box img{display: none;}
/* btnLink */
#btnLink .card{flex-direction: column;}
section#btnLink .btn{width: 100%;}
section#btnLink button{font-size: 1.2rem;}

        
}
      