/* ===== 全局样式 ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ===== 轮播图 ===== */
.carousel-item img {
    height: 500px;
    object-fit: cover;
    width: 100%;
}
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}

/* ===== 标题及分割线 ===== */
.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}
.section-divider {
    width: 60px;
    height: 3px;
    background-color: #0d6efd;
    margin: 1rem auto 2rem;
}
.line {
    margin: 1rem auto;
}

/* ===== 卡片通用样式 ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    height: 100%;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
    background-color: #f8f9fa;
}
.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* ===== 按钮样式 ===== */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.375rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.btn-outline-primary {
    border-width: 2px;
    transition: all 0.3s;
}

/* ===== 关于我们区域 ===== */
.lead {
    font-size: 1.1rem;
    color: #555;
}

/* ===== 页脚 ===== */
footer {
    margin-top: 2rem;
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .card-img-top {
        height: 180px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}