@font-face {
  font-display: swap;
}
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400);
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900);


:root {
      --ec-dark: #03040a;
      --ec-white: #ffffff;
      --ec-muted: rgba(255, 255, 255, .66);
      --ec-line: rgba(255, 255, 255, .18);
      --ec-gold: #f2c879;
      --ec-blue: #4da3ff;
      --ec-purple: #8f6cff;
    }

    /* =========================
       HERO
    ========================= */
    .ec-hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 76%, rgba(242, 200, 121, .32), transparent 28%),
        radial-gradient(circle at 78% 42%, rgba(77, 163, 255, .38), transparent 30%),
        radial-gradient(circle at 48% 12%, rgba(143, 108, 255, .34), transparent 26%),
        var(--ec-dark);
      color: var(--ec-white);
    }
		
    /* 柔光流動背景 */
    .ec-hero-glow {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .ec-hero-glow::before,
    .ec-hero-glow::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      filter: blur(90px);
      opacity: .7;
      transform: translate3d(0, 0, 0);
      will-change: transform;
    }

    .ec-hero-glow::before {
      width: 680px;
      height: 680px;
      right: 5%;
      top: 20%;
      background:
        radial-gradient(circle at 30% 35%, rgba(143, 108, 255, .8), transparent 36%),
        radial-gradient(circle at 68% 52%, rgba(77, 163, 255, .75), transparent 42%);
      animation: ecGlowMoveA 14s ease-in-out infinite alternate;
    }

    .ec-hero-glow::after {
      width: 520px;
      height: 520px;
      left: 8%;
      bottom: -10%;
      background:
        radial-gradient(circle at 45% 45%, rgba(242, 200, 121, .72), transparent 38%),
        radial-gradient(circle at 70% 30%, rgba(143, 108, 255, .35), transparent 46%);
      animation: ecGlowMoveB 16s ease-in-out infinite alternate;
    }

    @keyframes ecGlowMoveA {
      from {
        transform: translate3d(0, 0, 0) scale(1);
      }
      to {
        transform: translate3d(-70px, 45px, 0) scale(1.08);
      }
    }

    @keyframes ecGlowMoveB {
      from {
        transform: translate3d(0, 0, 0) scale(1);
      }
      to {
        transform: translate3d(80px, -40px, 0) scale(1.1);
      }
    }

    /* tsParticles 容器 */
    #tsparticles-mh {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    .ec-hero-inner {
      position: relative;
      z-index: 2;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 96px;
      padding-bottom: 96px;
			background:
			radial-gradient(
				ellipse at 20% 30%,
				rgba(5, 5, 8, 0.4) 0%,
				rgba(5, 5, 8, 0.5) 36%,
				rgba(5, 5, 8, 0) 50%
			);
    }

    .ec-outline-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 132px;
      height: 46px;
      border: 1px solid rgba(255,255,255,.72);
      border-radius: 999px;
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      transition: all .25s ease;
    }

    .ec-outline-btn:hover {
      background: #fff;
      color: #111;
    }

    .ec-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
      color: rgba(255,255,255,.68);
      font-size: 13px;
      letter-spacing: .28em;
      text-transform: uppercase;
    }

    .ec-eyebrow::before {
      content: "";
      width: 28px;
      height: 1px;
      background: rgba(255,255,255,.38);
    }

    .ec-hero-title {
      font-size: clamp(48px, 7vw, 96px);
      line-height: 1.18;
      font-weight: 300;
      letter-spacing: .08em;
      margin-bottom: 26px;
    }

    .ec-gradient-text {
      background: linear-gradient(90deg, #ffffff 0%, #9b82ff 42%, #f2c879 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .ec-hero-desc {
      max-width: 560px;
      color: var(--ec-muted);
      font-size: clamp(16px, 1.4vw, 19px);
      line-height: 2;
      letter-spacing: .08em;
      margin-bottom: 36px;
    }

    .ec-cta {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 100px;
      height: 50px;
      padding: 0 28px;
      border: 1px solid rgba(255,255,255,.34);
      border-radius: 999px;
      color: #fff;
      text-decoration: none;
      font-size: 15px;
      transition: all .25s ease;
      backdrop-filter: blur(8px);
      background: rgba(255,255,255,.03);
			letter-spacing: 1px;
    }

    .ec-cta:hover {
      background: rgba(255,255,255,.12);
      border-color: rgba(255,255,255,.72);
      color: #fff;
      transform: translateY(-2px);
    }

    .ec-side-index {
      position: absolute;
      right: 12.5vw;
      top: 50%;
      z-index: 3;
      transform: translateY(-50%);
      color: rgba(255,255,255,.72);
      font-size: 14px;
      letter-spacing: .16em;
			text-align: center;
    }

    .ec-side-line {
      width: 1px;
      height: 118px;
      margin: 16px auto;
      background: linear-gradient(to bottom, transparent, rgba(255,255,255,.76), transparent);
      position: relative;
    }

    .ec-side-line::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 35%;
      width: 6px;
      height: 6px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: var(--ec-purple);
      box-shadow: 0 0 18px rgba(143,108,255,.9);
    }

    .ec-scroll {
      position: absolute;
      left: 50%;
      bottom: 0;
      z-index: 3;
      transform: translateX(-50%);
      color: rgba(255,255,255,.7);
      font-size: 11px;
      letter-spacing: .35em;
      text-align: center;
    }

    .ec-scroll::after {
      content: "";
      display: block;
      width: 1px;
      height: 54px;
      margin: 14px auto 0;
      background: rgba(255,255,255,.7);
    }

    /* =========================
       CONTENT DEMO
    ========================= */
    .ec-content {
      padding: 90px 0;
      background: #fff;
    }

    .ec-card {
      height: 100%;
      padding: 32px;
      border: 1px solid #eee;
      border-radius: 28px;
      background: #fff;
      box-shadow: 0 18px 50px rgba(0,0,0,.05);
    }

    /* =========================
       RWD
    ========================= */
    @media (max-width: 991.98px) {
      .ec-nav {
        display: none;
      }

      .ec-side-index {
        display: none;
      }

      .ec-hero-inner {
        padding-top: 120px;
      }
    }

    @media (max-width: 767.98px) {
      .ec-hero {
        min-height:auto;
      }

      .ec-hero-inner {
        min-height: auto;
        align-items: flex-start;
        padding-top: 160px;
      }

      .ec-hero-title {
        letter-spacing: .05em;
      }

      .ec-hero-desc {
        line-height: 1.85;
      }

      .ec-hero-glow::before {
        width: 420px;
        height: 420px;
        right: -180px;
        top: 220px;
        filter: blur(70px);
      }

      .ec-hero-glow::after {
        width: 360px;
        height: 360px;
        left: -160px;
        bottom: -60px;
        filter: blur(76px);
      }
    }
		#tsparticles {
			position: absolute;
			inset: 0;
			z-index: 1;
			pointer-events: none;
		}

		.ec-hero-glow {
			z-index: 0;
		}

		.ec-hero-inner,
		.ec-side-index,
		.ec-scroll {
			z-index: 3;
			overflow: hidden;
		}
    @media (prefers-reduced-motion: reduce) {
      .ec-hero-glow::before,
      .ec-hero-glow::after {
        animation: none;
      }
    }

