/* ============================================
   CoPower 網站 - Bootstrap 4 自訂樣式
   ============================================ */

/* ============================================
   CoPower 品牌色彩
   ============================================ */
:root {
  /* CoPower 藍色 (綠松石色) */
  --copower-teal: #4ca9b8;
  --copower-teal-hover: #3a8a96;

  /* CoPower 黃色 */
  --copower-yellow: #f5c71d;
  --copower-yellow-hover: #d4a930;
}

.copower-home {
  font-family: "Afacad Flux", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.copower-home i[class^="fa-"],
.copower-home i[class*=" fa-"] {
  line-height: 1;
}

/* ============================================
   載入與進場動畫
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.15rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(16, 34, 63, 0.12);
}

.page-loader-mark span {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--copower-teal);
  animation: loader-bounce 0.8s ease-in-out infinite;
}

.page-loader-mark span:nth-child(2) {
  background: var(--copower-yellow);
  animation-delay: 0.12s;
}

.page-loader-mark span:nth-child(3) {
  background: #e75480;
  animation-delay: 0.24s;
}

.reveal-on-load {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-load.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.load-fade {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease;
}

.load-fade.is-loaded {
  opacity: 1;
  filter: blur(0);
}

@keyframes loader-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-0.45rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader-mark span,
  .reveal-on-load,
  .load-fade {
    animation: none !important;
    transition: none !important;
  }

  .page-loader {
    display: none;
  }

  .reveal-on-load,
  .load-fade {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ============================================
   自訂按鈕樣式
   ============================================ */
.btn-copower-yellow {
  background-color: var(--copower-yellow);
  color: #212529;
  border: none;
}

.btn-copower-yellow:hover {
  background-color: var(--copower-yellow-hover);
  color: #212529;
}

.btn-copower-teal {
  background-color: var(--copower-teal);
  color: white;
  border: none;
}

.btn-copower-teal:hover {
  background-color: var(--copower-teal-hover);
  color: white;
}

/* ============================================
   平滑滾動
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   導覽列增強
   ============================================ */
.navbar {
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--copower-teal) !important;
}

/* ============================================
   選項卡系統 (Tab System)
   ============================================ */
.tab-btn {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  border: 2px solid #ffffff;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background-color: var(--tab-bg, #e8f4ff);
  color: #1f2a37;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transform: rotate(var(--tab-tilt, -1deg));
  position: relative;
}

.tab-btn:hover {
  background-color: var(--tab-bg-hover, #d7e9ff);
  transform: translateY(-2px) rotate(var(--tab-tilt, -1deg));
}

.tab-btn.active {
  background-color: var(--tab-accent, #5eb3c0);
  color: #ffffff;
  transform: translateY(-2px) rotate(0deg) scale(1.02);
  outline: none;
}

.tab-btn:focus {
  outline: none;
  box-shadow: none;
}

.tab-content {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   卡片 Hover 效果
   ============================================ */
.shadow-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ============================================
   Banner 區塊樣式
   ============================================ */
#home img {
  width: 100%;
  display: block;
}

/* 裝飾幾何圖形 */
.decorative-square {
  background-color: var(--copower-teal);
}

.decorative-square-yellow {
  background-color: var(--copower-yellow);
}

/* ============================================
   文字顏色輔助
   ============================================ */
.text-copower-teal {
  color: var(--copower-teal);
}

.text-copower-yellow {
  color: var(--copower-yellow);
}

.bg-copower-teal {
  background-color: var(--copower-teal);
}

.bg-copower-yellow {
  background-color: var(--copower-yellow);
}

/* ============================================
   社會責任圖片與文字同高
   ============================================ */
.responsibility-row {
  align-items: stretch;
}

.responsibility-image-col {
  display: flex;
}

.responsibility-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  max-height: 520px;
}

.responsibility-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   CodePro SDGS 圖文左右交錯
   ============================================ */
.sdgs-section {
  margin-top: 2rem;
}

.sdg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sdg-col {
  width: 100%;
}

.sdg-col--text {
  text-align: center;
}

.sdg-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 0.3rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02rem;
  color: #ffffff;
}

.sdg-tag--green {
  background-color: #7b9162;
}

.sdg-tag--gold {
  background-color: #f0c04b;
  color: #2a2a2a;
}

.sdg-tag--teal {
  background-color: #5eb3c0;
}

