.nice-select {
  width: 100%;
}
@media (max-width: 575px) {
  .blog-post-area .single-blog-post .text {
    left: 50%;
    min-width: 300px;
  }
}

.purecounter {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #494949;
}

.iconbox {
  transition: all 0.3s ease-in-out;
}

.gap-3 {
  gap: 0.75rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.gap-\[1\.15rem\] {
  gap: 1.15rem;
}

.grid {
  display: grid;
}

.text-orange-500 {
  color: rgb(255 150 46/1);
}

.absolute {
  position: absolute;
}

.img-1 {
  border: 0px;
  bottom: 45rem;
  z-index: -1;
}

.img-2 {
  border: 0px;
  left: 10%;
  z-index: -1;
  bottom: 90rem;
}

@media (min-width: 1440px) {
  .img-2 {
    left: 16%;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:w-\[87\%\] {
    width: 87%;
  }

  .md\:right-0 {
    right: 0;
  }

  /* .md\:top-\[30rem\] {
        top: 30rem;
    } */
}

@media (min-width: 1024px) {
  .lg\:w-\[55\%\] {
    width: 55%;
  }

  /* .lg\:top-0 {
        top: 0;
    } */

  .lg\:right-4 {
    right: 1rem;
  }
}

@media (max-width: 1024px) {
  .lg\:right-4 {
    margin-bottom: 7rem;
  }

  .img-2 {
    left: 13%;
    bottom: 84rem;
  }
}

@media (max-width: 768px) {
  .img-1 {
    z-index: 3;
    bottom: 125rem;
    width: 100%;
    right: 0;
  }

  .img-2 {
    left: 0;
    bottom: 193rem;
  }

  .card-bom {
    margin-top: 1rem;
  }

  .lg\:right-4 {
    margin-bottom: 0;
  }
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-next,
.carousel-control-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.text-primary-700 {
  font-weight: 700;
}

.pl-5,
.px-5 {
  padding-left: 2rem !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #383838;
  background-color: #f5f5f5;
}

.charity-intro-container {
  font-size: 1rem;
  font-weight: 400;
  padding: 25px;
  margin: 30px auto;
  max-width: 750px;
  background-color: #eef7ee; /* 淡綠色背景，呼應主題綠 */
  border-radius: 8px; /* 圓角邊框 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 細微的陰影增加立體感 */
  text-align: center; /* 文字置中 */
}

.charity-intro-text {
  color: #2c5e29; /* 深綠色文字 */
  padding: 0;
  margin-bottom: 0.8em;
  font-weight: 600; /* 加粗 */
  font-size: 1.15rem;
}

.charity-intro-text-spacing {
  color: #4a7c46; /* 稍淺的綠色文字 */
  letter-spacing: 0.2px;
  line-height: 1.7;
  padding: 0;
}

/* 可以考慮加上一個小圖示 */
.charity-intro-container::before {
  content: "\f004"; /* Font Awesome 的心形圖示 (需要引入 Font Awesome) */
  font-family: "FontAwesome";
  font-size: 2rem;
  color: #7cc576;
  display: block;
  margin-bottom: 15px;
}

/* --- business.php (營業公益) - 全新淺色專業風格樣式 --- */

/* --- 全局背景與字體 --- */
.business-welfare-page {
  background-color: #f8f9fa; /* 使用非常淺的灰色作為底色，比純白更柔和 */
  color: #495057; /* 預設文字顏色，深灰色 */
  font-family: "Noto Sans TC", Arial, sans-serif;
  padding-bottom: 3rem;
}

/* --- Hero Section --- */
.hero-business-welfare {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  /* 背景使用淺色漸層，營造明亮開闊感 */
  background: linear-gradient(
      135deg,
      rgba(233, 247, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.9) 100%
    ),
    url("../img/business/hero-bg-light.jpg"); /* << 請準備一張明亮風格的背景圖 */
  background-size: cover;
  background-position: center;
}
.hero-title-bw {
  font-size: 3.2rem;
  font-weight: 700;
  color: #0056b3; /* 專業、穩重的深藍色 */
  text-shadow: none; /* 淺色背景通常不需要文字陰影 */
  margin-bottom: 0.75rem;
}
.hero-subtitle-bw {
  font-size: 1.3rem;
  color: #495057; /* 深灰色文字 */
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* --- Commitment Section (承諾區塊) --- */
.commitment-section-bw {
  background-color: transparent; /* 背景與頁面底色一致 */
}
.commitment-box-bw {
  background: #ffffff; /* 純白背景 */
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.08); /* 柔和的藍色調陰影 */
  border-top: 5px solid #007bff; /* 專業藍色頂部邊框 */
  border-left: none; /* 移除舊的左側邊框 */
}
.commitment-text-main {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0056b3; /* 深藍色 */
  margin-bottom: 1rem;
}
.commitment-text-sub {
  font-size: 1.1rem;
  color: #6c757d; /* 中性灰色文字 */
  line-height: 1.9;
}

/* --- Section Title (通用區塊標題) --- */
.section-title-bw {
  margin-bottom: 3rem;
}
.section-title-bw h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529; /* 非常深的灰色，近乎黑色 */
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.section-title-bw h2::after {
  /* 標題底部的裝飾線 */
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #007bff; /* 專業藍色 */
  border-radius: 2px;
}
.section-title-bw p {
  font-size: 1.15rem;
  color: #6c757d; /* 中性灰色 */
  max-width: 600px;
  margin: 1rem auto 0 auto;
}

/* --- Counters Section (公益成效計數器) --- */
.counters-row-bw {
  justify-content: center;
}
.counter-card-bw {
  background: #ffffff;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: none; /* 預設無陰影 */
  border: 1px solid #dee2e6; /* 淺灰色邊框 */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 180px;
}
.counter-card-bw:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 86, 179, 0.12); /* 柔和的藍色陰影 */
  border-color: #007bff; /* 邊框變為強調色 */
}
.counter-value-bw {
  font-size: 2.8rem;
  font-weight: 700;
  color: #007bff; /* 專業藍色 */
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.counter-label-bw {
  font-size: 1rem;
  color: #495057;
  font-weight: 500;
}

/* --- Partners Section (公益夥伴卡片) --- */
.partners-section-bw {
  background-color: #f8f9fa; /* 與頁面底色相同 */
}
.partner-card-bw {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* 非常淡的陰影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ecef;
}
.partner-card-bw:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.partner-card-img-top {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}
.partner-card-img-top::after {
  content: "\f0c1"; /* Font Awesome 的連結圖示 */
  font-family: FontAwesome;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  opacity: 0; /* 預設透明 */
  transition: opacity 0.3s ease;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.partner-card-bw:hover .partner-card-img-top::after {
  opacity: 1; /* 滑鼠移過時顯示圖示 */
}
.partner-card-bw:hover .partner-card-img-top img {
  transform: scale(1.1);
  filter: brightness(0.7) blur(2px); /* 讓圖片變暗、模糊，以突出疊加的圖示和文字 */
}

/* 讓按鈕的箭頭有更明顯的位移動畫 */
.btn-partner-bw .fa {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 使用貝茲曲線讓動畫更有彈性 */
}
.btn-partner-bw:hover .fa {
  transform: translateX(8px) rotate(5deg); /* 箭頭向右移動並輕微旋轉 */
}
.partner-card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.partner-card-bw:hover .partner-card-img-top img {
  transform: scale(1.1);
}
.partner-card-body {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.partner-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #343a40; /* 深灰色標題 */
  margin-bottom: 1rem;
  min-height: 3.45em;
}
.btn-partner-bw {
  /* 改為 Outline Button 風格，更專業內斂 */
  background: transparent;
  color: #007bff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #007bff;
}
.btn-partner-bw:hover {
  background: #007bff;
  color: #fff;
  transform: scale(1.05);
}
.btn-partner-bw .fa {
  transition: transform 0.3s ease;
  margin-left: 5px;
}
.btn-partner-bw:hover .fa {
  transform: translateX(5px);
}

/* --- 響應式調整 --- */
@media (max-width: 991px) {
  /* lg */
  .hero-title-bw {
    font-size: 2.8rem;
  }
  .hero-subtitle-bw {
    font-size: 1.15rem;
  }
  .section-title-bw h2 {
    font-size: 2.1rem;
  }
  .section-title-bw p {
    font-size: 1.05rem;
  }
  .counter-card-bw {
    min-height: 160px;
  }
  .counter-value-bw {
    font-size: 2.4rem;
  }
}
@media (max-width: 767px) {
  /* md */
  .hero-business-welfare {
    padding: 4rem 0;
  }
  .hero-title-bw {
    font-size: 2.2rem;
  }
  .hero-subtitle-bw {
    font-size: 1rem;
  }
  .commitment-box-bw {
    padding: 2rem 1.5rem;
  }
  .commitment-text-main {
    font-size: 1.3rem;
  }
  .commitment-text-sub {
    font-size: 1rem;
  }
  .section-title-bw h2 {
    font-size: 1.8rem;
  }
  .section-title-bw p {
    font-size: 0.95rem;
  }
  .counter-card-bw {
    min-height: auto;
    padding: 1.5rem 1rem;
  }
  .counter-value-bw {
    font-size: 2rem;
  }
  .partner-card-title {
    min-height: auto;
  }
}

/* --- 公益成效計數器 - 圖示增強樣式 --- */
.counter-card-bw {
  padding: 2.5rem 1rem; /* 稍微增加上下 padding 給圖示空間 */
}

.counter-icon-bw {
  font-size: 2.5rem; /* 圖示大小 */
  color: #007bff; /* 專業藍色 */
  margin-bottom: 1.5rem; /* 圖示與數字之間的間距 */
  transition: transform 0.3s ease, color 0.3s ease;
}

.counter-card-bw:hover .counter-icon-bw {
  transform: scale(1.2) rotate(-10deg); /* 滑鼠移過時圖示放大並輕微旋轉 */
  color: #0056b3; /* 顏色加深 */
}

.counter-value-bw {
  font-size: 2.8rem;
  font-weight: 700;
  color: #343a40; /* 數字顏色改為深灰色，讓藍色圖示更突出 */
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* --- 區塊分隔線與背景紋理 --- */

/* 讓主頁面背景帶有細微的紋理感 */
.business-welfare-page {
  background-color: #f8f9fa;
  /* 使用多重背景，底層是淺灰色，上層是細微的斜線紋理 */
  background-image: linear-gradient(
      45deg,
      #f0f2f5 25%,
      transparent 25%,
      transparent 75%,
      #f0f2f5 75%,
      #f0f2f5
    ),
    linear-gradient(
      45deg,
      #f0f2f5 25%,
      transparent 25%,
      transparent 75%,
      #f0f2f5 75%,
      #f0f2f5
    );
  background-size: 10px 10px; /* 控制斜線的大小和密度 */
  background-position: 0 0, 5px 5px; /* 錯開兩層斜線 */
}

/* 將原本的 .counters-section-bw 的背景改為透明，讓它能透出頁面的紋理背景 */
.counters-section-bw {
  background-color: transparent;
  padding-top: 5rem; /* 增加上方空間 */
}

/* SVG 分隔線樣式 */
.section-divider-bw {
  position: relative;
  top: 1px; /* 避免與下方區塊產生細微縫隙 */
  line-height: 0;
  direction: ltr;
}
.section-divider-bw svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 90px; /* 控制波浪的高度 */
}
.section-divider-bw .shape-fill-bw {
  fill: #ffffff; /* 波浪的顏色，與下方區塊的背景色一致，營造切割感 */
}
