﻿
/*body {
    margin-bottom: 300px;*/
    /* background-color: #f3f0e4;*/
/*}*/

/*企业简介*/
/* 右侧内容区样式 */
/*.right-content {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: -15px 2px 10px rgba(0,0,0,0.2);
    padding: 20px;
    position: relative;
    margin-top: 10vh;
    margin-left:3vw;
}

#img-qyjj {
    width: 30vw;
    height: auto;
    display: block;*/ /* 确保图片是块级元素 */
    /*overflow: hidden;
    position: relative;
}*/
/*#img-qyjj-dhfh {
    width: 700px;
    height: 450px;
    overflow: hidden;
    position: relative;
    margin: 20px;
    margin-bottom: 50px;
    margin-left:100px;
}*/

/*.img-item-qyjj {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;*/ /* 图片不重复 */
    /*background-position: center;*/ /* 图片居中（可选） */
    /*background-size: cover;*/ /* 图片缩放填充（可选） */
    /*background-size: contain;*/ /* 图片完整显示（可选） */
    /*flex-shrink是Flexbox布局中的一个属性，用于控制Flex项（子元素）在空间不足时是否允许缩小。flex-shrink: 0;禁止缩小；flex-shrink: 1;允许缩小*/
    /*flex-shrink: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: absolute;

   
}*/

/* 文字内容样式 */
/*.text-content-qyjj {
    padding: 20px;
}

    .text-content-qyjj h2 {
        font-size: 24px;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

.company-intro p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-indent: 2em;
}*/

/* 响应式设计 */
/*@media (max-width: 768px) {
    .img-item {
        width: 300px;
    }
}*/


/*企业文化*/
/* 文字内容样式 */

/*#img-qywh {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    text-align: center;
    margin-bottom:50px;
}

.img-item-qywh {
    width: 800px;
    height: 400px;*/
/*    border-radius: 10px;*/
    /*flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: inline-block;*/ /* 保持行内特性 */

/*}

.text-content-qywh {
    padding: 20px;
}

.culture-section {
    margin-bottom: 20px;
    text-align: left;
    padding: 20px;
}

    .culture-section h2 {
        font-size: 18px;
        color: #666;
        margin-bottom: 20px;
        font-weight:bold;
    }

.culture-content {
    max-width: 800px;
    margin: 0 auto;
}

    .culture-content p {
        font-size: 14px;
        color: #666;
        line-height: 2;
        margin-bottom: 10px;
    }*/

/* 响应式设计 */
/*@media (max-width: 768px) { 
    .img-item {
        width: 300px;
    }

    .culture-section {
        padding: 15px;
    }

    .culture-content p {
        font-size: 16px;
    }
}*/

/* 页面标题样式 */
/*.page-title {
    text-align: center;
    padding: 40px 0;
    background: #f5f5f5;*/
    /*margin-bottom: 50px;*/
    /*margin: 30px 50px;
}

.page-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    color: #666;
}*/

/* 时间线容器 */
/*.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}*/

/* 时间线列表 */
/*.timeline-list {
    position: relative;
    padding: 20px 0;
}

    .timeline-list::before {
        content: '';
        position: absolute;
        left: 160px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #e0e0e0;
    }*/

/* 时间线项目 */
/*.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    margin-left:15px;
}

.timeline-date {
    width: 140px;
    padding-right: 20px;
    text-align: right;
    font-weight: bold;
    color: #333;
    flex-shrink: 0; 
    position: relative;
    margin-top: 3px;
}

.timeline-content {
    position: relative;
    background: #fff;
    padding: 12px 20px;
    margin-left: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-grow: 1;
    margin-right:40px;
}

    .timeline-content::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 10px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #1a5f7a;
        border: 2px solid #fff;
        box-shadow: 0 0 0 4px rgba(26,95,122,0.2);
    }

    .timeline-content p {
        margin: 0;
        color: #333;
        line-height: 1.5;
    }*/

/* 动画效果 */
/*@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* 响应式设计 */
/*@media (max-width: 768px) {
    .timeline-list::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: auto;
        text-align: left;
        padding-left: 50px;
        margin-bottom: 10px;
    }

    .timeline-content {
        margin-left: 50px;
    }

        .timeline-content::before {
            left: -40px;
        }
}

@media (max-width: 480px) {
    .page-title h2 {
        font-size: 28px;
    }

    .page-title p {
        font-size: 16px;
    }

    .timeline-content {
        margin-left: 40px;
    }
}*/


