/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* 禁用横向滚动 */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    /* background-color: #333; */
    width: 100%;
}

header .logo {
    color: #fff;
    font-size: 24px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.carousel {
    width: 100%;
    /* height: 300px; */
    height: auto;
    overflow: hidden; /* 确保轮播图区域不会溢出 */
    background: #cccccc69;
}

.carousel img {
    object-fit: cover;
}

.content {
    /* padding: 20px; */
    text-align: center;
    width: 100%;
    box-sizing: border-box; /* 确保内边距不会影响布局 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #cccccc69;
    padding-bottom: 80px;
    padding-top: 50px;
}

footer {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
    /* position: absolute; */
    /* bottom: 0; */
    width: 100%;
}
.companyInfoLang{
    padding: 20px;
}
/* 响应式设计 */
@media (min-width: 768px) {
    .content {
        text-align: left;
        /* max-width: 1200px; */
        margin: 0 auto;
    }
    .product{
        max-width: 1200px;
    }

    .carousel {
        /* height: 959px; */
        height: auto;
    }
    .companyInfoLang{
        max-width: 1200px;
    }
    .companyInfoDiv{
        width: 100%;
    }
}
/* 移动端 */
@media (max-width: 480px) {
    #image-container{
        height: 10em !important;
    }
    /* 适用于屏幕宽度小于等于 480px 的设备 */
    .image {
        width: 10em !important;
        height: 10em !important;
    }
    .companyInfoLang{
        max-width: 100% !important;
    }
    .companyInfoDiv{
        width: 100%;
    }
    .companyInfoLang{
        display: block !important;
    }
    .companyImg{
        max-width: 100%;
        margin-top: 20px;
    }
    .comProShow{
        justify-content: space-around !important;
        gap: 1em !important;
    }
    .proItemImg img{
        width: 11em !important;
    }
    .proItemDesT{
        width: 100% !important;
        overflow: hidden !important;
        white-space: nowrap;
        font-size: 0.6em !important;
    }
    .companyPhoto{
        flex-wrap: wrap;
        justify-content: space-around !important;
    }
    .companyPhotoItem{
        max-width: 40% !important;
        flex: 1 0 45%  !important;
    }
  }
