/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}
.document_width{
    width: 1400px;
    margin: auto;
}
 @media (max-width: 1028px) {
	  
.document_widthN{
    width: 660px;
    margin: auto;
}

        }

.container {

    width: 90%;

	/* max-width: 1300px; */
    margin: 0 auto;
    padding: 0 10px;
}
 @media (max-width: 1280px) {
	  
.container {

    width: 100%;

	/* max-width: 1300px; */
    margin: 0 auto;
    padding: 0 5px;
}

        }
.containerr {

    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 10px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #008115;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0055aa;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #008115;
    color: #008115;
}

.btn-outline:hover {
    background-color: #008115;
    color: white;
}

/* 导航栏样式 */
header {
    position: fixed;
	 z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
	
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   
}

.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo {
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
    margin-left: 25px;
}
	     
@media (max-width: 1280px) {
       .nav-item {
    position: relative;
    margin-left: 15px;
}
        }
.nav-link {
    font-weight: 500;
	color: white;
    padding: 10px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-link.has-dropdown::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: top;
    border-top: 5px solid #333;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: all 0.3s;
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: rotate(180deg);
    border-top-color: #008115;
}

.nav-link:hover {
    color: #008115;
}

.dropdown {
	
    position: fixed;
    /* top: 100%; */
    left: 0;
    width: 100vw;
    /* height: 40vh; */
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1;
    padding: 15px;
}

.nav-item:hover .dropdown {

    opacity: 1;
    visibility: visible;
}

