.custom-container {
    margin-top: 80px;
    padding-left: 0px;
    padding-right: 0px;
}

/* back to top */
#myBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 50px;
    z-index: 99;
    border: none;
    outline: none;
    color: gray;
    cursor: pointer;
    padding: 15px;
    text-decoration: none;
    opacity: 0.5;
}

#myBtn:hover {
    color: #555;
    opacity: 1;
}

.circle-body {
    width: 150px;
    height: 150px;
    margin: 0 auto 35px auto;

    border-radius: 100%;
    background-color: #0067d0;
    transition: transform 1s ease-in-out;
    color: #ffffff;
}

.circle-process-body {
    width: 220px;
    height: 220px;
    margin: 0 auto 35px auto;

    border-radius: 100%;
    border: 30px solid #EBEBEB;
    background-color: #ffffff;
    transition: all 0.5s;
    color: #0067d0;
}

.circle-process-body:hover {
    border: 1px solid #EBEBEB;
    transform: scale(1.05);
}

.circle-box {
    height: 360px;
    padding: 60px 20px;
    margin: 0 auto 14px auto;
    background-color: #0067d0;
    transition: all 0.5s;
    color: white;

}

.circle-box:hover {
    background-color: #f4f3f3;
    box-shadow: 0 0 20px #aaa;
    color: black;
}

.circle-box i {
    color: inherit;
}

.circle-box:hover i {
    color: #94be3d;
}

