@charset "UTF-8";

/*通用样式start*/
:root {
    --primary: #074ea3;
    --secondary: #3b82f6;
    --accent: #60a5fa;
    --neutral: #f3f4f6;
    --neutral-dark: #1a3a5f;
    --active-color: #dc3545;
    --primary-color:#437fc7;
      --teal: #1a9aa0;
      --teal-dark: #0d7e85;
      --teal-light: #e0f7fa;
}
body {
    font-family:'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    padding-top: 68px;
    background: linear-gradient(to bottom, #f8f9fa, #e6f7ff);
}
/* 禁用底层页面滚动 */
 body.overlay-active {
    overflow: hidden;
}
/* 移除所有链接默认下划线,移除大黑框 */
 a {
    text-decoration: none!important;
    outline: 0 !important;
    box-shadow: none !important;
}
/* 移除大黑框 */
 button:focus:not(:focus-visible) {
    outline: 0 !important;
    box-shadow: none !important;
}
/* icon固定宽度 */
 i.fas {
    width:20px;
    max-width:20px;
    text-align:center;
}
/* icon颜色 */
 li i {
    color:#437fc7;
}
/* 推荐内容，个性化内容 */
 .recommend li {
    display: flex;
    align-items: start;
}
.recommend a, .personalized a {
    color: #FF7F50 !important;
}
.recommend i, .personalized i {
    transition: all 0.3s ease;
    color: #FF7F50;
}
.recommend a:hover i, .personalized a:hover i {
    transform: scale(1.25) translateX(2px);
}
/* 导航栏样式 */
 img.logo {
    width:195px;
    height:82px;
    position:absolute;
    margin-top:-42px;
    animation: fadeInOut 12s ease-in-out infinite;
}
img.logo2 {
    animation: fadeInOut2 12s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    16.67% {
        opacity: 1;
    }
    33.33% {
        opacity: 0;
    }
    66.67% {
        opacity: 0;
    }
    83.33% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInOut2 {
    0% {
        opacity: 0;
    }
    16.67% {
        opacity: 0;
    }
    33.33% {
        opacity: 1;
    }
    66.67% {
        opacity: 1;
    }
    83.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.1s;
    padding: 1rem 0;
}
.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}
.nav-link {
    padding: 1rem 1rem;
    font-weight: 500;
    color: #444;
    transition: all 0.2s;
    /*border-radius: 5px;*/
    display: flex;
    align-items: center;
    border-bottom:4px solid transparent;
    transition: all 0.2s ease;
}
.nav-link i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}
.nav-link:hover, .nav-link.active {
    background-color: rgba(75, 108, 183, 0.1);
    color: var(--primary-color);
    border-bottom: 4px solid #4db932;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
}
.dropdown-item {
    padding: 0.6rem 0.3rem;
    border-radius: 5px;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background-color: rgba(75, 108, 183, 0.1);
    color: var(--primary-color);
    padding-left: 0.5rem;
    transition: all 0.2s;
}

