/* 基础样式 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
    color: #333;
    line-height: 1.6;
}

/* Banner样式 */
.banner {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(22, 93, 255, 0.85), rgba(22, 93, 255, 0.9)), url("../images/banner.jpg") center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.1) 0%, rgba(15, 76, 208, 0.2) 100%);
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.banner .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* section通用样式 */
section {
    scroll-margin-top: 80px;
    padding: 80px 0;
}

.py-12 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* 容器：铺满宽度（减少两侧留白），保留内边距 */
.container {
    max-width: 1400;
    padding-left: 20px;
    padding-right: 20px;
}

/* 章节标题样式 */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #165DFF, #0F4CD0);
    border-radius: 2px;
    margin-top: 15px;
}

/* 导航栏：轻微层次 + 让 logo 自然清晰 */
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

img.brand-logo {
    /* 轻量“徽章”，不突兀但能看清 */
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
    /* 额外提升对比度（不改变颜色风格） */
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

/* 卡片基础与 hover */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(22, 93, 255, 0.15) !important;
}

/* 产品卡片（不改导航与 logo，只优化内容区） */
.product-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    overflow: hidden;
    background: #f8f9fa;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.product-card .card-text {
    flex: 1;
    margin-bottom: 0;
}

/* 业务领域 */
.business-card {
    border-radius: 16px;
    padding: 40px 30px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(22, 93, 255, 0.15) !important;
}

.business-card .icon-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover .icon-box {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(22, 93, 255, 0.3);
}

/* 客户案例 */
.case-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(22, 93, 255, 0.15) !important;
}

.case-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.case-image-wrapper img {
    width: 100%;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image-wrapper img {
    transform: scale(1.03);
}

.case-result {
    border-left: 4px solid #165DFF;
    padding-left: 16px !important;
}

/* 服务体系 */
.service-card {
    border-radius: 16px;
    padding: 40px 30px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(22, 93, 255, 0.15) !important;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.08);
}

/* 按钮样式 */
.btn-primary {
    background-color: #165DFF;
    border-color: #165DFF;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0F4CD0;
    border-color: #0F4CD0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* 表单 */
.contact-form .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #165DFF;
    box-shadow: 0 0 0 0.2rem rgba(22, 93, 255, 0.15);
    outline: none;
}

.contact-form .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

/* 工具类 */
.lh-lg {
    line-height: 1.8;
}

.rounded-4 {
    border-radius: 16px !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.text-muted {
    color: #6c757d !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5rem;
    }

    .banner .lead {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .py-12 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* 基础样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    scroll-behavior: smooth;
}

/* Banner样式 */
.banner {
    height: 100vh;
    background: linear-gradient(rgba(22, 93, 255, 0.8), rgba(22, 93, 255, 0.9)), url("../images/banner.jpg") center center no-repeat;
    background-size: cover;
}

/* section通用样式 */
section {
    scroll-margin-top: 80px;
}

/* 卡片hover效果 */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* 按钮样式 */
.btn-primary {
    background-color: #165DFF;
    border-color: #165DFF;
}

.btn-primary:hover {
    background-color: #0F4CD0;
    border-color: #0F4CD0;
}