* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

header {
    background: #8B8BDF;
    color: white;
    text-align: left;
    font-size: 2rem;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    height: 90px;
}

main {
    width: 100%;
    padding-top: 80px;
}

.section_description {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px 10px 20px;
    color: brown;
    font-weight: bold;
    font-size: 24px;
}

.section_title {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px 20px 20px;
    color: brown;
    font-weight: bold;
    font-size: 24px;
    position:relative;
}

.section_title_text {
    position:relative;
    z-index: 2;
}

.section_title_underline {
    position: absolute;
    top: 12px;
    left: 28px;
    z-index: 1;
}

.section_title span {
    color: #6e6e73;
    font-size: 16px;
}

#banner {
    weight: 100%;
    height: 600px;
    padding: 30px 0 5rem 0;
    text-align: center;
    background: url('../zip_img/banner.png') no-repeat center center/cover;
    /* 背景图 */
    color: white;
    /* 文字颜色 */
    background-size: cover;
    /* 背景图自适应大小 */
    background-position: center center;
    /* 背景图居中显示 */
}

#about .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 图片容器 */
#about .images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 图片样式 */
#about .image {
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 文字部分 */
#about .text {
    flex: 1;
    padding-left: 20px;
}

#about .text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

#about .text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    text-align: left;
    text-indent: 2em;
    margin-bottom: 28px;
}

section {
    padding: 3rem 0 3rem 0;
    text-align: center;
}

.product-carousel {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 5%;
    overflow: visible;
    margin-top: 5px;
}

.product-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.product-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    /* 使其放大时能超出边界 */
    z-index: 1;
    /* 确保卡片在其他元素之上 */
}

/* 鼠标悬停时的放大效果 */
.product-card:hover {
    transform: scale(1.05);
    /* 放大 */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    /* 放大时确保在上层显示 */
}

.product-img {
    width: 186px;
    height: 202px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1rem;
    color: #777;
    margin-bottom: 1rem;
}

.product-btn {
    background: #007aff;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-btn:hover {
    background: #005bb5;
}

/* 左右切换按钮样式 */
.carousel-btn {
    position: absolute;
    top: 50%;
    background-color: rgba(169, 169, 169, 0.7);
    color: white;
    border: none;
    width: 50px;
    /* 按钮宽度 */
    height: 50px;
    /* 按钮高度 */
    border-radius: 50%;
    /* 圆形 */
    display: flex;
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    font-size: 2rem;
    /* 字体大小 */
    cursor: pointer;
    z-index: 1100;
    transform: translateY(-50%) scale(0.8);
    /* 初始状态为 0.8 大小 */
    opacity: 0;
    /* 初始状态不显示 */
    visibility: visible;
    /* 初始状态可见 */
    transition: transform 0.6s ease-out, background 0.6s ease-out, opacity 0.6s ease-out;
    /* 渐变效果 */
}

.carousel-btn:hover {
    background-color: rgba(169, 169, 169, 0.9);
    transform: scale(1);
    /* 悬浮时放大到 1 */
}

/* 左侧按钮 */
.prev-btn {
    left: 10px;
}

/* 右侧按钮 */
.next-btn {
    right: 10px;
}

/* 显示按钮的容器，当鼠标悬浮在产品轮播区域内时才显示按钮 */
.product-carousel:hover .carousel-btn {
    opacity: 1;
    /* 立即显示并开始渐变 */
    transform: translateY(-50%) scale(1);
    /* 放大到正常大小 */
}

/* 模态框样式 */
.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* 半透明黑色背景 */
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    display: block;
    width: auto;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gradient-div-1 {
    max-width: 1200px;
    height: 440px;
    background: linear-gradient(to bottom, rgb(235, 242, 250), rgb(161, 195, 242));
    margin: auto;
    border-radius: 20px;
    position: relative;
}

.gradient-div-2 {
    max-width: 1200px;
    height: 440px;
    background: linear-gradient(to bottom, rgb(251, 242, 158), rgb(196, 223, 180));
    margin: auto;
    border-radius: 20px;
    position: relative;
    margin-top: 20px;
}

.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 确保水印不会干扰页面操作 */
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" opacity="0.1"><text x="50%" y="50%" font-family="微软雅黑" font-size="20" fill="gray" text-anchor="middle" dominant-baseline="middle" transform="rotate(-30 150 100)">质量为先 诚信为本 服务至上</text></svg>');
    background-repeat: repeat;
}

.contact-section {
    max-width: 1200px;
    margin: auto;
}

.contact-section h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info {
    font-size: 16px;
    line-height: 1.5;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 30px;
    margin-left: 16px;
    border-radius: 8px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 18px;
    color: #0056b3;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-item h3 i {
    margin-right: 10px;
    font-size: 20px;
    color: #0056b3;
    /* 图标颜色 */
}

.contact-item p {
    margin: 0;
    color: #555;
    text-align: left;
}

.contact-item a {
    color: #0056b3;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

footer {
    background-color: #52575f;
    color: white;
    padding-top: 40px;
  }
  .footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
  }
  .footer-section h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }
  .footer-section p, .footer-section li {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
  }
  .footer-bottom {
    background-color: #484d55;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: #ccc;
  }
  ul {
    padding-left: 0;
    list-style: none;
  }
  .nav-link, .email-link {
    color: white;
    text-decoration: none;
  }