/*荣誉资质*/
/*.page-title {
    text-align: center;
    padding: 40px 0;
    background: #f5f5f5;
    margin: 30px 50px;
}

    .page-title h2 {
        font-size: 32px;
        color: #333;
        margin-bottom: 10px;
    }*/


/* 时间线容器 */
/*.Honors-container {
    max-width: 1200px;
    margin: 0 20px;
    padding: 20px;
}*/

/* 时间线项目 */
/*.Honors-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;

}
    .Honors-item li {
        list-style: none;
        padding-left: 2em;
        position: relative;
    }
        .Honors-item li::before {
            content: "•";*/
            /*color: #1a237e;*/ /* 深蓝色 */
            /*color:darkblue;
            font-size: 1.4em;*/ /* 比正常稍大 */
            /*position: absolute;
            left: 0;
            top: -0.25em;*/ /* 微调垂直位置 */
        /*}

.Honors-date {
    width: 100px;
    padding-right: 20px;
    text-align: right;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
    position: relative;
    margin-top: 3px;
}*/


/* 证书展示部分 */
/*.Honorscertificates-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;   
}

.Honorssection-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}
.Honorscertificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(147px, 1fr));
    gap: 60px;
    padding: 20px;
    margin: 0 10px;
}

.Honorscertificate-item {
    background: #fff;
    border-radius: 8px;*/
    /*overflow: hidden;*/
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color:#e5a736;
}

    .Honorscertificate-item:hover {
        transform: translateY(-5px);
    }

    .Honorscertificate-item img {*/
        /* width: 100%;
        height: auto;*/
        /*width: 9vw;
        height: 20vh;
        display: block;
        padding: 7px;*/
       /* border: 5px solid #e5a736;*/
        /*   padding-left:25px;*/
    /*}*/


/*.certificate-item img {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 20px 20px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 30vw;
    height: auto;
    display: block;*/ /* 确保图片是块级元素 */
    /*margin: 10vh auto;*/
    /*border:10px solid lightgray;*/
/*}*/

/* 动画效果 */
/*@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* 响应式设计 */
/*@media (max-width: 768px) {
    .Honors-item {
        flex-direction: column;
    }

    .Honors-date {
        width: auto;
        text-align: left;
        padding-left: 50px;
        margin-bottom: 10px;
    }

    .Honorse-content {
        margin-left: 50px;
    }

    .Honors-content::before {
        left: -40px;
    }

    .Honorscertificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-title h2 {
        font-size: 28px;
    }

    .page-title p {
        font-size: 16px;
    }

    .timeline-content {
        margin-left: 40px;
    }

    .section-title {
        font-size: 24px;
    }
}*/



/* 主幻灯片样式 */
/*.slideshow-container {
    position: relative;
    width: 100%;
    height: 67vh;
    overflow: hidden;*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
/*}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.6s ease;
    opacity: 0;
}

    .slide.active {
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;*/
        /*filter: brightness(0.7);*/
    /*}

.slide-text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 1200px;
}

.text-line1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

.text-line2 {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    animation: fadeInUps 1s ease;*/
    /*    color: #aefc5f;*/
    /*color: #D4AF37;
}*/



/* 动画效果 */
/*@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUps {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1366px) {
    #img-qyjj {
      margin-left:-100px;
    }
}*/

    /* 响应式设计 */
    /*@media (max-width: 768px) {
        .slideshow-container {
            height: 400px;
        }

        .text-line1 {
            font-size: 2.5rem;
        }

        .text-line2 {
            font-size: 1.3rem;
        }

        #yearContent {
            padding: 25px;
            margin: 20px 15px;
        }

        #selectedYear {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .slideshow-container {
            height: 300px;
        }

        .text-line1 {
            font-size: 2rem;
        }

        .text-line2 {
            font-size: 1rem;
        }

        .year-selector {
            width: 90%;
        }
    }*/


body {
    margin-bottom: 240px;
}

/* 二级标签导航样式 */
.nav-tabs-custom {
    border-bottom: 1px solid lightgray;
    margin: -20px 0;
    margin-top: -30px;
    white-space: nowrap;
    overflow-x: auto; /*水平滚动*/
    overflow-y: hidden; /*禁用垂直导航*/
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 0;
    position: relative;
}

    .nav-tabs-custom .nav-item {
        flex-shrink: 0;
        margin: 0 -15px; /* 建议改为正值更安全 */
    }

    .nav-tabs-custom .nav-link {
        position: relative;
        padding: 0 0 3px;
        border: none;
        color: #666;
        font-size: 16px;
        font-weight: 500;
        background: transparent;
        transition: all 0.3s;
    }

        .nav-tabs-custom .nav-link::before {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: #007bff;
            transition: width 0.3s;
        }

        .nav-tabs-custom .nav-link.active {
            color: #000;
            font-weight: 600;
        }

            .nav-tabs-custom .nav-link.active::before,
            .nav-tabs-custom .nav-link:hover::before {
                width: 50px;
                left: 50%;
                transform: translateX(-50%);
            }

/* 标签内容样式-企业简介 */
.tab-content {
    padding: 30px;
    transition: all 1s ease;
    margin-top: -120px;
}

.tab-pane {
    display: none;
    margin-left: 20px;
}

    .tab-pane.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    .tab-pane.show {
        display: block;
    }

    .tab-pane h3 {
        font-size: 22px;
        font-weight: 600;
        color: #333;
        position: relative;
        margin-top: 80px;
        padding-left: 12px;
    }

        .tab-pane h3::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 20px;
            background: #007bff;
        }

    .tab-pane img {
        position: relative;
        width: 5%;
        height: auto;
    }

    .tab-pane h6 {
        display: flex;
        align-items: center;
        justify-content:center;
        margin: 20px 0;
        color: #007bff;
        font-size: 24px;
        font-weight: 600;
    }

        .tab-pane h6:hover {
            transform: translateX(5px);
        }

        .tab-pane h6 .logo {
            display: inline-block;
            width: 100px;
            height: 70px;
            margin-right: 12px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            flex-shrink: 0;
        }



