:root {
    --primary: #15336e;
    --secondary: #1f4eb2;
    --accent: #f7b733;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;

}


.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部区域 */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
}

.hero .brand {
    width: 100%;
    height: 100%;
}

.hero .brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero .brand:hover img {
    transform: scale(1.03);
}


.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #374b7b54, transparent);
    color: white;
    padding: 25px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 功能模块导航 */
.section-title {
    text-align: center;
    margin: 0px 0 30px 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 25px;
}

/*.section-title::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 2px;*/
/*    background: var(--light-gray);*/
/*    z-index: 1;*/
/*}*/

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
    margin-top: 80px;
    margin-bottom: 60px;
}

.menu-item {
    position: relative;
    width: 175px;
    height: 100px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    padding: 15px;
    text-align: center;
}

.menu-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(145deg, var(--light), #ffffff);
}

.menu-item .title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #374b7b;
    margin-bottom: 1px;
    z-index: 2;
    transition: var(--transition);
}

.menu-item:hover .title {
    color: var(--secondary);
}

.menu-item .description {
    font-size: 0.85rem;
    color: var(--gray);
    z-index: 2;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.menu-item:hover .description {
    opacity: 1;
    transform: translateY(0);
}

.menu-item .image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 100px;
    height: 100px;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.menu-item:hover .image-container {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(40%);
}

/* 竞赛卡片 */
.competition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #374b7b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.4;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
    color: var(--gray);
    font-size: 0.9rem;
}

.card-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* 统计数据 */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary), #374b7b);
    border-radius: 15px;
    padding: 40px;
    margin: 0 0 40px;
    box-shadow: var(--shadow);
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    color: white;
    padding: 20px;
}

.stat-item h2 {
    font-size: 3.5rem;
    margin: 10px 0;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.h2span {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 8px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 新闻区域 */
.news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /*margin: 60px 0;*/
}

.section-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    min-height: 280px;
}

.section-box h2 {
    color: #374b7b;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.article-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateX(5px);
}