.sdg-tag--brown {
  background-color: #b07a5a;
}

.sdg-desc {
  padding: 0 50px;
  margin-top: 0.75rem;
  line-height: 1.8;
  color: #495057;
  font-size: 1rem;
}

.sdg-media {
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(15, 60, 76, 0.12);
}

.sdg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .sdg-item {
    flex-direction: row;
  }

  .sdg-item--reverse {
    flex-direction: row-reverse;
  }

  .sdg-col {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .sdg-item .sdg-col--media {
    order: 1;
  }

  .sdg-item .sdg-col--text {
    order: 2;
  }

  .sdg-item.sdg-item--reverse-mobile .sdg-col--media {
    order: 2;
  }

  .sdg-item.sdg-item--reverse-mobile .sdg-col--text {
    order: 1;
  }
}

.hidden {
  display: none !important;
}

/* ============================================
   黃色短線裝飾
   ============================================ */
.yellow-line {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--copower-yellow);
}

.vision-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ============================================
   共用段落間距與排版
   ============================================ */
.section-spacing {
  padding: 5rem 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0rem !important;
  color: #000;
}

.section-subheadline {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0rem !important;
}

.title-underline-left {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.title-underline-left::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 6px;
  background-color: var(--copower-yellow);
  border-radius: 999px;
}

.section-lead {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #212529;
}

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
}

.section-body.highlight {
  font-size: 1.15rem;
  font-weight: 600;
  color: #212529;
}

.section-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: #868e96;
}

.yellow-accent {
  width: 18px;
  height: 18px;
  background-color: var(--copower-yellow);
  border-radius: 0.4rem;
}

/* ============================================
   Hero 區塊
   ============================================ */
.hero-section {
  width: 100%;
}

.hero-image {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

@media (max-width: 992px) {
  .hero-image {
    max-height: none;
  }
}

@media (max-width: 576px) {
  .hero-image {
    max-height: none;
  }
}

/* ============================================
   創辦人區塊
   ============================================ */

.founder-tabs {
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
  gap: 0.75rem;
}

.founder-tabs::-webkit-scrollbar {
  height: 0;
}

.founder-tabs .tab-btn {
  margin: 0;
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.founder-tabs .tab-btn:nth-child(odd) {
  --tab-tilt: -1.5deg;
}

.founder-tabs .tab-btn:nth-child(even) {
  --tab-tilt: 1.5deg;
}

.founder-tabs .tab-btn[data-tab="about"] {
  --tab-bg: #fffae6;
  --tab-bg-hover: #fff1c9;
  --tab-accent: #f5c71d;
}

.founder-tabs .tab-btn[data-tab="history"] {
  --tab-bg: #ffe6ee;
  --tab-bg-hover: #ffd8e5;
  --tab-accent: #ff7fae;
}

.founder-tabs .tab-btn[data-tab="responsibility"] {
  --tab-bg: #e8f4ff;
  --tab-bg-hover: #d8ecff;
  --tab-accent: #5aa9e6;
}

.tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tab-accent, #5eb3c0);
}

.tab-icon svg,
.tab-icon i {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  fill: currentColor;
  font-size: 0.95rem;
}

.tab-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: center;
}

.tab-icon .is-spinning {
  animation: tab-icon-spin 0.6s ease;
}

@keyframes tab-icon-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.tab-btn.active .tab-icon {
  background: rgba(255, 255, 255, 0.95);
  color: var(--tab-accent, #5eb3c0);
}

.founder-photo {
  width: 320px;
  border-radius: 200px;
  overflow: hidden;
  background-color: #ffffff;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-signature {
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  color: #adb5bd;
  margin-left: auto;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--copower-teal);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.founder-link span {
  display: inline-block;
  width: 48px;
  height: 3px;
  background-color: var(--copower-yellow);
  border-radius: 999px;
  transform: translateY(2px);
}

.founder-video .section-body {
  color: #6c757d;
}

.video-placeholder {
  position: relative;
  background-color: #e9ecef;
  border-radius: 1rem;
  width: 100%;
  padding-top: 56.25%;
  box-shadow: inset 0 0 0 1px #dee2e6;
  margin: 0 auto;
}

.video-play {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  background-color: #212529;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background-color: #000000;
}

.founder-video-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1.5rem;
}

.founder-video-header--right {
  align-items: flex-end;
  text-align: right;
}

