/* 首页全屏滑动样式 */
.swiper-container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Chrome, Safari and Opera */
.swiper-container::-webkit-scrollbar {
    display: none;
}

/* 同时也隐藏 Swiper 包装器的滚动条 */
.swiper-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.swiper-wrapper::-webkit-scrollbar {
    display: none;
}

/* 为了确保整个页面也不显示滚动条 */
body {
    overflow: hidden;
    /* 防止页面出现滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 首页导航指示器 - 调整到左下角 */
.page-nav {
    position: fixed;
    left: 4rem;
    bottom: 4rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

/* 节点间的虚线 */
.page-nav-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 0.6;
    /* 非活动状态的透明度 */
    transition: all 0.3s ease;
    position: relative;
    /* 为虚线定位 */
}

/* 活动状态的透明度 */
.page-nav-item.active {
    opacity: 1;
}

/* 添加虚线 */
.page-nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0.5rem;
    width: 0.2rem;
    height: 3.2rem;
    background-image: linear-gradient(to bottom, #adadb0 50%, transparent 50%);
    background-size: 0.2rem 0.6rem;
    opacity: 0.4;
}

/* 导航圆点样式 */
.page-nav-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    border: 0.2rem solid #adadb0;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
}

/* 激活状态的圆点和文字颜色 */
.page-nav-item.active .page-nav-dot {
    border-color: #ffb800;
    background-color: #ffb800;
}

.page-nav-item.active .nav-text .cn {
    color: #2c3380;
}

.page-nav-item.active .nav-text .en {
    color: rgba(44, 51, 128, 0.6);
}

/* 第一屏特殊样式覆盖 */

.page-nav.first-screen .page-nav-item.active .nav-text .cn {
    color: #ffb800;
}

.page-nav.first-screen .page-nav-item.active .nav-text .en {
    color: rgba(255, 184, 0, 0.6);
}

/* 激活状态的圆点外圈动画 */
.page-nav-item.active .page-nav-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ffb800;
    animation: pulse 2s infinite;
}

/* 导航文字样式 */
.nav-text {
    margin-left: 1.6rem;
    transition: all 0.3s ease;
}

