/* --- 1. 核心变量与基础重置 --- */
@charset "utf-8";
  :root {
            --primary-blue: #0056b3;
            --hover-blue: #004085;
            --text-dark: #111;
            --text-gray: #555;
            --white: #ffffff;
            --top-bar-bg: #f8f9fa;
            --border: #eeeeee;
            --max-width: 1480px; 
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: #fff; overflow-x: hidden; }

        /* --- 1. Top Bar --- */
        .top-bar {
            background: var(--top-bar-bg);
            border-bottom: 1px solid var(--border);
            font-size: 14px;
            color: var(--text-gray);
        }
        .top-bar-container {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 24px;
        }
        .top-left, .top-right { display: flex; align-items: center; gap: 20px; }
        .contact-item { display: flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
        .lang-select { border: none; background: transparent; cursor: pointer; color: var(--text-gray); font-size: 14px; }

        /* --- 2. Header (1480px) --- */
        header {
            background: var(--white);
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 2000;
        }
        .nav-wrapper {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            height: 85px;
        }
		.navbar-brand{
		padding-top: .625rem;
        padding-bottom: .625rem;
		}
	   .logo img {
        height: 3rem;
		 }

@media screen and (max-width: 768px) {
        .nav-wrapper {
            height: 50px;

        }
		.navbar-brand{
		 height: 3.125rem;
		}
	   .logo img {
        height: 1.875rem;
    }

}


        .logo { font-size: 24px; font-weight: 700; color: var(--bg-light); text-decoration: none; display: flex; align-items: center; }

        /* Desktop Menu */
        .desktop-menu { display: flex; list-style: none; height: 100%; }
        .nav-item { position: relative; display: flex; align-items: center; }
        .nav-link {
            text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 18px;
            padding: 0 22px; height: 100%; display: flex; align-items: center; transition: var(--transition);
        }
        .nav-link:hover { color: var(--primary-blue); }
		@media screen and (max-width: 768px) {
				.nav-link {
				   padding: 0 0px; 
					
				}

		}
        /* Dropdown Logic */
        .dropdown, .sub-dropdown {
            position: absolute; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            opacity: 0; visibility: hidden; transform: translateY(15px); transition: var(--transition);
            list-style: none; border-top: 4px solid var(--primary-blue);
        }
        .dropdown { top: 100%; left: 0; min-width: 260px; }
        .sub-dropdown { top: 0; left: 100%; min-width: 240px; border-top: none; border-left: 4px solid var(--primary-blue); }
        .nav-item:hover > .dropdown, .has-sub:hover > .sub-dropdown { opacity: 1; visibility: visible; transform: translate(0); }

        .dropdown li a {
            display: flex; justify-content: space-between; padding: 15px 25px;
            text-decoration: none; color: var(--text-gray); font-size: 20px; border-bottom: 1px solid #f9f9f9;
        }

        .btn-inquiry {
            background: var(--primary-blue); color: #fff; padding: 12px 26px; border-radius: 4px;
            text-decoration: none; font-weight: 700; transition: 0.3s; display: inline-block;
        }

        /* --- 3. Mobile Full-Width Drawer --- */
        .mobile-toggle { display: none; font-size: 32px; cursor: pointer; color: var(--primary-blue); }
        
        .mobile-drawer {
            position: fixed; top: 0; left: -100%; width: 100%; height: 100%;
            background: #fff; z-index: 3000; transition: var(--transition);
            display: flex; flex-direction: column;
        }
        .mobile-drawer.active { left: 0; }
        
        .drawer-header { 
            padding: 20px 24px; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            border-bottom: 1px solid var(--border); 
        }


		@media screen and (max-width: 768px) {
				.drawer-header {
				  padding: 0px 24px; 
					
				}

		}

        /* 菜单内部的 Logo 样式 */
        .drawer-logo { 
            display: flex; 
            align-items: center; 
            text-decoration: none;
        }

        .drawer-body { flex: 1; overflow-y: auto; }
        .m-link {
            display: flex; justify-content: space-between; padding: 20px 24px;
            font-size: 19px; font-weight: 600; text-decoration: none; color: var(--text-dark); border-bottom: 1px solid #f5f5f5;
        }

		@media screen and (max-width: 768px) {
				.m-link {
				   padding: 10px 24px;
					
				}

		}


        .m-sub { display: none; background: #fafafa; }
        .m-sub .m-link { padding-left: 44px; font-size: 17px; color: var(--text-gray); }

        .close-btn { font-size: 40px; cursor: pointer; color: #999; line-height: 1; }

        /* --- 4. Slider --- */
        .slider { position: relative; height: 750px; background: #000; overflow: hidden; }
        .slide {
            position: absolute; inset: 0; opacity: 0; transition: 1.2s;
            background-size: cover; background-position: center; display: flex; align-items: center;
        }
        .slide.active { opacity: 1; z-index: 10; }
        .slide::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
        .slide-content { max-width: var(--max-width); margin: 0 auto; width: 100%; padding: 0 24px; position: relative; z-index: 20; color: #fff; }
        .slide-content h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.02em;text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
		.slide-content p { font-size: clamp(1rem, 1.5vw, 1.2rem);max-width: 650px;line-height: 1.6;margin-bottom: 2rem;color: rgba(255, 255, 255, 0.95);text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);}
		.slide-content li { font-size: clamp(1rem, 1.5vw, 1.2rem);max-width: 650px;line-height: 1.6;margin-bottom: 2rem;color: rgba(255, 255, 255, 0.95);text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);}

        /* Controls */
        .arrow {
            position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
            background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
            color: #fff; display: flex; align-items: center; justify-content: center;
            cursor: pointer; z-index: 30; border-radius: 50%; backdrop-filter: blur(8px);
        }

        .arrow:hover {
            position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
            background: rgb(0 35 221 / 80%); border: 1px solid rgba(255,255,255,0.3);
            color: #fff; display: flex; align-items: center; justify-content: center;
            cursor: pointer; z-index: 30; border-radius: 50%; backdrop-filter: blur(8px);
        }
        .prev { left: 30px; } .next { right: 30px; }
        .dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 30; }
        .dot { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; cursor: pointer; transition: 0.4s; }
        .dot.active { background: var(--primary-blue); border-color: var(--primary-blue); width: 35px; border-radius: 10px; }

        /* 响应式：核心逻辑 */
        @media (max-width: 1480px) {
            .desktop-menu, .top-bar { display: none; }
            .mobile-toggle { display: block; }
            
            /* 手机端时默认隐藏导航栏上的询盘按钮 */
            header .btn-inquiry { display: none; }
            
            .slider { height: 550px; }
            .slide-content h2 { font-size: 42px; }
            .arrow { display: none; }
        }
/* 链接悬停效果 */
.footer-links a:hover,
.footer-contact li:hover span,
.social-icons a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}
.footer-links a i,
.social-icons a {
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: #ffaa00 !important;
    transform: translateY(-3px);
}

/* 响应式布局优化 */
@media screen and (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}
@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .footer-container {
        padding: 40px 20px 20px !important;
    }
    .footer-title {
        margin-bottom: 20px !important;
    }
    .social-icons {
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    .footer-contact li {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px !important;
    }
}
/* 强制所有嵌入视频自适应 */
iframe, 
embed, 
object {
    max-width: 100% !important; /* 确保不超过父容器宽度 */
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* 强制保持 16:9 的黄金比例 */
}