/* 全局样式 - 科技商务风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1e2a3e;
    background-color: #ffffff;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 0 #eef2f5;
    z-index: 1000;
    padding: 16px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img {
    height:40px;
    width: auto;
    display: block;
}
.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f6e5c;
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e4e;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c7da0;
}

/* 按钮 */
.btn-primary {
    display: inline-block;
    background: #2c7da0;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,125,160,0.2);
}

.btn-primary:hover {
    background: #1e5e7c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44,125,160,0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2c7da0;
    color: #2c7da0;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #2c7da0;
    color: white;
}

/* Hero 通用 */
.hero {
    background: linear-gradient(135deg, #eef9f5 0%, #e4f0f5 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f2c38;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #2c4a5e;
}

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 64px 0 16px;
    color: #0f2c38;
}

.section-sub {
    text-align: center;
    color: #5b6f82;
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f5;
    transition: all 0.25s;
}
.card-1 {
    background: white;
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f5;
    transition: all 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(44, 125, 160, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: #2c7da0;
    margin-bottom: 20px;

}

/* 合作伙伴/合作机构的网格布局：每行两个 */
.card-grid1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 两列等宽 */
    gap: 32px;                              /* 卡片之间的间距 */
    margin: 40px 0;
}


/* 文字卡片样式 */
.card-2 {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f5;
    transition: 0.2s;
    line-height: 1.6;
    display: flex;
    align-items: center;      /* 让文字垂直居中（可选） */
}

.card-grid1 .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    height: 100%;          /* 使同一行卡片等高 */
}
.card-grid1 .card p {
    margin-bottom: 8px;
    flex-grow: 0;          /* 避免段落拉伸 */
}
.card-grid1 .card .btn-outline {
    margin-top: 12px !important;
}




/* 图片卡片容器 - 让图片填满卡片 */
.card-grid1 .badge-item {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    padding: 0;               /* 移除内边距，让图片直接撑开 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;         /* 确保圆角裁剪 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: 0.2s;
}

.card-grid1 .badge-item img {
    width: 100%;              /* 图片宽度填满容器 */
    height: 100%;             /* 高度填满容器 */
    object-fit: contain;      /* 保持比例，完整显示图片（可能出现留白） */
    /* 如果您希望图片完全覆盖不留白，可以使用 object-fit: cover; 但可能裁剪 */
    background-color: #f8fafc;
    transition: transform 0.2s;
}

/* 如果希望图片完全填满且不留白，且不介意裁剪，改用 object-fit: cover */
/* 对于大多数 logo/证书图片，contain 更合适 */

/* 让图片卡片的内边距为0，以便图片完全填充 */
.card-grid1 .image-card {
    padding: 0;
    overflow: hidden;        /* 确保圆角裁剪图片边缘 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 图片填满卡片，保持比例，可选用 cover 或 contain */
.card-grid1 .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* 铺满并可能裁剪，若不想裁剪可改用 contain */
    display: block;
}

/* 悬停效果 */
.card-grid1 .badge-item:hover img {
    transform: scale(1.02);
}
.card-2:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(44, 125, 160, 0.15);
}

@media (max-width: 768px) {
    .card-grid1 {
        grid-template-columns: 1fr;  /* 单列 */
        gap: 24px;
    }
}

/* 两列布局 */
.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin: 48px 0;
}

.col {
    flex: 1;
    min-width: 260px;
}

/* 页脚 */
.main-footer {
    background: #0f2c38;
    color: #cbdbe2;
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-container {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.footer-logo img {
    height: 50px;
    width: auto;
}
.footer-logo span {
    font-size: 1.2rem;
    color: #cbdbe2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.footer-links a {
    color: #cbdbe2;
    text-decoration: none;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 24px;
}

/* 时间轴 */
.timeline {
    list-style: none;
    border-left: 3px solid #2c7da0;
    padding-left: 30px;
}
.timeline li {
    margin-bottom: 28px;
    position: relative;
}
.timeline li::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #2c7da0;
    border-radius: 50%;
    position: absolute;
    left: -36px;
    top: 6px;
}

/* 资质徽章 */
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;             /* 增大间距，避免拥挤 */
    margin: 40px 0;
}

.badge-item {
    text-align: center;
    width: 320px;          /* 固定宽度，容纳大图+文字 */
}

.badge-item img {
    width: 240px;          /* 从 60px 增大到 120px */
    height: auto;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;   /* 保证图片比例不变 */
}

.badge-item i {
    font-size: 2.8rem;
    color: #2c7da0;
    margin-bottom: 12px;
}


/* 响应式 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-menu {
        flex-wrap: wrap;
        gap: 16px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* 图片预览模态框 */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.preview-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    animation: zoomIn 0.2s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.preview-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.preview-close:hover {
    color: #bbb;
}

/* 可预览图片增加指针样式 */
.previewable-img {
    cursor: pointer;
    transition: transform 0.2s;
}

.previewable-img:hover {
    transform: scale(1.02);
}

.team-avatar img {
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 100%;
}

/* 团队网格布局 - 使用 Flex 实现不足时居中 */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* 主轴居中，卡片组整体居中 */
    gap: 32px;
    margin: 40px 0;
}

/* 每个卡片固定宽度（可根据需要调整） */
.team-grid .team-card {
    flex: 0 0 auto;
    width: 300px;              /* 固定卡片宽度，可根据设计调整 */
    /* 如果需要卡片高度一致，可以保留原有的内部样式 */
}

/* 响应式：在小屏幕上卡片宽度自适应 */
@media (max-width: 768px) {
    .team-grid .team-card {
        width: 100%;
        max-width: 360px;
    }
}

/* 每个卡片内部样式 */
.team-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f5;
    transition: all 0.25s;
}

/* 响应式：平板及手机 */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
}

.team-founder {
    display: flex;
    justify-content: center;
}
.founder-card {
    width: 100%;
    max-width: 320px;   /* 与团队卡片宽度匹配 */
}
