/* ==========================================
   淡江大學俄文組校外實習網站樣式表 (style.css)
   ========================================== */

/* --- 1. 設計系統與 CSS 變數定義 --- */
:root {
    /* 核心色彩 */
    --primary-color: #1a365d;       /* 深寶藍色：象徵專業、學術與穩重 */
    --primary-light: #2b5c8f;      /* 明亮藍色：用於懸停與次要重點 */
    --secondary-color: #c83b2b;    /* 磚紅/莫斯科紅：象徵俄羅斯文化與熱情 */
    --accent-color: #e5a93b;       /* 金黃色：用於強調與警示標籤 */
    
    /* 中性色彩 */
    --text-color: #2d3748;         /* 深灰色：主要內文字體顏色，比純黑更溫和 */
    --text-muted: #718096;         /* 淺灰色：次要或說明文字 */
    --bg-light: #f7fafc;           /* 淺灰底色：區塊背景 */
    --bg-white: #ffffff;           /* 純白背景 */
    --border-color: #e2e8f0;       /* 邊框顏色 */
    
    /* 陰影與圓角 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* 字型與轉場 */
    --font-main: 'Outfit', 'Noto Sans TC', sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- 2. 基礎重設 (Reset) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 平滑滾動效果 */
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 容器與版面佈局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0; /* 區塊上下內距 */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 標題與段落 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* --- 3. 常用元件 (Buttons & Titles) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 區塊標頭樣式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .sub-title {
    font-size: 0.85rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-header .underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-intro {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-muted);
}

/* --- 4. 導覽列 (Navbar) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
    transition: var(--transition-normal);
}

/* 當網頁向下滾動時，CSS 加上 .scrolled 樣式 */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.nav-logo span span {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 0.95rem;
    border-left: 1px solid var(--border-color);
    padding-left: 10px;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* 懸浮底線動畫 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* 行動裝置選單按鈕（預設隱藏） */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- 5. 英雄橫幅區 (Hero Section) --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f2042 0%, #1a365d 50%, #521c17 100%);
    color: var(--bg-white);
    padding-top: 70px;
    text-align: center;
}

/* 網點背景遮罩 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 1s ease;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(200, 59, 43, 0.2);
    border: 1px solid var(--secondary-color);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 滾動提示圖示 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

/* --- 6. 宗旨區 (About Section) --- */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 54, 93, 0.2);
}

