.licenses-container {
    border-radius   : 20px;
    border          : 1px solid #4b4b4b;
    box-shadow      : 0 10px 30px rgba(0, 0, 0, 0.1);
    padding         : 40px;
    /* max-width    : 1200px; */
    width           : 100%;
}

.section-header {
    text-align   : left;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size    : 2.5rem;
    color        : #fff;
    margin-bottom: 15px;
    font-weight  : 600;
}

.section-header p {
    color      : #848d96;
    font-size  : 22px;
    line-height: 1.6;
}

/* 轮播组件样式 */
.carousel {
    position     : relative;
    overflow     : hidden;
    border-radius: 16px;
    margin       : 0 auto 40px;
    padding      : 0 50px;
}

.carousel-inner {
    display   : flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex     : 0 0 25%;
    /* 默认显示4个 */
    padding  : 15px;
    min-width: 0;
}

.license-card {
    position     : relative;
    height       : 200px;
    border-radius: 12px;
    overflow     : hidden;
    box-shadow   : 0 5px 15px rgba(0, 0, 0, 0.1);
    transition   : all 0.3s ease;
    background   : #fff;
    cursor       : pointer;
}

.license-card:hover {
    transform : translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.license-card img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.license-card:hover img {
    transform: scale(1.05);
}

.license-overlay {
    position   : absolute;
    bottom     : 0;
    left       : 0;
    right      : 0;
    background : rgba(26, 43, 109, 0.85);
    color      : white;
    padding    : 10px;
    text-align : center;
    font-weight: 500;
    font-size  : 0.9rem;
    transform  : translateY(100%);
    transition : transform 0.3s ease;
    opacity    : 0;
}

.license-card:hover .license-overlay {
    transform: translateY(0);
    opacity  : 1;
}

/* 导航控件 */
.carousel-control {
    position       : absolute;
    top            : 50%;
    transform      : translateY(-50%);
    width          : 50px;
    height         : 50px;
    border-radius  : 50%;
    background     : rgba(255, 255, 255, 0.9);
    border         : none;
    box-shadow     : 0 5px 15px rgba(0, 0, 0, 0.1);
    display        : flex;
    align-items    : center;
    justify-content: center;
    cursor         : pointer;
    transition     : all 0.3s ease;
    z-index        : 10;
    font-size      : 24px;
    color          : #1a2b6d;
}

.carousel-control:hover {
    background: #1a2b6d;
    color     : white;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

/* 指示器 */
.carousel-indicators {
    display        : flex;
    justify-content: center;
    padding        : 20px 0;
    gap            : 10px;
}

.indicator {
    width        : 12px;
    height       : 12px;
    border-radius: 50%;
    background   : #c5d0e6;
    cursor       : pointer;
    transition   : all 0.3s ease;
}

.indicator.active {
    background: #1a2b6d;
    transform : scale(1.2);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 33.333%;
        /* 中等屏幕显示3个 */
    }
}

@media (max-width: 768px) {
    .carousel {
        padding: 0 40px;
    }

    .carousel-item {
        flex: 0 0 50%;
        /* 小屏幕显示2个 */
    }

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

@media (max-width: 576px) {
    .carousel {
        padding: 0 30px;
    }

    .carousel-item {
        flex: 0 0 100%;
        /* 移动端显示1个 */
    }

    .carousel-control {
        width : 40px;
        height: 40px;
    }

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

    .licenses-container {
        padding: 25px;
    }
}

/* 全屏查看图片 */
.overlay {
    position       : fixed;
    top            : 0;
    left           : 0;
    width          : 100%;
    height         : 100%;
    background     : rgba(0, 0, 0, 0.95);
    display        : none;
    align-items    : center;
    justify-content: center;
    z-index        : 1000;
}

.overlay img {
    max-width    : 90%;
    max-height   : 90%;
    border       : 5px solid white;
    border-radius: 8px;
}

.close-btn {
    position : absolute;
    top      : 30px;
    right    : 30px;
    color    : white;
    font-size: 40px;
    cursor   : pointer;
}

/* 手机样式 */
@media screen and (max-width: 767px) {
    .licenses-container {
        width: auto
    }
    .carousel-item{
        padding: 15px 2%;
    }
    .carousel-item {
        flex: 0 0 96% !important;
        /* 移动端显示1个 */
    }
}