.founder-video-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
}

.founder-video-underline {
  width: 60px;
  height: 4px;
  background-color: var(--copower-yellow);
  border-radius: 999px;
  align-self: flex-start;
}

.founder-video-header--right .founder-video-underline {
  align-self: flex-end;
}

/* ============================================
   CoPower 核心三力（整合於創辦人理念）
   ============================================ */
.copower-abilities {
  background-color: #f5fbfc;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  border-left: 6px solid var(--copower-yellow);
}

.copower-abilities-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.copower-abilities-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--copower-teal);
  margin-bottom: 1rem;
}

.copower-abilities-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.copower-abilities-list li {
  font-size: 1.05rem;
  line-height: 2;
  color: #495057;
  padding-left: 1.25rem;
  position: relative;
}

.copower-abilities-list li::before {
  content: "●";
  color: var(--copower-yellow);
  position: absolute;
  left: 0;
  top: 0;
}

.copower-abilities-name {
  font-weight: 800;
  color: #212529;
}

.copower-abilities-divider {
  color: #adb5bd;
  margin: 0 0.4rem;
}

.copower-abilities-quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px dashed #dee2e6;
  line-height: 1.9;
}

/* ============================================
   用經驗交織區塊
   ============================================ */
.experience-section {
  background-color: #f5fbfc;
  text-align: center;
}

.experience-eyebrow {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: #43a047;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.experience-headline {
  font-size: 2.4rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.experience-lead {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 1.8;
}

.experience-cards {
  margin-top: 1rem;
}

.experience-card {
  position: relative;
  border-radius: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(15, 60, 76, 0.08);
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 3rem rgba(15, 60, 76, 0.16);
  text-decoration: none;
  color: inherit;
}

.experience-card-no {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.experience-card-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.experience-card-media {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
  margin: 1rem 0;
  background-color: transparent;
  padding: 0;
}

.experience-card h4 {
  font-weight: 800;
  font-size: 1.15rem;
  color: #212529;
  margin-bottom: 0.25rem;
}

.experience-card-subtitle {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0;
}

.experience-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 1rem;
  text-align: left;
  width: 100%;
}

.experience-card li {
  margin: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #495057;
}

.experience-card li i {
  color: var(--copower-yellow);
  flex-shrink: 0;
  width: 0.9rem;
  text-align: center;
}

.experience-card-audience {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background-color: #f8f9fa;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  color: #495057;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* 服務支持列 */
.experience-supports {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.support-pill {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 60, 76, 0.06);
  text-align: left;
}

.support-pill-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.support-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.support-pill-text strong {
  font-size: 0.95rem;
  color: #212529;
}

.support-pill-text span {
  font-size: 0.8rem;
  color: #6c757d;
}

@media (max-width: 992px) {
  .experience-supports {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .experience-supports {
    grid-template-columns: 1fr;
  }

  .experience-headline {
    font-size: 1.6rem;
  }
}

/* ============================================
   始終堅信區塊
   ============================================ */
.belief-section {
  background-color: #ffffff;
}

.belief-section .container {
  max-width: 1260px;
}

.belief-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.belief-header-text {
  flex: 1 1 380px;
}

.belief-headline {
  font-size: 2.25rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.belief-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.belief-body {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 0;
}

.belief-feature-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.belief-feature-pills--center {
  justify-content: center;
  margin-top: 1.25rem;
}

.belief-section-hint {
  max-width: 820px;
  line-height: 1.8;
}

.belief-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background-color: #f8f9fa;
  border-radius: 0.75rem;
}

.belief-feature-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.belief-feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-align: left;
}

.belief-feature-text strong {
  font-size: 0.9rem;
  color: #212529;
}

.belief-feature-text small {
  font-size: 0.78rem;
  color: #868e96;
}

.belief-columns {
  margin-top: 1rem;
}

.belief-card {
  border-radius: 1.35rem;
  padding: 0;
  min-height: 420px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(16, 34, 63, 0.08);
  isolation: isolate;
  height: 100%;
}

.belief-card-parent,
.belief-card-partner {
  border: 1px solid rgba(237, 240, 244, 0.9);
}

/* 左側照片區：固定比例，圖片完整呈現不被擋住 */
.belief-card-media {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background-color: #f4f6fa;
}

.belief-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.belief-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  min-width: 0;
}

.belief-card-content {
  position: relative;
  z-index: 2;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.belief-card-header {
  margin-bottom: 0.85rem;
}

.belief-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f08a00;
  box-shadow: 0 0.4rem 1rem rgba(16, 34, 63, 0.06);
}

.belief-card-badge-teal {
  color: var(--copower-teal);
}

.belief-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #132035;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.belief-card-text {
  font-size: 0.88rem;
  color: #344054;
  line-height: 1.8;
  margin-bottom: 0;
}

