/* 基本設定 */

        :root {
            --primary-color: #AC0541;
            --secondary-color: #f1f5f9;
            --accent-color: #06b6d4;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

        body {
            font-family: 'Inter', 'Noto Sans TC', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
            font-weight: 400;
        }

p {
	text-align: left;
}

/* 通用樣式 */
.container {
    max-width: 1200px;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-light {
    background-color: #f8f9fa;
}

.section-white {
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background-color: #f0f7ff;
    color: #0056b3;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 15px;
    color: #222;
}

.section-line {
    width: 50px;
    height: 3px;
    background-color: #0056b3;
    margin: 15px auto;
}

.section-header p {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* 導航欄 */
.navbar-toggler {
    border-color: white;           /* 邊框改白色 */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar {
    background-color: #1E0739;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    background-color: #5F0451;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    letter-spacing: 1.5px;
}

.nav-link {
    font-weight: 500;
    color: #fff;
    margin: 0 5px;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: #F6CD64;
}

/* 主視覺區 */
.hero-section {
    background: linear-gradient(135deg, #2c0b52 50%, #5c251f 100%);
    padding: 120px 0 40px;
    position: relative;
}

.hero-tag {
    display: inline-block;
    background-color: #f0f7ff;
    color: #0056b3;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #E69AF4;
}

.hero-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
    color: #E69AF4;
}

.hero-content h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #F1CA5D;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #FFF;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid #0056b3;
    color: #0056b3;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

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

.hero-icon {
    width: 150px;
    height: 150px;
    background-color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.2);
}

/* 導師介紹 */
.teacher-avatar {
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    background-color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teacher-info h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.subtitle {
    color: #0056b3;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #740707;
}

.stat-label {
    font-size: 0.9rem;
    color: #740707;
}

/* 特色項目 */
.feature-container {
    margin-top: 50px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: #0056b3;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

/* 工具項目 */
.tool-container {
    margin-top: 50px;
}

.tool-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-icon-1 {
    width: 100%;           /* 父元素的50%，可自訂 */
    aspect-ratio: 1 / 1;  /* 保持正方形 */
    max-width: 250px;     /* 避免太大 */
    background-color: #333;
    background-image: url('images/005.jpg'); /* 換成你的圖片路徑 */
    background-size: contain; /* 或 cover，依需求選擇 */	
    --background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #810285; /* 邊框 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tool-icon-1 i {
    font-size: 2rem;
    color: #0056b3;
}

.tool-icon-2 {
    width: 100%;           /* 父元素的50%，可自訂 */
    aspect-ratio: 1 / 1;  /* 保持正方形 */
    max-width: 250px;     /* 避免太大 */
    background-color: #333;
    background-image: url('images/007.jpg'); /* 換成你的圖片路徑 */
    background-size: contain; /* 或 cover，依需求選擇 */	
    --background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #810285; /* 邊框 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tool-icon-3 {
    font-size: 2rem;
    color: #0056b3;
}

.tool-icon-3 {
    width: 100%;           /* 父元素的50%，可自訂 */
    aspect-ratio: 1 / 1;  /* 保持正方形 */
    max-width: 250px;     /* 避免太大 */
    background-color: #333;
    background-image: url('images/006.jpg'); /* 換成你的圖片路徑 */
    background-size: contain; /* 或 cover，依需求選擇 */	
    --background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #810285; /* 邊框 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tool-icon-1 i {
    font-size: 2rem;
    color: #0056b3;
}

.tool-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

.tool-item ul {
    list-style: none;
    padding: 0;
}

.tool-item ul li {
    padding: 8px 0 0 8px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.tool-item ul li:last-child {
    border-bottom: none;
}

.tool-footer {
    color: #0056b3;
    font-weight: 500;
    margin-top: 20px;
}

/* 課程項目 */
.course-container {
    margin-top: 50px;
}

.course-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #AE0A15;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 15px;
    color: #222;
}

.course-duration {
    color: #0056b3;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.course-item p {
    color: #666;
}

.course-footer {
    margin-top: 20px;
}

/* 目標對象 */
.target-container {
    margin-top: 30px;
}

.target-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.target-item:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.target-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.target-icon i {
    font-size: 1.5rem;
    color: #0056b3;
}

.target-content {
    flex: 1;
}

.target-item h5 {
    font-size:  1rem;
    margin: 0;
    color: #222;
}

        /* 行動呼籲 */
        .section-cta {
            background: var(--gradient-primary);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .section-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
        }

        .cta-content {
            position: relative;
            z-index: 2;
        }

        .cta-content h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: white;
        }

        .cta-content p {
            font-size: 1.2rem;
            margin-bottom: 40px;
            color: rgba(255, 255, 255, 0.9);
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn-primary:hover {
            background: white;
            transform: translateY(-3px);
            box-shadow: var(--shadow-large);
            color: var(--primary-color);
        }

        .btn-primary {
            background: white;
            color: var(--primary-color);
            padding: 15px 40px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            font-size: 1.1rem;
            box-shadow: var(--shadow-medium);
        }

/* 頁尾 */
footer {
    background-color: #222;
    color: white;
    padding: 30px 0;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* 響應式設計 */
@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        padding: 0px 0 40px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .teacher-avatar {
        margin-bottom: 30px;
    }
    
    .teacher-info {
        text-align: center;
    }
    
    .stats-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
	
    .hero-content h3 {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
	.section-header h2 {
    font-size:  1.3rem;
	}
	
	.target-content h5 {
    font-size:  1rem;
	}
	
	.stat-number {
    font-size: 2rem;
	}
	
    .stats-container {
    display: flex;
        gap: 15px;
    }
    
    .cta-content h2 {
        font-size: 1.3rem;
    }
	
    .cta-content p {
        font-size: 1rem;
    }
	
	.teacher-info h3 {
    font-size: 2rem;
	}
    
    .btn-primary, .btn-outline {
        display: block;
        margin: 0 auto 15px;
        max-width: 200px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* 滾動效果 */
html {
    scroll-behavior: smooth;
}

/* 載入動畫 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}