.footer-bottom a {
    color: #ccc;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    color: #ddd;
  }
.scrolling-message-container {
    width: 100%;
    height: 50px;
    /* 设置容器高度 */
    overflow: hidden;
    /* 隐藏超出容器的内容 */
    position: relative;
    background-color: #f8f9fa;
    /* 背景颜色 */
    border: 1px solid #ddd;
    /* 可选的边框 */
}

.scrolling-title {
    position: absolute;
    bottom: 0;
    left: 300px;
    line-height: 50px;
    color: #8d9b74;
    font-size: 18px;
    font-weight: bold;
}

.scrolling-message {
    position: absolute;
    left: 388px;
    bottom: 0;
    width: 300px;
    animation: scroll-up 20s linear infinite;
}

.scrolling-message p {
    margin: 0;
    line-height: 40px;
    color: #333;
    text-align: left;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* 定义向上滚动的动画 */
@keyframes scroll-up {
    0% {
        bottom: -200px;
        /* 从容器底部下方开始 */
    }

    100% {
        bottom: 100%;
        /* 滚动到容器顶部上方 */
    }
}

/* 鼠标悬停时停止滚动 */
.scrolling-message:hover {
    animation-play-state: paused;
    /* 暂停动画 */
}

.news-carousel-container {
    max-width: 1200px;
    margin: auto;
    height: 500px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.news-slide {
    display: flex;
    min-width: 100%;
    align-items: center;
    padding: 20px;
}

.news-slide img {
    width: 500px;
    height: 400px;
    border-radius: 10px;
    margin-right: 20px;
}

.news-content {
    flex: 1;
}

.news-content p {
    font-size: 14px;
    color: brown;
    line-height: 22px;
    text-align: left;
    margin-bottom: 16px;
}

.news-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    position: absolute;
    bottom: 20px;
    left: 50%;
}

.news-dot {
    width: 20px;
    height: 8px;
    margin: 5px;
    background: gray;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.news-dot.news-active {
    background: black;
    width: 30px;
}

.gradient-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to right, red, blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 2px;
    /* 增加底部间距，让下划线更明显 */
    text-align: left;
    font-size: 20px;
    margin-bottom: 8px;
}

.gradient-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 65%;
    /* 让下划线与文本宽度匹配 */
    height: 3px;
    /* 调整下划线的厚度 */
    background: linear-gradient(to right, red, blue);
}

.video-js {
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* 取消 video.js 自带的大按钮 */
.vjs-big-play-button {
    display: none !important;
}

/* 自定义暂停按钮 */
#custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00ffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

#custom-play-btn.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

#custom-play-btn:after {
    content: '▶️';
    font-size: 36px;
    color: #00ffff;
}

.video-container {
    display: flex;
    width: 1200px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: auto;
}
/* 左侧视频区 */
.video-section {
    width: 70%;
    display: flex;
    flex-direction: column;
    background-color: #000;
    position: relative;
}
/* 视频播放器 */
.video-player {
    flex: 5; /* 占据 5:1 比例 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 365px; /* 5:1 比例，视频播放器高度为 375px */
}
.video-img-player {
    display:none;
    height: 365px;
    width: 100%;
}
video {
    width: 100%;
    height: 100%;
}
/* 缩略图滚动区域 */
.video-thumbnail-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #222;
    height: 85px; /* 视频切换区域的高度调整为 75px */
    padding: 0 4px;
}
.video-thumbnail-container {
    display: block;
    white-space: nowrap; /* 确保所有缩略图都在同一行显示 */
    overflow-x: hidden; /* 隐藏默认滚动条 */
    width: 100%;
    position: relative;
}
.video-thumbnail {
    display: inline-block; /* 使每个缩略图都有固定宽度 */
    width: 120px;  /* 固定宽度 */
    height: 58px;  /* 固定高度 */
    cursor: pointer;
    margin-right: 2px; /* 确保每个缩略图之间有间距 */
    border: 2px solid transparent; /* 初始时没有边框 */
    transition: border 0.3s;
}
/* 缩略图选中时，显示白色框 */
.video-thumbnail.selected {
    border: 2px solid white;
}
/* 自定义滚动条容器 */
.video-scroll-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 99%;
    height: 20px; /* 滚动条高度调整 */
    background-color: #333;
    border-radius: 10px;
    position: absolute;
    bottom: 5px;
}
.video-scroll-bar {
    width: 100%;
    height: 18px;
    background-color: #a98484;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    margin: 0 3px;
}
.video-scroll-thumb {
    height: 14px;
    margin-top:2px;
    background-color: #444;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.video-scroll-thumb:hover {
    background-color: #555;
}
/* 左右箭头 */
.video-scroll-arrow {
    width: 30px;
    height: 20px;
    background-color: #a98484;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 5px; /* 圆角 */
    transition: background-color 0.3s;
}
.video-scroll-arrow:hover {
    background-color: #555;
}
.video-scroll-arrow-left::before {
    font-size: 20px;
}
.video-scroll-arrow-right::before {
    font-size: 20px;
}
.video-description {
    width: 30%;
    background-color: #f4f4f4;
    overflow-y: auto;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