.subsidiary1 .logo, .subsidiary2 .logo {
    background-image: url('/images/logo_dh.png');
}

.subsidiary3 .logo {
    background-image: url('/images/logo_dy.png');
}

    .tab-pane p {
        font-size: 14px;
        color: #666;
        line-height: 2.5;
        text-indent: 2em; /* 新增：段落首行缩进2字符 */
        margin: 5px auto; /* 可选：增加段落间距 */
    }

#img-qyjj {
    display:flex;
    align-items:center;
    justify-content:center;
    width: 800px;
    height: 500px;
    overflow: hidden;
    position: relative;
    margin: 50px auto;
}

.img-item-qyjj {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat; /* 图片不重复 */
    background-position: center; /* 图片居中（可选） */
    background-size: contain; /* 图片完整显示（可选） */
    /*flex-shrink是Flexbox布局中的一个属性，用于控制Flex项（子元素）在空间不足时是否允许缩小。flex-shrink: 0;禁止缩小；flex-shrink: 1;允许缩小*/
    flex-shrink: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: absolute;
}


/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-tabs-custom .nav-link {
        padding: 10px 15px;
        margin-bottom: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .tab-content {
        padding: 20px;
    }

    .img-item-qyjj {
        width: 100%; /* 在小屏幕上占满宽度 */
        height: 200px; /* 减小高度 */
    }
}


/*德宏文化*/
#img-qywh {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.img-item-qywh {
    width: 800px;
    height: 400px;
    /*    border-radius: 10px;*/
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: inline-block; /* 保持行内特性 */
}

.culture-section {
    margin-bottom: 20px;
    text-align: left;
    padding: 20px;
}

    .culture-section h2 {
        font-size: 18px;
        color: #666;
        margin-bottom: 20px;
        font-weight: bold;
        text-align: left;
        margin-left: 100px;
    }

.culture-content {
    max-width: 800px;
    margin: 0 auto;
}

    .culture-content p {
        font-size: 14px;
        color: #666;
        line-height: 2;
        margin-bottom: 10px;
    }

