/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: "微软雅黑", "思源黑体", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

/* 容器样式 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航栏 */
#header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #165DFF;
    margin: 0;
}

@media (max-width: 768px) {
    #header .container {
        height: 60px;
    }
    .logo {
        gap: 8px;
    }
    .logo-img {
        width: 35px;
        height: 35px;
    }
    .logo h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #header .container {
        height: auto;
        padding: 15px 20px;
    }
    .logo {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .logo-img {
        width: 30px;
        height: 30px;
    }
    .logo h1 {
        font-size: 18px;
    }
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #165DFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #165DFF;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #FFFFFF;
    background-color: #165DFF;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-link.active::after {
    width: 0;
}

/* 主体内容区 */
.main {
    margin-top: 80px;
    padding: 60px 0;
}

/* 通用区块样式 */
.section {
    padding: 60px 0;
    border-bottom: 1px solid #F5F7FA;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 40px;
    text-align: center;
}

/* 联系我们区块 */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact-item {
    flex: 1;
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333333;
}

.contact-item p {
    font-size: 16px;
    color: #666666;
}

.wechat-qr {
    margin-top: 15px;
}

.wechat-id {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
    font-weight: 500;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999999;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qr-placeholder:hover {
    border-color: #165DFF;
    box-shadow: 0 0 10px rgba(22, 93, 255, 0.2);
}

/* 找到我们区块 */
.location-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.location-info {
    flex: 1;
}

.location-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.location-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333333;
}

.location-info p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 10px;
}

.visit-notice {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.visit-notice p {
    font-size: 14px;
    color: #999999;
}

.map-link {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #F5F7FA;
    border-radius: 8px;
}

.map-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #165DFF;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-button:hover {
    background-color: #0E48D9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

/* 案例展示区块 */
.cases-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.case-card {
    flex: 1;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.case-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333333;
}

.case-info p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

.case-info strong {
    color: #333333;
}

.highlight {
    color: #FF7D00;
    font-weight: 500;
}

/* 团队展示区块 */
.team-container {
    display: flex;
    justify-content: center;
}

.team-card {
    max-width: 400px;
    width: 100%;
}

.team-card {
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999999;
}

.team-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

.team-title {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #999999;
    line-height: 1.5;
}

/* 底部信息栏 */
#footer {
    background-color: #F5F7FA;
    padding: 40px 0;
    text-align: center;
}

#footer h2 {
    font-size: 20px;
    font-weight: bold;
    color: #165DFF;
    margin-bottom: 10px;
}

#footer p {
    font-size: 14px;
    color: #999999;
}

/* 响应式设计 - 适配所有机型 */

/* 大屏桌面 */
@media (max-width: 1440px) {
    .container {
        width: 1200px;
    }
}

/* 中等桌面 */
@media (max-width: 1200px) {
    .container {
        width: 960px;
    }
}

/* 小屏桌面/平板横屏 */
@media (max-width: 992px) {
    .container {
        width: 768px;
    }
    
    .contact-container,
    .cases-container,
    .team-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item,
    .case-card,
    .team-card {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .location-container {
        flex-direction: column;
    }
    
    .map-container,
    .map-link {
        width: 100%;
        margin-top: 30px;
    }
}

/* 平板竖屏 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    #header .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav li {
        margin: 0 10px;
        margin-bottom: 10px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .main {
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .contact-item,
    .case-card,
    .team-card {
        padding: 20px;
    }
    
    .contact-icon {
        font-size: 36px;
    }
    
    .qr-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .map-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 大屏手机 */
@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
    
    #header .container {
        padding: 15px;
    }
    
    .nav ul {
        gap: 10px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .contact-item,
    .case-card,
    .team-card {
        padding: 15px;
    }
    
    .map-container iframe {
        height: 220px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    #header .container {
        padding: 12px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .nav li {
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 8px 16px;
        border-radius: 4px;
        font-size: 13px;
    }
    
    .main {
        padding: 30px 0;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .contact-item,
    .case-card,
    .team-card {
        padding: 15px 12px;
    }
    
    .contact-item h3,
    .case-card h3,
    .team-card h3 {
        font-size: 16px;
    }
    
    .contact-item p,
    .case-info p,
    .team-title,
    .team-desc {
        font-size: 13px;
    }
    
    .location-info p {
        font-size: 13px;
    }
    
    .visit-notice p {
        font-size: 11px;
    }
    
    .map-container iframe {
        height: 200px;
    }
    
    .map-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    #footer h2 {
        font-size: 16px;
    }
    
    #footer p {
        font-size: 11px;
    }
}

/* 极小屏手机 */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    #header .container {
        padding: 10px;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .contact-icon {
        font-size: 28px;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    .case-info p {
        font-size: 12px;
    }
}