/*區塊2*/
.ec-section-head {
  text-align: center;
	margin-top: 20px;
}

.ec-section-title {
  display: inline-block;
  font-size: clamp(28px, 3vw, 40px);
	letter-spacing: .12em;
  font-weight: 400;
  line-height: 1.4;
  color: #222;
  padding: 10px clamp(8px,1vw, 28px);
  background: #e9e4dd;
}
.ec-benefit-box {
  padding: clamp(5px, 4vw, 56px) 0;
}

/* 分隔線（桌機） */
.ec-benefit-col {
  position: relative;
}

.ec-benefit-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(135, 121, 108, .28);
}

/* 內容 */
.ec-benefit-item {
  padding: 0 clamp(18px, 3vw, 42px);
}

.ec-benefit-icon {
  margin-bottom: 22px;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1;
  color: #000;
}

.ec-benefit-title {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
  color: #111;
}

.ec-benefit-text {
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  color: #87796c;
}

/* 平板以下：改成上下分隔 */
@media (max-width: 991.98px) {

  .ec-benefit-col:not(:last-child)::after {
    display: none;
  }

  .ec-benefit-col:nth-child(1),
  .ec-benefit-col:nth-child(2) {
    border-bottom: 1px solid rgba(135, 121, 108, .22);
  }

  .ec-benefit-item {
    padding: 28px 16px;
  }
}

