:root {
    --primary-color: #8828FF ;
    --secondary-color: #6F48C9;
    --background-color: #F8F9FA;
    --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; /* 桌面端导航栏高度 */
}




/* 通用标题样式 */
.section-title {
    color: #20184E;
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

/* 通用图标样式 */
.contact-icon {
    width: 32px;
    height: 32px;
}

/* 通用文本样式 */
.contact-text {
    color: #20184E;
    font-size: 1.5rem;
}

/* 联系部分 */
.contact-section {
    padding: 125px 0 280px;
    background: white;
    position: relative;
}
.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    background: url(../images/bg-img2.png) no-repeat bottom;
    width: 136px;
    height: 531px;
    z-index: 0;
}
.contact-section::after {
    content: '';
    position: absolute;
    top: 50px;
    background: url(../images/bg-img1.png) no-repeat top;
    width: 168px;
    height: 531px;
    z-index: 0;
    right: 0;
}
/* 内容区域容器 */
.contact-content {
    position: relative;
    padding: 3rem 7rem;
}

/* 添加半圆形投影 */
.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    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;
}
.two-icon{
    text-align: left;
}
/* 二维码样式 */
.qr-code {
    width: 120px;
    height: 120px;
}

/* 地址样式 */
.company-address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    flex-flow: column;
}

.address-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #20184E;
    margin-bottom: 0.5rem;
    display: inline-block;
    margin-left: 0.5rem;
}

.address-text {
    margin: 0;
    font-size: 1.5rem;
    color: #20184E;
}

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

    /* 联系部分适配 */
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .company-address {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .two-icon{
        text-align: center;
    }
    .contact-icon {
        width: 28px;
        height: 28px;
    }

    .contact-text {
        font-size: 0.9rem;
    }
    .address-text,.address-title {
        font-size: 0.9rem;
        margin-left: 0.1rem;
    }

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

    .contact-section .d-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .contact-section .row > div {
        margin-bottom: 2rem;
    }
    
    .contact-section .row > div:last-child {
        margin-bottom: 0;
    }
    
    .contact-section .d-flex {
        gap: 1.5rem;
    }

    .company-address {
        margin-top: 1rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    .contact-section::before,.contact-section::after {
        content: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
    .contact-content {
        position: relative;
        padding: 3rem 1rem;
    }
}