.belief-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  position: relative;
  z-index: 3;
}

.belief-action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 0.85rem;
  background-color: #ffffff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0.35rem 0.85rem rgba(16, 34, 63, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #edf0f4;
}

.belief-action-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0.85rem 1.75rem rgba(0, 0, 0, 0.1);
}

.belief-action-orange {
  color: #f08a00;
}

.belief-action-amber {
  color: #d4a017;
}

.belief-action-teal {
  color: #008f9e;
}

.belief-action-blue {
  color: #2459c9;
}

.belief-action-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background-color: #fff3df;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.belief-action-teal .belief-action-icon,
.belief-action-blue .belief-action-icon {
  background-color: #e6f7fb;
}

.belief-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  min-width: 0;
}

.belief-action-text strong {
  font-size: 0.92rem;
  color: currentColor;
}

.belief-action-text small {
  font-size: 0.74rem;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.belief-card-footer {
  position: relative;
  z-index: 2;
  margin: auto 0 0;
  padding: 0.4rem 0 0;
  background-color: transparent;
  text-align: center;
  font-weight: 800;
  color: #f08a00;
  font-size: 1.02rem;
  font-family: inherit;
  letter-spacing: 0;
}

.belief-card-footer-teal {
  color: var(--copower-teal);
}

/* 立即行動 CTA */
.belief-cta {
  max-width: 1100px;
  margin: 1rem auto 0;
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 1rem;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  color: #132035;
  box-shadow: 0 0.85rem 2rem rgba(16, 34, 63, 0.1);
}

.belief-cta-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #eef4ff;
  color: #132035;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.belief-cta-text {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.belief-cta-text strong {
  font-size: 1.1rem;
  color: #132035;
}

.belief-cta-text small {
  font-size: 0.88rem;
  color: #6c757d;
}

.belief-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--copower-yellow);
  color: #212529;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.belief-cta-btn:hover {
  transform: translateY(-2px);
  color: #212529;
  text-decoration: none;
}

@media (max-width: 768px) {
  .belief-header {
    flex-direction: column;
  }

  .belief-feature-pills {
    width: 100%;
  }

  .belief-feature {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .belief-card,
  .belief-card-parent,
  .belief-card-partner {
    min-height: auto;
    flex-direction: column;
  }

  .belief-card-media {
    flex: 0 0 220px;
    width: 100%;
  }

  .belief-card-actions {
    flex-direction: column;
    margin: 0;
  }

  .belief-cta {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .belief-cta-text {
    flex: 0 0 auto;
  }
}

/* ============================================
   我們的優勢 / 學習成長鏈（共用卡片版型）
   ============================================ */
.advantages-section {
  background-color: #f8f9fa;
}

.growth-chain-section {
  background-color: #ffffff;
}

.advantages-section .container,
.growth-chain-section .container {
  max-width: 1260px;
}

.advantage-section-header {
  margin-bottom: 3rem;
}

.advantage-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.75rem;
}

.advantage-section-underline {
  width: 80px;
  height: 4px;
  background-color: var(--copower-yellow);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.advantage-section-hint {
  color: #868e96;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.advantage-cards {
  margin-top: 1rem;
}

.advantage-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 0.85rem;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 1rem 2rem rgba(15, 60, 76, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 3rem rgba(15, 60, 76, 0.16);
}

.advantage-card-no {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: var(--copower-teal);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0.5rem 1rem rgba(76, 169, 184, 0.3);
}

.advantage-card-tag {
  color: #6c757d;
  font-size: 0.9rem;
}

.advantage-card-icon-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.advantage-card-icon-row .advantage-card-icon {
  margin-bottom: 0;
}

.advantage-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: #f5f9fc;
  overflow: hidden;
}

.advantage-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.advantage-card:hover .advantage-card-media img {
  transform: scale(1.02);
}

.advantage-card-body {
  padding: 1.15rem 1.25rem 1.3rem;
  text-align: left;
}

.advantage-card-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.advantage-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.5rem;
}

