/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #00B0F0;
    font-weight: 700;
}

.nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #00B0F0;
}

.phone {
    display: flex;
    align-items: center;
    color: #00B0F0;
    font-weight: 600;
}

.phone i {
    margin-right: 5px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* 首屏样式 */
.hero {
    background-image: url('../img/office2.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #00B0F0;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #00B0F0;
    color: #fff;
}

/* 关于我们样式 */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #00B0F0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 30px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00B0F0;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 服务项目样式 */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: #00B0F0;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    font-size: 16px;
    color: #666;
}

/* 成功案例样式 */
.cases {
    padding: 80px 0;
    background-color: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.case-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.case-info p {
    font-size: 14px;
    color: #666;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    padding-right: 30px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00B0F0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 30px;
    height: 30px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #00B0F0;
}

.contact-map {
    flex: 1;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    margin-right: 30px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 固定咨询按钮样式 - 文字在图标下方 */
.fixed-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.contact-hotline, .contact-wechat {
    width: 80px; /* 加宽按钮容纳文字 */
    height: 110px; /* 加高按钮容纳图标+文字 */
    background-color: #00B0F0;
    color: #fff;
    border-radius: 8px; /* 圆角矩形更适合上下布局 */
    display: flex;
    flex-direction: column; /* 垂直排列图标和文字 */
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 86, 179, 0.3);
    transition: all 0.3s;
    padding: 10px 5px; /* 内部留白 */
}

.contact-hotline:hover, .contact-wechat:hover {
    background-color: #00B0F0;
    transform: scale(1.05);
}

.contact-hotline i, .contact-wechat i {
    font-size: 32px; /* 图标尺寸 */
    margin-bottom: 10px; /* 图标与文字间距 */
}

/* 文字样式 - 位于图标下方 */
.contact-hotline span, .contact-wechat span {
    color: #fff; /* 白色文字与蓝色背景对比 */
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* 电话号码悬停显示 */
.hotline-number {
    position: absolute;
    left: -160px; /* 显示在按钮左侧 */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    color: #00B0F0;
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    font-size: 16px;
    min-width: 140px;
    text-align: center;
}

.contact-hotline:hover .hotline-number {
    opacity: 1;
    visibility: visible;
    left: -150px; /* 向左移动显示 */
}

/* 微信二维码悬停显示 */
.wechat-qrcode {
    position: absolute;
    left: -170px; /* 显示在按钮左侧 */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.wechat-qrcode img {
    width: 150px;
    height: 150px;
}

.contact-wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
    left: -160px; /* 向左移动显示 */
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .about-text,
    .about-image,
    .contact-info,
    .contact-map {
        flex: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .footer-col {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    /* 咨询按钮响应式调整 */
    .fixed-contact {
        right: 10px;
    }
    
    .contact-hotline, .contact-wechat {
        width: 70px;
        height: 100px;
    }
    
    .contact-hotline i, .contact-wechat i {
        font-size: 28px;
    }
    
    .contact-hotline span, .contact-wechat span {
        font-size: 13px;
    }
    
    .wechat-qrcode img {
        width: 130px;
        height: 130px;
    }

    .hotline-number {
        min-width: 120px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
}
/* 专业领域样式 */
.industries {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-10px);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.industry-icon i {
    font-size: 28px;
    color: #00B0F0;
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.industry-card p {
    font-size: 16px;
    color: #666;
}
