/* =============================================
   TNG, LIEW, DAVID LEOW & CO. - STYLESHEET
   专业律师事务所网站
   ============================================= */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 专业配色方案 */
    --primary-color: #1a4d7a;      /* 深蓝 - 专业可信 */
    --secondary-color: #c9a961;     /* 金色 - 高端品质 */
    --accent-color: #2c5f8d;        /* 亮蓝 */
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   HEADER - 固定导航栏
   ============================================= */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Navigation Menu */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu li a {
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
    background: rgba(201, 169, 97, 0.1);
    transform: translateY(-2px);
}

.nav-menu li a.active {
    color: var(--bg-white);
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu li a:not(.active):hover::after {
    width: 60%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =============================================
   HERO SECTION - 首页大图
   ⚠️ 注意：这里修复了图片路径！
   ============================================= */
.hero {
    margin-top: 90px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    
    /* 🔥 修复：改成 image/ 而不是 images/ */
    background: 
        linear-gradient(135deg, rgba(26, 77, 122, 0.5) 0%, rgba(13, 47, 77, 0.5) 100%),
        url('../image/hero-bg.jpg') center/cover no-repeat;
    
    background-attachment: fixed;
}

/* 如果没有 hero-bg.jpg，可以用纯色渐变 */
.hero.no-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2f4d 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    padding: 40px 20px;
}

.hero h1,
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero p,
.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1.5px;
    opacity: 0.95;
}

