/* main.css - Consolidated styles for the website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    overflow-x: hidden;
    line-height: 1;
    font-size: 16px;
    font-family: "Arial", "Microsoft YaHei", "\u5b8b\u4f53", Tahoma, Geneva, sans-serif;
    color: #333;
}

::-webkit-scrollbar {
    width: 5px;
}

a, a:hover, a:active, a:link, a:visited {
    text-decoration: none;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

a {
    color: #3b3b3b;
}

a:hover {
    color: #095ab5;
}

ul {
    display: flex;
    justify-content: space-between;
}

li {
    list-style: none;
}

img {
    vertical-align: top;
}

/* Header Styles */
.page-header {
    width: 100vw;
    position: fixed;
    top: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 100;
}

.headerTwo {
    position: relative;
    z-index: 2;
    width: 1260px;
    height: 90px;
    margin: 0 auto;
    background: transparent;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #dbdbdbce;
}

.headerTwo-right {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.welcome {
    position: fixed;
    top: 0;
    left: 0;
    display: flex !important;
    align-items: center;
    top: 10px;
    left: 30px;
    width: 600px;
    height: 100px;
    text-align: left;
    padding-left: 25px;
    font-size: large;
}

.welcome img {
    position: relative;
    margin-top: 35px;
    margin-left: -40px;
    height: 100px;
}

.welcome span {
    color: #dddddd !important;
    transform: translateY(30px);
    font-size: 24px;
}

.ulDiv {
    width: 300px;
    float: left;
    line-height: 60px;
}

.ulDiv ul{
    height: 100%;
    margin: 0;
}

.ulDiv li {
    display: flex;
    align-items: end;
    line-height: 15px;
}

.ulDiv a {
    line-height: 15px;
    color: #dbdbdbce;
    font-size: 14px;
}

.searchBox {
    position: relative;
    width: 180px;
    margin-left: 20px;
}

.searchBox input {
    padding:0 1em ;
    width: 100%;
    height: 30px;
    border-radius: 200px;
    background: transparent;
    color: #dbdbdbce;
    border: 1px solid rgba(255, 255, 255, 0.534);
    outline: none;
}

.searchBox input::placeholder {
    color: #dbdbdbce;
}

#searchSubmit {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1em;
    border: none;
    background: transparent;
}

/************************导航栏*************************/

#nav {
    width: 1300px;
    background: transparent;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 auto;
    margin-top: 15px;
}

#nav ul>li {
    width: 120px;
    height: 60px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

#nav .inner {
    width: 1100px;
}
#nav .inner ul {
    justify-content: flex-end;
}

#nav .inner>ul>li:hover {
    border-radius: 5px;
    background-color: #0764de75 !important;
}

#nav .has-child>a::after {
    content: "▾";
    color: #fff;

}


#nav a.menu-link {
    /*导航单元*/
    height: 100%;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.0em;
    font-weight: 800;
}

#nav .sub-menu {
    /*二级展开菜单*/
    position: absolute;
    flex-direction: column;
    justify-content: space-around;
    z-index: 100;
    display: flex;
    transform-origin: top center;
    transform: rotateX(90deg);
    opacity: 0;
    transition: cubic-bezier(0.455, 0.03, 0.515, 0.955) all 0.5s;

}



#nav li:hover .sub-menu {
    opacity: 1;
    transform: rotateX(0deg);
}


#nav .sub-menu .sub-item {
    /*二级展开菜单栏目*/
    width: 120px;
    height: 60px;
    background-color: rgba(42, 96, 180, 0.47);
}

#nav .sub-item::before {
    position: absolute;
    content: "";
    display: block;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: rgb(160, 160, 160);
}

#nav .sub-link {
    color: #fff;
    font-size: 1.0em;
    font-weight: 800;
    padding: 0.3em;
    height: 100%;
    width: 100%;
}

/*********************轮播图*********************************/

.slideshow {
    width: 100%;
    height: 40vw;
    background-color: rgba(250, 250, 250, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-inner {
    height: 100%;
}


/*轮播图图片容器*/
.slideshow-pictures {
    overflow: hidden;
    left: 0px;
    width: 100%;
    height: 100%;
}

.carousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 100%;
}


.carousel-item {
    height: 100%;
}

.carousel-item a {
    display: block;
    height: 100%;
}

.carousel-item p {
    background-color: #33333340;
    width: 100%;
    padding: 10px;
    position: absolute;
    bottom: 15px;
    color: #fff;
    font-size: 14px;
}

.inside-box {
    position: absolute;
    width: 700vw;
    height: 100%;
    transition: all 1s ease;
    left: -100vw;
}

#left-arrow,
#right-arrow {
    visibility: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(146, 177, 255, 0.33);
    border-radius: 2px;
}