.advantage-card-desc {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.7;
}

/* 共用 icon badge 顏色 */
.badge-amber {
  background-color: #fff4d6;
  color: #d4a017;
}

.badge-blue {
  background-color: #e3ecff;
  color: #3a7bd5;
}

.badge-teal {
  background-color: #d6f1f4;
  color: #4ca9b8;
}

.badge-orange {
  background-color: #ffe6d2;
  color: #e8893d;
}

.badge-pink {
  background-color: #ffe0eb;
  color: #e75480;
}

.badge-green {
  background-color: #ddf5e2;
  color: #43a047;
}

.badge-purple {
  background-color: #ece1ff;
  color: #7b3ff2;
}

/* 學習成長鏈 CTA */
.growth-cta {
  margin-top: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, #2f6fb6 0%, #4ca9b8 100%);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(47, 111, 182, 0.25);
}

.growth-cta-text {
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.growth-cta-star {
  color: var(--copower-yellow);
  font-size: 1.2rem;
}

.growth-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--copower-yellow);
  color: #212529;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.growth-cta-btn:hover {
  transform: translateY(-2px);
  color: #212529;
  text-decoration: none;
}

/* 手機版：避免文字與按鈕擠在膠囊內 */
@media (max-width: 768px) {
  .growth-cta {
    flex-direction: column;
    border-radius: 1.25rem;
    padding: 1.25rem 1.25rem;
    gap: 0.9rem;
    text-align: center;
    margin-top: 2rem;
  }

  .growth-cta-text {
    font-size: 0.98rem;
    line-height: 1.5;
    flex-wrap: wrap;
    justify-content: center;
  }

  .growth-cta-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   機構肯定 / 機構合作 卡片
   ============================================ */
.recognition-banner {
  padding: 0.25rem 1.25rem 0;
  margin: 1.25rem 0 2rem;
}

.recognition-banner-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #10223f;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.recognition-banner-subtitle {
  color: #4f5d75;
  font-size: 0.95rem;
}

.recognition-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 1rem;
  padding: 1.65rem 0.85rem 0.85rem;
  text-align: center;
  box-shadow: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.recognition-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.recognition-card--pink {
  border-color: #f04c9b;
}

.recognition-card--blue {
  border-color: #2f65d8;
}

.recognition-category {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.25;
  box-shadow: 0 0.35rem 0.85rem rgba(16, 34, 63, 0.14);
}

.cat-pink {
  background-color: #e6007e;
}

.cat-teal {
  background-color: #4ca9b8;
}

.cat-blue {
  background-color: #2459c9;
}

.recognition-logo {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #d9dee8;
}

.recognition-logo img {
  max-width: 92%;
  max-height: 100%;
  object-fit: contain;
}

.recognition-logo-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 0.65rem;
  background-color: #f3f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem;
  color: #6b65a3;
}

.recognition-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10223f;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  min-height: 2.55em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recognition-desc {
  font-size: 0.78rem;
  color: #304056;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex: 1;
}

.recognition-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: auto;
}

.tag-blue {
  background-color: #e6f0ff;
  color: #1550bd;
}

.tag-pink {
  background-color: #ffe1ef;
  color: #d60072;
}

.tag-cyan {
  background-color: #e4efff;
  color: #1550bd;
}

.tag-green {
  background-color: #f4ead0;
  color: #7b641b;
}

.tag-slate {
  background-color: #f0eefc;
  color: #62599c;
}

/* ============================================
   機構肯定與異業合作
   ============================================ */
.section-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.brand-slider-wrapper {
  position: relative;
  padding: 0 3.25rem;
  margin: 1.5rem 0 1.75rem;
}

.brand-slider {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: nowrap;
}

.brand-slider.owl-carousel {
  display: block;
}

.brand-slider.owl-carousel .owl-stage-outer {
  padding: 2.25rem 0 2.5rem;
  overflow: hidden;
}

/* 中央聚焦效果：未置中的卡片縮小、降低透明度；置中卡片放大、抬升陰影 */
.brand-slider.owl-carousel .owl-item {
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
  transform: scale(0.82);
  opacity: 0.55;
  will-change: transform, opacity;
}

.brand-slider.owl-carousel .owl-item.center {
  transform: scale(1.12);
  opacity: 1;
  z-index: 3;
}

