/* 全局样式 */
@charset "utf-8";
* {
    font-family: "微软雅黑";
}


html {
  /*font-size: 14px;*/
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
   /* padding: 15px 0;*/
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

 /*   header.scrolled {
        padding: 15px 0;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    }*/


.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

    .animate.show {
        opacity: 1;
        transform: translateY(0);
    }


/*语言切换样式*/
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher .active {
    font-weight: bold;
    color: #007bff !important;
}

.language-switcher span {
    color: #dee2e6;
}


body {
    margin-bottom: 500px;
   /* font-family: 'Microsoft YaHei', Arial, sans-serif;*/
    /*padding-top: 100px;*/ /* 顶部栏 + 主导航栏高度 */
}


/* 顶部标语样式 */
.top-header-custom {
    height: 3vh;
    background-color: black;
    color: white;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
    text-align: right; /* 文字右对齐 */
    font-size: 12px;
   /* font-family: 'Microsoft YaHei', Arial, sans-serif;*/
    position: relative;
}

    .top-header-custom span {
        /*text-shadow: 0 1px 2px rgba(255,255,255,0.8);*/ /* 浅色文字阴影增强可读性 */
        margin-right: 50px; /* 额外增加右侧外边距 */
    }


/* 顶部header样式 */
.top-header {
    background-color: #fff;
    padding: 2px 0;
    border-bottom: 1px solid #eee;
}


.navbar-brand {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
}
    .navbar-brand span {
        /* font-size: 1.3em;
        font-weight: 700;*/
        font-size: clamp(1rem, 5vw, 1.6rem);
        font-weight: 800;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.05);
        color: #003d99;
        letter-spacing: 1px; /*调整字间距*/
        /*text-transform: uppercase;*/ /* 可选：英文转大写 */
        mix-blend-mode: multiply; /* 色彩混合模式 */
        transition: all 0.3s ease; /* 悬停动画 */
    }
    .navbar-brand:hover span {
        opacity: 1;
        text-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }



.logo-img {
  width:17%;
  height: auto;
  margin-right: 15px;
}

/* 语言切换样式 */
.language-links a {
  color: #666;
  text-decoration: none;
  padding: 0 5px;
  transition: color 0.3s;
}

.language-links a:hover,
.language-links a.active {
  color: #0056b3;
  text-decoration: none;
}


/*导航栏样式*/
.navbar {
    background-color: #0056b3;
    padding: 0;
    left: 0;
    width: 100%;
    background: white;
    transition: box-shadow 0.3s ease; /*添加过渡效果 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #f0f0f0; /*可选：添加细边框增强分隔效果 */
}
    /* 当二级导航固定时，为主导航添加底部阴影 */
    /*.navbar.with-shadow {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #f0f0f0;*/ /*可选：添加细边框增强分隔效果 */
    /*}*/

.navbar-nav {
    /*  width: 100%;
    display: flex;
    justify-content: space-around;*/
    width: 100%;
    display: flex;
    justify-content: center; /* 确保居中 */
    align-items: center; /*垂直居中 */
    flex-wrap: nowrap; /* 防止换行 */
}

.nav-item {
    /*text-align: center;
    position: relative;
    white-space: nowrap;*/ /* 添加这行防止文字换行 */
    position: relative;
    white-space: nowrap;
    flex-shrink: 0; /* 禁止项目收缩 */
    /* 新增：宽度由内容决定 */
    width: auto;
}

.nav-link {
    color: #333 !important;
    padding: 12px 35px !important;
    font-size: 16px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center; /* 文字居中 */
    gap: 6px;
    min-width: max-content;
    transition: color 0.3s, transform 0.3s;
}

    .nav-link:hover {
        /*background-color: #003d80;*/
        /* background-color: lightgray;*/
        color: #007bff !important;
        transform: translateY(-1px);
    }

/* 导航栏图标样式 */
.nav-link .bi {
  font-size: 1.1rem;
  margin-right: 8px;
  vertical-align: middle;
}

.nav-link .bi-chevron-down {
  font-size: 0.8rem;
  margin-left: 5px;
  margin-right: 0;
}

/* 下拉菜单样式 */
.dropdown-menu {
    /*   margin-top: 0;
    border-radius: 0;
    border: none;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;  */
    transition: opacity 0.3s ease, visibility 0.3s ease; 
    width: 100%; /* 下拉菜单宽度与父导航项相同 */
    min-width: 100%; /* 防止内容较小时收缩 */
    max-width: max-content; /* 允许内容较长时扩展 */
    margin-top: 0;
    border-radius: 0;
    border: none;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
    /*left: 0 !important;*/ /*确保左对齐 */
    /*right: auto !important;*/
    /*text-align: center;
    left: 50% !important;
    transform: translateX(-50%) !important;*/
}


