/* FAQ 區塊樣式 */

.faq-section {
  background: #F66E00;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.category-nav {
  position: relative;
  z-index: 2;
  text-align: center;
}

.category-nav .d-flex {
  background: white;
  border-radius: 40px;
  padding: 5px;
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.category-btn {
  border-radius: 20px;
  border: 2px solid white;
  font-weight: bold;
  padding: 0.3rem 0.3rem !important;
  font-size: 1.2rem;
}

.category-btn:hover {
  border-radius: 20px;
  border: 2px solid white;
  font-weight: bold;
  background: #f66e00 !important;
  padding: 0.3rem 0.6rem !important;
}

.category-btn.active {
  background: #F66E00;
  color: white;
  border-radius: 25px;
  border: 1px solid #ffffff;
}

.category-btn:not(.active) {
  background: white;
  color: #000000;
  border-radius: 25px;
  border: 1px solid #ffffff;
}

.faq-items {
  position: relative;
  z-index: 2;
}

.faq-item {
  background: white;
  border-radius: 35px;
  padding: 15px 15px 15px 25px;
  cursor: pointer;
  margin-bottom: 0.5rem !important;
}

.faq-item:last-of-type {
  margin-bottom: 1.5rem;
}

.faq-item .d-flex {
  justify-content: space-between;
  align-items: center;
}

.faq-item .fw-bold {
  color: #333;
  font-size: 1.2rem;
  font-family: 'Noto Sans TC', sans-serif;
}

.faq-answer {
  margin-top: 1rem;
  display: none;
  font-family: 'Noto Sans TC', sans-serif;
}

.faq-answer p {
  color: #6c757d;
  margin-bottom: 0;
  text-align: left;
  font-size: 1.2rem;
}

.faq-icon {
  color: #ffffff !important;
  background: #e6e6e6;
  border-radius: 30px;
  padding: 5px 5px 3px 5px;
}

/* 分類項目顯示控制 */

.application-item, .course-item, .graduation-item, .resource-item, .other-item {
  display: none;
}

.application-item.active, .course-item.active, .graduation-item.active, .resource-item.active, .other-item.active {
  display: block;
}

/* 查看全部按鈕 */

.faq-view-all-btn {
  border-radius: 25px !important;
  background: white;
  color: #000000;
  border: none;
  font-size: 18px;
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.faq-view-all-btn:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #000000 !important;
  border: 2px solid #f66e00;
}

.faqnum {
  font-weight: 800;
  color: #f66e00;
}

/* 導航圖片hover效果 */

.nav-icon {
  transition: opacity 0.3s ease;
}

.nav-icon-hover {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover .nav-icon {
  opacity: 0;
}

.nav-link:hover .nav-icon-hover {
  opacity: 1;
}

div {
}

.gtn:hover {
  background-color: #f66e00 !important;
  color: #ffffff !important;
}

#gtn3:hover {
  background-color: #f66e00 !important;
  color: #ffffff !important;
  border: 2px solid #f66e00 !important;
}

#gtn1:hover {
  background-color: #f66e00 !important;
  color: #ffffff !important;
  border: 1px solid #f66e00;
}

#gtn2:hover {
  background-color: #f66e00 !important;
  color: #ffffff !important;
  border: 1px solid #f66e00;
}

.carousel-indicators [data-bs-target] {
  background: #000000;
  background-clip: padding-box;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

body {
  padding-top: 80px;
}