.about-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(26, 54, 93, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

.about-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- 7. 實習規則區 (Rules Section) --- */
.rules-section {
    background-color: var(--bg-light);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.tab-btn i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.tab-btn.active i {
    color: var(--bg-white);
}

/* 標籤頁內容切換效果 */
.tab-content-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    min-height: 350px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.pane-text h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.pane-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.rule-list i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* 裝飾或資訊方塊 */
.pane-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-highlight {
    background-color: rgba(26, 54, 93, 0.04);
    border-left: 5px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    text-align: center;
}

.info-highlight .number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.info-highlight .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pane-decor {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qualification-card, .badge-card {
    background: linear-gradient(135deg, rgba(200, 59, 43, 0.05) 0%, rgba(26, 54, 93, 0.05) 100%);
    border: 1px dashed rgba(26, 54, 93, 0.3);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.qualification-card i, .badge-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.qualification-card h4, .badge-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.qualification-card p, .badge-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 申請流程卡片樣式 */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    position: relative;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(26, 54, 93, 0.1);
    font-family: 'Outfit', sans-serif;
}

.step-card h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
    padding-right: 30px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- 8. 實習單位區 (Units Section) --- */
.units-section {
    background-color: var(--bg-white);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.unit-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 54, 93, 0.15);
}

/* 單位小圖示區塊替代 banner */
.unit-img-placeholder {
    height: 150px;
    background: linear-gradient(135deg, #1a365d 0%, #2b5c8f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.unit-img-placeholder i {
    font-size: 3.5rem;
    transition: var(--transition-normal);
}

.unit-card:hover .unit-img-placeholder i {
    transform: scale(1.15) rotate(5deg);
}

/* 各單位的特色背景色 */
.unit-card[data-unit="bsmi"] .unit-img-placeholder { background: linear-gradient(135deg, #1a365d 0%, #1565c0 100%); }
.unit-card[data-unit="yarkof"] .unit-img-placeholder { background: linear-gradient(135deg, #5c2518 0%, #8d3c2b 100%); }
.unit-card[data-unit="newstrong"] .unit-img-placeholder { background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%); }
.unit-card[data-unit="rti"] .unit-img-placeholder { background: linear-gradient(135deg, #e65100 0%, #ff9800 100%); }
.unit-card[data-unit="cherry"] .unit-img-placeholder { background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 100%); }
.unit-card[data-unit="eurasia"] .unit-img-placeholder { background: linear-gradient(135deg, #006064 0%, #00acc1 100%); }

.unit-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unit-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.unit-info h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.unit-short {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.unit-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.unit-meta i {
    color: var(--primary-color);
}

.unit-info .btn {
    width: 100%;
}

/* --- 9. 詳細資訊彈窗 (Modal) --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 32, 66, 0.6); /* 深藍色半透明遮罩 */
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 650px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: translateY(0);
}

/* 關閉按鈕 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-header {
    background-color: var(--bg-light);
    padding: 35px 40px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-right: 30px;
}

.modal-badge-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.modal-badge i {
    color: var(--primary-color);
}

/* 彈窗主體區（可滾動） */
.modal-body {
    padding: 30px 40px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-info-section {
    margin-bottom: 24px;
}

.modal-info-section:last-child {
    margin-bottom: 0;
}

.modal-info-section h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-info-section h4 i {
    color: var(--secondary-color);
}

.modal-info-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-info-section li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* 自訂清單項目圖示 */
.modal-info-section li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-index: 1;
}

#modal-remark {
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: var(--bg-light);
    padding: 12px 16px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.modal-footer {
    padding: 20px 40px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
    display: flex;
    justify-content: flex-end;
}

/* --- 10. 常用下載區 (Downloads Section) --- */
.downloads-section {
    background-color: var(--bg-light);
}

.downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.download-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 54, 93, 0.15);
}

.download-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 根據檔案類型使用不同圖示色彩 */
.download-card:nth-child(1) .download-icon { background-color: rgba(229, 57, 53, 0.08); color: #e53935; } /* PDF */
.download-card:nth-child(2) .download-icon { background-color: rgba(21, 101, 192, 0.08); color: #1565c0; } /* Word */
.download-card:nth-child(3) .download-icon { background-color: rgba(0, 150, 136, 0.08); color: #009688; } /* 合約 */
.download-card:nth-child(4) .download-icon { background-color: rgba(46, 125, 50, 0.08); color: #2e7d32; } /* Excel */

.download-info {
    flex-grow: 1;
}

.download-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.download-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.btn-download {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.btn-download:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* --- 11. 頁尾與聯絡我們 (Footer) --- */
.footer {
    background-color: #0c182b; /* 極深藍色背景 */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 4px solid var(--secondary-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: var(--bg-white);
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h3 i {
    color: var(--secondary-color);
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 450px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-contact h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}

.developer-note {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- 12. 返回頂部按鈕 (Back to Top) --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    box-shadow: 0 4px 10px rgba(200, 59, 43, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(26, 54, 93, 0.3);
    transform: translateY(-3px);
}

/* --- 13. 動畫特效 (@keyframes) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- 14. 響應式網頁設計 (RWD - Media Queries) --- */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .pane-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pane-info-box {
        flex-direction: row;
        justify-content: center;
    }
    
    .info-highlight {
        flex: 1;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    /* 導覽列 RWD - 折疊選單 */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-link::after {
        display: none; /* 行動裝置關閉懸浮線條 */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .tab-content-wrapper {
        padding: 30px 20px;
    }
    
    .tabs-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 24px 20px;
    }
}

/* ==========================================
   深淺色主題切換 (Dark/Light Mode) & 全域轉場
   ========================================== */
[data-theme="dark"] {
    --primary-color: #63b3ed;        /* 亮寶藍/天藍色 */
    --primary-light: #90cdf4;
    --secondary-color: #feb2b2;      /* 珊瑚粉紅 */
    --accent-color: #fbd38d;         /* 淡黃 */
    --text-color: #e2e8f0;           /* 白灰色 */
    --text-muted: #a0aec0;           /* 淺灰色 */
    --bg-light: #171923;             /* 深色區塊背景 */
    --bg-white: #1a202c;             /* 深色主底色 */
    --border-color: #2d3748;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.5);
}

body, section, nav, .about-card, .tab-content-wrapper, .step-card, .unit-card, .download-card, .footer, .modal-content, .modal-header, .modal-body, .modal-footer, .party-card, .hours-banner-card, .gallery-card, .apply-wizard, .apply-tracker, input, select, textarea {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] body {
    background-color: var(--bg-white);
}

/* 主題切換按鈕 */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}
.theme-toggle:hover {
    background-color: rgba(26, 54, 93, 0.08);
    transform: rotate(30deg) scale(1.1);
}
[data-theme="dark"] .theme-toggle:hover {
    background-color: rgba(99, 179, 237, 0.15);
    color: var(--accent-color);
}
[data-theme="dark"] .navbar {
    background-color: rgba(26, 32, 44, 0.95);
}
[data-theme="dark"] .nav-link {
    color: var(--text-color);
}
[data-theme="dark"] .tab-btn {
    background-color: #2d3748;
    color: var(--text-color);
}
[data-theme="dark"] .tab-btn.active {
    background-color: var(--primary-color);
    color: #1a202c;
}
[data-theme="dark"] .tab-btn.active i {
    color: #1a202c;
}
[data-theme="dark"] .info-highlight {
    background-color: rgba(99, 179, 237, 0.05);
}
[data-theme="dark"] .qualification-card, [data-theme="dark"] .badge-card {
    background: linear-gradient(135deg, rgba(254, 178, 178, 0.05) 0%, rgba(99, 179, 237, 0.05) 100%);
    border-color: rgba(99, 179, 237, 0.2);
}
[data-theme="dark"] .step-card {
    background-color: #2d3748;
}
[data-theme="dark"] .download-card {
    background-color: #2d3748;
}
[data-theme="dark"] .btn-download {
    background-color: #1a202c;
}
[data-theme="dark"] .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
[data-theme="dark"] .btn-outline:hover {
    background-color: var(--primary-color);
    color: #1a202c;
}
[data-theme="dark"] .modal-header, [data-theme="dark"] .modal-footer {
    background-color: #2d3748;
}

/* ==========================================
   實習合約專區 樣式表
   ========================================== */
.contract-section {
    background-color: var(--bg-light);
}
.hours-banner-card {
    background: linear-gradient(135deg, #1a365d 0%, #2b5c8f 100%);
    color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .hours-banner-card {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: 1px solid var(--border-color);
}
.hours-content {
    flex: 1;
    z-index: 2;
}
.hours-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.hours-banner-card h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.hours-highlight {
    font-size: 2.8rem;
    color: var(--accent-color);
    font-weight: 700;
    vertical-align: middle;
}
.hours-decor-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: var(--transition-normal);
}
.hours-banner-card:hover .hours-decor-icon {
    transform: scale(1.1) rotate(-10deg);
    color: rgba(229, 169, 59, 0.15);
}
.contract-parties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.party-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}
.party-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.party-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--bg-white);
}
.color-student { background-color: #1a365d; }
.color-enterprise { background-color: #c83b2b; }
.color-school { background-color: #e5a93b; }
[data-theme="dark"] .color-student { background-color: #63b3ed; color: #1a202c; }
[data-theme="dark"] .color-enterprise { background-color: #feb2b2; color: #1a202c; }
[data-theme="dark"] .color-school { background-color: #fbd38d; color: #1a202c; }

.party-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.party-duties {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.party-duties li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}
.party-duties i {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-top: 3px;
}
.contract-notice {
    background-color: rgba(229, 169, 59, 0.08);
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contract-notice i {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 2px;
}
.contract-notice p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* ==========================================
   實習校外訪視專區 樣式表
   ========================================== */
.visit-section {
    background-color: var(--bg-white);
}
.visit-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 70px;
    position: relative;
}
.visit-process::after {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}
.process-node {
    text-align: center;
    position: relative;
    z-index: 2;
}
.node-badge {
    position: absolute;
    top: -15px;
    right: 25%;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.node-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 3px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 20px;
    transition: var(--transition-normal);
}
.process-node:hover .node-icon {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}
.process-node h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.process-node p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.visit-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}
.visit-gallery-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.visit-gallery-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.visit-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.gallery-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.gallery-img {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gallery-img i {
    font-size: 4rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-normal);
}
.gallery-card:hover .gallery-img i {
    transform: scale(1.1);
}
.bg-gradient-bsmi { background: linear-gradient(45deg, #1565c0, #1e88e5); }
.bg-gradient-rti { background: linear-gradient(45deg, #e65100, #fb8c00); }
.bg-gradient-yarkof { background: linear-gradient(45deg, #5c2518, #c83b2b); }
.bg-gradient-cherry { background: linear-gradient(45deg, #4a148c, #8e24aa); }

.gallery-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}
.gallery-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.gallery-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.gallery-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}
.student-name {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: right;
    display: block;
}

/* ==========================================
   線上實習申請系統 樣式表
   ========================================== */
.apply-section {
    background-color: var(--bg-light);
}
.apply-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}
.apply-wizard {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid var(--border-color);
}

/* 步驟指示器 stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}
.stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 5%;
    width: 90%;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex: 1;
}
.step-num-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 3px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition-normal);
}
.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-normal);
}
.step.active .step-num-circle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}
.step.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}
.step.completed .step-num-circle {
    background-color: #2e7d32;
    border-color: #2e7d32;
    color: var(--bg-white);
}
.step.completed .step-label {
    color: #2e7d32;
}

/* 表單內容切換 */
.wizard-form {
    min-height: 320px;
}
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}
.form-step.active {
    display: block;
}
.step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-bottom: 30px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}
.form-group label .required {
    color: var(--secondary-color);
    margin-left: 2px;
}
.form-group input, .form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--bg-white);
    color: var(--text-color);
    transition: var(--transition-fast);
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}
[data-theme="dark"] .form-group input:focus, [data-theme="dark"] .form-group select:focus {
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.15);
}
.form-vertical-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.step-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 20px;
}

/* 檔案模擬上傳 */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.upload-box {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
    background-color: var(--bg-light);
}
.upload-box:hover {
    border-color: var(--primary-color);
    background-color: rgba(26, 54, 93, 0.02);
}
[data-theme="dark"] .upload-box:hover {
    background-color: rgba(99, 179, 237, 0.02);
}
.upload-box i {
    font-size: 2.2rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.upload-box:hover i {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.upload-box h4 {
    font-size: 0.95rem;
    color: var(--text-color);
}
.upload-box .file-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.upload-box .file-info.file-selected {
    color: #2e7d32;
    font-weight: 600;
}
.hidden-input {
    display: none;
}
.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 20px;
}

/* 切結條款 */
.declaration-box {
    margin-bottom: 30px;
}
.declaration-box h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.declaration-content {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 180px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.agree-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.agree-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 申請進度追蹤面板 */
.apply-tracker {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.tracker-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
[data-theme="dark"] .tracker-header {
    background-color: #2d3748;
    border-bottom: 1px solid var(--border-color);
}
.tracker-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-indicator {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}
.live-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4caf50;
    display: inline-block;
}
.animate-pulse {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.tracker-body {
    padding: 30px 24px;
}
.tracker-empty {
    text-align: center;
    padding: 40px 10px;
    color: var(--text-muted);
}
.tracker-empty i {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.tracker-empty p {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.tracker-empty .sub-text {
    font-size: 0.8rem;
    line-height: 1.5;
}

/* 動態狀態追蹤內容 */
.tracker-record {
    animation: fadeIn 0.5s ease;
}
.student-badge-info {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}
.student-badge-info h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.student-badge-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.tracker-status-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 20px;
    margin-bottom: 24px;
}
.tracker-status-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: var(--border-color);
}
.status-item {
    position: relative;
    padding-left: 15px;
}
.status-dot {
    position: absolute;
    top: 5px;
    left: -20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: 2px solid var(--bg-white);
}
.status-item.active .status-dot {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.15);
}
[data-theme="dark"] .status-item.active .status-dot {
    box-shadow: 0 0 0 4px rgba(99, 179, 237, 0.2);
}
.status-item.completed .status-dot {
    background-color: #4caf50;
}
.status-info h5 {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 4px;
}
.status-item.active .status-info h5 {
    color: var(--primary-color);
    font-weight: 700;
}
.status-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.tracker-alert-notice {
    background-color: rgba(46, 125, 50, 0.08);
    border-left: 4px solid #2e7d32;
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.8rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* ==========================================
   Scroll Reveal 浮現特效樣式
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   合約與訪視響應式 RWD 補充
   ========================================== */
@media (max-width: 992px) {
    .apply-container {
        grid-template-columns: 1fr;
    }
    .visit-process {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .visit-process::after {
        display: none;
    }
    .process-node {
        padding-left: 80px;
        text-align: left;
    }
    .node-icon {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
    .node-badge {
        left: 0;
        right: auto;
        top: -10px;
    }
}
@media (max-width: 768px) {
    .hours-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .hours-banner-card h3 {
        font-size: 1.6rem;
    }
    .hours-highlight {
        font-size: 2.2rem;
    }
    .hours-decor-icon {
        display: none;
    }
    .upload-grid {
        grid-template-columns: 1fr;
    }
    .apply-wizard {
        padding: 24px 16px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .stepper {
        margin-bottom: 30px;
    }
    .step-label {
        font-size: 0.7rem;
    }
}