.transition_style {
    transition: all 0.5s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.transition_style:hover {
    /*transform: scale(1.02);*/
    transform: translateY(-5px);
    box-shadow: 0 0 5px #aaa;
}

.main-low-margin {

}

.thumbnail-image {
    width: 70px;
    height: 70px;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail-image:hover, .thumbnail-image.active {
    border-color: #0067d0;
}

.breadcrumb-style {
    padding: 5px;
    margin: 5px;
    background-color: #f4f3f3;
}

.facebook-icon {
    color: #8b8b8b;
    transition: color 0.2s ease; /* 添加过渡效果 */
}

.facebook-icon:hover {
    color: #1877F2; /* 鼠标划过时的颜色 */
}

.line-icon {
    color: #8b8b8b;
    transition: color 0.2s ease; /* 添加过渡效果 */
}

.line-icon:hover {
    color: #00C300; /* 鼠标划过时的颜色 */
}

.twitter-icon {
    color: #8b8b8b;
    transition: color 0.2s ease; /* 添加过渡效果 */
}

.twitter-icon:hover {
    color: #1651ce; /* 鼠标划过时的颜色 */
}

.skype-icon {
    color: #8b8b8b;
    transition: color 0.2s ease; /* 添加过渡效果 */
}

.skype-icon:hover {
    color: #00aff0; /* 鼠标划过时的颜色 */
}

.linkedin-icon {
    color: #0077b5;
    transition: color 0.2s ease;
}

.linkedin-icon:hover {
    color: #006498;
}

.instagram-icon {
    color: #5851DB;
    transition: color 0.2s ease;
}

.instagram-icon:hover {
    color: #C13584;
}

.light-move {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.light-move:after {
    position: absolute;
    left: -100%;
    top: 0;
    width: 50%;
    height: 100%;
    content: "";
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-45deg);
    pointer-events: none;
}

.light-move:hover:after {
    left: 150%;
    transition: 1s ease;
}

.alert-floating {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050; /* 确保它在其他内容之上 */
    text-align: center; /* 确保文本居中 */
}

.hr-style {
    border-bottom: 1px dashed #c2aeae; /* 使用 dashed 实现虚线 */
    width: 80%;
    margin: 20px auto;
    text-align: center;

}

.advantage-style {
    width: 100%;
    height: 325px;
    background-color: #f4f3f3;
    padding: 50px 20px 6px;
    box-sizing: border-box;
    overflow: hidden;

}

.advantage-image-hover {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.advantage-image-hover:after {
    position: absolute;
    left: -100%;
    top: 0;
    width: 50%;
    height: 100%;
    content: "";
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-45deg);
    pointer-events: none;
}

.advantage-image-hover:hover:after {
    left: 150%;
    transition: 1s ease;
}

.advantage-image-hover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 使 img 宽度占满 div */
    height: 100%; /* 使 img 高度占满 div */
    object-fit: cover; /* 确保图片覆盖整个 div */
    transition: transform 0.5s;
}

.advantage-image-hover img:hover {
    transform: scale(1.02);
    transform-origin: center center;
}

.about-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 2;
    max-width: 100%;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.about-us-style {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    box-shadow: 0 0 15px #aaa;
}

.index-container-style {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    box-shadow: 0 0 15px #e7e7e7;
}

.company-style {
    box-shadow: 0 0 10px #e6e6e6;
    background-color: #f8fafc; /* 柔和背景，与圆形成对比 */
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.company-image-style {
    transition: all 1s;
    border: 1px solid white;
}


.company-image-style:hover {
    transform: scale(1.02);
    box-shadow: 0 0 5px #0cbeff;
    border: 1px solid #0cbeff;
}

.hovered {
    transform: scale(1.02);
    box-shadow: 0 0 5px #0cbeff;
    border: 1px solid #0cbeff;
}

.process-image {
    background-image: url("/static/img/custom process.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    min-height: 600px;
    width: 100%;
}

.photo-container {
    position: relative;
    display: inline-block;
    margin: 10px;
    border: 1px solid grey;
}

.photo-container img {
    width: 100px;
    height: auto;
}

.photo-container .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.products-background {
    background-image: url("/static/img/products-image.jpg");
    min-height: 450px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.no-style {
    text-decoration: none;
}

.slick-item .slick-slide {
    margin: 0 15px;
}


/* 自定义样式 - 图片卡片从上往下弹出遮罩，并且整张卡片可点击 */
.image-card {
    position: relative;
    overflow: hidden; /* 保证遮罩动画不溢出边界 */
    /*border-radius: 0.5rem; !* 轻微圆角，更美观 *!*/
    cursor: pointer;
    display: block; /* 使 <a> 标签作为块级元素，撑满父容器 */
    text-decoration: none; /* 去掉 <a> 标签的下划线 */
    color: inherit; /* 继承颜色，避免蓝色链接 */
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease; /* 图片轻微放大效果 */
}

/* 黑色半透明遮罩 - 默认位于顶部外 (translateY(-100%)) 且完全透明 (opacity:0) */
.image-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    pointer-events: none; /* 让文字不干扰鼠标事件，确保悬停触发在图片上 */

    /* 从上往下弹出动画核心 */
    transform: translateY(-100%); /* 初始位置在顶部之外 */
    opacity: 0; /* 完全透明 */
    transition: transform 0.4s ease, opacity 0.4s ease; /* 平滑过渡 */
}

/* 鼠标悬停时，遮罩滑入 (translateY(0)) 且完全不透明 */
.image-card:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

/* 可选：图片轻微放大效果，增加交互感 */
.image-card:hover img {
    transform: scale(1.03);
}

/* 遮罩文字样式 */
.image-card .overlay p {
    margin: 0;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 移动端小屏适配 */
@media (max-width: 576px) {
    .image-card .overlay p {
        font-size: 1rem;
    }
}

/* 给section增加上下内边距，布局更舒适 */
section {
    padding: 2rem 0;
}

/* 产品自定义样式，覆盖或补充 Bootstrap */
.product-card {
    display: block; /* 让 a 标签表现为块级元素 */
    text-decoration: none; /* 去掉下划线 */
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem 1.5rem;
    background-color: #fff;
    height: 100%; /* 填满父容器高度 */
    color: inherit; /* 继承默认文字颜色 */
}

/* 鼠标悬停效果 - 应用于整个卡片 */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* 阴影加深 */
    text-decoration: none;
    color: inherit;
}

.sub-title {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

/* 图片容器 - 统一对齐底部 */
.product-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/*!* 左侧大卡片图片高度 *!*/
/*.big-card .product-img-wrapper {*/
/*    height: 320px;*/
/*}*/

/*!* 右侧小卡片图片高度 *!*/
/*.small-card .product-img-wrapper {*/
/*    height: 140px;*/
/*}*/

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 专门针对右侧小卡片内部的标题调整字体大小 */
.small-card .main-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.small-card .icon-btn {
    width: 26px;
    height: 26px;
    margin-bottom: 1rem;
}


.card-overlap {
    overflow: visible !important;
    position: relative;
    margin-top: 70px; /* 卡片向下预留圆形图片空间 */
}

.img-overlap-wrap {
    position: absolute;
    top: -70px; /* 向上偏移，遮挡卡片上边框，按需调整 */
    left: 0;
    width: 100%;
    text-align: center;
}

/* 给卡片内容顶部留白，避免文字被圆形图片压住 */
.card-overlap .card-body {
    padding-top: 100px !important;
}

/* technology 页面 图片容器样式  */
.tech-img-wrap {
    overflow: hidden;
    border-radius: 1rem;
    transition: box-shadow 0.4s ease;
}

.tech-img-wrap img {
    width: 100%;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.tech-img-wrap:hover img {
    transform: scale(1.06);
}

.tech-img-wrap:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2) !important;
}


/* company 页面 样式 */

/* 图片卡片 – 干净简洁，图片下方带描述 */
.img-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 20, 40, 0.04);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(200, 215, 230, 0.3);
}

.img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 30, 60, 0.08);
}

