/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

/* 导航栏样式 */
header {
    background-color: #003366;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

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

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

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

.nav-links a:hover {
    color: #4dabf7;
}

/* 主要内容区域样式 */
.section {
    padding: 60px 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #003366;
    text-align: center;
    font-weight: 600;
}

/* 合作伙伴网格样式 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.partner-card h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 18px;
}

.partner-card ul {
    list-style: none;
    padding-left: 0;
}

.partner-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

/* 合作伙伴 logo 展示区域 */
.partners-logo-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: transform 0.3s;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-item img {
    max-width: 150px; /* 控制图片最大宽度 */
    max-height: 80px; /* 控制图片最大高度 */
    object-fit: contain; /* 确保图片按比例显示 */
    margin-bottom: 10px;
}

.logo-item span {
    font-size: 14px;
    color: #333;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logo-showcase {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* 页脚样式 */
footer {
    background-color: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
}