/* 手機微調 */
@media (max-width: 575.98px) {

  .ec-benefit-title {
    font-size: 1.15rem;
  }

  .ec-benefit-text {
    font-size: 0.9rem;
  }
}

/*課程內容*/
/* ===== 視差背景 ===== */
.macourse-list {
  position: relative;
  padding: 100px 0;
  background-image:url("../images/client/course/ma/digitalmedia-02.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* iOS fallback（很重要） */
@media (max-width: 991.98px) {
  .macourse-list {
    background-attachment: scroll;
  }
}

/* 深色遮罩（讓文字可讀） */
.macourse-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 50% 30%,
      rgba(36,15,121,0.65) 0%,
      rgba(20,10,40,0.75) 50%,
      rgba(0,0,0,0.9) 100%
  );
}

.macourse-list .csbox {
  position: relative;
  z-index: 2;
}

/* ===== 標題 ===== */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  opacity: 0.7;
  margin-bottom: 10px;
}

.title {
  font-size: clamp(28px, 3vw, 46px);
	letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* ===== 玻璃卡｜紫色光暈＋流光邊框版 ===== */
.course-card {
  position: relative;
  isolation: isolate;
  height: 100%;
  padding: 28px 18px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: hidden;
  transition:
    transform .45s cubic-bezier(.22, .61, .36, 1),
    background .45s ease,
    border-color .45s ease,
    box-shadow .45s ease;
}

/* 內層紫色光暈 */
.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(155, 130, 255, 0.32),
      transparent 65%
    );
  opacity: 0;
  z-index: -1;
  transition: opacity .45s ease;
}

/* 淡紫流光邊框 */
.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  border: 1px solid transparent;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 28%,
    rgba(155, 130, 255, 0.75) 50%,
    transparent 72%,
    transparent 100%
  ) border-box;

  background-size: 220% 220%;
  background-position: 0% 50%;

  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);

  mask-composite: exclude;
  -webkit-mask-composite: destination-out;

  opacity: 0.18;
  transition: opacity .4s ease;
}

/* hover：整體亮起 */
.course-card:hover {
  transform: translateY(-6px);
  background: rgba(155, 130, 255, 0.32);
  border-color: rgba(155, 130, 255, 0.55);
  box-shadow:
    0 0 30px rgba(155, 130, 255, 0.26),
    0 14px 34px rgba(0, 0, 0, 0.35);
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover::after {
  opacity: 1.0;
  animation: courseBorderFlow 3.6s linear infinite;
}

/* 編號 */
.course-card .num {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  opacity: 0.62;
  margin-bottom: 8px;
  transition: opacity .35s ease, color .35s ease;
}

/* 標題 */
.course-card h3 {
  font-size: clamp(1.3rem, 1.4vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 6px;
  transition: color .35s ease;
}

/* 文字 */
.course-card p {
  font-size:clamp(1rem, 1.3vw, 1.3rem);
  opacity: 0.69;
  margin: 0;
  transition: opacity .35s ease;
}

/* hover：文字提亮 */
.course-card:hover .num,
.course-card:hover p {
  opacity: 0.9;
}

.course-card:hover h3 {
  color: #fff;
}

/* 最後一格強調 
.course-card.highlight {
  background: rgba(155, 130, 255, 0.12);
  border-color: rgba(155, 130, 255, 0.65);
  box-shadow:
    0 0 28px rgba(155, 130, 255, 0.28),
    0 12px 30px rgba(0, 0, 0, 0.28);
}

.course-card.highlight::before {
  opacity: 0.75;
}

.course-card.highlight::after {
  opacity: 0.55;
}*/

/* 流光動畫 */
@keyframes courseBorderFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

/* 手機：hover 效果弱一點，避免太閃 */
@media (max-width: 575.98px) {
  .course-card {
    padding: 24px 14px;
  }

  .course-card:hover {
    transform: translateY(-3px);
  }
}

/* ==============================
   學員作品成果影片區（完整版）
============================== */

.ec-work-section {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 8vw, 120px) 0;
  background:
   radial-gradient(circle at 18% 78%, rgba(54, 142, 210, 0.45), transparent 28%),
    radial-gradient(circle at 52% 12%, rgba(116, 82, 210, 0.38), transparent 30%),
    radial-gradient(circle at 82% 38%, rgba(202, 161, 83, 0.32), transparent 34%),
    linear-gradient(135deg, #05070d 0%, #0a1020 42%, #07121f 100%);
  color: #fff;
}

.ec-work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,.5)),
    radial-gradient(circle at center, transparent 32%, rgba(0,0,0,.48) 100%);
  pointer-events: none;
}