/* 添加下拉菜单与触发按钮之间的连接区域---特别关键，取消后下拉框有时会突突突突闪。 */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    /*margin-top: 0;*/ /* 移除默认间隙 */
}

/* 确保下拉菜单与触发按钮之间没有间隙 */
/*.nav-item.dropdown {
    padding-bottom: 8px;*/ /* 创建悬停缓冲区 */
/*}*/

/* 禁用Bootstrap默认的点击行为，如果不需要的话 */
.navbar-nav .dropdown-menu {
    pointer-events: auto !important;
}


.dropdown-menu li a{
    color:#333;
}


/*新增*/
/* 特殊处理Products的下拉菜单 */
.dropdown-menu.industry-chain-menu {
    width: auto; /* 特殊布局保持自适应 */
    min-width: 100%;
}


.dropdown-item {
    /*   padding: 10px 20px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;*/
    padding: 10px 0px; /* 调整项内间距 */
    color: #333 !important;
    border-bottom: none !important; /* 移除底部边框 */
    white-space: nowrap; /* 防止文字换行 */
    padding-left: 30px;
}

/* 新增：下拉项中的文本容器 */
.dropdown-item .nav-text {
    white-space: nowrap; /* 文本不换行 */
    overflow: visible; /* 允许溢出 */
}

/* 响应式调整：小屏幕防止溢出 */
@media (max-width: 1200px) {
    .nav-link {
        padding: 15px 25px !important;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #477276 !important; /*用于调试 */
        display: block !important; /* 强制显示 */
    }
    .nav-link {
        padding: 15px 20px !important;
        font-size: 14px;
    }
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0056b3;
}

/* 下拉菜单图标样式 */
.dropdown-item .bi, .fas, .far {
  font-size: 1.3rem;
  margin-right: 10px;
  color: #0056b3;
}

    .dropdown-item #fas-about {
        margin-left: -2px;
    }

    .dropdown-item #fas-careers {
        margin-left: 5px;
    }


    /* 主内容区域样式 */
    .main-content {
        padding: 30px 0;
    }

/* 页脚样式 */
.footer {
    background-color: #f5f5f5;
    position: relative;
    padding-top: 40px;
}

.centered-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center; /* 添加这一行使换行后的内容也居中 */
    line-height: 25px;
    width: 100%;
}

.footer h5 {
    color: #333;
    font-size: 16px;
 /*   margin-bottom: 20px;*/
}

 .footer ul {
        list-style: none;
        padding: 0;

 }

.footer ul li {
 /* margin-bottom: 10px;*/
}

 .footer ul li a {
        color: #666;
        text-decoration: none;
        font-size: 14px;
    }

.footer ul li a:hover {
 /* color: #0056b3;*/
 color:brown;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
  }
  
  .nav-item {
    width: 100%;
    text-align: left;
  }

    .nav-link {
      /*  padding: 10px 15px !important;*/
        color: #fff !important;
        padding: 15px 35px !important;
        font-size: 16px;
        transition: background-color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: max-content;
        width: 100%; /* 确保链接填满父项 */
        box-sizing: border-box; /* 包含内边距 */
    }
  
  .footer {
    text-align: center;
  }
  
  .footer .col-md-2 {
    margin-bottom: 30px;
  }

    .dropdown-menu {
        box-shadow: none;
        border: none;
        padding-left: 2rem;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .dropdown-item {
       /* padding: 8px 15px;*/
        padding: 10px 15px;
        color: #333;
        border-bottom: none !important;
        white-space: normal; /* 允许文字换行 */
        display: flex;
        align-items: center;
    }
}

/* 按钮样式 */
.btn {
  border-radius: 0;
  padding: 8px 20px;
}

.btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-primary:hover {
  background-color: #003d80;
  border-color: #003d80;
}


/*.full-width-image {
    width: 100vw;
    height: 50vh;
    position: relative;*/ /* 为子容器定位做准备 */
    /*background-image: url('/images/Home/home-beijing-img.jpg');*/
    /*background-color:#fafbf9;
}*/

/*首页图片*/
/*.page-header-image {*/
    /*width: 64vw;*/ /* 左右各留18%边距 */
    /*width: 100%;
    height: 100%;*/ /* 继承父容器高度 */
    /*margin: 0 auto;*/ /* 水平居中 */
    /*position: relative;*/
    /*    background-image: url('/images/Home/home-beijing-img.jpg');*/
