* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/*:root {
    --primary-color: #1a3a8f;
    --secondary-color: #2c5282;
    --accent-color: #e63946;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --gray-color: #6c757d;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}*/

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --gray-color: #9da2a3;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

body {
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px;
    color: #a5c8ff;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* 轮播图样式 */
.carousel-container {
    margin: 30px 0 50px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    height: 500px;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-content {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px;
    max-width: 800px;
    border-radius: var(--border-radius);
    text-align: center;
}

.carousel-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.carousel-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: white;
}

/* 业务范围样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.services {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 核心数据样式 */
.stats {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 0;
    margin-bottom: 50px;
    text-align: center;
    border-radius: var(--border-radius);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* 经典案例样式 */
.cases {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.cases-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.cases-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
}

.case-card {
    min-width: calc(25% - 19px);
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-8px);
}

.case-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.case-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.case-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.case-link:hover i {
    transform: translateX(5px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

/* 行业案例样式 */
.industry-cases {
    margin-bottom: 50px;
}

.industry-case {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.industry-case:nth-child(even) {
    flex-direction: row-reverse;
}

.industry-img {
    flex: 0 0 45%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.industry-content {
    flex: 1;
    padding: 40px;
}

.industry-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.industry-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* 底部样式 */
.footer {
    background-color: #1a2530;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #b0b7c3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list i {
    margin-right: 10px;
    color: var(--accent-color);
    margin-top: 4px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a3747;
    color: #b0b7c3;
    font-size: 0.9rem;
}

/* 悬浮窗口样式 */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.floating-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    width: 250px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-menu h4 {
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.floating-menu ul {
    list-style: none;
    padding: 10px 0;
}

.floating-menu li {
    padding: 12px 15px;
    transition: background-color 0.2s;
}

.floating-menu li:hover {
    background-color: #f5f7fa;
}

.floating-menu a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.floating-menu i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-card {
        min-width: calc(33.33% - 17px);
    }

    .industry-case, .industry-case:nth-child(even) {
        flex-direction: column;
    }

    .industry-img {
        flex: 0 0 250px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .case-card {
        min-width: calc(50% - 13px);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .cases-slider-container {
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-content {
        padding: 20px;
    }

    .carousel-content h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .case-card {
        min-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .contact-info span {
        margin-right: 0;
    }

    .floating-widget {
        bottom: 20px;
        right: 20px;
    }
}