.hero-carousel {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    margin-top: -90px; /* 假设header高度为80px，根据实际header高度调整 */
    margin-left: -10px;
    z-index: 1;
    background: linear-gradient(to bottom, #6a9fa9, #ffffff);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 calc(100% - 40px); /* 减少每个slide的宽度，为间隔留出空间 */
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 100vh;
    width: calc(100vw - 40px); /* 减少宽度以匹配flex-basis */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0px 20px; /* 在两侧添加间隔 */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 20px;
    z-index: 3;  
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-button.prev {
    left: 40px;
}

.carousel-button.next {
    right: 40px;
}

.header {
    padding-top: 150px;
    padding-bottom: 50px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 4,
}
.header--fixed {
    padding-top: 120px;
    padding-bottom: 20px;
    background: #fff;
    transition: padding .2s cubic-bezier(.694,.0482,.335,1),background .2s cubic-bezier(.694,.0482,.335,1);
    left: 0;
    position: fixed
}

.header--fixed .nav-bar {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translate(-50%,-50%)
}


.section__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
    pointer-events: none; /* 允许点击穿透到底层的按钮等元素 */
}

.section__hero-content h1,
.section__hero-content p,
.section__hero-content a {
    pointer-events: auto; /* 恢复这些元素的可点击性 */
}

.section__hero-content a {
    display: inline-block;
    margin-top: 20px;
}

.section--thick-border {
    border: 0px solid;
}