/*}

    .page-header-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;*/ /* 保持图片比例完整显示 */
        /*display: block;*/ /* 去除图片底部间隙 */
    /*}*/


/* 全宽图片容器 */
.full-width-image {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #fafbf9;
    overflow: hidden;

}

/* 页面头部图片区域 */
.page-header-image {
    width: 100%;
    position: relative;
}


/*全屏图片*/
.page-header-image-custom {
    width: 100vw;
    height: 100vh;
    margin: 0 auto; /* 水平居中 */
    position: relative;
}
    .page-header-image-custom img {
        width: 100%;
        height: 100%;
        display: block; /* 去除图片底部间隙 */
    }



/*.page-header-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.page-header-image h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 20px;
    text-align: center;*/


/* 轮播图样式 */
/*#mainCarousel {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}*/

/*.carousel-inner {
    width: 100%;
}

.carousel-item {
    height: 800px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 8px;
    bottom: 20%;
    max-width: 800px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.carousel-caption h3 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.6rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 40px;
    z-index: 10;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    mar
    gin: 0 5px;
}*/



/* 轮播图高度设置 2025-03-25*/
.carousel {
    max-height: 600px; /* 桌面端最大高度 */
    overflow: hidden;
}

.carousel-item img {
    object-fit: fill;
    width: 100%;
    height: 600px;    
}

/*设置下拉列表及侧边栏图标颜色*/
.text-custom-color1 {
    color: gold !important;
}

.text-custom-color2 {
    color:#9c9b66 !important;
}

@media (max-width: 768px) {
    .page-header-image {
        height: 300px;
    }

    .page-header-image h1 {
        font-size: 2rem;
     }

    /* 移动端适配 2025-03-25*/
    .carousel {
        max-height: 300px;
    }

    .carousel-item img {
        height: 300px;
    }
    /* 移动端适配 2025-03-25 */

    .carousel-item {
        height: 400px;

    }
/*    .small-box {
        background-image: url('/images/slide1.jpg');
        box-sizing: border-box;
        background-repeat: no-repeat;
    }*/

    .carousel-caption {
        bottom: 10%;
        padding: 20px;
        width: 90%;
    }

    .carousel-caption h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }
}



/* 产品中心下拉菜单样式 */
.industry-chain-menu {
    width: 1000px;
    padding: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-align: center;
    width: auto !important; /* 不限制宽度 */
    min-width: 600px; /* 设置最小宽度确保所有项能在一行显示 */
}

.industry-chain-content {
    width: 100%;
    padding: 10px; /*添加内边距*/
}

.chain-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chain-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #f8f9fa;
    border-radius: 30px;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .chain-item:hover {
        background-color: #e9ecef;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

.main-item {
    background-color: #0056b3;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    margin-bottom: 20px;
}

    .main-item:hover {
        background-color: #004494;
    }

.chain-item i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.chain-branches {
    /*display: flex;*/
    display: flex !important; /* 强制水平排列 */
    /*justify-content: space-between;*/
    justify-content: center; /* 居中显示 */
    width: 100%;
    margin-top: 10px;
    position: relative;
    /* flex-wrap: wrap;*/
    flex-wrap: nowrap !important; /* 禁止换行 */
    gap: 20px;
}

    .chain-branches::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 51.4%;
        width: 2px;
        height: 20px;
        background-color: #0056b3;
    }

.chain-branch {
    position: relative;
    /*padding: 15px;*/
    padding: 0 5px; /* 调整项间距 */
    /*flex: 1;*/
    flex: 0 0 auto; /* 不伸缩，不收缩，自动宽度 */
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .chain-branch::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 2px;
        height: 15px;
        background-color: #0056b3;
    }

    .chain-branch::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #0056b3;
    }


.sub-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    width: 100%;
}

.chain-sub-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    margin: 4px 0;
    transition: all 0.3s ease;
    width: 100%;
    background-color: transparent;
}

    .chain-sub-item:hover {
        background-color: #f0f2f5;
        color: #0056b3;
        transform: translateX(5px);
    }

    .chain-sub-item i {
        font-size: 0.8rem;
        margin-right: 8px;
        color: #0056b3;
    }

@media (max-width: 992px) {
    .industry-chain-menu {
        width: 100%;
        transform: none;
        left: 0;
        padding: 15px;
    }

    .chain-branches {
        flex-direction: column;
        gap: 10px;
    }

    .chain-branch {
        margin: 10px 0;
        width: 100%;
    }

        .chain-branch::before,
        .chain-branch::after,
        .chain-branches::before {
            display: none;
        }

    .main-item {
        font-size: 1.1rem;
        padding: 12px 25px;
    }

    .chain-item {
        width: 100%;
        justify-content: center;
    }
}