.brand-slider.owl-carousel .owl-item.center .recognition-card {
  box-shadow: none;
  border-color: rgba(229, 186, 69, 0.55);
}

.brand-slider-wrapper .brand-card {
  flex: 1 1 325px;
  max-width: 375px;
  margin: 0 auto;
}

/* 電腦版字卡等比放大 (約 1.25 倍) */
@media (min-width: 769px) {
  .recognition-card {
    min-height: 320px;
    padding: 2.05rem 1.05rem 1.05rem;
    border-radius: 1.25rem;
  }

  .recognition-title {
    font-size: 1.2rem;
  }

  .recognition-desc {
    font-size: 0.98rem;
  }

  .brand-slider.owl-carousel .owl-stage-outer {
    padding: 2.75rem 0 3rem;
  }
}

.brand-card.is-hidden {
  display: none !important;
}

.brand-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: var(--copower-yellow);
  color: #212529;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 5;
}

.brand-slider-control--prev {
  left: 1rem;
}

.brand-slider-control--next {
  right: 1rem;
}

.brand-slider-control:hover {
  background-color: var(--copower-yellow-hover);
}

.brand-slider-control[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.brand-slider-control:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(229, 186, 69, 0.35);
}

.brand-card {
  border-radius: 1.25rem;
  padding: 2rem 1.25rem;
  background-color: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.cta-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--copower-yellow);
  color: #212529;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 1rem 2.5rem rgba(229, 186, 69, 0.35);
  transition: transform 0.3s ease;
}

.cta-more:hover {
  transform: translateY(-2px);
}

.brand-card p {
  color: #495057;
  font-size: 0.95rem;
}

