﻿/*搜索框*/
.search {
    margin: 100px 80px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    margin: 160px 20px;
}

    .search-container > .ipt {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px 0 0 4px;
        background-color: #F5F5F5;
        outline: none;
        width: 50%;
    }

    .search-container > .btn {
        padding: 10px 15px;
        border: 1px solid #ccc;
        border-radius: 0 4px 4px 0;
        background-color: #0F358E;
        color: white;
        cursor: pointer;
        outline: none;
    }

    .search-container > .Msg {
        position: absolute; /* 绝对定位脱离文档流 */
        top: 100%; /* 紧贴输入框底部 */
        left: 25%; /* 左对齐输入框 */
        width: 100%; /* 宽度与输入框一致 */
        margin-top: 4px; /* 微调间距 */
        font-size: 20px; /* 小字号提示 */
    }

@media (max-width: 768px) {
    .search {
        margin:100px 5px;
    }
    .search-container {
        margin: 50px 5px;
    }

        .search-container > .ipt {
            width: 90%;
        }

        .search-container > .Msg {
            left: 14%; /* 左对齐输入框 */
            font-size: 15px;
        }
}
/*搜索框结束*/

/*彩色宝石证书图片*/
.certificate-image-temp {
    max-width: 1000px; /* 可以根据需要调整 */
    margin: 0 auto 80px;
}

    .certificate-image-temp > p {
        color: red;
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center
    }

    .certificate-image-temp > img {
        width: 100%;
        height: auto;
        display: block;
    }

.image-container-caise {
    position: relative;
    max-width: 1000px; /* 可以根据需要调整 */
    margin: 0 auto 80px;
}

    .image-container-caise > img {
        width: 100%;
        height: auto;
        display: block;
    }

    .image-container-caise > .overlay-text {
        position: absolute;
        top: 32%;
        left: 25%;
        transform: translate(-50%, -50%);
        color: black;
        padding: 0px;
        max-width: 300px;
        display: flex;
        flex-wrap: wrap;
        font-size: 0.8em;
    }

        .image-container-caise > .overlay-text > .certificate-field-item {
            flex: 1;
            min-width: 200px;
            /*max-width: 100px;*/
        }

        .image-container-caise > .overlay-text > .certificate-value-item {
            text-align: right;
            flex: 1;
            min-width: 100px;
            /*max-width: 100px;*/
        }

        .image-container-caise > .overlay-text > .certificate-foot-item {
            flex: 100%;
            margin-top: 20px;
        }

    .image-container-caise .certificate-field-item p {
        font-weight: bold;
        margin-bottom: 0.3em;
    }

    .image-container-caise .certificate-value-item p {
        margin-bottom: 0.3em;
    }


.image-container-zuanshi {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    font-weight: bold;
}

    .image-container-zuanshi img {
        display: block;
        width: 100%;
        height: auto;
    }

