/* 全局样式 */
/* 图片占位样式 */
img {
    display: block;
    min-height: 50px;
    min-width: 50px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    position: relative;
}

img::before {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0066cc;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 特定图片尺寸调整 */
.logo img {
    width: 200px;
    height: 80px;
    line-height: 80px;
}

.partner-logo img {
    width: 150px;
    height: 60px;
    line-height: 60px;
}

.feature-img img {
    width: 300px;
    height: 200px;
    line-height: 200px;
}

.service-img img {
    width: 300px;
    height: 250px;
    line-height: 250px;
    font-size: 16px;
}

/* CSR背景图片样式修复 */
.csr-hero-bg {
    background-image: url('../images/csr-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.2 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

/* About页面背景图片样式 */
.about-hero-bg {
    background-image: url('../images/about-banner.png') !important;
    background-size: cover !important;
    background-position: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0066cc;
}

/* 英雄区域样式 */
.hero {
    background-image: url('../images/hero-bg.png');
    background-color: #0066cc;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 内容区域通用样式 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

/* 合作伙伴样式 */
.partner-section {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.partner-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-details {
    flex: 1;
    min-width: 300px;
}

.partner-logo {
    flex: 0 0 200px;
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

/* 特性部分样式 */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-img {
    flex: 0 0 200px;
}

.feature-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

/* 页脚样式 */
footer {
    background-color: #1a237e;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    margin-bottom: 30px;
}

/* 联系方式区域样式 */
.contact-info {
    display: flex;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.contact-item {
    flex: 1;
    padding: 25px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.contact-item:last-child {
    border-right: none;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

/* 保留旧样式以兼容其他区域 */
.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-info ul {
    list-style: none;
}

.footer-info li {
    margin-bottom: 10px;
}

.footer-info a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-img {
        flex: auto;
    }
}