  /* ========== 全站基礎設定 ========== */
  :root {
    --primary: #002060;
    --accent: #d4af37;
    --bg-light: #fff;
    --bg-section: #fefbf5;
    --text-dark: #333;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; 
    height: 100%;
    overflow-y: scroll;
  }

  body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-dark);
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
  }

  .text-accent {
    color: var(--accent) !important;
    font-weight: 900;
  }

  /* ========== 載入動畫 (Loader) ========== */
  #page-loader {
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease; /* 調整至較自然的淡出速度 */
  }

  .loader-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
  }

  .loader-content img {
    width: 300px;
    margin-bottom: 1rem;
  }

  body.loaded #page-loader {
    opacity: 0;
    pointer-events: none;
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }



  /* ========== 首頁輪播圖 ========== */
  .carousel {
    position: relative;
    width: 100vw;
    height: auto;
    overflow: hidden;
    margin-top: 0;
  }

  /* ========== 關於我們 & 榮譽區塊 ========== */
  .honor-section {
    background-color: transparent;
    padding-bottom: 2rem;
  }

  .honor-banner {
    background-color: var(--primary);
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .honor-banner img {
    max-width: 320px;
    margin: 0 0.5rem;
    vertical-align: middle;
  }

  .honor-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    gap: 2rem;
  }

  .honor-content-offset {
    margin-top: -1rem;
  }

  .honor-left {
    position: relative;
    display: inline-block;
  }

  .honor-left img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .honor-left .honor-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
  }

  .honor-right {
    flex: 1 1 500px;
  }

  .honor-right h3 {
    color: var(--primary);
    margin-bottom: 1rem;
  }

  .honor-right p {
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  .honor-right ul {
    list-style: none;
    padding-left: 0;
  }

  .honor-right li {
    margin-bottom: 0.5rem;
  }

  .honor-right li::before {
    content: "✔️ ";
    margin-right: 0.5rem;
    color: #f4b400;
  }

  /* ========== 負責人經歷與獎項 ========== */
  h2.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin: 3rem 0 1.5rem;
  }

  .certificate-section {
    padding: 4rem 0;
    background-color: var(--bg-section);
  }

  .certificate {
    border: 1px solid #ddd;
    padding: 2rem;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }

  .certificate ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .certificate ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
  }

  .certificate ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.2em;
  }

  .award-image {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: block;
  }

  #awardsSection {
    margin-top: 1rem;
  }

  .awards-summary {
    text-align: center;
    margin-top: -1rem;
  }

  .milestone-badge {
    background-color: var(--accent);
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .milestone-description {
    color: #555;
    line-height: 1.6;
    margin: 0;
  }

  .experience-photo {
    max-height: 300px;
  }

  /* ========== 聯絡資訊 ========== */
  .contact-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
  }

  .contact-section h3 {
    font-size: 2.25rem;
  }

  .contact-section h5 {
    font-size: 1.75rem;
    font-weight: 900;
  }

  .contact-section .contact-subtitle {
    font-weight: 400;
  }

  .contact-section p {
    font-size: 1.125rem;
  }

  .contact-map-image {
    max-height: 800px;
    width: auto;
  }

  /* ========== 動畫與間距微調 ========== */
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
  }

  .fade-up.show {
    opacity: 1;
    transform: translateY(0);
  }

  .footer-logo {
    max-width: 200px;
    height: auto;
  }

  /* ========== 響應式調整 ========== */
  @media (max-width: 767px) {
    .carousel {
      margin-top: 70px;
      margin-bottom: 0 !important;
    }
    
    .honor-banner {
      margin-top: 0 !important;
    }

    .honor-section {
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }

    h2.section-title {
      font-size: 2rem;
      margin-top: 2rem !important;
    }

    #awardsSection {
      padding-top: 0 !important;
    }
  }