.zuanshi-part1 {
    position: absolute;
    top: 17%; /* 可调位置 */
    left: 3%;
    right: 20px;
    font-size: 0.6em;
    max-width: 260px;
}

    .zuanshi-part1 > .zuanshi-part1-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part1 .label {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part1 .value {
        flex: 0 0 auto;
        text-align: right;
        z-index: 1;
    }

    .zuanshi-part1 .dots {
        flex: 1;
        position: relative;
        overflow: hidden;
        height: 1em;
    }

        .zuanshi-part1 .dots::before {
            content: "..........................................................................................";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            letter-spacing: 1px;
        }

.zuanshi-part2 {
    position: absolute;
    top: 32%; /* 可调位置 */
    left: 3%;
    right: 20px;
    font-size: 0.6em;
    max-width: 260px;
}

    .zuanshi-part2 > .zuanshi-part2-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part2 .label {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part2 .value {
        flex: 0 0 auto;
        text-align: right;
        z-index: 1;
    }

    .zuanshi-part2 .dots {
        flex: 1;
        position: relative;
        overflow: hidden;
        height: 1em;
    }

        .zuanshi-part2 .dots::before {
            content: "..........................................................................................";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            letter-spacing: 1px;
        }

.zuanshi-part3 {
    position: absolute;
    top: 45%; /* 可调位置 */
    left: 3%;
    right: 20px;
    font-size: 0.6em;
    max-width: 260px;
}

    .zuanshi-part3 > .zuanshi-part3-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part3 > .zuanshi-part3-2 {
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part3 .label {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part3 .value {
        flex: 0 0 auto;
        text-align: right;
        z-index: 1;
    }

    .zuanshi-part3 .value1 {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part3 .dots {
        flex: 1;
        position: relative;
        overflow: hidden;
        height: 1em;
    }

        .zuanshi-part3 .dots::before {
            content: "..........................................................................................";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            letter-spacing: 1px;
        }

.zuanshi-part4 {
    position: absolute;
    top: 20%; /* 可调位置 */
    left: 32%;
    right: 20px;
    font-size: 0.6em;
    max-width: 210px;
    padding: 0;
}

.zuanshi-part4-1 {
    max-width: 100%;
    height: auto;
}

.zuanshi-part5 {
    position: absolute;
    top: 49%; /* 可调位置 */
    left: 30%;
    right: 20px;
    font-size: 0.6em;
    max-width: 230px;
    padding: 0;
}

.zuanshi-part5-1 {
    max-width: 100%;
    height: auto;
}

.zuanshi-part5-2 {
    margin-top: 10px;
}

.zuanshi-part6-1 {
    position: absolute;
    top: 49%; /* 可调位置 */
    left: 55%;
    right: 20px;
    font-size: 0.6em;
    max-width: 210px;
    padding: 0;
}

.zuanshi-part6-2 {
    position: absolute;
    top: 55%; /* 可调位置 */
    left: 61.5%;
    right: 20px;
    font-size: 1.25em;
    max-width: 210px;
    padding: 0;
}

.zuanshi-part9 {
    position: absolute;
    top: 8%; /* 可调位置 */
    left: 80%;
    right: 20px;
    font-size: 0.6em;
    max-width: 260px;
}

    .zuanshi-part9 > .zuanshi-part9-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part9 .label {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part9 .value {
        flex: 0 0 auto;
        text-align: right;
        z-index: 1;
    }

    .zuanshi-part9 .dots {
        flex: 1;
        position: relative;
        overflow: hidden;
        height: 1em;
    }

        .zuanshi-part9 .dots::before {
            content: "..........................................................................................";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            letter-spacing: 1px;
        }

.zuanshi-part9-2 {
    margin-left: 30px;
    max-width: 120px;
}

.zuanshi-part10 {
    position: absolute;
    top: 37%; /* 可调位置 */
    left: 80%;
    right: 20px;
    font-size: 0.6em;
    max-width: 260px;
}

    .zuanshi-part10 > .zuanshi-part10-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part10 > .zuanshi-part10-2 {
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part10 .label {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part10 .value {
        flex: 0 0 auto;
        text-align: right;
        z-index: 1;
    }

    .zuanshi-part10 .value1 {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part10 .dots {
        flex: 1;
        position: relative;
        overflow: hidden;
        height: 1em;
    }

        .zuanshi-part10 .dots::before {
            content: "..........................................................................................";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            letter-spacing: 1px;
        }

.zuanshi-part11 {
    position: absolute;
    top: 85%; /* 可调位置 */
    left: 81%;
    right: 20px;
    font-size: 0.4em;
    max-width: 140px;
    transform: rotate(-90deg);
    transform-origin: left top;
    line-height: 1.1;
}

    .zuanshi-part11 > .zuanshi-part11-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part11 > .zuanshi-part11-2 {
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 0;
    }

    .zuanshi-part11 .label {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part11 .value {
        flex: 0 0 auto;
        text-align: right;
        z-index: 1;
    }

    .zuanshi-part11 .value1 {
        flex: 0 0 auto;
        text-align: left;
        z-index: 1;
    }

    .zuanshi-part11 .dots {
        flex: 1;
        position: relative;
        overflow: hidden;
        height: 1em;
    }

        .zuanshi-part11 .dots::before {
            content: "..........................................................................................";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            white-space: nowrap;
            letter-spacing: 1px;
        }

.download-btn {
    padding: 8px 20px;
    font-size: 1em;
    background-color: #0073b1;
    color: #fff;
    border-radius: 6px;
}
/*证书图片结束*/

/* 推荐产品 Section */
.show-product {
    /*background: url('/img/timelineback.jpg') no-repeat center center;
    background-size: cover;*/ /* 图片自适应容器大小 */
    /*background-position: center;*/ /* 图片居中显示 */
    /*background-repeat: no-repeat;*/ /* 防止图片重复 */
    width: 100%;
    padding: 40px;
}

/* 产品列表 */
.product-list {
    margin-top: 50px;
    box-sizing: border-box;
    background-color: #fff; /*白色背景*/
}

    .product-list .ul { /*确保样式只应用于这个product-list*/
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /*均分空间*/
    }

    .product-list .product-card { /*使用.product-list确保样式只应用于这个product-list*/
        width: calc(20% - 10px); /*均分宽度，减去边距*/
        box-sizing: border-box;
        margin-right: 15px;
        background-color: #F7F8F9;
    }

        .product-list .product-card a {
            display: block;
            text-decoration: none;
            color: inherit;
        }

    .product-list .product-image {
        width: 100%;
        text-align: center;
        margin-bottom: 10px; /*间距*/
        overflow: hidden; /* 关键: 防止放大的图片超出容器 */
        transition: transform 0.3s ease; /* 增加过渡效果 */
    }

        .product-list .product-image img {
            width: 100%;
            height: 300px;
            display: block;
            transition: transform 0.3s ease; /* 增加过渡效果 */
        }

    .product-list .product-card:hover .product-image img {
        transform: scale(1.2); /* 鼠标悬停时放大 1.1 倍 */
    }

    .product-list .product-title {
        text-align: center;
        font-size: 20px;
        padding-top: 20px;
    }

/* 响应式设计 */
@media (max-width: 768px) {
    .product-list .ul {
        justify-content: flex-start; /*左对齐*/
    }

    .product-list .product-card {
        margin-top: 15px;
        width: calc(50% - 10px); /*小屏幕两列*/
    }

    .product-list .product-title {
        text-align: center;
        font-size: 15px;
        padding-top: 20px;
    }

    .product-list .product-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .product-list .product-card {
        margin-top: 15px;
        width: 100%; /*极小屏幕一列*/
    }

    .product-list .product-title {
        text-align: center;
        font-size: 15px;
        padding-top: 20px;
    }

    .product-list .product-image img {
        height: 200px;
    }
}

/*底页*/
.footer {
    display: flex;
    padding: 40px 100px;
    background-color: #030303;
    color: white;
    text-align: center;
    justify-content: center;
    flex-direction: column; /* 关键：垂直布局 */
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-column {
    margin: 0 20px;
    padding: 0 0;
    text-align: left;
}

.footer-logo {
    padding: 0 50px;
    text-align: center;
}

.footer-contact {
    padding: 0 50px;
    text-align: left;
}

    .footer-contact h3 {
        text-align: left;
        font-size: 1em;
        margin-bottom: 10px;
        color: white;
    }

.footer-logo > img {
    margin-top: 20px;
    width: auto;
    height: 40px;
}

.footer-column h3 {
    text-align: left;
    font-size: 1em;
    margin-bottom: 10px;
    color: white;
}

.footer-column p {
    text-align: left;
}

.footer-column p,
.footer-column a {
    font-size: 0.9em;
    margin: 6px 0;
    color: white;
    text-decoration: none;
}

    .footer-column a:hover {
        color: #fff;
    }

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

    .footer-bottom a {
        color: white;
    }

.social-icons {
    margin-top: 10px;
}

    .social-icons img {
        width: 24px;
        margin-right: 10px;
        vertical-align: middle;
    }

.icon-line {
    display: flex;
    align-items: flex-start; /* 垂直方向顶部对齐 */
    justify-content: flex-start; /* 水平方向左对齐 */
    font-size: 14px;
    margin: 6px 0;
}

    .icon-line span {
        margin-left: 6px;
    }
/* 响应式设计 */
@media (max-width: 768px) {
    .footer {
        flex-wrap: wrap;
        padding: 20px 10px;
    }

    .footer-logo {
        max-width: 100%;
        flex: 0 0 100%; /* 占 50% 宽度 */
        padding: 0 20px;
    }

        .footer-logo > img {
            margin-top: 10px;
            margin-bottom: 20px;
            max-width: 90%;
            max-height: 30px;
        }

    .footer-column {
        margin: 0 0px;
        max-width: 33.3%;
        flex: 0 0 33.3%; /* 占 50% 宽度 */
        padding: 0 0;
    }

    .footer-contact {
        margin-top: 10px;
        max-width: 100%;
        flex: 0 0 100%; /* 占 50% 宽度 */
        padding: 0 10px;
    }

        .footer-contact .icon-line {
            font-size: 0.7em;
        }
}
/*底页结束*/

/*企业简介*/
.about-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

    .about-container .introduce-text {
        text-indent: 2em;
    }

    .about-container .address {
        font-weight: bold;
    }

.about-image {
    flex: 1;
}

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.about-text {
    flex: 1;
    padding: 0 40px;
}

    .about-text h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

        .about-text h1 span {
            color: #0073b1; /* 蓝色高亮 */
        }

.line {
    width: 40px;
    height: 3px;
    background-color: #000;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-image img {
        height: 200px;
        display: block;
    }

    .about-text {
        margin-top: 20px;
        padding: 0 10px;
    }
}

/*仪器介绍*/
.instrument-introduction {
    margin-top: 100px;
}

/*企业发展时间线*/
.timeline-section {
    padding: 40px 20px;
    background: url('/img/timelineback.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 100px;
}

.timeline-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 30px;
}

.timeline-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
}

.timeline-text {
    flex: 1 1 55%;
    padding: 10px;
}

    .timeline-text h2 {
        font-size: 30px;
        color: #002b8c;
        margin-bottom: 10px;
    }

    .timeline-text p {
        font-size: 16px;
        color: #333;
        font-weight: bold;
    }

.timeline-image {
    flex: 1 1 40%;
    text-align: center;
}

    .timeline-image img {
        max-width: 100%;
        border-radius: 8px;
    }

.timeline-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

    .timeline-nav button {
        padding: 8px 14px;
        background-color: transparent;
        border: 2px solid #002b8c;
        border-radius: 20px;
        color: #002b8c;
        cursor: pointer;
        transition: 0.3s;
    }

        .timeline-nav button.active,
        .timeline-nav button:hover {
            background-color: #002b8c;
            color: white;
        }

@media (max-width: 768px) {
    .timeline-content {
        flex-direction: column;
    }

    .timeline-text, .timeline-image {
        flex: 1 1 100%;
        text-align: center;
    }
}

/*视频播放*/
.rVideoBox {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    margin: 100px 0; /* 去除默认的边距 */
}

.rVideoPlayer {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: white;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    width: 800px; /* 固定宽度 */
    height: auto; /* 固定高度 */
}

video {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .rVideoBox {
        margin: 0 10px;
    }
}

.GuidelinesBox {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    margin: 50px 0; /* 去除默认的边距 */
}

.GuidelinesContainer {
    text-align: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 80%;
    max-width: 800px;
}

    .GuidelinesContainer h1 {
        font-size: 36px;
        color: #4a90e2;
        margin-bottom: 20px;
    }

    .GuidelinesContainer p {
        font-size: 18px;
        color: #666;
        margin-bottom: 40px;
    }

    .GuidelinesContainer .pdf-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .GuidelinesContainer .pdf-link {
        font-size: 18px;
        color: #fff;
        background-color: #4a90e2;
        padding: 12px 20px;
        border-radius: 5px;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

        .GuidelinesContainer.pdf-link:hover {
            background-color: #357ab7;
            transform: translateY(-2px);
        }

        .GuidelinesContainer .pdf-link:active {
            transform: translateY(0);
        }

        .GuidelinesContainer.pdf-link:focus {
            outline: none;
        }

/* 响应式设计 */
@media (max-width: 768px) {
    .GuidelinesContainer {
        padding: 30px;
    }

        .GuidelinesContainer h1 {
            font-size: 28px;
        }

        .GuidelinesContainer p {
            font-size: 16px;
        }

        .GuidelinesContainer .pdf-link {
            font-size: 16px;
            padding: 10px 18px;
        }
}

.Trends{
    max-height:150px;
}

.service-center p {
    font-size: 16px;
    white-space: pre-wrap;
    line-height: 1.5em;
}