.hero .tagline,
.hero-badge {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-top: 30px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(8px);
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero .tagline:hover,
.hero-badge:hover {
    transform: scale(1.05);
    background: rgba(201, 169, 97, 0.3);
}

/* =============================================
   MAIN CONTENT
   ============================================= */
main {
    margin-top: 90px;
    min-height: calc(100vh - 90px - 200px);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.welcome-section {
    background: var(--bg-white);
}

.practice-preview {
    background: var(--bg-light);
}

.why-choose {
    background: var(--bg-white);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-section .section-title,
.cta-section .cta-title {
    color: var(--bg-white);
}

.cta-section .section-title::after {
    background: var(--secondary-color);
}

/* =============================================
   WELCOME SECTION
   ============================================= */
.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 35px;
}

/* =============================================
   PRACTICE AREAS - 实践领域
   ============================================= */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.practice-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.practice-card:hover .practice-icon {
    filter: grayscale(0);
    transform: scale(1.1) rotate(5deg);
}

.practice-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.practice-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =============================================
   WHY CHOOSE US - 为什么选择我们
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border-left: 5px solid var(--secondary-color);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-left-width: 8px;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* =============================================
   CARDS (通用卡片)
   ============================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.card ul {
    margin-left: 20px;
    margin-top: 15px;
}

.card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* =============================================
   TEAM CARDS - 团队成员
   ============================================= */
.team-card {
    text-align: center;
    position: relative;
}

.team-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--secondary-color);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.team-card:hover img {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border-width: 7px;
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.team-card .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* =============================================
   BUTTONS - 按钮样式
   ============================================= */
.btn {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 77, 122, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-lg {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* =============================================
   CTA SECTION - 行动号召
   ============================================= */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--bg-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.cta-section .btn {
    background: var(--bg-white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
}

/* =============================================
   CONTACT FORM - 联系表单
   ============================================= */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =============================================
   FOOTER - 页脚
   ============================================= */
footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 50px 0 30px;
    text-align: center;
    margin-top: 80px;
}

.footer-container p {
    margin: 10px 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* =============================================
   ANIMATIONS - 动画效果
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* =============================================
   UTILITY CLASSES - 工具类
   ============================================= */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.mb-4 {
    margin-bottom: 40px;
}

.bg-light {
    background: var(--bg-light);
}

/* =============================================
   RESPONSIVE DESIGN - 响应式设计
   ============================================= */

/* 平板 */
@media (max-width: 992px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu li a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .practice-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机 */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 86px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 86px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 30px 0;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li a {
        width: 100%;
        padding: 18px 30px;
        font-size: 16px;
        border-radius: 0;
        text-align: left;
    }
    
    .nav-menu li a::after {
        display: none;
    }
    
    .hero {
        min-height: 500px;
        margin-top: 86px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .practice-grid,
    .features-grid,
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    main {
        margin-top: 86px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* 小手机 */
@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .card,
    .practice-card,
    .feature-card {
        padding: 25px 20px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}
/* =============================================
   TEAM PAGE - 团队页面样式
   像 Wix 一样的专业简洁设计
   ============================================= */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 100px 0 60px;
    margin-top: 90px;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

/* Team Section Container */
.team-section {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.container-team {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Team Member Row - 左右布局 */
.team-member-row {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.team-member-row:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* 左边：照片容器 */
.member-photo-container {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
}

.member-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member-row:hover .member-photo-container img {
    transform: scale(1.03);
}

/* 如果没有照片，显示占位符 */
.member-photo-container img[src*="placeholder"] {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 右边：资料容器 */
.member-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 成员名字 */
.member-name {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* 职位 */
.member-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-style: italic;
    margin: 0 0 25px 0;
}

/* 个人简介 */
.member-bio {
    flex: 1;
    margin-bottom: 25px;
}

.member-bio p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.member-bio p:last-child {
    margin-bottom: 0;
}

/* 联系按钮 */
.btn-contact {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 3px 10px rgba(201, 169, 97, 0.3);
}

.btn-contact:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 77, 122, 0.4);
}

/* 分隔线 */
.team-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--secondary-color) 50%,
        transparent
    );
    margin: 40px 0;
}

/* =============================================
   创建占位符图片（如果没有照片）
   ============================================= */
.member-photo-container::before {
    content: '';
    display: none; /* 默认隐藏 */
}

/* 如果图片加载失败，显示占位符效果 */
.member-photo-container img[src*="placeholder.jpg"] {
    background: linear-gradient(135deg, #d4d4d4 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-photo-container img[src*="placeholder.jpg"]::after {
    content: '📷';
    font-size: 4rem;
    color: #999;
    position: absolute;
}

/* =============================================
   RESPONSIVE - 响应式设计
   ============================================= */

/* 平板 */
@media (max-width: 992px) {
    .team-member-row {
        gap: 35px;
        padding: 40px;
    }
    
    .member-photo-container {
        width: 220px;
        height: 220px;
    }
    
    .member-name {
        font-size: 1.7rem;
    }
}

/* 手机 */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .team-section {
        padding: 40px 0 60px;
    }
    
    /* 改成上下布局 */
    .team-member-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 35px 25px;
        gap: 25px;
    }
    
    .member-photo-container {
        width: 200px;
        height: 200px;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .member-title {
        font-size: 1rem;
    }
    
    .member-bio p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .btn-contact {
        align-self: center;
        width: 100%;
        text-align: center;
    }
    
    .team-divider {
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .member-photo-container {
        width: 180px;
        height: 180px;
    }
    
    .member-name {
        font-size: 1.4rem;
    }
    
    .team-member-row {
        padding: 25px 20px;
    }
}

/* Footer 樣式 */
.main-footer {
    background-color: #4a4a4a; /* 像圖片中的深灰色 */
    color: white;
    padding: 60px 0 0 0;
    font-family: 'Arial', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-text {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.firm-name {
    font-size: 14px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.footer-contact-item {
    font-size: 14px;
    line-height: 1.8;
    color: #e0e0e0;
}

.footer-contact-item a {
    color: white;
    text-decoration: underline;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.3s;
}

/* 底部金色區域 */
.footer-bottom {
    background-color: #b39d6d; /* 圖片中的金棕色 */
    padding: 20px 0;
    text-align: center;
}

.back-to-top {
    cursor: pointer;
    margin-bottom: 10px;
}

.back-to-top .arrow {
    font-size: 24px;
    display: block;
    line-height: 1;
}

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* 動態特效 CSS */
.reveal, .reveal-left, .reveal-right, .fade-in {
    opacity: 0;
    transition: all 1s ease;
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.active {
    opacity: 1 !important;
    transform: translate(0,0) !important;
}

/* 手機版適應 */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-contact-item { margin-top: 0 !important; }
}

/* =============================================
   PRACTICE AREAS PAGE - 增強版樣式（修正版）
   只影響 practice.html，不會干擾其他頁面
   ============================================= */

/* 滾動進度條 - 只在有這個元素的頁面顯示 */
.practice-progress {
    position: fixed;
    top: 90px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.5);
}

/* Practice Item 容器 - 添加動畫和特效 */
.practice-item {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px;
    border-radius: 12px;
    background: var(--bg-white);
    margin-bottom: 60px;
}

/* 滾動顯示動畫 */
.practice-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* 交替淡入效果 */
.practice-item:nth-child(odd) {
    transform: translateX(-50px) translateY(20px);
}

.practice-item:nth-child(even) {
    transform: translateX(50px) translateY(20px);
}

.practice-item.active:nth-child(odd),
.practice-item.active:nth-child(even) {
    transform: translateX(0) translateY(0);
}

/* Hover 效果 */
.practice-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
}

/* 左側金色裝飾條 */
.practice-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 0 3px 3px 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.5);
}

.practice-item:hover::before {
    height: 80%;
}

/* 標題區域樣式 */
.practice-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

/* 標題下方的金色下劃線 */
.practice-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--secondary-color);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.4);
}

.practice-item:hover .practice-title h2::after {
    width: 60%;
}

/* 標題 Hover 效果 */
.practice-item:hover .practice-title h2 {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 內容 Hover 效果 */
.practice-item:hover .practice-content p {
    color: var(--text-dark);
    transform: translateX(5px);
}

.practice-content p {
    transition: all 0.3s ease;
}

/* 數字標記 */
.practice-item::after {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(201, 169, 97, 0.08);
    line-height: 1;
    transition: all 0.4s ease;
    pointer-events: none;
}

.practice-item:hover::after {
    color: rgba(201, 169, 97, 0.15);
    transform: scale(1.1);
}

/* 響應式設計 - 平板 */
@media (max-width: 992px) {
    .practice-item {
        padding: 30px;
    }
    
    .practice-title h2 {
        font-size: 36px !important;
    }
    
    .practice-item::after {
        font-size: 60px;
    }
}

/* 響應式設計 - 手機 */
@media (max-width: 768px) {
    .practice-item {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 25px !important;
    }
    
    .practice-title h2 {
        font-size: 28px !important;
    }
    
    .practice-content p {
        font-size: 15px !important;
    }
    
    .practice-item::before {
        left: 0;
        top: 0;
        width: 0;
        height: 5px;
        transform: none;
    }
    
    .practice-item:hover::before {
        width: 80%;
        height: 5px;
    }
    
    .practice-item::after {
        font-size: 50px;
        top: 10px;
        right: 10px;
    }
    
    /* 手機版動畫簡化 */
    .practice-item:nth-child(odd),
    .practice-item:nth-child(even) {
        transform: translateY(30px);
    }
}

/* =============================================
   TEAM PAGE - 增強版特效
   讓團隊頁面更生動專業
   ============================================= */

/* Hero Section 動畫 */
.hero {
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
    pointer-events: none;
}

/* 團隊成員卡片增強 */
.team-member-row {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滾動顯示動畫 */
.team-member-row.active {
    opacity: 1;
    transform: translateY(0);
}

/* 左側金色邊框動畫 */
.team-member-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 0 3px 3px 0;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.6);
}

.team-member-row:hover::before {
    height: 90%;
}

/* 名字特效 */
.member-name {
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.5);
}

.team-member-row:hover .member-name::after {
    width: 80%;
}

.team-member-row:hover .member-name {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 職位標籤特效 */
.member-title {
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.team-member-row:hover .member-title {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2) 0%, rgba(201, 169, 97, 0.1) 100%);
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(201, 169, 97, 0.2);
}

/* 個人簡介文字動畫 */
.member-bio {
    position: relative;
}

.member-bio p {
    opacity: 0.85;
    transition: all 0.3s ease;
}

.team-member-row:hover .member-bio p {
    opacity: 1;
    transform: translateX(3px);
}

/* 懸浮光暈效果 */
.team-member-row::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.team-member-row:hover::after {
    width: 120%;
    height: 120%;
}

/* 確保內容在光暈之上 */
.member-details {
    position: relative;
    z-index: 1;
}

/* 分隔線動畫 */
.team-divider {
    position: relative;
    overflow: hidden;
}

.team-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 0.5;
    }
}

/* 卡片陰影層次感 */
.team-member-row {
    position: relative;
}

.team-member-row::before {
    z-index: 1;
}

/* 交替動畫方向 */
.team-member-row:nth-child(odd) {
    transform: translateX(-30px) translateY(20px);
}

.team-member-row:nth-child(even) {
    transform: translateX(30px) translateY(20px);
}

.team-member-row.active:nth-child(odd),
.team-member-row.active:nth-child(even) {
    transform: translateX(0) translateY(0);
}

/* Hover 時卡片微微旋轉 */
.team-member-row:hover {
    transform: translateY(-8px) rotate(0.5deg) !important;
}

/* 數字徽章（可選） */
.team-member-row[data-member-number]::before {
    content: attr(data-member-number);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(201, 169, 97, 0.06);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    transition: all 0.4s ease;
}

.team-member-row:hover[data-member-number]::before {
    color: rgba(201, 169, 97, 0.12);
    transform: scale(1.1);
}

/* 平板響應式 */
@media (max-width: 992px) {
    .team-member-row[data-member-number]::before {
        font-size: 45px;
        top: 15px;
        right: 15px;
    }
}

/* 手機響應式 */
@media (max-width: 768px) {
    .team-member-row::before {
        left: 0;
        top: 0;
        width: 0;
        height: 5px;
        transform: none;
    }
    
    .team-member-row:hover::before {
        width: 100%;
        height: 5px;
    }
    
    .team-member-row[data-member-number]::before {
        font-size: 40px;
        top: 10px;
        right: 10px;
    }
    
    /* 簡化手機動畫 */
    .team-member-row:nth-child(odd),
    .team-member-row:nth-child(even) {
        transform: translateY(30px);
    }
    
    .team-member-row:hover {
        transform: translateY(-5px) !important;
    }
}

/* 頁面載入動畫 */
@keyframes fadeInTeam {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-section {
    animation: fadeInTeam 0.8s ease;
}

/* 滾動進度條（可選，跟 Practice 頁面一樣） */
.team-progress {
    position: fixed;
    top: 90px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.5);
}

/* =============================================
   INDEX/HOME PAGE - 增強版特效（修正版）
   只影響首頁，不干擾其他頁面
   ============================================= */

/* Hero Section 增強動畫 */
body > .hero {
    position: relative;
    overflow: hidden;
}

/* 動態粒子效果背景 - 只針對首頁 */
body > .hero::before {
    animation: pulse 8s ease-in-out infinite, float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Hero 內容增強動畫 */
body > .hero .hero-content h1 {
    animation: fadeInUp 1s ease, glow 3s ease-in-out infinite alternate;
}

body > .hero .hero-content p {
    animation: fadeInUp 1.2s ease;
}

body > .hero .hero-content .tagline {
    animation: fadeInUp 1.4s ease, pulse-badge 2s ease-in-out infinite;
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    }
    to {
        text-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 20px rgba(201, 169, 97, 0.3);
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Section Title 動畫 */
.section-title.reveal.active::after {
    animation: expandLine 0.8s ease forwards;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Practice Preview Section - 只針對首頁 */
.practice-preview .cards-grid .card {
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.practice-preview .cards-grid .card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 卡片懸浮發光效果 - 只針對首頁 */
.practice-preview .card::before,
.why-choose .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
    pointer-events: none;
    z-index: 0;
}

.practice-preview .card:hover::before,
.why-choose .card:hover::before {
    opacity: 1;
}

/* 卡片 Icon 動畫 */
.practice-preview .card > div:first-child,
.why-choose .card > h3:first-child {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.practice-preview .card:hover > div:first-child {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 5px 15px rgba(201, 169, 97, 0.4));
}

/* 卡片標題動畫 */
.practice-preview .card h3,
.why-choose .card h3 {
    position: relative;
    transition: all 0.3s ease;
}

.practice-preview .card:hover h3,
.why-choose .card:hover h3 {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.practice-preview .card h3::after,
.why-choose .card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.4s ease;
}

.practice-preview .card:hover h3::after,
.why-choose .card:hover h3::after {
    width: 50%;
}

/* 左側金色裝飾條 */
.practice-preview .card::after,
.why-choose .card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    border-radius: 0 3px 3px 0;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
    z-index: 1;
}

.practice-preview .card:hover::after,
.why-choose .card:hover::after {
    width: 5px;
    height: 70%;
}

/* 卡片延遲動畫 */
.practice-preview .card:nth-child(1) { transition-delay: 0.1s; }
.practice-preview .card:nth-child(2) { transition-delay: 0.2s; }
.practice-preview .card:nth-child(3) { transition-delay: 0.3s; }
.practice-preview .card:nth-child(4) { transition-delay: 0.4s; }
.practice-preview .card:nth-child(5) { transition-delay: 0.5s; }
.practice-preview .card:nth-child(6) { transition-delay: 0.6s; }

/* Why Choose Us Cards */
.why-choose .cards-grid .card {
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose .cards-grid .card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 數字角標 - 只針對 Why Choose Us */
.why-choose .card[data-feature-number]::before {
    content: attr(data-feature-number);
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 40px;
    font-weight: 900;
    color: rgba(201, 169, 97, 0.08);
    line-height: 1;
    transition: all 0.4s ease;
    z-index: 0;
}

.why-choose .card:hover[data-feature-number]::before {
    color: rgba(201, 169, 97, 0.15);
    transform: scale(1.15) rotate(5deg);
}

/* CTA Section 增強 */
.section.bg-light:last-of-type {
    position: relative;
    overflow: hidden;
}

/* CTA 背景動畫 */
.section.bg-light:last-of-type::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
    z-index: 0;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.section.bg-light:last-of-type .container {
    position: relative;
    z-index: 1;
}

/* CTA 按鈕增強 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 按鈕光暈效果 */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.5);
    transition: box-shadow 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    box-shadow: 0 0 0 8px rgba(201, 169, 97, 0);
}

/* 首頁滾動進度條 */
.home-progress {
    position: fixed;
    top: 90px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.5);
}

/* 文字淡入效果 */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Clickable Card 增強 */
.clickable-card {
    position: relative;
    cursor: pointer;
}

.clickable-card::before {
    content: '→';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.clickable-card:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* 響應式 */
@media (max-width: 768px) {
    .why-choose .card[data-feature-number]::before {
        font-size: 30px;
        top: 10px;
        right: 10px;
    }
    
    .practice-preview .card::after,
    .why-choose .card::after {
        display: none;
    }
}

/* =============================================
   ABOUT PAGE - 簡潔專業特效
   優雅不花俏
   ============================================= */

/* About Features 滾動顯示 */
.about-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-feature.active {
    opacity: 1;
    transform: translateY(0);
}

/* 交替淡入方向 */
.about-feature:nth-child(odd) {
    transform: translateX(-30px) translateY(20px);
}

.about-feature:nth-child(even) {
    transform: translateX(30px) translateY(20px);
}

.about-feature.active:nth-child(odd),
.about-feature.active:nth-child(even) {
    transform: translateX(0) translateY(0);
}

/* 延遲動畫 */
.about-feature:nth-child(1) { transition-delay: 0.1s; }
.about-feature:nth-child(2) { transition-delay: 0.2s; }
.about-feature:nth-child(3) { transition-delay: 0.3s; }

/* 左側金色邊框動畫 */
.about-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 0 3px 3px 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.5);
    z-index: 1;
}