.img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* 确保图片统一裁剪，保持比例 */
    background-color: #e9edf2; /* 占位底色 */
    display: block;
}

.img-card .card-body {
    padding: 0.9rem 0.8rem 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-card .card-body p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f405b;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* 针对小屏调整图片高度 */
@media (max-width: 576px) {
    .img-card img {
        height: 160px;
    }

    .display-section h2 {
        font-size: 1.4rem;
        padding-left: 0.8rem;
    }
}

/* 保持 hr 原有样式 */
.company-style hr {
    opacity: 0.4;
    border-top: 2px solid #bacddc;
    margin: 0.25rem 0 0.5rem;
}

/* 圆形卡片区域（保留之前样式，与展示区共存） */
.circle-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin: 2rem 0 0.5rem;
}

.circle-item {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #f0f4fa);
    box-shadow: 0 12px 28px rgba(0, 20, 40, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0.4rem;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.circle-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(0, 30, 60, 0.12);
    background: linear-gradient(145deg, #ffffff, #eef3f9);
}

.circle-stat {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0b2b44;
    margin-bottom: 0.1rem;
}

.circle-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c4b66;
    line-height: 1.3;
    max-width: 130px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .circle-item {
        width: 140px;
        height: 140px;
    }

    .circle-stat {
        font-size: 1.6rem;
    }

    .circle-label {
        font-size: 0.7rem;
        max-width: 110px;
    }

    .circle-wrapper {
        gap: 1rem 1.2rem;
    }
}

/* 产品缩略图放大效果 */

.product-image {
    height: 300px;
    width: auto;
    cursor: crosshair;
}

.thumbnail-image {
    height: 60px;
    width: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    margin: 0 5px;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: #007bff;
}

/* 放大镜容器 - 绝对定位，不影响原布局 */
.magnifier-container {
    position: relative;
    display: inline-block;
}

/* 放大镜镜头 - 跟随鼠标的小方块 */
.magnifier-lens {
    position: absolute;
    border: 2px solid #ccc;
    background-color: rgba(255, 255, 255, 0.3);
    width: 150px;
    height: 150px;
    cursor: none;
    display: none;
    pointer-events: none;
    z-index: 10;
}

/* 放大结果窗口 - 显示放大的图片 */
.magnifier-result {
    position: fixed;
    /* 或 absolute */
    width: 500px;
    height: 500px;
    border: 2px solid #ddd;
    background-color: white;
    overflow: hidden;
    display: none;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    pointer-events: none;
    /* 确保不遮挡鼠标操作 */
}

.magnifier-result img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}