/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 导航栏 */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: #0066cc;
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0066cc;
}

/* 首页横幅 */
.hero {
    background: url('images/home.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 102, 204, 0.6), rgba(0, 102, 204, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 36px;
    margin-bottom: 36px;
}

.company-intro {
    max-width: 1000px;
    margin: 0 auto 30px;
    font-size: 24px;
    line-height: 1.6;
    text-align: center;
}

.company-intro p {
    margin-bottom: 15px;
    font-size: 24px;
}

.btn {
    display: inline-block;
    background-color: #ffffff;
    color: #0066cc;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 通用部分样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 36px;
}

section h3 {
    margin-bottom: 20px;
    color: #0066cc;
    font-size: 24px;
}

section h4 {
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
}

/* 关于我们 */
.about {
    background-color: #ffffff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.team-section, .vision-section {
    margin-top: 40px;
}

.vision-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.vision-item {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* 产品与服务 */
.products {
    background-color: #f9f9f9;
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
}

.category {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category .product-list,
.category .service-list,
.category .tool-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-item, .service-item, .tool-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    flex-grow: 1;
}

.product-item:last-child, .service-item:last-child, .tool-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-image {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    ali
    
}

.product-image img {
    width: 100%;
    height:100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-item ul, .tool-item ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* 解决方案 */
.solutions {
    background-color: #ffffff;
}

.solution-item {
    margin-bottom: 50px;
}

.solution-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.solution-text {
    flex: 1;
    min-width: 300px;
}

.solution-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.solution-item {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.solution-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.solution-text ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* 成功案例 */
.cases {
    background-color: #f9f9f9;
}

.case-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
}

.case-category {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.case-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.case-item h4 {
    color: #0066cc;
    margin-bottom: 15px;
}

.case-item p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 核心优势 */
.advantages {
    background-color: #ffffff;
}

.advantage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.advantage-item {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 48px;
    color: #0066cc;
    margin-bottom: 20px;
}

/* 联系我们 */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form,
.contact-map {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container {
    margin-top: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #0066cc;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 28px;
    }

    section h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    section h2 {
        font-size: 24px;
    }

    .container {
        width: 95%;
    }

    .category, .case-category {
        padding: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-item, .product-item, .service-item, .tool-item, .case-item, .solution-item {
    animation: fadeIn 0.5s ease-in-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052a3;
}