/* ========================================
   美迪方数字 - 高端企业官网建设
   茶叶简约风：浅棕 + 墨绿 + 米白
   ======================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    background-color: #f5f2ea;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Color Variables */
:root {
    --light-brown: #c9b896;
    --dark-green: #2d4a3e;
    --cream-white: #f5f2ea;
    --text-dark: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --accent: #8b7355;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ========================================
   Navigation - 顶部固定响应式导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    padding: 25px 0;
}

.navbar.scrolled {
    background: rgba(45, 74, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-green);
    letter-spacing: 2px;
}

.navbar.scrolled .navbar-logo {
    color: var(--cream-white);
}

.navbar-menu {
    display: flex;
    gap: 40px;
}

.navbar-menu li a {
    font-size: 15px;
    color: var(--dark-green);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .navbar-menu li a {
    color: var(--cream-white);
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-brown);
    transition: width 0.3s ease;
}

.navbar-menu li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-green);
    transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
    background: var(--cream-white);
}

@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark-green);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
    }

    .navbar-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ========================================
   Hero Section - 全屏 Banner
   ======================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.8), rgba(75, 95, 85, 0.7)),
                url('../images/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    color: var(--cream-white);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--light-brown);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--light-brown);
    color: var(--dark-green);
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-btn:hover {
    background: var(--cream-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Timeline Section - 项目历程时序布局
   ======================================== */
.timeline-section {
    padding: 120px 0;
    background: var(--cream-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    color: var(--dark-green);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--light-brown);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 25px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--light-brown);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 30px 0;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
    transform: translateX(50px);
}

.timeline-item:nth-child(even).visible {
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--dark-green);
    border: 4px solid var(--light-brown);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    right: -10px;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    right: auto;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    margin-right: 40px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-left-color: var(--white);
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    border-left-color: transparent;
    border-right-color: var(--white);
    left: -24px;
    right: auto;
}

.timeline-year {
    font-size: 24px;
    color: var(--light-brown);
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 20px;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        padding-left: 50px;
    }

    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* ========================================
   Services Section - 核心服务板块
   ======================================== */
.services-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream-white) 0%, #ebe6d9 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--cream-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 45px;
    height: 45px;
}

.service-title {
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   News Section - 资讯列表
   ======================================== */
.news-section {
    padding: 120px 0;
    background: var(--white);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.news-tab {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--light-brown);
    color: var(--dark-green);
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab.active,
.news-tab:hover {
    background: var(--light-brown);
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--cream-white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--light-brown);
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-link {
    font-size: 14px;
    color: var(--dark-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer - 统一页脚
   ======================================== */
.footer {
    background: var(--dark-green);
    color: var(--cream-white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-brown);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--light-brown);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    color: var(--light-brown);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--light-brown);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Header - 内页头部
   ======================================== */
.page-header {
    height: 50vh;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.85), rgba(75, 95, 85, 0.75)),
                url('../images/page-header-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.page-header-content h1 {
    font-size: 48px;
    color: var(--cream-white);
    margin-bottom: 15px;
}

.page-header-content p {
    font-size: 18px;
    color: var(--light-brown);
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        min-height: 280px;
    }

    .page-header-content h1 {
        font-size: 32px;
    }

    .page-header-content p {
        font-size: 16px;
    }
}

/* ========================================
   Content Sections - 内容区块通用样式
   ======================================== */
.content-section {
    padding: 100px 0;
}

.content-section.alternate {
    background: #ebe6d9;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-intro h2 {
    font-size: 36px;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.section-intro p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.08);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.card-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--cream-white);
}

.card-date {
    font-size: 13px;
    color: var(--light-brown);
}

.card-more {
    font-size: 14px;
    color: var(--dark-green);
    font-weight: 600;
}

@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Detail Page Styles - 详情页样式
   ======================================== */
.detail-section {
    padding: 80px 0 100px;
}

.detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-brown);
}

.detail-title {
    font-size: 36px;
    color: var(--dark-green);
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    gap: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
}

.detail-content p {
    margin-bottom: 25px;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
}

.detail-content h2 {
    font-size: 26px;
    color: var(--dark-green);
    margin: 40px 0 20px;
}

.detail-content h3 {
    font-size: 22px;
    color: var(--dark-green);
    margin: 30px 0 15px;
}

.detail-content ul,
.detail-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.detail-content li {
    margin-bottom: 10px;
}

/* Related News Section */
.related-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--light-brown);
}

.related-title {
    font-size: 24px;
    color: var(--dark-green);
    margin-bottom: 30px;
}

/* ========================================
   About Page Specific - 关于我们页面
   ======================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 32px;
    color: var(--dark-green);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--cream-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 35px;
    height: 35px;
}

.value-title {
    font-size: 20px;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.value-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Contact Page Specific - 联系我们页面
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--dark-green);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 25px;
    height: 25px;
}

.contact-detail h4 {
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.contact-detail p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--dark-green);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-brown);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--dark-green);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--light-brown);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Case Studies Page - 案例展示
   ======================================== */
.case-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.case-filter {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--light-brown);
    color: var(--dark-green);
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-filter.active,
.case-filter:hover {
    background: var(--light-brown);
    color: var(--white);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.case-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(45, 74, 62, 0.95));
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
    opacity: 1;
}

.case-category {
    font-size: 13px;
    color: var(--light-brown);
    margin-bottom: 8px;
}

.case-title {
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Team Page - 团队介绍
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--cream-white);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 18px;
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-position {
    font-size: 14px;
    color: var(--light-brown);
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ Page - 常见问题
   ======================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--cream-white);
}

.faq-question h4 {
    font-size: 18px;
    color: var(--dark-green);
    font-weight: 600;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--light-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

.mb-50 {
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--dark-green);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--light-brown);
    transform: translateY(-2px);
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