/* 页脚样式 */
 .footer {
    background: linear-gradient(135deg, #1a3a5f, #0d2438);
    color: #fff;
    padding: 3rem 0 1.5rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6daffe;
    border-bottom: 1px solid rgba(163, 217, 255, 0.2);
    padding-bottom: 0.5rem;
}
.footer-title .toggle-icon {
    display: none;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.footer-title.expanded .toggle-icon {
    transform: rotate(180deg);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links a {
    color: #e0f0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
    padding: 0.2rem 0;
}
.footer-links a:hover{
    color: #4db8ff;
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #a0c4e0;
}
.company-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.company-links a {
    color: #e0f0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
}
.company-links a:hover {
    color: #4db8ff;
}
.friend-link a {
    color: #fff;
}
.friend-link a:hover {
    color: #4db8ff;
}
/* 页脚 移动设备样式 */
 @media (max-width: 768px) {
    .footer-column:not(:first-child) .footer-title {
        cursor: pointer;
    }
    .footer-column:not(:first-child) .footer-title .toggle-icon {
        display: inline-block;
    }
    .footer-column:not(:first-child) .footer-links {
        display: none;
    }
    .footer-column:not(:first-child) .footer-links.expanded {
        display: flex;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    .footer-column {
        margin-bottom: 0.5rem;
    }
}
/* 页脚 桌面设备样式 */
 @media (min-width: 768px) {
    .footer-links {
        display: flex !important;
    }
}
/* 返回顶部按钮 */
 #back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
    border: none;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}
#back-to-top:hover {
    background: #0d2e8a;
    transform: translateY(-5px) scale(1.1);
}

/* 响应式调整 */
 @media (max-width: 480px) {
    .recommend {
        display:none;
    }
}

@media (max-width: 992px) {
    .personalized {
        display:none;
    }
    img.logo {
        width:156px;
        height:66px;
        position:absolute;
        margin-top:-34px;
    }
    .container {
        max-width:100vw!important;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    .carousel-item {
        height: 215px;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 1.1rem;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .navbar-collapse {
        background: white;
        padding: 0.5rem;
        border-radius: 10px;
        margin: 10px -10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow-y: scroll;
        max-width: 100vw;
        width: 100vw;
        max-height: calc(100vh - 60px);
        height: calc(100vh - 60px);
        transition: all 0.1s linear;
    }
    .feature-img {
        height: 200px;
    }
    .intro-nav {
        /*试试static*/
        position: relative;
        top: 0;
        margin-top: 20px;
    }
}
/* 添加下拉菜单悬停效果的CSS */
 @media (min-width: 992px) {
    /* 额外的CSS */
    .w-20 {
        width:20%
    }
    .dropdown-mega-menu {
        width: 75vw;
        height: 476px;
        min-height: 476px;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 1.5rem;
        transition: all 0.3s ease;
        position: fixed !important;
        top: 74px !important;
    }
    /* 添加导航栏滚动样式 */
    .navbar.nav-scrolled {
        /*background-color: rgba(255, 255, 255, 0.95);*/
        /*box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);*/
        top: -92px;
    }
    .dropdown-menu.menu-scrolled {
        top: -10px !important;
        transition: all 0.3s ease;
    }
    .dropdown:hover .dropdown-menu {
        /*display: block;
        opacity: 1;
        visibility: visible;       这三行让菜单点击不会消失隐藏*/
        transform: translateY(0);
    }
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }
    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .dropdown.keep-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .carousel-item {
        height: 500px;
    }
}
/*移动端导航按钮样式*/
 .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}
/* 默认三条线（汉堡） */
 .navbar-toggler.collapsed .navbar-toggler-icon::before, .navbar-toggler.collapsed .navbar-toggler-icon::after {
    content:'';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}
.navbar-toggler.collapsed .navbar-toggler-icon::before {
    top: 6px;
}
.navbar-toggler.collapsed .navbar-toggler-icon::after {
    top: 18px;
}
/* 激活状态（×） */
 .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background: transparent;
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before, .navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    content:'';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 50%;
    transform: rotate(45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}
/*通用样式end*/


/*页面1-主页start*/
/* 轮播图样式 */
 .carousel-item {
    /*height: 500px;*/
}
.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}
.carousel-caption {
    bottom: 30%;
    text-align: left;
    max-width: 650px;
}
.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
}
.carousel-indicators .active {
    background-color: white;
    width: 35px;
    border-radius: 10px;
}
/* 企业介绍区域 */
 .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--primary);
}
.section-title:after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}
.section-title:hover:after {
    width:100%;
}
.intro-card {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    overflow: hidden;
    border: none;
    height: auto;
    min-height:390px;
    overflow:hidden;
}
/*.intro-card:hover {
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      transform: translateY(-8px);
    } */
 .intro-nav {
    position: sticky;
    top: 100px;
}
.intro-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-item {
    margin: 0 10px;
}
.intro-nav-item {
    padding: 12px 20px 12px 40px;
    margin-bottom: 8px;
    /* border-radius: 8px; */
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.1s;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* border-left: 4px solid transparent; */
    font-size:1rem;
    line-height: 1.565rem;
}
.intro-nav-item:before {
    content:'';
    position: absolute;
    left: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28a745;
    /* 绿色圆圈 */
    transition: all 0.3s;
}
.intro-nav-item:hover {
    background: #e9f0ff;
    /* transform: translateX(5px); */
    font-size:1.2rem;
}
.intro-nav-item.active {
    background: #f0f7ff;
    color: var(--primary);
    border-left-color: var(--primary);
    font-size:1.1rem;
}
.intro-nav-item.active:before {
    background: var(--active-color);
    /* 红色圆圈 */
    transform: scale(1.2);
}
.stat-box {
    background: linear-gradient(135deg, #e0f0ff, #f0f7ff);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.1);
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(30, 64, 175, 0.2);
}
.stat-box .number {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.stat-box .text {
    font-size: 1.3rem;
    font-weight: 500;
}
/* 内容切换 */
 .intro-content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}
.intro-content-section.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 特性卡片 */
 .feature-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    border: none;
}
.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}
.feature-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.feature-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.feature-card:hover .feature-img img {
    transform: scale(1.1);
}
.feature-card .card-title {
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}
.feature-card .card-title:after {
    content:'';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}
