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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 2px solid #0066cc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 24px;
    color: #0066cc;
    font-weight: bold;
}

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

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0066cc;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    height: 100%;
}

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

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

.carousel-slide:nth-child(1) {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.carousel-slide:nth-child(2) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.carousel-slide:nth-child(3) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
}

.carousel-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.carousel-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0052a3;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-control:hover {
    background-color: rgba(255,255,255,0.9);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* 服务特点展示样式 */
.services-section {
    padding: 60px 0;
    background-color: #fff;
}

/* 公司简介样式 */
.about-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

/* 联系信息样式 */
.contact-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

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

.contact-map {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s;
}

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

.copyright {
    margin-bottom: 20px;
    font-size: 16px;
}

.icp-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icp-number {
    margin-bottom: 10px;
    font-size: 14px;
}

.icp-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.icp-link:hover {
    color: #0066cc;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-content h2 {
        font-size: 36px;
    }
    
    .carousel-content p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
        font-size: 20px;
    }
    
    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-menu li {
        margin: 5px 10px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .carousel {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 28px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-content p {
        font-size: 16px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-map {
        order: 1;
        width: 100%;
    }
    
    .contact-item {
        font-size: 16px;
    }
    
    .footer-links a {
        margin: 0 10px;
        font-size: 14px;
    }
    
    .copyright {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 250px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .carousel-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
    }
    
    .footer-links a {
        margin: 5px 0;
    }
}