.ec-work-section > .container-fluid {
  position: relative;
  z-index: 2;
}

/* 標題 */
.ec-work-title {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.ec-work-title h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: .12em;
  color: #f4f6ff;
}

.ec-work-title p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.8;
  letter-spacing: .08em;
  color: rgba(220, 230, 255, .68);
}

/* 主結構 */
.ec-video-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, .95fr);
  gap: 28px;
  align-items: stretch;
}

/* 左：主影片 */
.ec-main-video {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(14, 24, 46, .58);
  border: 1px solid rgba(126, 160, 230, .35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 70px rgba(0,0,0,.32);
}

.ec-main-video::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.ec-main-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 右：影片列表 */
.ec-video-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 16px;
}

/* 卡片 */
.ec-video-item {
  width: 100%;
  min-height: 126px;
  padding: 12px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(126, 160, 230, .28);
  border-radius: 16px;
  background: rgba(14, 24, 46, .58);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 48px rgba(0,0,0,.22);
  transition: all .35s ease;
}

.ec-video-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 35%, rgba(78, 135, 220, .25), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  opacity: .65;
  pointer-events: none;
  transition: opacity .35s ease;
}

/* 縮圖 */
.ec-video-thumb {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.08);
}

.ec-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .35s ease;
}

/* 文字 */
.ec-video-info {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.ec-video-info span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(155, 185, 255, .72);
}

.ec-video-info h3 {
  margin: 0 0 7px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.45;
  font-weight: 600;
  color: rgba(245, 248, 255, .96);
}

.ec-video-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(215, 225, 245, .62);
}

/* hover / active */
.ec-video-item:hover,
.ec-video-item.active {
  transform: translateY(-2px);
  border-color: rgba(160, 190, 255, .62);
  background: rgba(30, 48, 88, .66);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 26px 70px rgba(0,0,0,.35);
}

.ec-video-item:hover::before,
.ec-video-item.active::before {
  opacity: 1;
}

.ec-video-item:hover .ec-video-thumb img,
.ec-video-item.active .ec-video-thumb img {
  transform: scale(1.1);
}

/* 平板 */
@media (max-width: 991px) {
  .ec-video-showcase {
    grid-template-columns: 1fr;
  }

  .ec-video-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .ec-video-item {
    min-height: 132px;
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

/* 手機：改成 2x2 四格 */
@media (max-width: 767px) {

  .ec-work-section {
    padding: 64px 0;
  }

  .ec-work-title {
    text-align: left !important;
  }

  .ec-work-title h2 {
    letter-spacing: .08em;
  }

  .ec-video-showcase {
    gap: 20px;
  }

  .ec-main-video {
    border-radius: 16px;
  }

  .ec-video-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ec-video-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 14px 10px;
    border-radius: 14px;
    text-align: center;
  }

  .ec-video-thumb,
  .ec-video-info span,
  .ec-video-info p {
    display: none;
  }

  .ec-video-info h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .04em;
  }
}

