@charset "utf-8";

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            background-color: #fff;
            color: #1e2a3e;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        :root {
            --tech-blue: #0a66c2;
            --tech-dark: #054a91;
            --light-gray: #f5f7fb;
            --border-light: #e2e8f0;
            --bg-dark-footer: #232530;
        }

        /* 滚动动画 */
        .animate-up {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s ease;
        }
        .animate-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 头部固定 + 透明渐变 */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background-color: transparent;
            transition: all 0.3s ease;
            padding: 18px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .header.scrolled {
            background-color: rgba(10, 102, 194, 0.95);
            backdrop-filter: blur(8px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 30px 5%;
        }
        .logo img { height: 65px; width: auto; display: block; }
        .nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; }
        .nav-item { position: relative; }
        .nav-link { color: white; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 0; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
        .header.scrolled .nav-link { color: #f0f9ff; }
        .nav-link i { font-size: 0.8rem; }
        .dropdown-menu {
            position: absolute;
            top: 40px;
            left: 0;
            background: white;
            box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
            border-radius: 12px;
            min-width: 180px;
            opacity: 0;
            visibility: hidden;
            transition: 0.2s;
            list-style: none;
            padding: 8px 0;
            z-index: 100;
        }
        .nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; top: 32px; }
        .dropdown-menu li a { display: block; padding: 10px 20px; color: #1e2a3e; text-decoration: none; font-size: 0.9rem; transition: 0.2s; }
        .dropdown-menu li a:hover { background-color: var(--tech-blue); color: white; }
        .mobile-toggle { display: none; font-size: 28px; color: white; cursor: pointer; background: none; border: none; }

        @media (max-width: 1024px) {
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 72px;
                flex-direction: column;
                background-color: rgba(10, 102, 194, 0.98);
                backdrop-filter: blur(12px);
                width: 80%;
                height: calc(100vh - 72px);
                padding: 40px 20px;
                gap: 20px;
                transition: 0.3s;
                align-items: flex-start;
                box-shadow: 5px 0 20px rgba(0,0,0,0.2);
                overflow-y: auto;
            }
            .nav-menu.active { left: 0; }
            .mobile-toggle { display: block; }
            .nav-item { width: 100%; }
            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                background: rgba(255,255,255,0.2);
                box-shadow: none;
                margin-top: 8px;
                padding-left: 20px;
                display: none;
                border-radius: 8px;
            }
            .dropdown-menu.active-drop { display: block; }
            .nav-item .nav-link i { transition: 0.2s; }
            .nav-item.open i { transform: rotate(180deg); }
            .dropdown-menu li a { color: #f0f9ff; }
        }

        /* banner轮播 */
        .banner { width: 100%; height: 100vh; position: relative; overflow: hidden; }
        .banner-slide {
            position: absolute; width: 100%; height: 100%;
            background-size: cover; background-position: center;
            opacity: 0; transition: opacity 1s ease;
            display: flex; align-items: center; justify-content: center;
        }
        .banner-slide.active { opacity: 1; z-index: 2; }
        .banner-content {
            text-align: center; color: white; z-index: 3; position: relative;
            background: rgba(0,0,0,0.4); padding: 30px; border-radius: 24px; backdrop-filter: blur(4px);
        }
        .banner-content h1 { font-size: 3rem; margin-bottom: 1rem; }
        .btn-cta {
            background: var(--tech-blue); border: none; padding: 12px 32px; border-radius: 40px;
            color: white; font-weight: bold; margin-top: 20px; cursor: pointer; transition: 0.3s;
            display: inline-block; text-decoration: none;
        }
        .btn-cta:hover { background: #054a91; transform: scale(1.02);}
        .scroll-down {
            position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
            z-index: 10; color: white; font-size: 32px; animation: bounce 2s infinite; cursor: pointer;
        }
        @keyframes bounce { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(10px);} }

        /* 通用容器 */
        .container { max-width: 1280px; margin: 0 auto; padding: 60px 24px; }
        .section-title { text-align: center; margin-bottom: 16px; font-size: 2rem; color: #0a2540; }
        .section-sub { text-align: center; color: #4a5568; max-width: 700px; margin: 0 auto 20px; }
        .divider { width: 80px; height: 3px; background: var(--tech-blue); margin: 16px auto 32px; border-radius: 3px; }

        /* 产品分类标签 */
        .product-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0 30px; }
        .cat-btn { background: var(--tech-blue); font-size:28px; color: white; border: none; padding: 8px 20px; border-radius: 40px; font-weight: 600; cursor: pointer; transition: 0.2s; }
        .cat-btn.active, .cat-btn:hover { background: #999cc; color: #999cc; }
		

        /* 产品网格卡片 */
        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin: 40px 0; }
        .product-card { border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; transition: 0.3s; background: white; }
        .product-card:hover { border-color: var(--tech-blue); transform: translateY(-5px); box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);}
        .product-img { height: 200px; background: #eef2ff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .product-img img { width: 100%; height: 100%; object-fit: cover; }
        .product-title { background: var(--tech-blue); color: white; padding: 12px; text-align: center; font-weight: bold; }

        /* 关于我们 */
        .about-bg { background: linear-gradient(92deg, rgba(10,102,194,0.1), rgba(0,0,0,0.6)), url('../images/ab.jpg') center/cover fixed; padding: 70px 0; }
        .about-wrapper { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: rgba(255,255,255,0.9); border-radius: 32px; padding: 40px; backdrop-filter: blur(2px);}
        .about-left { flex: 1.2; }
        .about-left h2 { font-size: 2.2rem; }
        .stats { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
        .stat-item { background: var(--tech-blue); color: white; padding: 16px; border-radius: 20px; flex: 1; text-align: center; }
        .about-right { flex: 0.8; }
        .about-right img { width: 100%; border-radius: 28px; box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2); }

        /* 滑动组件 (车间+证书共用) */
        .slider-container { position: relative; overflow: hidden; margin: 30px 0; }
        .slider-track { display: flex; transition: transform 0.4s ease; gap: 24px; }
        .slider-card { flex: 0 0 calc(25% - 18px); background: white;  overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .slider-card img { width: 100%; height: 180px;  display: block; }
        .slider-card p { padding: 12px; text-align: center; font-weight: 500; }
        .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; width: 40px; height: 40px;  cursor: pointer; z-index: 5; transition: 0.2s; }
        .slider-btn:hover { background: var(--tech-blue); }
        .slider-left { left: 5px; }
        .slider-right { right: 5px; }
        .dots, .square-dots { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
        .dot, .square-dot { width: 12px; height: 12px; background: #cbd5e1; border-radius: 50%; cursor: pointer; transition: 0.2s; }
        .square-dot { width: 20px; height: 8px; border-radius: 4px; background: #cbd5e1; }
        .dot.active-dot, .square-dot.active-square { background: var(--tech-blue); transform: scale(1.2); }
        @media (max-width: 768px) {
            .slider-card { flex: 0 0 calc(50% - 12px); }
        }

        /* 证书区域背景 */
        .cert-section { background: var(--tech-blue); color: #333; padding: 20px 0 60px; }
        .cert-section .section-title, .cert-section .section-sub { color: white; }
        .cert-section .divider { background: white; }

        /* 新闻网格 */
        .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin: 40px 0; }
        .news-card { background: white;  overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: 0.3s; }
        .news-img { height: 180px; overflow: hidden; }
        .news-img img { width: 100%; height: 100%;  }
        .news-content { padding: 18px; }
        .news-date { color: var(--tech-blue); font-size: 0.8rem; margin: 8px 0; }
        .news-title { font-weight: bold; font-size: 1.2rem; margin-bottom: 8px; }
        .news-desc { color: #4a5568; font-size: 0.9rem; }
        .more-btn { text-align: center; margin-top: 20px; }
        .btn-more { background: var(--tech-blue); color: white; border: none; padding: 12px 36px; border-radius: 40px; font-weight: bold; cursor: pointer; transition: 0.2s; }
        .btn-more:hover { background: #054a91; transform: scale(1.02); box-shadow: 0 6px 14px rgba(10,102,194,0.4); }

        /* 底部 */
        .footer { background: var(--bg-dark-footer); color: #aaa; padding: 50px 24px 20px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; max-width: 1280px; margin: 0 auto; }
        .footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col a { color: #ccc; text-decoration: none; transition: 0.2s; }
        .footer-col a:hover { color: var(--tech-blue); }
        .qr-img { width: 100px; margin-bottom: 10px; border-radius: 12px; }
        .footer-copyright { text-align: center; border-top: 1px solid #3a3e4a; padding-top: 30px; margin-top: 40px; font-size: 0.85rem; }
        .contact-with-icon i { width: 24px; margin-right: 8px; color: var(--tech-blue); }
        .footer-col p i { width: 24px; margin-right: 8px; color: #6c8db0; }

        /* 手机底部快捷栏 */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #ffffffdd;
            backdrop-filter: blur(12px);
            border-top: 1px solid #e2e8f0;
            padding: 12px 20px;
            justify-content: space-around;
            z-index: 999;
            box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
        }
        .mobile-bottom-nav a {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            color: #1e293b;
            font-size: 0.75rem;
            font-weight: 500;
            transition: 0.2s;
        }
        .mobile-bottom-nav a i { font-size: 1.5rem; color: var(--tech-blue); }
        .mobile-bottom-nav a:active { transform: scale(0.95); }
        @media (max-width: 768px) {
            .footer { padding-bottom: 80px; }
            .mobile-bottom-nav { display: flex; }
        }
        img { max-width: 100%; }
        a { text-decoration: none; }
    /* CSS Document */