.feature-card:hover .card-title:after {
    width: 100%;
}
.feature-card:hover .card-title {
    color: var(--primary);
}
/*页面1-主页end*/


/* 页面2-产品服务 start */
 .hero-section {
    height: 328px;
    /*background: linear-gradient(135deg, #437FC7, #6DAFFE);*/
    background: #6DAFFE;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index:2;
    overflow: hidden;
}
    .hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #437FC7; /* 左侧背景色 */
      /* 创建多边形路径：左上(0,0) 右上(75%,0) 右下(25%,100%) 左下(0,100%) */
      clip-path: polygon(0 0, 75% 0, 25% 100%, 0 100%);
    }
.hero-content {
    position: relative;
    width:85%;
    max-width: 1200px;
    text-align: left;
}
.hero-bg-overlay {
    position: absolute;
    z-index:1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}
.category-links {
    width:100%;
    background: white;
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index:10;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.category-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s;
}
.category-item:hover {
    background: #e9f0ff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(67, 127, 199, 0.15);
}
.section-container {
    padding: 80px 0;
    position: relative;
}
.section-container:nth-child(even) {
    background: #f9fbfd;
}
.section-nav {
    position: sticky;
    top: 0px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 68px;
    z-index: 100;
    transition: all 0.3s ease;
}
.section-nav.show{
    top: 92px;
}
.section-nav .nav-item{
    margin:0 10px;
}
.section-nav .nav-link {
    font-weight: 500;
    border-bottom: 4px solid transparent;
    margin: 0;
    padding: 0;
    height:68px;
    white-space: nowrap;
}
.section-nav .nav-link.active, .section-nav .nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--bs-orange);  
}
#section3 .section-content, #section5 .section-content{
    flex-direction: row-reverse; 
}
.section-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.section-text {
    flex: 1;
}
.section-image {
    flex: 1;
    text-align: center;
}
.section-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.section-links {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}
.link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.link-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.link-item:hover {
    background: #e9f0ff;
    transform: translateY(-3px);
}
@media (max-width: 992px) {
    .nav{
        flex-wrap: nowrap;
    }
    .section-nav {
        top:67px !important;
    }
    .section-nav .nav-item{
        margin:0 5px;
    }
    .section-content {
        flex-direction: column !important;
        gap: 30px;
    }
    .catitem-more{
        display:none;
    }
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .link-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .link-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}