/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container.head{
   padding: 0 16px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    border-color: #007bff;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border-color: #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: #fff;
}

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo img {
    height: 40px;
}

.mobile-close-btn {
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.mobile-nav-list {
    padding: 20px 0;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #007bff;
}

/* 主要内容区域 */
.main {
    margin-top: 80px;
}

/* 区块标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 30% 20% 20% 30%;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #ccc;
    line-height: 1.8;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* 右侧咨询按钮 */
.consultation-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    border: none;
    text-decoration: none;
}

.consultation-btn:hover {
    background: linear-gradient(45deg, #ff5722, #ff6b35);
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.consultation-btn .consultation-icon {
    font-size: 18px;
    margin-right: 5px;
}

.consultation-btn span {
    font-size: 14px;
    font-weight: 500;
}

/* 右下角悬浮弹窗 */
.floating-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 320px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.popup-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.popup-close {
    font-size: 20px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 20px;
}

.contact-options {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: #f8f9fa;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.contact-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 30px;
    text-align: center;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.quick-message {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.quick-message textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 10px;
    font-family: inherit;
}

.quick-message textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.send-btn {
    width: 100%;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        /*padding: 0 15px;*/
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main {
        margin-top: 70px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .consultation-btn {
        right: 15px;
        padding: 12px 15px;
    }
    
    .consultation-btn span {
        display: none;
    }
    
    .floating-popup {
        right: 15px;
        bottom: 15px;
    }
    
    .popup-content {
        width: 280px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 480px) {
  .footer-content{
    padding: 0 15px;
  }
}