body {
    margin: 0;
    padding: 0;
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
}

::selection {
    color: #eb3030;
}


.header-container {
    background-color: #ffffff;
    display: flex;
    height: 100px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    justify-content: flex-start;
    border-bottom: 1px solid #ccc;
}


nav ul {
    padding: 0;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;

}

nav ul li {
    display: inline-block;
    position: relative;
    margin-left: 20px;
    margin-right: 20px;
    padding: 23px 0; /* 上下各添加 10px 的内边距 */
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
}

.font {
    font-weight: 550;
}

nav ul li:hover > a {
    color: #9C1111;
}

.progress-bar {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #9C1111;
    transition: width 0.3s ease-in-out;
}

nav ul li:hover .progress-bar {
    width: 100%;
}

nav ul li:hover .progress-bar {
    width: calc(80% - 0px);
}

nav ul li:hover > a {
    color: #9C1111;
}

.subnav {
    position: absolute;
    top: calc(100%);
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    width: 200px;
    height: auto;
    padding: 0 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: max-height 0.4s ease-in-out;

}

.subnav a:hover {
    color: #ffffff;
    background-color: #9C1111;
    font-weight: bold;
}

nav ul li:hover .subnav {
    max-height: 400px;
}


.subnav a {
    text-decoration: none;
    font-size: 14px;
    border-bottom: 0.1px solid #ded5d5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    letter-spacing: 1px;
}

.subnav a:last-child {
    margin-bottom: 20px;
}

.subnav a:first-child {
    margin-top: 20px;
}

.logo-container {
    flex-grow: 1;
    text-align: right;
}

.logo-container img {
    height: 70%;
    margin-top: 10px;
}

.language-container {
    background-color: #9C1111;
    width: 200px;
    flex-grow: 1;
}

.language {
    margin: 0;
    height: 100%;
    text-align: left;
    white-space: nowrap;
}

.language a {
    color: #FFFFFF;
    padding-left: 30px;
    font-size: 16px;
    text-decoration: none;
    line-height: 100px;
}

.language a img {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

language a:last-child {
    margin-right: 0;
}

main {
    padding: 0 20px;
}



/* 企业简介 */
.company-introduction {
    width: 1105px;
    min-height:400px ;
    margin: 40px auto;
    text-align: center;
}
.company-introduction p {
    font-size: 28px;
    color: #9C1111;
}

.company-introduction a {
    display: block;
    text-align: left;
    font-size: 14px;
    color: #757373;
    line-height: 2; /* 根据需要调整行距 */
}
.container-1 {
    display: flex;
    margin-top: 50px;
    justify-content: space-around;
}
.number-container {
}
.number-container a{
    text-align: center; /* 水平居中 */
}
.small-unit {
    font-size: x-small;
}

.number-container p:nth-child(2) {
    font-size: 12px;

}

.number-container p {
    white-space: nowrap;
}
@media (max-width: 1024px) {
    .company-introduction {
        width: 90% !important;
        height: auto;
        margin: 20px auto; /* 居中显示 */
        text-align: center;
        animation: fadeInLeft 1s ease-in-out;
    }

    .container-1 {
        width: 100%;
        max-width: none; /* 移除最大宽度限制 */
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .number-container {
        width: 45%; /* 调整每个子容器的宽度 */
        box-sizing: border-box;
        margin-bottom: 10px;
        padding: 10px;
    }
}
@media (max-width: 1200px) {
    .company-introduction {
        width: 900px;
    }
}



.service-top img {
    width: 100%;

}


.service-top p {
    font-size: 22px;
    margin-top: 5px;
    margin-bottom: 5px;

}

.service-top a {
    font-size: 13px;

}


.overlay-container {
    position: fixed;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    color: rgb(255, 255, 255);
    padding: 20px;
    overflow: auto;
    box-sizing: border-box;
    transition: left 0.3s ease-in-out;
}

.overlay-container.show {
    left: 0;
}

.overlay-container p {
    margin: 0;
    cursor: pointer;
    user-select: none;
    margin: 10px 0;
    transition: color 0.3s ease-in-out;
}

.overlay-container p:hover {
    color: red;
}

.overlay-container a {
    font-size: 12px;
    display: none;
    text-decoration: none;
    color: white;
    margin-top: 10px;
    transition: color 0.3s ease-in-out;
}

.overlay-container a:hover {
    color: red;
}

@media (max-width: 1024px) {
    .horizontal-layout {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        margin-top: 20px !important;
    }
}


/* 服务与支持 */
.service-container-all {
    background-color: #f8f7f7;
    padding-bottom: 20px;
    min-height: 550px;
}

.service-title {
    text-align: center;
    font-size: 26px;
    padding-top: 20px;
    color: #9C1111;
}

.service-content-container {
    max-width: 1100px;
    display: flex;
    margin: 50px auto 0; /* 上边距20px，水平居中 */
}
.service-left {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    align-items: center; /* 水平居中 */
}

.service-top {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-top-img {
    width: 60px;
    margin-right: 20px;
}

.service-top-title {
    margin: 30px 0; /* 上下边距都为20px */
    width: 400px;
}

.service-top:first-child {
    border-bottom: 1px solid #beb9b9;
}

.service-right {
    width: 550px;
    height: 350px;
    margin-left: auto; /* 将元素推到右侧 */
    display: flex;
}

@media screen and (max-width: 1200px) {
    .service-content-container {
        max-width: 1000px;
    }
    .service-top-title {
        width: 350px;
    }
}

@media screen and (max-width: 1024px) {
    .service-content-container {
        flex-direction: column; /* 切换为垂直布局 */
    }
    .service-top-title {
        margin: 10px 0; /* 上下边距都为20px */
        width: 90%;
    }
    .service-left {
        width: 90%;
        margin-left: auto; /* 左右居中 */
        margin-right: auto;
    }
    .service-top-img {
        width: 60px;
        margin-right: 10px;
    }
    .service-right {
        width: 90%; /* 宽度变为100% */
        margin-left: auto; /* 左右居中 */
        margin-right: auto;
    }
    .service-right img {
        width: 100%; /* 宽度变为100% */
    }
    .service-content-container {
        margin: 10px auto 0; /* 上边距20px，水平居中 */
    }
}
