* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
}

body {
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* 顶部样式 */
.header {
    width: 100%;
    height: 15vw;
    min-height: 100px;
    max-height: 200px;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 语言切换按钮 */
.logo-left {
    position: absolute;
    left: 15%;
    font-size: 1.2vw;
    min-font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* 语言下拉菜单 */
.language-dropdown {
    position: absolute;
    left: 15%;
    top: 200%;
    margin-top: 1.4vw; /* 添加间距 */
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: none;
    z-index: 1100;
    width: 10vw;
    min-width: 120px;
}

.language-dropdown a {
    display: block;
    padding: 1vw;
    color: #333;
    text-decoration: none;
    font-size: 1vw;
    min-font-size: 14px;
}

.language-dropdown a:hover {
    background-color: #f5f5f5;
}

.language-container {
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.logo-center {
    width: 20vw;
    min-width: 200px;
    max-width: 304px;
    height: auto;
}

/* 导航栏 */
.nav {
    width: 100%;
    height: 4vw;
    min-height: 50px;
    max-height: 60px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    position: relative;
    z-index: 900;
}

.nav a {
    width: 20vw;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1vw;
    min-font-size: 16px;
    padding: 0 5vw;
    height: 100%;
    flex-shrink: 0;
   
}

.nav a:hover {
    background: white;
    color: #000;
}

/* 轮播图容器 */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.tit {
    width: 100%;
    height: 15vw;
    min-height: 150px;
    max-height: 280px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titimg {
    width: 15vw;
    min-width: 150px;
    max-width: 234px;
    height: auto;
}

.home1-1, .home2-2, .home1-3, .home1-4, .home1-5 {
     display: -webkit-flex; /* Safari专用前缀 */
    display: flex;
    -webkit-justify-content: center; /* Safari专用前缀 */
    justify-content: center;
    -webkit-align-items: center; /* Safari专用前缀 */
    align-items: center;
    width: 100vw;
    max-width: 100vw;
   box-sizing: border-box;
    overflow-x: hidden;
}

.home1  {
    width:100vw; 
        

  height: auto; 
  display: block; 
   box-sizing: border-box;
  
}

.home3 {
    width: auto;
    height: auto;
}

.home4 {
    width: auto;
    /* max-width: 1180px; */
    height: auto;
}

.home2-2 {
    margin-top: 5vw;
}

.home1-3 {
    margin: 4vw 0;
}

.home1-4 {
    margin: 4vw 0;
}

.home1-5 {
    flex-direction: column;
    gap: 2vw;
    margin-bottom: 4vw;
}

.home5 {
    border-radius: 12px;
    width: 80%;
    max-width: 1180px;
    height: auto;
}

.home6, .home7 {
    width: 100%;
    height: auto;
}

.home6 {
    margin-top: 15vw;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo-left {
        left: 5%;
        font-size: 16px;
    }
    
    .language-container {
        left: 5%;
    }
    
    .language-dropdown {
        left: 5%;
        width: 150px;
    }
    
    .language-dropdown a {
        font-size: 14px;
        padding: 10px;
    }
    
    .nav {
        height: 50px;
        gap: 10px;
    }
    
    .nav a {
        font-size: 14px;
        padding: 0 10px;
    }
    
     
    .home1, .home2, .home4, .home5 {
       width: 150% !important;
        height: auto !important;
        display: block;
    }
    
    .home3 {
        width: 90%;
    }
}