body {
    font-family: "微软雅黑", "Microsoft YaHei", SimHei, sans-serif;
}

/* 轮播图样式 */
.banner-carousel {
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 1s ease-in-out;
    opacity: 0;
}

.carousel-item.opacity-100 {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.carousel-indicators button:hover,
.carousel-indicators button.opacity-100 {
    opacity: 1;
    transform: scale(1.2);
}

/* 左右箭头样式 */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* 轮播文本区域样式 */
.carousel-item>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-item h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.carousel-item p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.carousel-item a {
    display: inline-block;
    background-color: #0072c6;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.carousel-item a:hover {
    background-color: #005aa7;
    transform: translateY(20px) scale(1.05);
}

/* 文本淡入上移动画 */
@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 轮播图切换动画 */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-carousel {
        height: 500px;
    }

    .carousel-item h2 {
        font-size: 2rem;
    }

    .carousel-item p {
        font-size: 1rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

.banner-title {
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 2rem;
    font-weight: bold;
}

.banner-sub-title {
    width: 100%;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.banner-link {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

.banner-link a {
    width: 150px;
    opacity: 0.8 !important;
    border: 1px solid #fff;
    height: 40px;
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.banner-menu {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-menu-area {
    width: 1000px;
    height: 68px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #0055af;
    opacity: 0.8;
    border-radius: 8px;
}

.banner-menu-item {
    width: 200px;
    height: 68px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.banner-menu-item img {
    width: 36px;
    height: 36px;
    margin-left: 10px;
}

.banner-menu-item span {
    width: 120px;
    height: 30px;
    color: #fff;
    font-size: 18px;
    display: flex;
    justify-content: center;
    letter-spacing: 2px;
    margin-left: 6px;
}

.banner-menu-line {
    width: 2px;
    height: 40px;
    margin: 14px 0px 14px 0px;
    background-color: #fff;
}