#left-arrow {
    left: 10px;
}

#right-arrow {
    right: 10px;
}

.rotation-list-pointer {
    position: absolute;
    width: 10vw;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.5em;
}

.rotation-list-pointer .ptr {
    text-align: center;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 0.5px solid rgb(189, 189, 189);
}

.current-ptr {
    background-color: rgba(0, 71, 170, 0.456);
}

/* Main Content Styles */
.content {
    width: 100%;
}

/* Quick Service Links */
.quick-service {
    padding: 10px 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-service .quick-service-item {
    cursor: pointer;
    width: 250px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quick-service .service-icon {
    height: 70px;
    width: 70px;
    margin-bottom: 20px;
}

.quick-service .service-divider {
    width: 3px;
    height: 35px;
    border-radius: 3px;
    background-color: #adadadb6;
}

.quick-service .quick-service-item:hover .link-title {
    color: #2900e1;
}

/* News Section Styles */
.news-section {
    position: relative;
    height: 450px;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.news-section > div {
    position: relative;
    z-index: 2;
}

.news-section.section-1::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../image/im1.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list-contain {
    width: 620px;
}

.news-list-contain .news-list-tbar {
    margin-top: 15px;
    padding: 5px 0;
    margin-bottom: 10px;
}

.news-list-contain .news-list-tbar .title {
    font-size: 24px;
    font-weight: bold;
}

.news-list-contain .news-list-tbar .icon {
    margin-right: 10px;
    width: 25px;
}

.news-list-contain .news-list-tbar .more {
    padding: 5px 25px;
    color: #1677ff;
    border-radius: 100px;
    display: inline-block;
    text-align: center;
    border: 1px solid #1677ff66;
}

.news-list {
    width: 100%;
}

.news-list > ul {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-list>ul li {
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
    position: relative;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.5em;
    background-color: #fff;
    border-radius: 4px;
    padding-left: 0.5em;
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
    padding-right: 25px;
    box-shadow:
            0px 0px 10px rgba(0, 0, 0, 0.1),
            0px 0px 20px rgba(0, 0, 0, 0);

}

.news-list>ul li>a {
    margin-left: 1.2em;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.news-list>ul li>.time {
    text-align: right;
    width: 4em;
}
/* Continued from main.css */

/* Project Links */
.project-links {
    overflow: hidden;
    width: 50%;
    padding: 1em;
    flex: 1;
}

.project-links .project-links-item {
    width: 100%;
    cursor: pointer;
    padding: 20px 30px;
    margin-top: 20px;
    border-radius: 10px;
    color: #fff !important;
    font-size: 18px;
    opacity: 0.7;
    transition: all ease .4s;
    justify-content: space-between;
}

.project-links-item span {
    color: #fff !important;
}

.project-links-item:hover {
    justify-content: space-between;
    opacity: 1;
}

.project-links .project-links-item:nth-child(1) {
    background-image: linear-gradient(to right top, #1677ff, #5a73fa, #7c6ff4, #966aec, #ab66e4);
}

.project-links .project-links-item:nth-child(2) {
    background-image: linear-gradient(to right top, #7c6ff4, #956ef9, #ad6dfc, #c56afe, #dc67ff);
}

.project-links .project-links-item:nth-child(3) {
    background-image: linear-gradient(to right top, #ff6795, #ff708c, #ff7a84, #ff857f, #ff8f7b);
}

.project-links .project-links-item:nth-child(4) {
    background-image: linear-gradient(to left top, #ff6795, #ff797f, #ff916c, #ffac5f, #ffc65d);
}

/* Case Display Section */
.tsplide {
    height: 450px;
    background: url(../image/layers/layer-2.png);
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: rgb(250, 250, 250);
}

.splide__track {
    width: 1280px;
    padding: 30px 0 100px;
}

.case-card {
    position: relative;
    width: 240px !important;
    margin: 0 20px !important;
    height: 260px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow:
            0px 0px 5.3px rgba(0, 0, 0, 0.028),
            0px 0px 17.9px rgba(0, 0, 0, 0.042),
            0px 0px 20px rgba(0, 0, 0, 0.1);
}

.case-card .cover {
    width: 100%;
    height: 125px;
}

.case-card .layer-cover {
    width: 100%;
    height: 135px;
    background-color: rgba(250, 250, 250, 1);
}

.case-card .card-content {
    border-radius: 3px;
    padding: 10px;
    position: absolute;
    top: 100px;
    width: 220px;
    height: 150px;
    left: 10px;
    background-color: #fcfcfc;
    box-shadow:
            0px 0px 3.6px rgba(0, 0, 0, 0.035),
            0px 0px 10px rgba(0, 0, 0, 0.05);
}

.case-card .card-content .case-title {
    font-size: 18px;
    font-weight: bold;
}

.case-card .card-content .case-time {
    margin-top: 8px;
    font-size: 15px;
    line-height: 16px;
    color: #7f7f7f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-card .card-content .case-brief {
    margin-top: 8px;
    font-size: 15px;
    line-height: 16px;
    color: #7f7f7f;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.case-card .card-content .case-no {
    margin-top: 8px;
    font-size: 15px;
    line-height: 16px;
    color: #7f7f7f;
}

.case-card .card-content .detail-link {
    color: #1677ffb2;
}

/* Custom Divider */
.custom-divider {
    text-align: center;
    margin: 2rem 0;
}

.custom-divider h3 {
    font-size: 1.75rem;
    color: #0571ecda;
    line-height: 1.25;
    display: inline-block;
    padding: 0.625rem 3.125rem 0;
    position: relative;
    z-index: 2;
}

.custom-divider h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.125rem;
    border: 1px solid;
    border-color: #3d5af1;
    z-index: -1;
}

.custom-divider h3::after {
    content: "";
    position: absolute;
    top: 2rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 5px;
    background: rgba(250, 250, 250, 1);
    z-index: -1;
}

/* Footer Styles */
#footer {
    height: auto;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    background: #0063e4;
    width: 100%;
}

#footer .footer-content {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

#footer::after {
    content: '';
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url("../image/im2.png") no-repeat;
    opacity: 0.1;
    background-size: cover;
}

#footer .logo {
    margin: 0 auto;
    max-width: 900px;
    height: 75px;
    display: flex;
    color: rgb(241, 241, 241);
    justify-content: center;
    align-items: center;
}

#footer .logo img {
    height: 80%;
    margin: auto;
    padding-bottom: 0;
}

#footer .logo span {
    padding-left: 20px;
    display: inline-block;
    line-height: 80px;
    font-size: 35px;
    color: rgb(241, 241, 241);
}

.foot-info {
    padding: 20px 0;
    width: 100%;
    max-width: 800px;
    color: rgb(241, 241, 241);
    margin: 0 auto;
}

.foot-info > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5em 0;
    text-align: center;
}

.foot-info > div a {
    color: rgb(241, 241, 241);
}

.foot-info > div a:hover {
    color: rgb(0, 0, 0);
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .headerTwo,
    #nav,
    .news-section > div,
    .splide__track {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .welcome {
        width: auto;
        max-width: 50%;
    }

    .news-list-contain,
    .project-links {
        width: 48%;
    }

    .project-links {
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .headerTwo {
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .welcome {
        position: relative;
        top: 0;
        left: 0;
        margin: 20px 0;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .welcome img {
        margin-left: 0;
        margin-top: 0;
    }

    .headerTwo-right {
        width: 100%;
        justify-content: center;
    }

    #nav {
        margin-top: 90px;
    }

    #nav ul > li {
        width: auto;
    }

    .news-section {
        height: auto;
        padding: 40px 0;
    }

    .news-section > div {
        flex-direction: column;
    }

    .news-list-contain,
    .project-links,
    .tsplide {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .splide__track{
      width: 100% !important;
    }


    .quick-service {
        flex-wrap: wrap;
    }

    .quick-service .quick-service-item {
        width: 50%;
        margin: 15px 0;
    }

    .quick-service .service-divider {
        display: none;
    }

    #footer .logo {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    #footer .logo span {
        padding-left: 0;
        line-height: 1.5;
        margin: 5px 0;
    }

    .foot-info > div {
        flex-direction: column;
    }

    .foot-info > div span {
        margin: 5px 0;
    }
    #footer .logo img{
        width: 35vw;
    }
}

@media (max-width: 768px) {
    #nav {
        margin-top: 60px;
    }

    #nav .inner > ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #nav ul > li {
        width: 33.33%;
    }

    .quick-service .quick-service-item {
        width: 100%;
    }

    .slideshow {
        height: 70vw;
    }

}

@media (max-width: 576px) {
    .welcome span {
        font-size: 18px;
    }

    .welcome img {
        height: 60px;
    }

    #nav ul > li {
        width: 50%;
    }

    .news-list > ul li {
        font-size: 1em;
    }

    #footer .logo span {
        font-size: 24px;
    }

}