/* 关于我们页面样式 */
.about-sidebar {
    /*background-color: #f8f9fa;*/
    padding: 20px;
    border-radius: 5px;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    margin-top: 10vh;
}

.sidebar-title {
    color: #0056b3;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-nav li {
        margin-bottom: 10px;
    }

        .sidebar-nav li a {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            color: #333;
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

            .sidebar-nav li a:hover {
                background-color: #e9ecef;
                color: #0056b3;
            }

        .sidebar-nav li.active a {
            background-color: #0056b3;
            color: #fff;
        }

    .sidebar-nav .bi {
        font-size: 1.2rem;
        margin-right: 10px;
        width: 24px;
        text-align: center;
    }

.nav-text {
    flex: 1;
}

/*.about-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .about-content h2 {
        color: #0056b3;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #0056b3;
    }

    .about-content p {
        line-height: 1.8;
        color: #666;
        margin-bottom: 15px;
    }*/

.subsidiary-profile {
    margin-top: -40vh;
    width: 100vw;
    height: 100vh;
    box-shadow: 0 0 15px 5px rgba(0,0,0,.7);
   
    position: relative;
}


/*集团概况下拉样式*/

.nav-item:hover .industry-chain-menujtgk {
    display: flex;    
}

.industry-chain-menujtgk {
    width: 680px;
    padding: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-align: center;
}
.company-icon {
    width: 120px;
    height: 100px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-left:1em;
}


.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e); /* 更深的蓝色渐变背景 */
    color: #e6f7ff; /* 浅蓝色字体 */
}

.section-title {
    color: #b3e0ff !important; /* 标题纯白色 */
    font-weight: 600 !important;
    /*letter-spacing: 0.5px;*/
    font-size: 1.05rem;
}

.footer-link {
    color: darkgray !important; /* 浅蓝色链接 */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .footer-link:hover {
        color: #4fc3f7 !important; /* 悬停时更亮的蓝色 */
        padding-left: 3px;
    }

.divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    color: #b3e0ff;
    font-size: 1.2rem;
    margin-right: 12px;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        color: #4fc3f7;
        transform: translateY(-2px);
    }

#back-to-top {
    position: fixed;
    right: 20px; /* 距离右侧 20px */
    bottom: 20px; /* 距离底部 20px */
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    z-index: 1000; /* 确保按钮在最上层 */
}

    #back-to-top i {
        line-height: 1;
    }

    #back-to-top:hover {
        background-color: #0d62c9;
    }


/* 动画样式 */
.footer-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .footer-animate.animate {
        opacity: 1;
        transform: translateY(0);
    }

.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

/* 装饰元素 */
.footer-decor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: bottom;
    opacity: 0.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding-top: 3rem !important;
        padding-bottom: 1.5rem !important;
    }

        .footer .col-6 {
            margin-bottom: 1.5rem;
        }

    .section-title {
        margin-bottom: 0.8rem !important;
    }

    .content-section {
        padding: 25px;
    }

    .social-links {
        justify-content: center;
    }
}


.slide-text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    width: 100%;
}