.nav-text .cn {
    display: block;
    font-size: 1.6rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.nav-text .en {
    display: none;
    font-size: 1.2rem;
    color: #999;
}

/* 激活状态显示英文 */
.page-nav-item.active .nav-text .en {
    display: block;
}

/* 第一屏特殊样式 */
.page-nav.first-screen .page-nav-item .nav-text .cn {
    color: white;
}

.page-nav.first-screen .page-nav-item .nav-text .en {
    color: rgba(255, 255, 255, 0.6);
}

/* 第一屏激活状态 */
.page-nav.first-screen .page-nav-item.active .nav-text .cn {
    color: #ffb800;
    /* 修改为黄色主题 */
}

.page-nav.first-screen .page-nav-item.active .nav-text .en {
    color: rgba(255, 184, 0, 0.6);
    /* 对应的半透明黄色 */
}

.page-nav.first-screen .page-nav-item.active .page-nav-dot {
    border-color: #ffb800;
    background-color: #ffb800;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* 首页各个section样式 */
.hero-section {
    background-color: #1a237e;
    color: white;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 5.4rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.hero-desc {
    font-size: 3rem;
    font-weight: 400;
    width: 51.4rem;
    height: 17.4rem;
    margin-bottom: 6rem;
    opacity: 0.9;
}

/* 了解安科按钮样式 */
.hero-btn {
    width: 26.8rem;
    height: 7.4rem;
    display: inline-flex;
    align-items: center;
    background-color: #ffb800;
    color: #000000;
    /* 改为黑色文字 */
    padding: 1.6rem 3.2rem;
    /* 增加内边距 */
    border-radius: 5rem 5rem 5rem 5rem;
    font-size: 3rem;
    font-weight: 500;
    /* 加粗文字 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 按钮内容容器 */
.hero-btn-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    /* 文字和箭头的间距 */
    position: relative;
    z-index: 2;
    margin: auto;
}

/* 箭头图标样式 */
.hero-btn svg {
    width: 2rem;
    height: 2rem;
    stroke: #000000;
    /* 箭头改为黑色 */
    position: relative;
    transform: rotate(320deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 按钮背景动画效果 */
.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 按钮悬停效果 */
.hero-btn:hover {
    background-color: #ffc526;
    /* 稍亮的黄色 */
    transform: translateY(-2px) scale(1.02);
    /* 轻微放大并上浮 */
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2),
        0 6px 6px rgba(255, 184, 0, 0.1);
}

.hero-btn:hover::before {
    transform: translateX(0);
}

.hero-btn:hover svg {
    transform: rotate(320deg) translateX(4px);
}

/* 按钮点击效果 */
.hero-btn:active {
    transform: translateY(0) scale(0.98);
    /* 轻微缩小 */
    box-shadow: 0 5px 10px rgba(255, 184, 0, 0.2),
        0 3px 3px rgba(255, 184, 0, 0.1);
}

/* 新闻动态部分样式 */
.news-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 新闻容器布局 */
.news-container {
    display: flex;
    gap: 10rem;
    /* 左右两列之间的间距 */
}

/* 新闻列样式 */
.news-column {
    flex: 1;
    max-width: 66rem;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* 移除间距 */
    max-width: 100%;
    /* 与上方图片宽度对齐 */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* 添加顶部分隔线 */
}

/* 新闻项样式 */
.news-item {
    display: flex;
    align-items: center;
    gap: 24px;
    /* 增加元素间距 */
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 日期样式 */
.news-date {
    color: #999;
    font-size: 1.4rem;
    min-width: 8.5rem;
    /* 固定日期宽度 */
}

/* 标签样式 */
.news-tag {
    background-color: #ffb800;
    color: white;
    padding: 0.2rem 1.2rem;
    border-radius: 100px;
    font-size: 1.4rem;
    min-width: 8.5rem;
    /* 固定标签宽度 */
    text-align: center;
    margin-right: 1.6rem;
    /* 添加右侧间距 */
}

/* 新闻内容区域 */
.news-meta {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

/* 标题样式 */
.news-title {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 47rem;
    /* 限制标题宽度，确保不会太长 */
}

/* 行业资讯标签颜色 */
.news-column:last-child .news-tag {
    background-color: #2c3380;
}

/* 悬停效果 */
.news-item:hover .news-title {
    color: #ffb800;
}

.news-column:last-child .news-item:hover .news-title {
    color: #2c3380;
}

/* 移除之前的背景和阴影效果 */
.news-item {
    background: transparent;
    box-shadow: none;
}

/* 更多动态按钮样式 */
.more-news {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}

.more-news-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #2c3380;
    font-size: 2rem;
    font-weight: 400;
    padding: 1.2rem 2.4rem;
    border-radius: 10rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-normal);
}

.more-news-btn:hover {
    background-color: #ffffff;
    transform: translateY(-0.2rem);
    box-shadow: var(--shadow-md);
}

.more-news-btn i {
    font-size: 2rem;
    transition: transform var(--transition-normal);
}

.more-news-btn:hover i {
    transform: translateX(0.4rem);
}

/* 合作伙伴部分背景 */
.partners-section {
    position: relative;
    background-color: #ebecf2;
    background-image: url("/assets/images/partners-bg.png");
    padding: 8rem 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 背景图片遮罩 */
.partners-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* 内容容器 */
.partners-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* 合作伙伴滑动容器 */
.partners-row {
    position: relative;
    touch-action: pan-x;
    padding: 2rem 0;
}

/* 滑动轨道 */
.partners-track {
    display: flex;
    flex-wrap: nowrap;
    padding: 2rem 0;
    cursor: grab;
    position: relative;
    width: 161rem;
    height: 25rem;
    overflow: hidden;

}

.track-right {
    mask-image: linear-gradient(to right, transparent, #ebecf2 0%, #ebecf2 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #ebecf2 0%, #ebecf2 90%, transparent);
}

.track-left {
    mask-image: linear-gradient(to left, transparent, #ebecf2 0%, #ebecf2 90%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, #ebecf2 0%, #ebecf2 90%, transparent);
}

.partners-track.grabbing {
    cursor: grabbing;
}

/* 滑动内容 */
.partners-track-content {
    display: flex;
    position: absolute;
    top: 0rem;
}

/* 第一行动画（从左向右） */
/* .partners-row:first-child .partners-track-content {
    animation: scrollRight 40s linear infinite;
    transform: translateX(-20rem);
} */

/* 第二行动画（从右向左） */
/* .partners-row:last-child .partners-track-content {
    animation: scrollLeft 40s linear infinite;
    transform: translateX(80rem);
} */

/* 合作伙伴图片组 */
.partners-group {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    flex-shrink: 0;
    padding-right: 2rem;
}

/* 合作伙伴单项 */
.partner-item {
    width: 30.9rem;
    height: 9rem;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.partner-item:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.12);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1.35);
    background-color: #fff;
    filter: contrast(1.05);
    /* 轻微提高对比度，优化白色logo显示 */
}

/* 动画关键帧 */
@keyframes scrollLeft {
    0% {
        transform: translateX(80rem);
    }

    100% {
        transform: translateX(calc(-30.9rem * 4 - 2rem * 4));
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-20rem);
    }

    100% {
        transform: translateX(80rem);
    }
}

/* 企业文化部分样式 */
.culture-section {
    position: relative;
    overflow: hidden;
}

/* 右侧内容区域 */
.culture-content {
    position: absolute;
    top: 0;
    right: 4.7rem;
    width: 54.8rem;
    height: 100%;
    background: linear-gradient(0deg,
            rgba(44, 51, 128, 0.97) 0%,
            rgba(44, 51, 128, 0.64) 100%);
    padding: 10rem 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题样式 */
.culture-title {
    color: #fff;
    font-size: 3.6rem;
    font-weight: 600;
    letter-spacing: 0.4rem;
    margin-bottom: 4rem;
    position: relative;
    text-align: center;
}

/* 标题下方的装饰线 */
.culture-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2rem;
    width: 8rem;
    height: 0.4rem;
    background-color: #ffb800;
}

/* 描述文字样式 */
.culture-desc {
    color: #ffffff;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 42rem;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 按钮容器 */
.culture-buttons {
    display: flex;
    justify-content: space-around;
    gap: 2.4rem;
    margin-top: 4.8rem;
}

/* 企业文化按钮基础样式 */
.culture-btn {
    width: 15.4rem;
    height: 21.2rem;
    border-radius: 0.8rem;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 左边按钮样式 */
.culture-btn:first-child {
    background: rgba(244, 189, 0, 1);
    /* 黄色背景 */
}

.culture-btn:first-child .culture-btn-arrow {
    background-color: #ffffff;
    /* 白色背景 */
}

.culture-btn:first-child .culture-btn-arrow i {
    color: rgba(31, 26, 23, 1);
    /* 黑色箭头 */
}

/* 右边按钮样式 */
.culture-btn:last-child {
    background: rgba(245, 246, 255, 1);
    /* 白色背景 */
}

.culture-btn:last-child .culture-btn-arrow {
    background-color: #ffb800;
    /* 黄色背景 */
}

.culture-btn:last-child .culture-btn-arrow i {
    color: rgba(31, 26, 23, 1);
    /* 黑色箭头 */
}

/* 箭头按钮基础样式 */
.culture-btn-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 3.6rem;
    border-radius: 10rem;
}

/* 箭头图标 */
.culture-btn-arrow i {
    font-size: 2rem;
}

/* 按钮悬停效果 - 只保留上浮和箭头移动 */
.culture-btn:hover {
    transform: translateY(-4px);
}

.culture-btn:hover .culture-btn-arrow {
    transform: translateY(-4px);
}

.culture-btn:hover .culture-btn-arrow i {
    transform: translateX(2px);
}

/* 按钮图标 */
.culture-btn-icon {
    width: 8.4rem;
    height: 8.4rem;
    margin-bottom: 0.6rem;
}

/* 按钮文字 */
.culture-btn-text {
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
}

/* 新闻标题样式 */
.news-header {
    margin-bottom: 2rem;
}

.news-title-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 0.4rem;
    font-size: 1.6rem;
}

/* 新闻图片区域样式 */
.news-image-wrapper {
    margin-bottom: 8rem;
    max-width: 100%;
}

.news-image {
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 38.42rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    /* 添加过渡效果 */
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    /* 添加过渡效果 */
}

/* 图片悬停效果 */
.news-image:hover {
    transform: translateY(-4px);
    /* 向上浮动 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    /* 添加阴影 */
}

.news-image:hover img {
    transform: scale(1.05);
    /* 图片轻微放大 */
}

/* 遮罩层悬停效果 */
.news-image:hover .news-image-mask img {
    transform: scale(1);
}

/* 确保遮罩内容不受放大影响 */
.news-image:hover .news-image-overlay {
    transform: none;
}

/* 图片遮罩层 */
.news-image-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10.5rem;
    overflow: hidden;
}

.news-image-mask img {
    width: 100%;
    height: 102%;
    object-fit: cover;
}

/* 内容层 */
.news-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px 24px 12px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-image-content {
    max-width: 600px;
    position: relative;
    /* 为绝对定位的标签提供参考 */
}

/* 标签样式 */
.news-image-tag {
    position: absolute;
    right: -0.7rem;
    top: -4.7rem;
    /* 向上偏移到标题上方 */
    color: rgba(246, 198, 2, 1);
    font-size: 1.9rem;
    font-weight: 600;
    background: none;
    /* 移除背景色 */
    padding: 0;
    /* 移除内边距 */
}

/* 标题样式 */
.news-image-title {
    font-size: 1.7rem;
    line-height: 1.5;
    color: white;
    font-weight: 400;
    padding-right: 8rem;
    /* 为右侧标签预留空间 */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: -o-ellipsis-lastline;
}

/* 主营板块手风琴样式 */
.business-section {
    overflow: hidden;
}

.business-accordion {
    display: flex;
    width: 100%;
    height: 100vh;
}

.accordion-item {
    position: relative;
    flex: 1;
    height: 100%;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

/* 背景图片 */
.accordion-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 内容样式 */
.accordion-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 100%);
    color: white;
    opacity: 1;
    transition: all 0.3s ease;
}

.accordion-icon {
    width: 8rem;
    height: 8rem;
    margin-bottom: 2.4rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.accordion-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* 图标变为白色 */
}

.accordion-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 7rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* @media screen and (max-width: 1280px) {
    .accordion-title {
        font-size: 1.8rem;
    }
} */

.accordion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3.2rem;
    background-color: #ffb800;
    color: #000000;
    border-radius: 100px;
    font-size: 1.6rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.2rem;
}

/* 箭头图标容器 */
.accordion-btn::after {
    content: "";
    width: 2.4rem;
    height: 2.4rem;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFB800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-size: 1.2rem;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 按钮悬停效果 */
.accordion-btn:hover {
    background-color: #ffc526;
    /* 稍微亮一点的黄色 */
    transform: translateY(0);
    box-shadow: 0 0.4rem 1.2rem rgba(255, 184, 0, 0.3);
}

.accordion-btn:hover::after {
    transform: translateX(0.4rem);
    background-color: #333;
    /* 悬停时箭头背景变深 */
}

/* 按钮点击效果 */
.accordion-btn:active {
    transform: translateY(1px);
    /* 轻微下沉 */
    box-shadow: 0 0.2rem 0.8rem rgba(255, 184, 0, 0.2);
}

/* 修改按钮显示动画 */
.accordion-item:hover .accordion-btn {
    opacity: 1;
    transform: translateY(0);
}

/* 悬停效果 */
.accordion-item:hover {
    flex: 2;
    /* 展开宽度 */
}

.accordion-item:hover .accordion-bg {
    transform: scale(1.1);
}

.accordion-item:hover .accordion-icon,
.accordion-item:hover .accordion-title {
    opacity: 1;
    transform: translateY(-0.4rem);
}

/* 非悬停项的样式 */
.accordion-item:not(:hover) .accordion-content {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 100%);
}

/* 悬停效果 */
.accordion-item:hover .accordion-content {
    background: linear-gradient(0deg,
            rgba(26, 43, 114, 0.8),
            rgba(26, 43, 114, 0.8));
}