body {
  font-family: 'Noto Sans TC', sans-serif;
  color: #0F1035;
}
/* nav */
.rounded-navbar {
  border-radius: 50px;
  position: fixed;
  z-index: 1050;
  padding: 20px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0F1035;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  max-width: 1200px;
  /* 設定最大寬度，讓 Navbar 保持適當大小 */
  width: 90%;
  /* 保持響應式 */
  left: 50%;
  transform: translateX(-50%);
}

.navbar-brand img {
  height: 40px;
}


.navbar-nav {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding-left: 0;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  font-weight: 700;
  color: #0F1035;
}

.nav-link.active {
  color: #0F1035;
}



.dropdown-menu {
  min-width: 180px;
}

.dropdown-item {
  color: #0F1035;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item i {
  margin-right: 10px;
}



/* banner */
#header-banner {
  width: 100%;
  height: 400px;
  position: relative;
  background: url('../img/header-banner.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

#header-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  /* 加深透明度 */
}

#header-banner .container-xl {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  /* 垂直排列內容 */
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  /* 垂直居中 */
  height: 100%;
  color: #fff;
  /* 文字顏色 */
  text-align: center;
  /* 文字置中 */
}

#header-banner h1 {
  position: relative;
  color: #fff;
  z-index: 1;
  /* 確保文字顯示在背景圖上方 */
}

#header-banner .breadcrumb {
  display: flex;
  gap: 0.5rem;
  /* 麵包屑項目之間的間距 */
  font-size: 1rem;
}

#header-banner .breadcrumb a {
  color: #fff;
  /* 麵包屑連結顏色 */
  text-decoration: none;
  /* 移除下劃線 */
  transition: color 0.3s;
}

#header-banner .breadcrumb a:hover {
  color: #ddd;
  /* 滑鼠懸停時的顏色 */
}

#header-banner .breadcrumb span {
  color: #fff;
  /* 分隔符號顏色 */
}



/* footer */
footer {
  padding-top: 40px;
  background-color: #0F1035;
  /* 底部深色背景 */
  color: white;
  /* 白色文字 */
}


footer a {
  color: white;
  /* 確保連結也是白色 */
  text-decoration: none;
  /* 選擇性移除連結下劃線 */
}

footer a:hover {
  color: #ccc;
  /* 滑鼠懸停時的淺灰色 */
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

.footer-item {
  margin: 0 10px;
  padding-left: 10px;
}

.footer-navlink {
  font-weight: 700;
  color: white;
}

.footer-navlink.active {
  color: #ccc;
}

.footer-iconnav {
  display: flex;
  justify-content: end;
  /* 水平置中 */
  align-items: center;
  /* 垂直置中 */
  margin: 0;
  /* 清除預設外邊距 */
  padding: 0;
  /* 清除預設內邊距 */
  list-style: none;
}

.footer-icomitem {
  margin: 0 10px;
  padding-left: 10px;
}

.footer-icomlink {
  font-weight: 700;
  color: white;
}

.footer-icomlink.active {
  color: #ccc;
}

.footer-iconnav li {
  margin: 0 5px;
  /* 圖標之間的間距 */
}

.footer-btn {
  background-color: #7FC7D9;
  color: #0F1035;
  font-size: 1rem;
  padding: 10px 40px;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.footer-btn:hover {
  background-color: #365486;
  /* 懸停時背景顏色 */
  color: #ffffff;
  /* 懸停時文字顏色 */
}

.copyright {
  font-size: 12px;
}



/* RWD */
@media (max-width: 576px) {
  .navbar-brand img {
    height: 30px;
    margin-right: 10px;
  }

  #header-banner {
    width: 100%;
    height: 300px;
    position: relative;
    background: url('../img/header-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
  }

}