/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 280px; /* 固定高度 */
    margin-bottom: 60px;
    display: flex; /* 使用 flex 布局实现垂直居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
}

.page-header .container {
    width: 100%;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.header-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.header-decoration .dot {
    width: 12px;
    height: 12px;
    background: #009946;
    border-radius: 50%;
    margin-right: 16px;
}

.header-decoration .line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #009946 0%, rgba(0, 153, 70, 0.2) 100%);
}

/* 内容布局 */
.contact-container {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 0px; /* 这里控制左边距 */
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* 卡片样式 */
.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #009946 0%, #00c853 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-card:hover::before {
    opacity: 1;
}

/* 图标样式 */
.card-icon {
    width: 48px;
    height: 48px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon i {
    font-size: 24px;
    color: #009946;
}

/* 标题和文本样式 */
.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.contact-item .label {
    color: #666;
    min-width: 80px;
}

.contact-item a {
    color: #009946;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #00c853;
}

/* 二维码区域 */
.qrcode {
    text-align: center;
    padding: 20px 0;
}

.qrcode img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qrcode p {
    font-size: 1rem;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.qrcode-tip {
    display: block;
    font-size: 0.875rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        height: 240px; /* 移动端稍微降低高度 */
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .header-decoration {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px;
    }
} 