.text-line1, .text-line2 {
    display: block;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

    .text-line1.active {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.3s;
    }

    .text-line2.active {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.6s;
    }

.main-title {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.8s ease-out;
    color: #2f4e9f;
}

    .main-title.show {
        transform: translateY(0);
        opacity: 1;
    }

.product-card {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

    .product-card.show {
        transform: translateY(0);
        opacity: 1;
    }

.slideshow-container {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

    .slideshow-container .slide, .slideshow-container-Index .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

        .slideshow-container .slide.active, .slideshow-container-Index .slide.active {
            opacity: 1;
        }

        .slideshow-container .slide img, .slideshow-container-Index .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.3);
            transition: transform 5s ease-out;
            /*object-position: center -5%;*/ /*默认显示图片的上半部分 */
        }

.slideshow-container-Index {
    /*    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;*/
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}


.text-line1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.text-line2 {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    color: #26b6bd;
    /*color: #d4af37;*/
}


/*有重复屏蔽*/
/*.content-wrapper {*/
    /*   position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1.2s ease-out;*/
    /*position: absolute;
    left: 0%;
    top: 10%;
    transform: translate(0%, -10%);
    text-align: center;
    width: 100%;
}

    .content-wrapper.show {
        transform: translateY(0);
        opacity: 1;
    }

.main-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #8e44ad);
    margin: 15px auto;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    min-height: 350px;
}

.product-img1, .product-img2, .product-img3, .product-img4 {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.product-img1 {
    width: 100%;
}

.product-img2 {
    width: 70%;
}

.product-img3 {
    width: 100%;
}

.product-img4 {
    width: 70%;
}

.product-info {
    padding: 0 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2f4e9f;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

    .product-name i {
        color: #8e44ad;
    }

.product-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}*/





/*.product-features {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
    width: 100%;
    padding: 0 15px;
}

    .product-features li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        font-size: 0.9rem;
        text-align: left;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    }

        .product-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #2ecc71;
            font-weight: bold;
            font-size: 1.2rem;
        }*/

.product-link {
    display: inline-block;
    background: linear-gradient(90deg, #3498db, #8e44ad);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 80%;
    max-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

    .product-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
    }

/*         .footer {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 30px 20px;
            background: rgba(0, 0, 0, 0.5);
            margin-top: 50px;
            font-size: 0.9rem;
            color: #aaa;
            backdrop-filter: blur(5px);
            width: 100%;
        }

            .footer a {
                color: #3498db;
                text-decoration: none;
            } */

.slideshow-indicators {
    position: absolute;
    bottom: 20vh;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .indicator.active {
        background: white;
        transform: scale(1.2);
    }

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
    }

    .product-img-container {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .main-title {
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 50px;
    }

    .product-img1, .product-img2, .product-img3, .product-img4 {
        max-height: 240px;
    }

    .product-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .product-img1, .product-img2, .product-img3, .product-img4 {
        max-height: 200px;
    }

    .product-info {
        padding: 0 5px;
    }

    .product-features {
        padding: 0 10px;
    }
}




/* 自定义主题颜色 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #ecf0f1;
}


/* 自定义卡片1样式 */
.index-firstbar {
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    gap: 20vw;
}

    .index-firstbar h6 {
        color: #999;
        font-size: 15px;
    }

/* 自定义图片白色边框和圆角 */
.img-border-home {
    border: 6px solid #fff; /* 白色边框 */
    border-radius: 18px; /* 圆角 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: cover;
}

.img-circle-border-home {
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: cover;
    background: #fff;
}

.section-title-home {
    font-size: 2rem;
    color: #666;
    text-align: center;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin-bottom: 20px;
    position: relative;
}

    .section-title-home::after {
        content: '';
        display: block;
        width: 90%;
        height: 1px;
        background: lightgray;
        /*background: linear-gradient(to right, #3498db, #2ecc71);*/ /*文字下方的横线颜色*/
        margin: 16px auto 0 auto;
    }


.index-firstbar .d-flex {
    margin-top: 20px;
}


.news-title-home, .about-text {
    font-size: 1.3rem;
    color: #1976d2;
    font-weight: bold;
    text-decoration: none;
}

    .news-title-home:hover, .about-text:hover {
        text-decoration: underline;
        color: #0d6efd;
    }

.news-date-home {
    font-size: 0.8rem;
    color: #888;
}

.news-desc-home {
    font-size: 1rem;
    color: #666;
}



.card-news-container .row {
    margin-bottom: 2vh;
}


.custom-card1 {
    border: none;
    border-radius: 30px;
    transition: transform 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    display: flex;
    width: 12vw;
    height: 15vh;
    margin: 0 auto;
    overflow: hidden;
}

    .custom-card1:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.index-firstbar img {
    cursor: pointer;
    transition: all 0.6s;
    /*filter: contrast(200%);*/
}

    .index-firstbar img:hover {
        transform: scale(1.3);
    }

.custom-text {
    margin-left: 10vw;
}

    .custom-text a {
        text-decoration: none;
    }


.text-indent {
    text-indent: 2em; /* 首行缩进2个字符 */
}
/* 响应式调整 */
@media (max-width: 768px) {
    .custom-card {
        margin-bottom: 1.5rem;
    }
}

/*侧边栏图标样式*/
/*.custom-icon-beside {
    color:#0056bf;*/ /* 改变整体颜色 */
    /*font-size: 48px;*/ /* 调整大小 */
/*}
    .custom-icon-beside::before {*/
        /* 通过伪元素调整描边 */
        /*font-weight:1000;*/ /* 可能无效，改用 transform */
        /*filter: drop-shadow(0 0 0.5px currentColor);*/ /* 模拟加粗 */
    /*}*/


@media (max-width: 1366px) {
    .slideshow-container .slide img, .slideshow-container-Index .slide img {
        object-position: center -22%; /*默认显示图片的上半部分 */
    }
}




