* {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background-color: #fff;
}

.site-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

/* 头部区域 */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    flex-wrap: wrap;
    border-bottom: 1px solid #eef0f3;
}

.logo-area {
    font-size: 28px;
    font-weight: 600;
    color: #1e2b3c;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.logo-area img {
    width: 100%;
    max-width: 180px;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 16px;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.2s;
    padding: 0;
}

.nav-links a:hover {
    color: #4a6cf7;
}

.action-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.register-btn {
    background-color: #4a6cf7;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(74,108,247,0.3);
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    background-color: #3154e0;
    color: white;
    transform: scale(1.02);
}

/* 联系我们banner区域 */
.contact-banner {
    background-image: linear-gradient(rgba(26, 40, 65, 0.45), rgba(26, 40, 65, 0.9)), url('/images/wy/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 380px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.banner-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.6;
}

/* 客服团队区域 */
.customer-service {
    width: 1200px;
    max-width: 90%;
    margin: 70px auto 40px; /* 减少底部间距 */
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e2b3c;
    margin-bottom: 12px;
}

.section-title p {
    color: #5e6f8d;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* 客服卡片样式 - 修复间距 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px; /* 增加底部间距 */
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 15px 30px rgba(0, 20, 50, 0.08);
    border: 1px solid #f0f4fc;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(74, 108, 247, 0.12);
    border-color: rgba(74, 108, 247, 0.2);
}

.service-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: #eef3fe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6cf7;
    font-size: 28px; /* 调整图标大小 */
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-info {
    flex: 1;
}

.service-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e2b3c;
    margin-bottom: 6px;
}

.service-role {
    font-size: 15px;
    color: #4a6cf7;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(74, 108, 247, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.service-qq {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-qq::before {
    content: "QQ";
    font-size: 13px;
    background: #f0f4fc;
    color: #4a6cf7;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* 修复立即联系按钮居中显示并增加宽度 */
.contact-btn-container {
    width: 100%;
    justify-content: center;
    padding-top: 10px; /* 增加顶部间距 */
}

.contact-btn {
    display: inline-block;
    background-color: #4a6cf7;
    color: white;
    border: none;
    padding: 12px 28px; /* 增加内边距，使按钮更宽 */
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: 160px; /* 设置固定宽度 */
    max-width: 100%; /* 确保在小屏幕上自适应 */
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.2);
}

.contact-btn:hover {
    background-color: #3154e0;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(74, 108, 247, 0.3);
}

/* 其他联系信息 - 修复一行三列布局 */
.contact-info-section {
    background: #f8fafd;
    padding: 70px 0;
    margin-top: 20px;
}

.contact-info {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0, 20, 50, 0.05);
    text-align: center;
    height: 100%;
    margin-bottom: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: #eef3fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #4a6cf7;
    font-size: 24px;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e2b3c;
    margin-bottom: 10px;
}

.info-desc {
    color: #5e6f8d;
    font-size: 15px;
    line-height: 1.6;
}

/* 修复一行三列布局 - 确保正确使用Bootstrap 3网格 */
.contact-info-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.contact-info-col {
    padding-left: 15px;
    padding-right: 15px;
    width: 33.33333333%;
    float: left;
}

/* 底部 */
.footer {
    background-color: #17181b;
    padding: 5px 0;
    line-height: 50px;
    text-align: center;
    color: #808082;
    font-size: 16px;
}

.footer a {
    color: #808082;
    font-size: 16px;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-col {
        width: 50%;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 16px 24px;
        flex-direction: column;
        gap: 16px;
    }

    .nav-group {
        flex-direction: column;
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-col {
        width: 100%;
    }

    .banner-title {
        font-size: 30px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    /* 移动端按钮调整 */
    .contact-btn {
        width: 140px; /* 移动端稍小一点 */
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .contact-btn {
        width: 100%; /* 超小屏幕上占满宽度 */
        max-width: 180px;
    }
}