/* 兩Banner寬度 */
.container.main-bg {
  background: #f8fafb;
  color: #333;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(60,60,120,0.08);
  margin-top: 100px;
  margin-bottom: 200px;
  padding: 32px 124px;
  max-width: 100%;
  width: 76%;
}
.no-underline {
  text-decoration: none !important;
  font-size: 1em;
  font-weight: 550;
  color: #ff0000;
  float: none;
}
.no-underline2 {
  text-decoration: none !important;
  font-size: 1em;
  font-weight: 500;
  color: #2f46a0;
  float: none;
}
.no-underline-right {
  text-decoration: none !important;
  font-size: 1em;
  font-weight: 550;
  color: #000;
  float: right;
}
/* 橫幅 */
.banner-img {
  height: 100%;
  object-fit: cover;
}
body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #f8fafb 0%, #f8fafb 100%);
  color: #fff;
}
.navbar {
  background: linear-gradient(90deg, #764ea5 0%, #677ce7 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(60,60,120,0.10);
}
.navbar-brand, .nav-link {
  color: #fff !important;
  font-weight: 500;
  font-size: 2em;
  padding-left: 8px !important;
  padding-right: 8px !important;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
  border-radius: 10px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 2px 8px rgba(60,60,120,0.08);
}
.dropdown-menu {
  background: #ffffff;
  color: #fff;
  font-size: 1.1em;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(60,60,120,0.10);
}
.dropdown-item {
  color: #000000;
  font-size: 1.0em;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: #3ea8ff;
  color: #fff;
}
/* 輪播橫幅圖像 */
.carousel-item img {
  object-fit: cover;
  height: 440px;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(60,60,120,0.10);
}
@media (max-width: 768px) {
  .carousel-item img { height: 234px; }
}
.section-title {
  color: #fff;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(60,60,120,0.15);
  margin-bottom: 1rem;
}
.line-btn {
  background: #00c300;
  color: #fff;
  border-radius: 30px;
  padding: 0.5em 1.5em;
  text-decoration: none;
  font-weight: bold;
}
.card {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,60,120,0.10);
}
.card-title, .card-text {
  color: #fff;
}
.btn-primary {
  background: linear-gradient(90deg, #7b5cff 0%, #3ea8ff 100%);
  border: none;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(60,60,120,0.12);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #3ea8ff 0%, #7b5cff 100%);
  color: #fff;
}
/* 全平面風格 */
.full {
  /* background: #f6f6f6; */
  color: #292929;
  font-size: 1.1em;
  font-weight: bold;
}
.font3 {
  color: #292929;
  font-size: 3.0em;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
}
/* 主要內容區塊背景與文字色調 */
.main-bg {
  background: #f6f6f6;
  color: #333333;
  border-radius: 0;
  width: 100%;
}
/* 名人專欄專區 */
.main-bg .section-title,
.main-bg h2,
.main-bg h5,
.main-bg h6,
.main-bg .card-title {
  color: #1976d2;
  text-shadow: none;
  font-weight: 550;
}
.main-bg .card-text {
  color: #555;
}
.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: auto;
  align-items: center;
  white-space: nowrap;
  gap: 0;
}
.navbar-nav .nav-item {
  min-width: 0;
}
.navbar-nav .nav-link {
  font-size: 1.1em;
  min-width: 0;
  text-align: center;
  padding-left: 15px !important;
  padding-right: 15px !important;
  word-break: keep-all;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 0.9em;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}
