:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --accent-blue: #1d4ed8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
    transform: translateY(-2px);
}

/* 轮播图样式 */
.carousel-section {
    margin-top: 64px;
}

.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.4);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 通用卡片样式 */
.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* 保险产品样式 */
.product-card {
    height: 100%;
    text-decoration: none;
    color: #333;
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin: 10px 0;
}

/* 客户和渠道logo样式 */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

.logo-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.logo-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

/* 新闻资讯样式 */
.news-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

/* 关于我们样式 */
.about-section {
    background: linear-gradient(135deg, var(--light-blue), #f8fafc);
    padding: 4rem 0;
}

.about-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
}
.article{
    color: #333;
    text-decoration: none;
}
.card-text{
    color: #999;
    font-size: 14px;
    text-decoration: none;
}
.my_banner{
    height: 300px;
    position: relative;
    margin-top: 64px;
}
.my_banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.my_banner_text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.my_banner_text h2{
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.my_banner_text p{
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin-top: 16px;
}
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.pagination li {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination li *{
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #333;
    border-radius: 4px;
    margin: 0 4px;
}
.pagination li.active span{
    background-color: #1e3a8a;
    color: #fff;
}
#article img{
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
/* 去除获得焦点的边框 */
button{
    border: none;
    outline: none;
}
.cooperate_details_ul1 ul,.cooperate_details_ul2 ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.cooperate_details_ul1{
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
}
.cooperate_details_ul1 li{
    display: flex;
    justify-content: space-between;
    align-items: left;
    padding: 10px;
    line-height: 2;
}
/* 不换行 */
.cooperate_details_ul1 li>div:nth-child(1){
    white-space: nowrap;
    width: 150px;
}
.cooperate_details_ul1 li+li{
    border-top: 1px dashed #eee;
}
.cooperate_details_ul1_title{
    font-size: 24px;
    font-weight: bold;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #eee;
}
/* 换行 */
.cooperate_details_ul1 li>div:nth-child(2){
    flex: 1;
    word-break: break-all;
    text-align: justify;
}
.cooperate_details_ul2{
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
}
.cooperate_details_ul2 li{
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.cooperate_details_ul2 li>div:nth-child(1){
    width: 100%;
    margin-bottom: 10px;
}