/* 流式基础 */
body { margin:0; font-size:16px; }
.container { width:90%; margin:0 auto; }
/* 导航栏样式 */
.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:1rem 2rem;
    background: #efeeee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.logo img {
    height: 60px;
}

.nav-items {
    display: flex;
    margin-right: 4.5vw;
    gap: 40px;

}

.nav-item {
    position: relative;
    list-style: none;
    cursor: pointer;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #efeeee;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    display: none;
    min-width: 160px;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-item:hover .dropdown {
    display: block;
}
.nav-item:hover {
    color: #f68c1c;
}
.dropdown li {
    padding:0.5rem 0.5rem;
    border-bottom: 1px solid #eee;
}
.dropdown li:hover {
    background: #f8f9fa;
}

/* 轮播图样式 */
.carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.carousel-img {
    width:100%;
    height: auto;
    object-fit: cover;
    display: none;
}

.carousel-img.active {
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.1vw;
    cursor: pointer;
    color: #fff;
    background: rgba(0,0,0,0.3);
    padding: 0.5rem 1.5rem;
}

.arrow.left { left: 1.5rem; }
.arrow.right { right: 1.5rem; }

/*产品服务标题*/
.content{
    padding: 1em 10%;
    line-height: 1.8;
    background: #f8f9fa;
    min-height: 6rem;
}
.content h2 {
    color: #2c3e50;
    padding-bottom: 1px;
    border-bottom: 2px solid #f68c1c;
}

/*产品服务*/
.container_ser {
    display: flex;
    flex-direction: row; /* 水平排列子元素 */
    align-items: center;
    justify-content: center; /* 水平居中 */
    background: rgb(239, 238, 238);
    margin: 0.5rem;
    padding: 0.5rem;
    gap:25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/*为产品服务容器设定BOX区域*/
.box {
    left:1rem;
    padding: 1rem;
    width: 20%;
    margin: 1.5rem; /* 可选，添加一些外边距以便分隔 */
    background-color: lightblue; /* 可选，设置背景颜色以便查看效果 */
    text-align: center; /* 可选，使内容在 div 中居中 */
}

/*产品服务-1*/
.interactive-area {
    text-align: center;
    display: flex;
    flex-direction: column; /* 垂直排列子元素 */
    margin: 1rem; /* 可选，添加一些外边距以便分隔 */
    padding: 0.5rem;
}

.interactive-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.interactive-text01 {
    font-size: 1.2vw; /* 文字大小 */
    width: 100%;
    color: black;
    transition: color 0.3s ease;
    margin-bottom: 1.2rem;
}

.interactive-text02 {
    font-size: 1vw; /* 文字大小 */
    width: 100%;
    color: black;
    transition: color 0.3s ease;
    margin-top: 1.2rem;
}

.interactive-area:hover .interactive-image {
    transform: scale(1.1);
}

.interactive-area:hover .interactive-text01 {
    color: #f68c1c;
}

.interactive-area:hover .interactive-text02 {
    color: #f68c1c;
}

/*about as*/
.content01 {
    position: relative;
    align-items: center;
    background: rgb(239, 238, 238);
    margin: 0;
    padding: 0;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.content01 img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 或者使用 contain, fill, none 等 */
    z-index: 2;
}

.about_text {
    position: absolute; /* 或者使用相对定位，取决于具体布局需求 */
    display: flex;
    color: white; /* 文字颜色 */
    font-size: 1.5vw; /* 文字大小 */
    line-height: 3.0vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* 根据需要调整 */
    height: 30%; /* 根据需要调整 */
    z-index: 3;
}

.more-btn {
    position: absolute;
    display: flex;
    left: 50%; /* 向右偏移50px */
    top: 70%; /* 向下偏移20px */
    transform: translate(-50%, -50%);
    padding: 1rem 1.5rem;
    background: #f0ad4e;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s;
    z-index: 4;
}

.more-btn:hover {
    background: #ec971f;
}

/*成功案例*/
.container_cases {
    display: flex;
    flex-direction: row; /* 水平排列子元素 */
    align-items: center;
    justify-content: center; /* 水平居中 */
    background: rgb(239, 238, 238);
    margin: 1rem;
    padding: 1rem;
    gap:1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.interactive-case {
    text-align: center;
    display: flex;
    flex-direction: column; /* 垂直排列子元素 */
    margin: 1rem; /* 可选，添加一些外边距以便分隔 */
    padding: 1rem;
}

.interactive-case-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.interactive-case-text01 {
    width: 100%;
    font-size: 1.2vw; /* 文字大小 */
    color: black;
    transition: color 0.3s ease;
    margin-bottom: 1.2rem;
}

.interactive-case-text02 {
    font-size: 1.0vw; /* 文字大小 */
    width: 100%;
    color: black;
    transition: color 0.3s ease;
    margin-top: 1.2rem;
}

.interactive-case:hover .interactive-case-image {
    transform: scale(1.1);
}

.interactive-case:hover .interactive-case-text01 {
    color: #f68c1c;
}

.interactive-case:hover .interactive-case-text02 {
    color: #f68c1c;
}
/*返回首页按钮*/
.back-home-button {
    /*display: inline-block;*/
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    bottom: 0; /* 确保没有左外边距 */
    z-index: 999;
}
.back-home-button:hover {
    background-color: #0056b3;
}
/*网站尾部*/
.container_end01 {
    background-color: #34495e;
    color: #ecf0f1;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.contact-info, .wechat, .system-info {
    text-align: left;
}
.contact-info p, .wechat p, .system-info p {
    margin: 5px 0;
}
.contact-info p::before, .wechat p::before {
    content: " ";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background-color: #e74c3c;
}
.system-info a {
    color: #ecf0f1;
    text-decoration: none;
}
.system-info a:hover {
    text-decoration: underline;
}
.wechat img {
    width: 150px;
    height: 150px;
}
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #666;
}