.brand-logo-image {
  display: block;
  width: 120px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

/* ============================================
   響應式調整
   ============================================ */
@media (max-width: 992px) {
  .section-spacing {
    padding: 3.5rem 0;
  }

  .founder-photo {
    width: 260px;
  }

  .advantage-card-media {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .responsibility-image-wrapper {
    display: none;
  }

  .belief-card {
    text-align: left;
    padding: 1.5rem;
  }

  .brand-slider-wrapper {
    padding: 0 2.5rem;
  }

  .brand-slider {
    gap: 1.75rem;
  }

  .brand-slider-wrapper .brand-card {
    max-width: 360px;
  }

  .brand-slider-control--prev {
    left: 0.5rem;
  }

  .brand-slider-control--next {
    right: 0.5rem;
  }

  /* 手機版輪播：取消中央放大／淡化效果，單張正常顯示 */
  .brand-slider.owl-carousel .owl-item,
  .brand-slider.owl-carousel .owl-item.center {
    transform: none;
    opacity: 1;
  }

  .brand-slider.owl-carousel .owl-stage-outer {
    padding: 0.5rem 0;
  }

  .brand-slider.owl-carousel .owl-item.center .recognition-card {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 576px) {
  .advantage-card-media {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .founder-video-header {
    align-items: center;
    text-align: center;
  }

  .founder-video-header--right {
    align-items: center;
    text-align: center;
  }

  .founder-video-underline {
    margin: 0 auto;
    align-self: center;
  }

  .brand-slider-wrapper {
    padding: 0 1.75rem;
  }

  .brand-slider {
    gap: 1.25rem;
  }

  .brand-slider-wrapper .brand-card {
    flex: 1 1 100%;
    max-width: 320px;
  }

  .brand-slider-control {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .brand-slider-control--prev {
    left: 0.25rem;
  }

  .brand-slider-control--next {
    right: 0.25rem;
  }

  .founder-tabs {
    gap: 0.2rem;
  }

  .founder-tabs .tab-btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .founder-tabs .tab-icon {
    width: 24px;
    height: 24px;
  }

  .founder-tabs .tab-icon svg,
  .founder-tabs .tab-icon i {
    width: 14px;
    height: 14px;
    font-size: 0.82rem;
  }
}

/* ============================================
   回到頂部按鈕
   ============================================ */
#scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--copower-teal);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

#scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

#scroll-to-top:hover {
  background-color: var(--copower-teal-hover);
  transform: translateY(-3px);
}

/* ============================================
   Footer 連結 Hover 效果
   ============================================ */
footer a:hover {
  color: white !important;
  text-decoration: none;
}

/* ============================================
   響應式字體大小調整
   ============================================ */
@media (max-width: 768px) {
  .h1,
  h1 {
    font-size: 2rem;
  }

  .h2,
  h2 {
    font-size: 1.75rem;
  }

  .h3,
  h3 {
    font-size: 1.5rem;
  }

  .h4,
  h4 {
    font-size: 1.25rem;
  }

  section {
    padding-top: 3rem !important;
  }
}

@media (max-width: 576px) {
  .h1,
  h1 {
    font-size: 1.75rem;
  }

  .h2,
  h2 {
    font-size: 1.5rem;
  }

  .h3,
  h3 {
    font-size: 1.25rem;
  }
}

/* ============================================
   自訂滾動條 (Webkit 瀏覽器)
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--copower-teal);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copower-teal-hover);
}

/* ============================================
   圖片佔位框樣式 (如果需要的話)
   ============================================ */
.img-placeholder {
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #6c757d;
}

/* ============================================
   創辦人訪談影片播放器
   ============================================ */
.video-player-container {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
}

.video-player-container .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-player-container .play-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================
   無障礙輔助
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   列印樣式
   ============================================ */
@media print {
  nav,
  footer,
  #scroll-to-top {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/* ============================================
   Bootstrap 覆寫與擴展
   ============================================ */

/* 確保 container 最大寬度 */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 按鈕焦點樣式 */
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(76, 169, 184, 0.25);
}

/* 卡片陰影過渡 */
.card,
.shadow-lg,
.shadow {
  transition: all 0.3s ease;
}

/* 文字連結顏色 */
a.text-muted:hover {
  color: var(--copower-teal) !important;
}

/* ============================================
   實用工具類別
   ============================================ */

/* 固定比例容器 */
.aspect-ratio-16-9 {
  padding-top: 56.25%;
}

.aspect-ratio-4-3 {
  padding-top: 75%;
}

.aspect-ratio-1-1 {
  padding-top: 100%;
}

/* 文字行高 */
.lh-relaxed {
  line-height: 1.7;
}

/* 過渡效果 */
.transition-all {
  transition: all 0.3s ease;
}

/* GPU 加速 */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

/* ============================================
   發展沿革 (Scroll History System)
   ============================================ */
.history-scroll-container {
  display: flex;
  position: relative;
  /* padding: 80px 0; */
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
  /* Ensure columns are same height for sticky to work */
}

.history-century-col {
  flex: 0 0 30%;
  display: flex;
  justify-content: flex-end;
  padding-right: 10px;
}

.sticky-century {
  position: -webkit-sticky;
  position: sticky;
  top: 30vh;
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  color: var(--copower-teal);
  height: 15rem;
  display: flex;
  align-items: center;
  font-family: "Afacad Flux", sans-serif;
  z-index: 1;
}

.history-content-col {
  flex: 1;
  padding-left: 10px;
}

.history-row {
  display: flex;
  align-items: start;
  margin-bottom: 20vh;
  /* Space between years */
  opacity: 0.2;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  /* transform: translateY(50px); */
}

.history-row.active {
  opacity: 1;
  transform: translateY(0);
}

.year-suffix {
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  color: var(--copower-yellow);
  font-family: "Afacad Flux", sans-serif;
  margin-right: 30px;
  flex-shrink: 0;
}

.history-card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  width: 100%;
  max-width: 500px;
  margin-top: 2rem;
  /* transition: transform 0.3s ease; */
}

.history-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.history-card .img-wrapper {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.history-card .img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.history-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.history-card .text-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* RWD for Scroll History */
@media (max-width: 992px) {
  .sticky-century,
  .year-suffix {
    font-size: 10rem;
    height: 10rem;
  }

  .history-century-col {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .history-scroll-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .history-century-col {
    display: none;
  }

  .history-content-col {
    padding-left: 0;
    padding-bottom: 10vh;
  }

  .history-row {
    flex-direction: column;
    margin-bottom: 60px;
    opacity: 1;
    /* Always visible on mobile or handle with JS differently */
    transform: none;
    border-left: 4px solid var(--copower-yellow);
    padding-left: 20px;
  }

  .year-suffix {
    color: var(--copower-yellow);
    font-size: 4rem;
    margin-bottom: 10px;
  }
  .year-suffix::before {
    content: "20";
  }

  .history-card {
    margin-top: 0;
    max-width: 100%;
  }
}
