/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

.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: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info span {
    margin-right: 20px;
}

.header-info i {
    margin-right: 5px;
    color: #007bff;
}

.header-nav {
    padding: 20px 0;
}

.header-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

.logo span {
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* 轮播图样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.banner-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
}

.banner-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-indicators li.active {
    background-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;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
}

.about-img {
    flex: 1;
    margin-right: 50px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 10px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

/* 产品服务样式 */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-img img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.product-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #007bff;
    position: absolute;
    left: 0;
}

.product-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* 成功案例样式 */
.cases {
    padding: 80px 0;
    background-color: #fff;
}

.cases-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #007bff;
    color: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-10px);
}

.case-img {
    height: 200px;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-item:hover .case-img img {
    transform: scale(1.1);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.case-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.case-client {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
}

/* 新闻资讯样式 */
.news {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-10px);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.news-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* 招聘中心样式 */
.recruitment {
    padding: 80px 0;
    background-color: #fff;
}

.jobs-list {
    max-width: 800px;
    margin: 0 auto;
}

.job-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.job-item:hover {
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-title {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.job-salary {
    font-size: 16px;
    color: #007bff;
    font-weight: 500;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.job-info span {
    font-size: 14px;
    color: #666;
    margin-right: 30px;
    margin-bottom: 10px;
}

.job-info i {
    margin-right: 5px;
    color: #007bff;
}

.job-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-requirements {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-requirements h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.job-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.job-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-right: 30px;
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    color: #007bff;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item div h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-item div p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #0056b3;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

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

.footer-contact {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: #007bff;
}

.footer-contact span {
    font-size: 14px;
    color: #ccc;
}

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

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-img {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .contact-info {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .feature-item {
        min-width: 100%;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-salary {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .header-top .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-info span {
        margin-bottom: 10px;
    }

    .banner {
        height: 400px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-text h3 {
        font-size: 20px;
    }

    .product-content h3,
    .case-content h3,
    .news-content h3 {
        font-size: 18px;
    }

    .job-title {
        font-size: 18px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }
}

/* 懒加载样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* 加载动画 */
.loading {
    position: relative;
    overflow: hidden;
}

.loading:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    100% {
        left: 100%;
    }
}