/* 全局样式 - 转换自各页面的 <style> 标签 */

/* 基础样式 */
body {
    margin: 0;
}

/* 首页样式 */
.img_back {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../../static/main_text1.png');
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 6;
    background-size: 45% auto;
}
@media (max-width: 900px) {
    .img_back {
        height: 120%;
            position: absolute;
    left: 0;
    top: 10;
        background-size: 100% auto;
    }
}
.aboutus{
    background-image: url('../../static/main_icon5.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-size: cover;
    background-position: center;
}
.zishu{
      display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        overflow: hidden;
}

/* .footer-image {
    background: url('../../static/footer_image1.png') no-repeat;
    background-size: 100% 100%;
} */

@media (max-width: 900px) {
    .img_back {
        height: 120%;
        background-size: 100% auto;
    }
}

.video_overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 104, 183, 0.3);
    background-image: radial-gradient(circle, rgba(153, 153, 153, 0.35) 1px, transparent 1px);
    background-repeat: repeat;
    background-size: 6px 6px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
}

.slideInUp {
    transition: width .5s ease-in-out !important;
    width: 230px;
    height: 555px;
    overflow: hidden;
}

.slideInUpHover {
    width: 460px;
    cursor: pointer;
}

.img-quotation {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-quotation img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-quotation:hover img {
    transform: scale(1.1);
}

/* 快速报价整体同比例缩放与对称上下间距 */
.quotation-section {
    padding-top: clamp(24px, 3vw, 64px);
    padding-bottom: clamp(24px, 3vw, 64px);
}
.quotation-row {
    height: clamp(260px, 26vw, 520px);
}

.get-more-btn:hover {
    background: #454545;
    color: #fff;
}

.get-more-btn {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.get-more-btn:active,
.get-more-btn:focus {
    outline: none;
}

.width-fit-content {
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
}

.no-tap-highlight {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.no-tap-highlight:active,
.no-tap-highlight:focus {
    outline: none;
    background: transparent;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* 关于我们页面样式 */
.year-active {
    color: #ae0a29;
}

.culture-item {
    position: relative;
    overflow: hidden;
}

.culture-item img {
    display: block;
}

.bg-introduce {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: rgba(172, 185, 193, 0.85);
    transition: height 0.4s ease;
    z-index: 10;
    overflow: hidden;
}

.culture-item:hover .bg-introduce {
    height: 270px;
}

@media (max-width: 1200px) {
    .bg-introduce {
        height: auto;
        overflow: visible;
        transition: none;
        padding-bottom: 24px;
    }
    .culture-item:hover .bg-introduce {
        height: 100px;
    }   
}

/* 技术中心/通用页面样式 */
.view-text:hover {
    color: #ae0a29;
}

.view-image {
    transition: transform 0.36s ease;
    overflow: hidden;
    will-change: transform;
    transform-origin: center center;
    display: block;
}

.view-image:hover {
    transform: scale(1.1);
}

.tech-card:hover .view-image {
    transform: scale(1.1);
}

.tech-card {
    position: relative;
    overflow: hidden;
}

/*.tech-overlay {*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: 0;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    background: rgba(172, 185, 193, 0.85);*/
/*    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 0.01px, transparent 0.01px);*/
/*    background-size: 1px 1px;*/
/*    display: none;*/
/*    align-items: flex-start;*/
/*    justify-content: flex-start;*/
/*}*/

.tech-card:hover .tech-overlay {
    display: flex;
}

.tech-overlay .overlay-content {
    display: flex;
    width: auto;
    height: auto;
    padding-left: 52px;
    color: #000000;
}

/* 卡片缩放效果 */
.card-zoom {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    will-change: transform;
}

.card-zoom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
/* 设备详情 */
    .view-text:hover {
        color: #ae0a29;
    }

    .view-image {
        transition: 0.36s ease;
        overflow: hidden;
    }

    .view-image:hover {
        transform: scale(1.1);
    }

    .tech-card:hover .view-image {
        transform: scale(1.1);
    }

    .tech-card {
        position: relative;
        overflow: hidden;
    }

.tech-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(172, 185, 193, 0.85);
    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 4px 4px;
    display: none;
    align-items: center;
    justify-content: flex-start;
}

    .tech-card:hover .tech-overlay {
        display: flex;
    }

    .tech-overlay .overlay-content {
        display: flex;
        width: auto;
        height: auto;
        padding-left: 52px;
    }

    .swiper-wrap {
        position: relative;
        margin-left: 30px;
    }

    .detail-swiper {
        width: 100%;
    }

    .swiper-button-prev,
    .swiper-button-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none !important;
        background-image: none !important;
        box-shadow: none !important;
        color: #333;
        font-size: 42px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        content: none;
    }
    .swiper-button-prev {
        left: -20px;
    }

    .swiper-button-next {
        right: -40px;
    }

    .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
        border-radius: 2px;
        background: #ccc;
        opacity: 1;
        transition: all 0.3s;
    }

    .swiper-pagination-bullet-active {
        background: #AD0024;
        width: 40px;
    }

    .swiper-pagination {
        position: static !important;
        /*margin-top: 15px;*/
        text-align: center;
    }
