.topitem {
  width: 171.4px !important;
  color: white !important;
}

.image-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.image-container img:first-child {
  width: 73%;
  height: auto;
}

.image-container img:last-child {
  width: 27%;
  height: auto;
}

.content-section {
  padding: 10px 40px;
  margin-bottom: 40px;
  background: #f2f2f2;
  transition: all 0.3s ease;
  border-radius: 8px;
  border-left: 4px solid transparent;
}

.content-section:hover {
  transform: translateX(5px);
  border-left: 4px solid #086e7a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.content-section-only-animation:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-details {
  max-width: 1200px;
  margin: 0 auto;
}

.course-details h2 {
  color: #086e7a;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
  width: max-content;
}

.course-details h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #086e7a;
  transition: width 0.3s ease;
}

.content-section:hover h2:after {
  width: 100%;
}

.course-details p {
  padding-left: 25px ;
  line-height: 1.6;
  color: #333;
  margin: 20px 0;
}


.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.course-details ol {
  list-style: none;
  counter-reset: item;
  padding-left: 25px  !important;
  margin-bottom: 20px;
}
.course-details ul {
  list-style: none;
  counter-reset: item;
  padding-left: 25px  !important;
  margin-bottom: 20px;
}
.course-details ol>li {
  position: relative;
  padding-left: 25px  !important;
  margin-bottom: 12px;
  color: #333;
  counter-increment: item;
  transition: all 0.2s ease;
  padding: 8px 15px;
  border-radius: 4px;
}
.course-details ul>li {
  position: relative;
  padding-left: 25px  !important;
  margin : 12px 0;
  color: #333;
  counter-increment: item;
  transition: all 0.2s ease;
  padding: 8px 15px;
  border-radius: 4px;
}

.course-details ol>li:before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  color: #086e7a;
  font-weight: bold;
}
.course-details ul>li:before {
  content: "•";
  position: absolute;
  left: 10px;
  color: #086e7a;
  font-weight: bold;
}

.course-details ol > li:hover,
.course-details ul > li:hover {
  background: rgba(8, 110, 122, 0.1);
  transform: translateX(5px);
}

.h2_des {
  padding-left: 0px !important;
  color: rgb(166, 166, 166) !important;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.li_detail_right {
  float: right;
  color: #666;
  background: #086e7a;
  color: white !important;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.9em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.course-details li:hover .li_detail_right {
  opacity: 1;
}

/* 最後一個section的li樣式特別處理 */
.content-section:last-child .course-details li {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.content-section:last-child .course-details li:last-child {
  border-bottom: none;
}

/* 表單樣式 */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #086e7a;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-control:focus {
  border-color: #086e7a;
  outline: none;
  box-shadow: 0 0 5px rgba(8, 110, 122, 0.2);
}

.btn-primary {
  background-color: #086e7a;
  border: none;
  padding: 10px 30px;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

.btn-primary:hover {
  background-color: #065761;
}

/* 錯誤提示樣式 */
.form-control.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}

/* Key Features 圖標 */
.feature-icon {
  margin-right: 10px;
  color: #086e7a;
  font-size: 1.2em;
}


.course-note {
  width: 100%;
  background: #eaf4ff;
  color: #205b8e;
  border-left: 4px solid #205b8e;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 2rem;
  box-sizing: border-box;
  line-height: 1.7;
}
.course-note strong {
  color: #17446a;
  font-weight: bold;
}

.text-primary ,a {
  color: rgba(13,110,253, 1) !important;
}

@media (max-width: 700px) {
  .course-note {
    font-size: 1.2rem;
    padding: 12px 8px;
  }
}