.article-image {
    width: 180px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.article-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

.dynamics-list {
    display: flex;
    flex-direction: column;
}

.dynamic-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.dynamic-item:hover {
    background: var(--light);
    border-radius: 8px;
    padding-left: 10px;
}

.dynamic-date {
    background: #374b7b;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-right: 15px;
    flex-shrink: 0;
    width: 90px;
    text-align: center;
}

.dynamic-item p {
    flex: 1;
    font-weight: 500;
}

.navigation-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.navigation-buttons button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.navigation-buttons button:hover {
    background: var(--secondary);
    transform: scale(1.1);
}


/* 响应式设计 */
@media (max-width: 1024px) {
    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .competition-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        height: 300px;
    }

    .hero-content {
        padding: 25px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .menu {
        gap: 15px;
    }

    .menu-item {
        width: 140px;
        height: 140px;
    }

    .news {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stat-item {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 250px;
    }

    .menu-item {
        width: 120px;
        height: 120px;
    }

    .menu-item .title {
        font-size: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

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

.about-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

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

.section-header h2 {
    font-size: 2.2em;
    color: #1a3c6e;
    margin: 0;
    font-weight: 600;
}

.about-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(26, 60, 110, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e6f0ff;
    transform-style: preserve-3d;
    position: relative;
}

.icon-item:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(26, 60, 110, 0.15);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
}

.icon-item i {
    font-size: 36px;
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icon-item:hover i {
    transform: scale(1.15);
}

.icon-item span {
    font-size: 16px;
    color: #1a3c6e;
    font-weight: 600;
}

.about-content {
    text-align: center;
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
}

.about-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.about-text p {
    margin-bottom: 8px;
}

.about-button {
    gap: 20px;
    display: flex;
    margin-top: 10px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #374b7b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.btngold {
    padding: 12px 30px;
    background: linear-gradient(to right, #866a2d, #f7b733);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    /*font-size: 1.2rem;*/
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(134, 106, 45, 0.3);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.evaluation-process {
    padding: 10px 0;
    /*background: white;*/
    /*position: relative;*/
}

.more-link {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.article-list,
.dynamics-list {
    flex: 1;
    margin-bottom: 10px;
}

.morebtn:hover {
    color: #000000;
}

a:hover {
    color: #000000;
}

.btngold:hover,
.btn:hover {
    color: #ffffff;
}

/* 元素进入视口动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 导航栏滚动效果 */
.header-scroll {
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* 按钮脉冲效果 */
.btn-pulse:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 183, 51, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 183, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 183, 51, 0);
    }
}

/* 数字计数动画 */
.count-up {
    transition: all 0.2s ease-out;
}

/* 背景视差效果 */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 图片悬停放大效果增强 */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

/* 下划线动画 */
.underline-animation {
    position: relative;
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.underline-animation:hover::after {
    width: 100%;
}

/* 全链路整体容器： flex布局实现水平排列 */
.full-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 响应式：小屏幕自动换行 */
    margin: 40px 0;
}

/* 单个圆形样式：边框、圆角、内边距等 */
.link-circle {
    width: 400px;
    height: 400px;
    border: 2px solid #0066cc; /* 蓝色边框，可根据品牌色调整 */
    border-radius: 50%; /* 圆形核心：border-radius设为50% */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    box-sizing: border-box; /* 保证padding不撑大容器 */
    margin: 20px;
}

/* 圆形内的标题 */
.link-circle h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #0066cc; /* 标题颜色与边框一致 */
}

/* 圆形内的子项容器：flex-wrap实现自动换行 */
.circle-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* 子项之间的间距 */
}

/* 圆形内的单个子项：图标+文字垂直居中 */
.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 子项图标大小 */
.circle-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/* 子项文字样式 */
.circle-item p {
    font-size: 14px;
    color: #333;
}

/* 中间连接部分：文字+箭头垂直居中 */
.link-connect {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
}

/* 中间“评审全链路”文字 */
.link-connect p {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
}

/* 箭头样式（可替换为SVG更美观） */
.arrows span {
    font-size: 20px;
    color: #0066cc;
    display: block;
    transform: rotate(180deg); /* 调整箭头方向，模拟“双向链路” */
}

:root {
    --animate-duration: 0.8s;
    --animate-delay: 0.1s;
}

/* 元素进入视口动画 */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--animate-duration) ease, transform var(--animate-duration) ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 导航栏滚动效果 */
/*header {*/
    /*transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;*/
/*}*/

/*header.scrolled {*/
/*    background-color: rgba(255, 255, 255, 0.98);*/
/*    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);*/
/*    padding: 10px 0;*/
/*}*/

/* 卡片悬停效果 */
.menu-item, .card, .article-card, .dynamic-item {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-item:hover, .card:hover, .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* 按钮动画 */
.btngold, .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btngold::after, .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease;
    z-index: -1;
}

.btngold:hover::after, .btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 图片缩放效果 */
.brand img, .card-image img, .article-image img {
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brand:hover img, .card:hover .card-image img, .article-card:hover .article-image img {
    transform: scale(1.08);
}

.card-image, .article-image, .brand {
    overflow: hidden;
}

/* 数字增长动画 */
.counter {
    transition: all 0.2s ease-out;
}

/* 列表项动画 */
.dynamic-item {
    position: relative;
    padding-left: 10px;
}

.dynamic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #374b7b;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

.dynamic-item:hover {
    padding-left: 20px;
}

.dynamic-item:hover::before {
    transform: translateY(-50%) scale(1);
}

.services-section {
    padding: 20px 0 60px;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2b418e;
    margin-bottom: 15px;
}

.section-p {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    display: flex;
    gap: 22px;
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid transparent;
    flex-direction: column;
    flex-wrap: nowrap;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #F7B733,
        #4361ee,
        #2b418e,
        #F7B733
    );
    z-index: -2;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(247, 183, 51, 0) 0%,
        rgba(247, 183, 51, 0.2) 50%,
        rgba(247, 183, 51, 0) 100%
    );
    z-index: -1;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgb(247, 183, 51);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover .service-content h3,
.service-card:hover .card-a,
.service-card:hover .service-content p {
    color: #fff;
}

.service-card:hover {
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #F7B733;
    border-style: solid;
    border-width: 1px;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #F7B733;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2b418e;
    margin-bottom: 37px;
}

.service-content p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

.card-a:hover {
    color: #fff;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto; /* 自动推到最底部 */
    padding-top: 1.5rem; /* 与上方内容保持距离 */
. card-line
}

.card-line {
    flex-grow: 1;
    height: 1px;
    background: #e9ecef;
}

.card-link {
    color: #4a6cf7;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #374b7b;
}

.card-link i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.card-link:hover i {
    margin-left: 12px;
}

.brand-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.1); /* 初始放大状态 */
    transition:
        opacity 1s ease-in-out,
        transform 5s ease-in-out; /* 过渡动画设置 */
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1); /* 激活状态为正常大小 */
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

.header {
    position: fixed; /* 固定定位 */
    top: 0; /* 距离顶部0像素 */
    left: 0;
    right: 0; /* 左右都贴边，实现全屏宽度 */
    z-index: 9999; /* 确保在其他内容上方 */
    background-color: white; /* 添加背景色避免内容穿透 */
}

/* 给body添加顶部内边距，避免内容被固定头部遮挡 */
body {
    padding-top: 80px; /* 数值根据实际头部高度调整 */
}

@media (max-width: 768px) {
    .statsin {
        display: none;
    }

    .banner-text {
        font-size: 25px !important;
    }
}
