/* 全局樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Source Han Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顏色變量 */
:root {
    --primary-color: #2c5aa0;
    --primary-blue: #2c5aa0;
    --secondary-color: #ff8c42;
    --secondary-orange: #ff8c42;
    --light-blue: #e8f2ff;
    --dark-blue: #1a3d73;
    --text-gray: #666;
    --light-gray: #f8f9fa;
}

/* 導航欄樣式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-blue) !important;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-orange) !important;
}

/* 首頁Banner樣式 */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(44, 90, 160, 0.8), 
        rgba(255, 140, 66, 0.6)
    ),
    url('../images/hero-bg.svg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}
.logoImg{
    width: 250px;
    height: 35px;
}
/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
} */

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* 按鈕樣式 */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* 區塊標題樣式 */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 關於我們樣式 */
.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-orange);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-card .card-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* 慈善項目樣式 */
.charity-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.charity-item:hover {
    transform: translateY(-3px);
}

.charity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-orange), #ffb366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.charity-icon i {
    font-size: 2rem;
    color: white;
}

.charity-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* 活動動態樣式 */
.activity-filter {
    margin-bottom: 2rem;
}

.activity-filter .btn {
    margin: 0 5px;
    border-radius: 20px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.activity-filter .btn.active,
.activity-filter .btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.activity-card {
    transition: all 0.3s ease;
}

.activity-card.hidden {
    display: none;
}

.activity-card .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.activity-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card .card:hover .card-img-top {
    transform: scale(1.05);
}

.activity-card .badge {
    font-size: 0.8rem;
}

.activity-card .bg-primary {
    background-color: var(--primary-blue) !important;
}

.activity-card .bg-warning {
    background-color: var(--secondary-orange) !important;
}

.activity-meta {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 1rem;
}

/* 合作平台樣式 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-item:hover img {
    opacity: 1;
}

/* 聯繫我們樣式 */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--secondary-orange);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 頁腳樣式 */
footer {
    background-color: var(--dark-blue) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-orange);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-card,
    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .activity-filter .btn {
        margin: 5px 2px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .charity-icon {
        width: 60px;
        height: 60px;
    }
    
    .charity-icon i {
        font-size: 1.5rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滾動行為 */
html {
    scroll-behavior: smooth;
}

/* 載入動畫 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 背景圖片佔位符 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--secondary-orange) 100%
    );
    z-index: -1;
}

/* 卡片圖片佔位符 */
.card-img-top {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

/* 合作夥伴圖片佔位符 */
.partner-item img {
    background: #f8f9fa;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img::before {
    content: '合作夥伴';
    color: #999;
    font-size: 0.8rem;
}

/* 返回頂部按鈕 */
.btn-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 頁面標題樣式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 120px 0 80px;
    margin-top: 76px;
}

/* 服務卡片樣式 */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    text-align: center;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

/* 流程步驟樣式 */
.process-step {
    padding: 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* 案例研究樣式 */
.case-study {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
}

.case-results {
    margin-top: 15px;
}

/* 優勢卡片樣式 */
.advantage-card {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.advantage-icon {
    margin-bottom: 20px;
}

/* 活動卡片樣式 */
.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.activity-content {
    padding: 20px;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.activity-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.activity-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.activity-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

/* 即將舉行的活動樣式 */
.upcoming-event {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.upcoming-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.event-date {
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-right: 20px;
    min-width: 80px;
}

.date-day {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 14px;
    margin-top: 5px;
}

.event-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 統計卡片樣式 */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 合作夥伴樣式 */
.strategic-partner-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.strategic-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.partner-logo {
    margin-bottom: 20px;
}

.partner-logo img {
    max-height: 80px;
    width: auto;
}

.partner-type {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.partner-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.cooperation-areas {
    margin-top: 15px;
}

.partner-category {
    margin-bottom: 40px;
}

.category-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 成就卡片樣式 */
.achievement-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.achievement-icon {
    margin-right: 20px;
}

.achievement-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

/* 見證卡片樣式 */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h5 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* 聯繫資訊卡片樣式 */
.contact-info-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.contact-icon {
    margin-bottom: 20px;
}

/* 聯繫表單樣式 */
.contact-form-wrapper {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

/* 辦公時間樣式 */
.office-hours {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.hour-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hour-item:last-child {
    border-bottom: none;
}

/* 聯繫方式樣式 */
.contact-methods {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.method-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.method-item:last-child {
    border-bottom: none;
}

.method-item h5 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* 地圖容器樣式 */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-content {
    max-width: 500px;
}

.map-directions {
    margin-top: 20px;
    text-align: left;
}

.map-directions ul {
    margin-top: 10px;
}

.map-directions li {
    margin-bottom: 8px;
    color: #666;
}

/* 使命願景卡片樣式 */
.mission-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mission-icon {
    margin-bottom: 20px;
}

/* 團隊卡片樣式 */
.team-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.team-avatar {
    margin-bottom: 15px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* 時間軸樣式 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 榮譽卡片樣式 */
.honor-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.honor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.honor-year {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 慈善服務樣式 */
.charity-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.charity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.charity-icon {
    text-align: center;
}

.charity-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.charity-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.charity-features li:last-child {
    border-bottom: none;
}

.charity-stats {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.charity-impact {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
}

.impact-item {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    margin: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.impact-item h3 {
    font-weight: 700;
    font-size: 2rem;
}

.impact-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* 新聞卡片樣式 */
.news-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-meta .badge {
    font-size: 0.75rem;
}

.news-title {
    color: #2c3e50;
    font-weight: 600;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 分類卡片樣式 */
.category-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-icon {
    margin-bottom: 1rem;
}

/* 會員卡片樣式 */
.membership-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.membership-card .card-header {
    border: none;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.membership-features {
    list-style: none;
    padding: 0;
}

.membership-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.membership-features li:last-child {
    border-bottom: none;
}

/* 福利卡片樣式 */
.benefit-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    margin-bottom: 1rem;
}

/* 創會成員卡片樣式 */
.founder-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.founder-header {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-dark));
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #d39e00) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #bd2130) !important;
}

/* 資格和申請區塊樣式 */
.qualification-section,
.application-section {
    border-left: 4px solid var(--bs-primary);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .service-card,
    .activity-card,
    .strategic-partner-card {
        margin-bottom: 20px;
    }
    
    .upcoming-event {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-marker {
        left: -27px;
    }
}