/* 响应式设计 */
@media (max-width: 768px) {
    .img-item {
        width: 300px;
    }

    .culture-section {
        padding: 15px;
    }

    .culture-content p {
        font-size: 16px;
    }
}

/*荣誉资质*/
.page-title {
    text-align: center;
    padding: 40px 0;
    background: #f5f5f5;
    margin: 30px 50px;
}

    .page-title h2 {
        font-size: 32px;
        color: #333;
        margin-bottom: 10px;
    }

/* 时间线容器 */
.Honors-container {
    max-width: 1200px;
    margin: 0 20px;
    padding: 20px;
}

/* 时间线项目 */
.Honors-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

    .Honors-item li {
        list-style: none;
        padding-left: 2em;
        position: relative;
    }

        .Honors-item li::before {
            content: "•";
            /*color: #1a237e;*/ /* 深蓝色 */
            color: darkblue;
            font-size: 1.4em; /* 比正常稍大 */
            position: absolute;
            left: 0;
            top: -0.25em; /* 微调垂直位置 */
        }

.Honors-date {
    width: 100px;
    padding-right: 20px;
    text-align: right;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
    position: relative;
    margin-top: 3px;
    font-size: 14px;
}

.Honors-content {
    font-size: 14px;
    color: #666;
}


/* 证书展示部分 */
.Honorscertificates-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.Honorssection-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.Honorscertificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(147px, 1fr));
    gap: 60px;
    padding: 20px;
    margin: 0 10px;
}

.Honorscertificate-item {
    background: #fff;
    border-radius: 8px;
    /*overflow: hidden;*/
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: #e5a736;
}

    .Honorscertificate-item:hover {
        transform: translateY(-5px);
    }

    .Honorscertificate-item img {
        width: 9vw;
        height: 20vh;
        display: block;
        padding: 7px;
    }


/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .Honors-item {
        flex-direction: column;
    }

    .Honors-date {
        width: auto;
        text-align: left;
        padding-left: 50px;
        margin-bottom: 10px;
    }

    .Honorse-content {
        margin-left: 50px;
    }

    .Honors-content::before {
        left: -40px;
    }

    .Honorscertificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-title h2 {
        font-size: 28px;
    }

    .page-title p {
        font-size: 16px;
    }

    .timeline-content {
        margin-left: 40px;
    }

    .section-title {
        font-size: 24px;
    }
}


/*发展历程*/
/* 时间线容器 */
.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* 时间线列表 */
.timeline-list {
    position: relative;
    padding: 20px 0;
}

    .timeline-list::before {
        content: '';
        position: absolute;
        left: 160px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #e0e0e0;
    }

/* 时间线项目 */
.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    margin-left: 15px;
}

.timeline-date {
    width: 140px;
    padding-right: 20px;
    text-align: right;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
    position: relative;
    margin-top: 3px;
    font-size: 14px;
}

.timeline-content {
    position: relative;
    background: #fff;
    padding: 12px 20px;
    margin-left: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-grow: 1;
    margin-right: 40px;
    font-size: 14px;
}

    .timeline-content::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 10px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #1a5f7a;
        border: 2px solid #fff;
        box-shadow: 0 0 0 4px rgba(26,95,122,0.2);
    }

    .timeline-content p {
        margin: 0;
        color: #333;
        line-height: 1.5;
    }

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-list::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: auto;
        text-align: left;
        padding-left: 50px;
        margin-bottom: 10px;
    }

    .timeline-content {
        margin-left: 50px;
    }

        .timeline-content::before {
            left: -40px;
        }
}

@media (max-width: 480px) {
    .page-title h2 {
        font-size: 28px;
    }

    .page-title p {
        font-size: 16px;
    }

    .timeline-content {
        margin-left: 40px;
    }
}

/* 动画效果 */
@keyframes slideDown {
    0% {
        transform: translateY(-10px);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*二级导航栏冻结样式*/
.secondary-nav-container {
    position: sticky;
    padding-top: 20px; /* 根据你的主导航高度调整 */
    z-index: 990;
    background: white;
    width: 100%;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 可选：添加轻微阴影*/
}

/* 调整内容区域上边距，防止内容被固定导航遮挡 */
section.container.py-5 {
    padding-top: 200px; /* 根据二级导航高度调整 */
    transition: none;
}