/* 小手機 */
@media (max-width: 420px) {
  .ec-video-item {
    min-height: 72px;
    padding: 12px 8px;
  }

  .ec-video-info h3 {
    font-size: 14px;
		text-align: left;
  }
}

/* ==============================
   學員心得 StList01（更新版）
   原則：
   1. 只覆蓋 .StList01.owl-theme
   2. Owl nav 改圓形
   3. 移除 card 陰影，避免被切掉
============================== */

.ec-review-section {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 0;
  background: #f2eee7;
  overflow: hidden;
}

.ec-review-title {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.ec-review-title span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .22em;
  color: #a79072;
  font-weight: 600;
}

.ec-review-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: .08em;
  color: #171717;
}

/* ==============================
   Owl 基礎
============================== */

.StList01.owl-theme {
  position: relative;
}

.StList01.owl-theme .owl-stage {
  display: flex;
}

.StList01.owl-theme .owl-item {
  display: flex;
}

/* ==============================
   心得卡片
============================== */

.ec-review-card {
  width: 100%;
  min-height: 255px;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .75);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  box-shadow: none;
  transition: background .3s ease, transform .3s ease;
}

.ec-review-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .96);
}

.ec-quote {
  height: 24px;
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #c6a96f;
}

.ec-review-card p {
  margin: 0;
  padding-bottom: 22px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  color: #222;
  border-bottom: 1px solid rgba(164, 143, 108, .28);
}

.ec-review-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
}

.ec-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden; /* 很重要 */
}

.ec-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 關鍵 */
  display: block;
}

.ec-review-footer strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 1.4;
  color: #222;
}

.ec-review-footer span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #7e6d5b;
}

/* ==============================
   Owl Dots
============================== */

.StList01.owl-theme .owl-dots {
  margin-top: 28px;
  text-align: center;
}

.StList01.owl-theme .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.StList01.owl-theme .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: rgba(120, 100, 74, .25);
  transition: all .3s ease;
}

.StList01.owl-theme .owl-dot.active span {
  width: 24px;
  background: rgba(120, 100, 74, .65);
}

/* ==============================
   Owl Nav：左右圓形按鈕
============================== */

.StList01.owl-theme .owl-nav {
  position: absolute;
  top: 50%;
  left: -28px;
  right: -28px;
  transform: translateY(-50%);

  height: 0;
  margin: 0 !important;

  display: flex;
  align-items: center;
  justify-content: space-between;

  pointer-events: none;
  background: transparent !important;
}

/* 清掉 Owl 預設灰色方塊 */
.StList01.owl-theme .owl-nav button.owl-prev,
.StList01.owl-theme .owl-nav button.owl-next,
.StList01.owl-theme .owl-nav [class*="owl-"] {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  border-radius: 50% !important;
  border: 1px solid rgba(160, 140, 110, .32) !important;
  background: rgba(255, 255, 255, .92) !important;

  color: #9a8364 !important;
  font-size: 18px !important;
  line-height: 1 !important;

  box-shadow: none !important;
  cursor: pointer;
  pointer-events: auto;

  transition: background .3s ease, transform .3s ease, opacity .3s ease;
}

.StList01.owl-theme .owl-nav button.owl-prev:hover,
.StList01.owl-theme .owl-nav button.owl-next:hover,
.StList01.owl-theme .owl-nav [class*="owl-"]:hover {
  background: #fff !important;
  transform: scale(1.08);
}

/* 移除 Owl 預設文字 / 避免 span 形成灰色方塊 */
.StList01.owl-theme .owl-nav button span,
.StList01.owl-theme .owl-nav [class*="owl-"] span {
  background-color: transparent;
}

/* disabled */
.StList01.owl-theme .owl-nav button.disabled,
.StList01.owl-theme .owl-nav [class*="owl-"].disabled {
  opacity: 0;
  cursor: default;
  transform: none !important;
}