.about-feature:hover::before {
    height: 80%;
}

/* 標題增強 */
.about-text h3 {
    position: relative;
    transition: all 0.3s ease;
}

.about-feature:hover .about-text h3 {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 圖片區域增強 */
.about-image {
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.2) 0%, rgba(201, 169, 97, 0.1) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-feature:hover .about-image::after {
    opacity: 0.5;
}

/* 文字內容 Hover 效果 */
.about-text p {
    transition: all 0.3s ease;
}

.about-feature:hover .about-text p {
    transform: translateX(3px);
}

/* Portfolio Section 卡片動畫 */
.portfolio-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:nth-child(1) { transition-delay: 0.1s; }
.portfolio-card:nth-child(2) { transition-delay: 0.2s; }
.portfolio-card:nth-child(3) { transition-delay: 0.3s; }
.portfolio-card:nth-child(4) { transition-delay: 0.4s; }

/* Portfolio 卡片左側邊框 */
.portfolio-card {
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover::before {
    height: 100%;
}

/* Portfolio 標題動畫 */
.portfolio-card h3 {
    transition: all 0.3s ease;
}

.portfolio-card:hover h3 {
    transform: translateX(5px);
}

/* Locations 卡片增強 */
.about-feature + section .card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-feature + section .card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.about-feature + section .card:nth-child(1) { transition-delay: 0.1s; }
.about-feature + section .card:nth-child(2) { transition-delay: 0.2s; }
.about-feature + section .card:nth-child(3) { transition-delay: 0.3s; }

/* Location 卡片左側金條 */
.about-feature + section .card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    border-radius: 0 3px 3px 0;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
}

.about-feature + section .card:hover::after {
    width: 5px;
    height: 60%;
}

/* About 進度條 */
.about-progress {
    position: fixed;
    top: 90px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.5);
}

/* Section Title 動畫 */
.section .section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section .section-title.active {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Section 標題特效 */
.portfolio-section .section-title {
    position: relative;
}

.portfolio-section .section-title::after {
    background: var(--secondary-color);
}

/* 響應式 */
@media (max-width: 768px) {
    .about-feature::before {
        left: 0;
        top: 0;
        width: 0;
        height: 5px;
        transform: none;
    }
    
    .about-feature:hover::before {
        width: 100%;
        height: 5px;
    }
    
    .about-feature:nth-child(odd),
    .about-feature:nth-child(even) {
        transform: translateY(30px);
    }
    
    .about-feature + section .card::after {
        display: none;
    }
}