.dropdown-content {
	 margin-left: 15vw;
	width: 70%;
	color: #008115;
	
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.dropdown-contentt {
	 margin-left: 35vw;
	width: 80%;
	color: #008115;
	
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.dropdown-content2 {
	 margin-left: 30vw;
	width: 80%;
	color: #008115;
	
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s;
    border-radius: 4px;
}

.dropdown-item:hover {
    background-color: #ffffff;
    color: #008115;
    transform: translateX(5px);
}

.dropdown-img {
    width: 100px;
    height: 100px;
	color: #666666;
    margin-right: 15px;
    object-fit: cover;
    border-radius: 4px;
}
@media (max-width: 500px) {
        .dropdown-img {
    width: 50px;
    height: 50px;
	color: #666666;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 4px;
}
	.dropdown-title {
	  color: #000000;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
}
.dropdown-title a {
	  color: #008115;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
}
.dropdown-desc  {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}
.dropdown-desc a {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}
.dropdown-content {
	
	 margin-left: 5vw;
	width: 100%;
	color: #008115;
	
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.dropdown-contentt {
	 margin-left: 5vw;
	width: 100%;
	color: #008115;
	
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}      
.dropdown-content2 {
	 margin-left: 5vw;
	width: 100%;
	color: #008115;
	
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
}
.dropdown-text {
    flex: 1;
}

.dropdown-title {
	  color: #000000;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}
.dropdown-title a {
	  color: #008115;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}
.dropdown-desc  {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
.dropdown-desc a {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.mobile-menu-btn {
	 color: #ffffff;
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 国家选择 */
.country-selector {
    position: relative;
    display: inline-block;
    font-family: sans-serif;
}

.country-btn {
    padding: 8px 16px;
    cursor: pointer;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.country-flag {
    width: 24px;
    height: 18px;
    margin-right: 8px;
    border-radius: 2px;
    object-fit: cover;
}

.arrow {
    margin-left: 8px;
    font-size: 12px;
}

.dropdown-country {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-country a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-country a:hover {
    background-color: #f0f0f0;
}

.country-selector:hover .dropdown-country {
    display: block;
}

/* 主要内容区域 */
main {
    margin-top: 0px; /* 为固定导航栏留出空间 */
}

/* 各个部分通用样式 */
.section1 {
    padding: 0px 0;
}
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* 第一部分 - Pro1 */
.hero1 {
	 margin-top:200px;
    display: flex;
    align-items: center;
    min-height: calc(65vh - 35px);
    background-color: #f9f9f9;
}
@media only screen and (max-width:1890px){ 
	 margin-top:200px;
	
.hero1 {
    min-height: calc(80vh - 165px);
}
}
@media only screen and (max-width:1850px){ 
.hero1 {
    min-height: calc(80vh - 145px);
}
}
@media only screen and (max-width:1760px){ 
.hero1 {
    min-height: calc(75vh - 125px);
}
}
@media only screen and (max-width:1680px){ 
.hero1 {
    min-height: calc(70vh - 155px);
}
}
@media only screen and (max-width:1625px){ 
.hero1 {
    min-height: calc(70vh - 165px);
}
}
@media only screen and (max-width:1560px){ 
.hero1 {
	 margin-top:215px;
    min-height: calc(60vh - 120px);
}
}
@media only screen and (max-width:1450px){ 
.hero1 {
    margin-top:215px;
    min-height: calc(55vh - 80px);
}
}
@media only screen and (max-width:1410px){ 
.hero1 {
    margin-top:215px;
    min-height: calc(55vh - 110px);
}
}
@media only screen and (max-width:1360px){ 
.hero1 {
   margin-top:215px;
    min-height: calc(50vh - 110px);
}
}
@media only screen and (max-width:1200px){ 
.hero1 {
   margin-top:215px;
    min-height: calc(45vh - 110px);
}
}
@media only screen and (max-width:1160px){ 
.hero1 {
   margin-top:135px;
    min-height: calc(40vh - 110px);
}
}
}
@media only screen and (max-width:1100px){ 
.hero1 {
    min-height: calc(100vh - 15px);
}
}
.hero {
    display: flex;
    align-items: center;
  
    background-color: #f9f9f9;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #008115;
}

.hero-subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* 第二部分 - 3D打印机和耗材 */
.products {
    background-color: white;
}

.product-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-desc {
    color: #666;
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* 第三部分 - 配件和广告工艺应用 */
.accessories {
    background-color: #f5f5f5;
}

/* 第四部分 - 我们能做什么 */
.capabilities {
    background-color: white;
    text-align: center;
}

.capability-content {
	margin-left: 120px;
	margin-right: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.capability-text {
    max-width: 520px;
	margin-right: 20px;
}

.capability-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.capability-desc {
    font-size: 18px;
    color: #666;
	margin-right: 130px;
    margin-bottom: 30px;
}

/* 第五部分 - 流程便捷 */
.process {
    background-color: #f9f9f9;
    text-align: center;
    padding: 60px 0;
}

.process-title {
    font-size: 36px;
	line-height: 30px;
    margin-bottom: 30px;
}
 @media (max-width: 600px) {
         
.process-title {
    font-size: 26px;
	line-height: 30px;
    margin-bottom: 2px;
}
        }
.process-image-container {
    max-width: 800px;
    margin: 0 auto 30px;
}

.process-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 第六部分 - 资讯信息 */
.news {
    background-color: white;
    padding: 0px 0;
}

.news-container {
    display: flex;
    gap: 30px;
}

.news-main {
    flex: 1.7;
    position: relative;
}

.news-image {
    height: 450px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.news-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 550px;
    overflow-y: auto;
}

.news-tab {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.news-tab:hover {
    background-color: #f5f5f5;
}

.news-tab.active {
    background-color: #f0f7ff;
}

.news-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.news-tab-title {
    font-weight: bold;
    font-size: 20px;
}

.news-tab-btn {
    margin-left: 10px;
}

.news-tab-desc {
    font-size: 16px;
    color: #666;
    line-height: 1;
}

/* 第七部分 - 关注我们 */
.social {
    background-color: #111;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.social-container {
    display: flex;
    align-items: center;
}

.social-title {
    font-size: 24px;
    margin-right: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #333;
    transition: all 0.3s;
    text-align: center;
}

.social-icon:hover {
    background-color: #008115;
    transform: translateY(-5px);
}

/* 第八部分 - 底部导航 */
.footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-link {
    display: block;
    margin-bottom: 12px;
    color: #aaa;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-link:hover {
    color: #008115;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: 20px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-legal-link {
    font-size: 12px;
    color: #777;
    transition: color 0.3s;
}

.footer-legal-link:hover {
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        padding-right: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .product-grid {
        flex-direction: column;
    }
    
    .news-container {
        flex-direction: column;
    }
    .news-image {
    height: 400px;
    overflow: hidden;
}
    .news-image {
        height: 500px;
    }
    
    .news-sidebar {
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .news-tab {
        flex: 0 0 calc(50% - 15px);
    }
    
    .dropdown {
        width: 240px;
    }
    
    .footer-nav {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: left 0.3s;
        overflow-y: auto;
    }
    .news-image {
    height: 430px;
    overflow: hidden;
}
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 2px 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 1px;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        margin-top: 1px;
        padding: 0;
    }
    
    .nav-item:hover .dropdown{
		 position: fixed;
    top: 50;
    left: 0;
    width: 100%; /* 可选，根据需要设置 */
    z-index: 1000; /* 可选，但通常在使用fixed定位时也需要 */
        max-height: 800px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 0;
        min-height: auto;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .capability-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .social-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-title {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .news-tab {
        flex: 0 0 100%;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .product-actions {
        flex-direction: column;
    }
     .news-image {
        height: 450px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .nav-item {
        margin-left: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}