.ec-review-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.ec-review-link:hover {
  color: inherit;
  text-decoration: none;
}
/* ==============================
   RWD
============================== */

@media (max-width: 991px) {
  .ec-review-card {
    min-height: 245px;
  }

  .ec-review-card p {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .ec-review-section {
    padding: 64px 0;
  }

  .ec-review-title {
    text-align: left !important;
  }

  .ec-review-title span {
    font-size: 12px;
  }

  .ec-review-card {
    min-height: 240px;
    padding: 24px 22px 22px;
  }

  .ec-review-card p {
    font-size: 15px;
    line-height: 1.9;
  }
}

.ec-hdtitile{font-size: clamp(28px, 3vw, 46px);}
.ServiceBox{ padding: 0 10px 0 20px;  border-left: 1px solid #d6b680; }
.S-num{ font-size: 3em; font-weight: 300; color:rgba(118,118,179,1.0); padding-right: 15px;}
.S-title {font-weight: 800; font-size: 1.2em; color:#98473a; }


/* Accordion 整體 */

.ec-faq-section {
  position: relative;
  overflow: hidden;
	padding: 1% 0 2% 0;
  background:
    radial-gradient(circle at 18% 78%, rgba(0,0,0,0.45), transparent 28%),
    radial-gradient(circle at 52% 12%, rgba(116,82,210,0.38), transparent 30%),
    radial-gradient(circle at 82% 38%, rgba(202,161,83,0.32), transparent 34%),
    linear-gradient(135deg, #050505 0%, #0a1020 42%, #050505 100%);

  color: #fff;
}
.ec-faq-section .accordion-item {
  background: #1f1f1f;
  border: 0;
  border-bottom: 1px solid rgba(214, 182, 128, 0.35);
}

.ec-faq-section .accordion-button {
  background: #1f1f1f;
  color: #d6b680;
  font-weight: 500;
  box-shadow: none;
  padding: 18px 22px;
	font-size:clamp(20px, 1.5vw, 24px);
}

.ec-faq-section .accordion-button:not(.collapsed) {
  background: #262626;
  color: #f0c984;
}

.ec-faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.ec-faq-section .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(78%) sepia(29%) saturate(522%) hue-rotate(358deg) brightness(89%) contrast(87%);
}

.ec-faq-section .accordion-body {
  background: #111;
  color: rgba(255,255,255,.86);
  line-height: 1.5;
  padding: 22px 24px;
	font-size: 1.1em;
}

.ec-faq-section .accordion-body strong {
  color: #d6b680;
}

.ec-faq-section .accordion-body ul {
  margin-bottom: 0;
  padding-left: 1.4rem;
}

.ec-faq-section .accordion-body li {
  margin-bottom: 6px;
}


.ec-img-grid .col {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ec-img-grid .col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================
   Base / Global
========================= */
body{
	font-family:'Noto Sans TC','微軟正黑體', '蘋方', 'Noto Sans TC', sans-serif;
	font-size:16px;
	width:100%;
	height:100%;
	overflow-x:hidden;
}

.WapNo{ white-space:nowrap; }
.wrap { overflow:hidden; }

.head{
	font-family:'Noto Sans TC', sans-serif;
	position:relative;
	color:#fff;
}

.noto-sans tc-<uniquifier>{
	font-family:"Noto Sans TC", sans-serif;
	font-optical-sizing:auto;
	font-weight:<weight>;
	font-style:normal;
}

/* =========================
   Navbar
========================= */
.navbarLOGO{ padding:0px; margin-right:0rem; }
.navbarLOGO > img{ width:90%; }

.navbarICONGp{
	align-items:center;
	justify-content:flex-end;
	padding-right:10px;
}

.navbarICONs > img{
	padding:4.5px !important;
	max-width:90%;
	height:auto;
	vertical-align:middle;
	border:0;
	opacity:0.45;
	transition:0.2s ease-in;
}
.navbarICONs > img:hover{ opacity:0.7; }

/* =========================
   Fixed CTA / Back Top
========================= */
.BACKTOP{
	position:fixed;
	z-index:9999;
	padding-bottom:50px;
	bottom:0px;
	right:50px;
	display:block;
	text-align:center;
	font-family:'Noto Sans TC','微軟正黑體', '蘋方',"Noto Sans","Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Verdana", "sans-serif";
	font-weight:900;
}
.Flx_Box{
	background-color:rgba(0,0,0,0.8);
	color:#ffffff;
	position:fixed;
	z-index:333;
	bottom:0;
	width:100%;
}
.Flx_BOX_link{
	text-decoration:none;
	color:#ffffff;
}
.Flx_BOX_link:hover{
	text-decoration:none;
	color:#FFFD00;
}
.btn-line{
	background-color:#41AB48;
	border-color:#2F7F0B;
	color:#ffffff;
}

.scroll-link{
	display:none;
	cursor:pointer;
	opacity:0;
	transition:opacity 1s ease-in-out;
}
.scroll-link.show{
	display:block;
	opacity:1;
}
.btn-btfixBk{
	position:fixed;
	bottom:0px;
	right:0px;
	padding:20px 50px 35px 50px;
	background-color:#DC5F00;
	color:#222;
	width:100%;
	text-decoration:none;
	text-align:center;
	z-index:999;
	font-weight:800;
	font-size:1.2em;
}
.scroll-link:hover{
	background-color:#7e1818;
	color:#fff;
}

/* =========================
   BRDS Buttons
========================= */
.brds-btn{
	--btn-bg:#ff6b00;
	--btn-color:#fff;
	background-color:var(--btn-bg);
	color:var(--btn-color);
	border:none;
	border-radius:999px;
	padding:6px 18px;
	font-weight:500;
	transition:all .25s ease;
	font-size: 14px;
}
.brds-btn:hover{
	filter:brightness(0.9);
	color:var(--btn-color);
}

.brds-btn-outline{
	--btn-border:#0d2b45;
	--btn-color:#0d2b45;
	background-color:transparent;
	color:var(--btn-color);
	border:1px solid var(--btn-border);
	border-radius:999px;
	padding:6px 18px;
	transition:all .25s ease;
	font-size: 14px;
}
.brds-btn-outline:hover{
	background-color:var(--btn-border);
	color:#fff;
}


/* =========================
   開課與預約
========================= */
.OpDay{
	border:2px solid #fff;
	background-color:#fff;
	color:#000;
	padding:20px 10px;
	border-radius:15px;
	margin:25px;
	box-shadow:0px 3px 6px rgba(0,0,0,0.75);
}
.OpDay2{
	border:0px solid #fff;
	background-color:#EBEBEB;
	color:#000;
	padding:20px;
}
.BooKArea{
	width:100%;
	margin:0;
	height:auto;
	padding:3% 2%;
	background-repeat:no-repeat;
	background-attachment:scroll;
	background-position:center center;
	background-size:cover;
	line-height:28px;
	background-color:#EBEBEB;
	color:#000;
}
.bk-img-01{
	background-size:cover;
	background-image:url(../images/client/course/UIUXweb/ui_back.png);
	color:#000;
}

footer{
	padding:35px 5% 135px 5%;
}

/* =========================
   Teacher / Owl
========================= */
.teacherBox{
	padding:15px 20px;
}
.teacherBoxPIC{
	box-shadow:8px 10px 0px rgba(230,186,125,0.5);
	border:2px solid #d6b680;
	border-radius:15px;
	width:100%;
}
.teacherBox:hover{
	transform:scale(1.03);
	-webkit-transition:all 0.2s ease-in;
	transition:all 0.2s ease-in;
}

#TeacherList > div > div.owl-controls > div.owl-dots{
	margin-top:-32px;
}
#TeacherList > div > div.owl-controls > div.owl-nav > div.owl-prev{
	margin-right:65% !important;
}
#TeacherList > .owl-theme .owl-controls .owl-nav [class*=owl-]{
	color:#fff;
	font-size:1.2em;
	margin:5px;
	padding:4px 13px;
	background:#d6b680;
	display:inline-block;
	cursor:pointer;
	-webkit-border-radius:300px;
	-moz-border-radius:300px;
	border-radius:300px;
	align-content:center;
}

.btn-outline-gold {
    --bs-btn-color: #d6b680;
    --bs-btn-border-color: #d6b680;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d6b680;
    --bs-btn-hover-border-color: #d6b680;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #d6b680;
    --bs-btn-active-border-color: #d6b680;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #d6b680;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #d6b680;
    --bs-gradient: none;
	color: #d6b680;
  border-color: #d6b680;
}

.btn-outline-gold:hover {
  color: #000;
  background-color: #d6b680;
  border-color: #d6b680;
}

/* =========================
   Wsp Content
========================= */
.Wsp_ConTL{
	font-size:1em;
	padding:0px;
	border:0px solid #720D0E;
}
.Wsp_ConSub{
	color:#ffffff;
	background-color:#720D0E;
	padding:3px 15px;
	letter-spacing:1.5px;
}
.LSpace_none{
	letter-spacing:-1px;
}
.Wsp_ConBt{
	text-align:right;
	padding:15px 0 35px 0;
	border-bottom:0.5px solid #ccc;
}
.btn-Wsp_ConBt{
	padding:3px 20px;
}
.Wsp_Con_text-container {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.8;
}

/* 預設 2 行 */
.Wsp_Con_text-container {
  -webkit-line-clamp: 2;
}

/* 可依 HTML 的 data-lines 調整行數 */
.Wsp_Con_text-container[data-lines="2"] {
  -webkit-line-clamp: 2;
}

.Wsp_Con_text-container[data-lines="3"] {
  -webkit-line-clamp: 3;
}

.Wsp_Con_text-container[data-lines="5"] {
  -webkit-line-clamp: 5;
}

/* 展開全文 */
.Wsp_Con_text-container.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.Wsp_Con_text-wrapper {
  margin-bottom: 10px;
}

.Wsp_ConBt {
  text-align: right;
  padding: 15px 0 35px 0;
  border-bottom: 0.5px solid #ccc;
}

.btn-Wsp_ConBt {
  padding: 3px 20px;
}

/* =========================
   手機細修：480 - 767
========================= */
@media (min-width: 480px) and (max-width: 767px){

	.navbarICONs{ padding:5px 10px !important; }

	.BooKArea{
		background-attachment:scroll;
	}

	.OpDay{
		padding:20px;
	}

	footer{
		padding:3% 5% 11% 5%;
	}

	
}

/* =========================
   768+
========================= */
@media (min-width: 768px){

	.navbarLOGO{ padding:5px 20px; }
	.navbarICONs{ padding:5px 18px !important; }

	.BooKArea{
		background-attachment:fixed;
	}

	.brds-hero-panel{
		margin-top:-50vh;
		padding:5%;
	}
	.brds-hero-h1{ font-size:4.5em; }
	.brds-hero-desc{ font-size:1.3em; }
	.brds-hero-meta-item{ border:1px dashed #fff; }

	.OpDay{
		padding:20px;
	}

	footer{
		padding:3% 5% 11% 5%;
	}

	
}

/* =========================
   980+
========================= */
@media (min-width: 980px){

	body{
		font-size:18px;
	}

	.navbarLOGO > img{ width:100%; }
	.navbarICONGp{ padding-right:20px; }

	
	footer{
		padding:3% 5% 10% 5%;
	}

	
}

/* =========================
   1200+
========================= */
@media (min-width: 1200px){

	.BooKArea{
		padding:2% 6%;
	}

	

	footer{
		padding:3% 5% 6% 5%;
	}
	
}

/* =========================
   1400+
========================= */
@media (min-width: 1400px){

	
}

/* =========================
   1600+
========================= */
@media (min-width: 1600px){
	


@keyframes ecGlowMove {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-60px, 40px, 0) scale(1.08);
  }
}
