/* 思创易天官网 - 全局样式 */

/* ==================== 基础设置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 头部导航 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1e3a8a;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #333;
    font-size: 15px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #1e3a8a;
    border-bottom: 2px solid #1e3a8a;
}

/* ==================== 页脚 ==================== */
.footer {
    background-color: #1e3a8a;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
    font-size: 13px;
}

.footer .company-info {
    margin-bottom: 15px;
}

/* ==================== 页面标题 ==================== */
.page-title {
    margin-top: 60px;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    text-align: center;
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 16px;
    opacity: 0.9;
}

/* ==================== 内容区域 ==================== */
.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1e3a8a;
}

/* ==================== 卡片样式 ==================== */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #152c6b;
}

/* ==================== 时间轴样式 ==================== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    margin-bottom: 30px;
    padding-left: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #1e3a8a;
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 17px;
    bottom: -20px;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-year {
    font-size: 20px;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 8px;
}

/* ==================== 网格布局 ==================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ==================== 列表样式 ==================== */
.list-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item strong {
    color: #1e3a8a;
}

/* ==================== 标签样式 ==================== */
.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f0f4ff;
    color: #1e3a8a;
    border-radius: 15px;
    font-size: 13px;
    margin: 5px;
}

/* ==================== 图片样式 ==================== */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.certificate-img {
    width: 100%;
    max-width: 500px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background: #fff;
}

/* ==================== 响应式处理 ==================== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .header {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
}