@media (max-width: 900px) {
  .navbar-nav .nav-link {
    font-size: 0.85em;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}
@media (max-width: 700px) {
  .navbar-nav .nav-link {
    font-size: 0.8em;
    padding-left: 1px !important;
    padding-right: 1px !important;
  }
}
/* 表單與問卷頁面專用 */

/* 手機模式下導覽列展開修正 */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg,#764ea5 0%,#3ea8ff 100%) !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(60,60,120,0.10);
    padding: 16px 0;
  }
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
    gap: 0;
  }
  .navbar-nav .nav-link {
    color: #fff !important;
    background: transparent !important;
    text-align: left;
    font-size: 1.1em;
    padding: 12px 24px !important;
    border-radius: 8px;
    width: 100%;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
  }
  .dropdown-menu {
    position: static !important;
    float: none;
    background: #6d87e6 !important;
    box-shadow: none;
    margin: 0;
    border-radius: 8px;
    width: 100%;
  }
  .dropdown-item {
    color: #fff !important;
    padding: 4px 24px;
    font-size: 1.0em;
  }
  .dropdown-item:hover,
  .dropdown-item:focus {
    background: #3ea8ff !important;
    color: #fff !important;
  }
}
label, .form-label, .form-check-label, h5, h6 {
  color: #000000;
  font-weight: 500;
  font-size: 1em;
}
.form-control, textarea {
  background: rgba(255,255,255,0.85);
  color: #333;
  border-radius: 8px;
  border: 1px solid #bdbdbd;
  width:100%;
  font-size: 0.9em;
}
.form-control2 {
  background: rgba(255,255,255,0.85);
  color: #333;
  border-radius: 8px;
  border: 1px solid #bdbdbd;
  width:70%
}
.form-control:focus {
  border-color: #7b5cff;
  box-shadow: 0 0 0 2px #7b5cff33;
}
.fee-list {
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  color: #333;
}
.total-fee {
  font-weight: bold;
  color: #d32f2f;
  font-size: 1.2em;
}
::placeholder {
  color: #bdbdbd;
  opacity: 1;
}
/* 滾動視差 */
.article{
  width:100%;
  max-width:100%;
  margin:0 auto;
  height:930px;
  padding:40px;
  font:24px 'Arial';
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-position:center;
  background-size:cover;
  line-height:28px;
}
/* 放到html
.section1{
  background-image:url("/images/all.png");
  font-weight:bold;
}
*/
.section2{
  color:#fff;
  background-image:url("/images/2560-scaled.png");
  text-shadow:3px 4px 5px #373030;
  font-weight:bold;
}
.footer {
  background: linear-gradient(90deg, #764ea5 0%, #3ea8ff 100%);
  color: #fff;
  font-size: 0.95em;
  border-radius: 0;
  box-shadow: 0 -2px 8px rgba(60,60,120,0.10);
}
/* exchange.html 專用：將 #exchange-main 寬度設為 60% 並置中（手機螢幕回復 100%） */
#exchange-main {
  width: 60% !important;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  #exchange-main {
    width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* 本區專用樣式，僅影響 FAQ */
#faqAccordion .accordion-button {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000000;
  background:#f4f4f4;
}
#faqAccordion .accordion-body {
  color:#0b6f72;
  background:#fff;
}
#faqAccordion .accordion-item {
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
/* 本區域專用樣式，不會影響其他頁面 */
#plans-section .plan-table {
  width:100%; 
  border-collapse:collapse; 
  font-size:0.95rem; 
  color: #000000;
}
#plans-section .plan-table th, #plans-section .plan-table td { 
  border:1px solid #bbbbbb;
  background:#ffffff; 
  padding:12px; 
  vertical-align:top; 
}
#plans-section .plan-table th { 
  background:#ebebeb; 
  font-weight:700; 
}
#plans-section .plan-notes { 
  margin-top:12px; 
  color:#444; 
  font-size:0.95rem; 
}
#plans-section .plan-visuals { 
  display:flex; 
  gap:20px; 
  justify-content:space-between; 
  flex-wrap:wrap; 
  margin-top:18px; 
}
#plans-section .plan-card { 
  flex:1 1 30%; 
  text-align:center; 
  min-width:200px; 
}
#plans-section .plan-label { 
  display:inline-block; 
  background:#e6f2ff; 
  color:#036; 
  padding:6px 10px; 
  border-radius:12px; 
  font-weight:700; 
  margin-bottom:8px; 
}
#plans-section .plan-card img { 
  width:100%; 
  max-width:280px; 
  height:auto; 
  border-radius:8px; 
  box-shadow:0 2px 6px rgba(0,0,0,0.08); }
@media (max-width:768px){ #plans-section .plan-visuals{flex-direction:column;align-items:center;} }