/* 轮播图样式 */
.carousel {
    margin-top: 56px;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}
.carousel-caption {
    text-align: left;
    left: 15%;
    right: auto;
    bottom: 20%;
    max-width: 500px;
    padding: 20px;
    border-radius: 5px;
}
.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* 卡片图片样式 */
.card-img-top {
    height: 400px;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}
.icon-box {
    border-radius: 4px;
    padding: 10px;
}
/* 卡片容器样式 */
.card {
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
    -border: 1px solid #ededed;
}
.card-body2{padding: 10px;}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.col-lg-8 {
    width: 100%;
}
/* 导航栏样式 */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav {
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.navbar-toggler {
    padding: 0.4rem 0.6rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 0.25rem;
    margin-top: -3px;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.nav-item {
    margin: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
}
.card-text:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-link {
    color: #333;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 9px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    height: 100%;
}
.card-title {
    margin-bottom: .5rem;
    height: 45px;
}
.nav-link:hover {
    color: #007bff;
    background-color: rgba(0,123,255,0.1);
}
.partner-list-left, .partner-list-left .partner-item {
    float: left;
    margin-right: 6px;
}
ul, ol {
    list-style: none;
    padding-left: 0;
}

.partner-item img{width: 90%;}
 .partner-item {
    width: 18%;
     padding: 1% 2%;
    border-radius: 40px;
    box-shadow: 0 0 10px #a9a9a9;
    overflow: hidden;
     text-align: center;
     margin-bottom: 4%;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 15px;
    }
    .nav-item {
        margin: 5px 0;
    }
    .partner-item {
        width: 30%;
        padding: 1% 2%;
        box-shadow: 0 0 10px #c1c1c1;
    }
}