:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --primary-color: #7C9D96; /* 柔和的灰绿色 */
    --secondary-color: #E9B384; /* 温暖的杏色 */
    --accent-color: #A1CCD1; /* 淡蓝色 */
    --background-color: #F4F2DE; /* 米白色背景 */
    --text-color: #4F4F4F; /* 深灰色文字 */
}

/* 全域樣式 */
body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--background-color);
}

/* 裝飾元素 */
.circle-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(124, 157, 150, 0.1), rgba(233, 179, 132, 0.1));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

section {
    padding: 6rem 0;
    position: relative;
}



/* Hero 區域樣式 */
.hero {
    min-height: 100vh;
    background-color: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* 主要優勢區塊 */
.features {
    background-color: var(--light);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(37,99,235,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* 關於我們區塊 */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 1rem;
}

.founder-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1.5rem;
}

/* Logo牆樣式 */
.partners {
    margin-top: 4rem;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 1rem;
}

.logo-wall img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    filter: none;
}

.logo-wall img:hover {
    transform: scale(1.05);
}

/* 服務內容區塊樣式優化 */
.services {
    background-color: var(--light);
    padding: 6rem 0;
    position: relative;
    overflow: visible;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(37,99,235,0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.price-tag {
    color: var(--primary);
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-tag .h3 {
    color: var(--primary);
    font-weight: bold;
}

.service-card ul li {
    display: flex;
    align-items: center;
    color: var(--gray-600);
}

.service-card ul li i {
    margin-right: 0.75rem;
    color: var(--primary);
}

.service-card .btn {
    margin-top: auto;
}

/* 成功案例區塊 */
.cases {
    background: #f8f9fa;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #2c3e50;
}

.case-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 15px;
}

.case-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-highlights li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.85rem;
    color: #495057;
}

.case-highlights li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 聯絡表單樣式 */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
    outline: none;
}

/* 浮動聯絡按鈕 */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-contact a {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-contact a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* 響應式調整 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .logo-wall {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        text-align: center;
    }

    .hero .btn-group {
        justify-content: center;
    }

    .floating-contact {
        bottom: 1rem;
        right: 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    .section-header .position-absolute {
        position: static !important;
        margin-top: 15px;
    }
    
    .section-header .d-flex {
        flex-direction: column;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-content h3 {
        font-size: 1rem;
    }
    
    .case-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .case-content {
        padding: 15px;
    }
    
    .case-content h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .case-image {
        height: 160px;
    }
}

/* 動畫效果 */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* 時間軸樣式 */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 6rem;
}

.year-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
}

/* 客戶評價區塊樣式優化 */
.testimonials {
    background-color: var(--light);
    padding: 6rem 0;
}

.testimonial-slider {
    position: relative;
    padding: 2rem 0;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: var(--primary);
    opacity: 0.2;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details {
    flex-grow: 1;
}

.client-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.client-details p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

/* 確保評價卡片在網格中正確顯示 */
.testimonials .row {
    margin: 0 -1rem;
}

.testimonials .col-lg-4 {
    padding: 1rem;
}

/* FAQ 區塊樣式優化 */
.faq {
    background-color: var(--light);
    padding: 6rem 0;
}

.accordion-item {
    background: white;
    border: none;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 500;
    color: var(--dark);
    background-color: white;
    border-radius: 1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(37,99,235,0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(37,99,235,0.1);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--gray-600);
}

.accordion-body ol {
    padding-left: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* CTA 區塊樣式優化 */
.cta-section {
    position: relative;
    padding: 4rem 0;
    background-color: #3b3b3b;
}

.cta-section .shape-1,
.cta-section .shape-2 {
    background: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn-light {
    background: white;
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: var(--gray-100);
}

.cta-section .btn-outline-light {
    border: 2px solid white;
    padding: calc(1rem - 2px) calc(2rem - 2px);
    color: white;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-decoration .shape-1,
.cta-decoration .shape-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-decoration .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.cta-decoration .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}


/* 區塊標題置中 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.2rem;
}

/* 更新按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #6b8b84;
    border-color: #6b8b84;
}

.bg-light-primary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* 創作足跡區塊樣式 */
.courses {
    background-color: var(--background-color);
    padding: 6rem 0;
}

.course-image img {
    transition: transform 0.3s ease;
}

.course-image:hover img {
    transform: scale(1.02);
}

.platform-badge .badge {
    font-size: 0.9rem;
}

.course-highlights .highlight-item {
    margin-bottom: 0.75rem;
}

.course-stats .stat h4 {
    color: var(--primary-color);
}

/* Podcast 區塊樣式 */
.podcast {
    background-color: var(--light);
    padding: 6rem 0;
}

.podcast-cover img {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

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

.episode-card:hover {
    transform: translateX(5px);
}

.episode-card .bg-white {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.episode-card:hover .bg-white {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(124, 157, 150, 0.1);
}

.podcast-platforms .btn {
    margin-bottom: 0.5rem;
}

/* Hero區塊Podcast卡片樣式 */
.podcast-highlight {
    margin-top: 2rem;
}

.podcast-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.podcast-title {
    color: #f8f9fa;
    font-weight: 500;
}

.podcast-description {
    color: #dee2e6;
    line-height: 1.5;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .podcast-highlight {
        margin-top: 3rem;
    }
    
    .course-content {
        margin-top: 2rem;
        padding-left: 0 !important;
    }
    
    .podcast-episodes {
        margin-top: 2rem;
        padding-left: 0 !important;
    }
}

