:root {
    --primary-color: #8828FF ;
    --secondary-color: #6F48C9;
    --background-color: #ffffff;
    --text-color: #333;
}
/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    padding-top: 165px; /* 桌面端导航栏高度 */
}
li {
    list-style: none;
 }
/* 通用标题样式 */
.section-title {
    color: #20184E;
    font-weight: 600;
    margin-bottom: 48px;
    position: relative;
    text-align: center;
}
/* 通用图标样式 */
.contact-icon {
    width: 32px;
    height: 32px;
}
/* 通用文本样式 */
.contact-text {
    color: #20184E;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 公司介绍 */
.company-contact{
     /* 修改定位方式 */
     margin-top: -165px;
     /* 移除top属性 */
     padding: 400px 0 170px;
     background: url(../images/bg2.png) no-repeat top;
     background-size: auto;
     background-position: top;
}
.section-title-en{
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 48px;
    text-transform: uppercase;
}
.section-title-zh{
    font-weight: 600;
    margin-bottom: 164px;
}
.company-contact-content{
    background: #fff;
    padding: 48px;
    border-radius: 20px;
    position: relative;
}
.company-contact-content::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg, rgba(130, 87, 230, 0.05) 0%, rgba(130, 87, 230, 0) 100%);
    pointer-events: none;
}
.company-contact-content h4{
    color: var(--text-color);
    font-weight: 600;
}
.company-contact-content h4::after{
    content: '';
    width: 68px;
    height: 2px;
    background: #400E7F ;
    border-radius: 1px;
    display: block;
    margin-top: 40px;
}
.company-contact-content .company-text{
    color: var(--text-color);
    font-weight: 400;
    line-height: 36px;
    margin-top: 40px;
    text-align: justify;
}
.company-contact-content .company-text p{
    margin-bottom: 40px;
}
.company-contact-content .company-text p:last-child{
    margin-bottom: 0;
}
/* 企业资质 */
.contact-section {
    position: relative;
    background: #fff;
    padding: 0 0 190px;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    background: url(../images/bg-img2.png) no-repeat bottom;
    width: 136px;
    height: 531px;
    z-index: 0;
}
.contact-section::after {
    content: '';
    position: absolute;
    bottom: -180px;
    background: url(../images/bg-img1.png) no-repeat top;
    width: 168px;
    height: 531px;
    z-index: 0;
    right: 0px;
    background-size: 80%;
}

.list-one ul{
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: flex-end;
}
.list-one li{
    width: 26%;
    height: inherit;
    aspect-ratio: 3 / 4;
}
.list-one li:last-child{
    width: 44%;
    height: inherit;
    aspect-ratio: 5 / 3;
}
.list-one li img,.list-two li img{
    width: 100%;
    height: 100%;
}
.list-two ul{
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
}
.list-two li{
    width: 24%;
    height: inherit;
    
}
.list-two li div{
    aspect-ratio: 3 / 4;
}
.list-two li p{
    text-align: center;
    color: #20184E;
    margin-top: 16px;
}

/* 移动端适配 */
@media (max-width: 991px) {
    body {
        padding-top: 48px; /* 移动端导航栏高度 */
    }

    /* 联系部分适配 */
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 32px;
    }
    
    .company-address {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* 调整联系部分的布局 */
    .contact-section .row {
        text-align: center;
    }

    .contact-section .d-flex {
        flex-direction: column;
        gap: 32px;
    }
    .company-contact {
        margin-top: -48px;
        padding: 80px 0 80px;
        background-size: cover;
    }
    .section-title-en{
        font-size: 32px;
        margin-bottom: 16px;
        text-transform: uppercase;
    }
    .section-title-zh{
        margin-bottom: 64px;
    }
    .company-contact-content{
        padding: 40px;
    }
    .company-contact-content::after {
        bottom: -30px;
        height: 30px;
    }
    .company-contact-content h4::after{
        margin-top: 40px;
    }
    .company-contact-content .company-text{
        line-height: 40px;
        margin-top: 40px;
    }
    .company-contact-content .company-text p{
        margin-bottom: 32px;
    }

}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    .contact-section::before,.contact-section::after {
        content: none;
    }
    .company-contact {
        margin-top: -166px;
        padding: 170px 0 50px;
        background-size: 100%;
    }
    .contact-section {
        padding: 10px 0;
    }
    .section-title-en{
        font-size: 60px;
        margin-bottom: 50px;
        text-transform: uppercase;
    }
    .section-title-zh{
        margin-bottom: 64px;
    }
    .company-contact-content{
        padding: 36px;
    }
    .company-contact-content::after {
        bottom: -30px;
        height: 30px;
    }
    .company-contact-content h4{
        font-size: 1.5rem;
    }
    .company-contact-content .company-text{
        line-height: 32px;
        margin-top: 24px;
    }
    .company-contact-content .company-text p{
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 30px;
    }
    .contact-content {
        position: relative;
        padding: 48px 16px;
    }
    .company-contact {
        margin-top: -48px;
        padding: 80px 0 20px;
        background-size: 200%;
    }
    .section-title-en{
        font-size: 32px;
        margin-bottom: 16px;
        text-transform: uppercase;
    }
    .section-title-zh{
        margin-bottom: 64px;
    }
    .company-contact-content{
        padding: 20px;
    }
    .company-contact-content::after {
        bottom: -30px;
        height: 30px;
    }
    .company-contact-content h4::after{
        margin-top: 20px;
    }
    .company-contact-content .company-text{
        line-height: 26px;
        margin-top: 20px;
    }
    .company-contact-content .company-text p{
        margin-bottom: 24px;
    }
    /* 企业资质 */
    .list-one li,.list-two li{
        width: 45%;
    }
    .list-one li:last-child {
        width: 80%;
        margin-top: 16px;
    }
    .list-two li p{
        margin-top: 8px;
        margin-bottom: 16px;
    }
}
