.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* 页面标题 */
.contact-title {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title h2 {
    font-size: 36px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
}

.contact-title p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 联系信息主体 */
.contact-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 联系信息卡片 */
.contact-info {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    flex: 0 0 calc(50% - 15px);
    min-width: 280px;
}

.info-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background-color: #0F73FF;
    color: #1677ff;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.info-icon img{
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px;
    font-weight: 500;
}

.info-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 5px;
}

/* 高德地图容器样式，确保和原有布局匹配 */
.contact-map {
    width: 100%;
    height: 400px; /* 可根据需要调整高度 */
    position: relative;
}
#amap-container {
    width: 100%;
    height: 100%;
}
.map-fallback {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    text-align: center;
    padding: 20px;
}
.map-fallback i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #333;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-title h2 {
        font-size: 28px;
    }

    .contact-info {
        padding: 30px 20px;
        gap: 20px;
    }

    .info-item {
        flex: 0 0 100%;
        min-width: auto;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
    }

    .info-content h4 {
        font-size: 18px;
    }

    .info-content p {
        font-size: 14px;
    }

    .contact-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-map {
        height: 300px;
    }
}