* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 轮播图区域 */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* 导航栏 - 放在轮播图内部上方 */
.carousel .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    padding: 20px 0;
    box-shadow: none;
}

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

.carousel .navbar-brand {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.carousel .navbar-brand img {
    height: 60px;
    margin-right: 10px;
}

.carousel .navbar-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

.carousel .navbar-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

.carousel .navbar-nav li a:hover {
    color: #ffc107;
}

.carousel .navbar-nav li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: width 0.3s;
}

.carousel .navbar-nav li.active a::after {
    width: 40px;
}

/* 移动端菜单按钮 */
.carousel .navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.carousel .navbar-toggle .toggle-bar {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.carousel .navbar-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.carousel .navbar-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.carousel .navbar-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* 轮播内容 */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播文字内容 */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.carousel-caption .logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.carousel-caption .logo-wrapper img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.carousel-caption .logo-wrapper span {
    font-size: 18px;
    font-weight: bold;
}

.carousel-caption h1 {
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 10px;
    margin-bottom: 20px;
}

.carousel-caption h1 span {
    color: #ffc107;
}

.carousel-caption h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.carousel-caption p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
    letter-spacing: 8px;
}

.carousel-caption h3 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 4px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicators span.active {
    width: 30px;
    border-radius: 6px;
    background: #fff;
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
    color: #333;
}

.title-underline {
    width: 40px;
    height: 3px;
    background: #ffc107;
    margin: 0 auto 25px;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 14px;
}

/* 业务范围 */
.services {
    padding: 80px 0;
    background: rgb(242, 241, 236);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
    gap: 25px;
    justify-content: center;
}

a.service-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-content {
    text-align: center;
    background: rgb(242, 241, 236);
    /* border-radius: 10px;
    border-style: solid;
    border-color: rgb(110,110,110);
    border-width: 0.5px; */
    border:none;
    padding: 30px 15px;
    position: relative;
    cursor: pointer;
    min-height: 200px;
    overflow: hidden;
}

.service-item:hover .service-front {
    opacity: 0;
}

.service-item:hover .service-back {
    opacity: 1;
    pointer-events: auto;
}

.service-front,
.service-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: opacity 0.4s ease-in-out;
}

.service-front {
    background: rgb(242, 241, 236);
    border-style: solid;
    border-color: rgb(110,110,110);
    border-width: 0.5px;
    opacity: 1;
}

.service-back {
    background: #ffc107;
    color: #fff;
    opacity: 0;
    pointer-events: none;
}

.service-back p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.service-icon:hover {
    transform: scale(1.1);
}

.service-icon img {
    width: 50px;
    height: 50px;
}

.service-item h3 {
    font-size: 16px;
    color: #333;
}

/* 案例展示 */
.cases {
    padding: 80px 0;
}

.case-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.case-item .case-img {
    flex-shrink: 0;
}

.case-item h3,
.case-item p {
    flex-shrink: 0;
}

.case-item .case-btn-wrapper {
    margin-top: auto;
    padding: 0 20px 15px;
}

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

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

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

.case-item h3 {
    padding: 15px 20px 10px;
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
}

.case-item p {
    padding: 0 20px;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.4;
}

.case-btn {
    margin: 0 5px 0;
    padding: 4px 16px;
    background: rgb(255, 247, 234);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    color: rgb(243,195,3);
    transition: background 0.3s;
}

.case-btn:hover {
    background: #e0a800;
}

.cases-more {
    text-align: center;
    margin-top: 40px;
}

.more-btn {
    cursor: pointer;
    width: 120px;
    height: 40px;
    border: none;
    color: #fff;
    font-size: 12px;
    text-align: left;
    padding-left: 15px;
    transition: opacity 0.3s;
    position: relative;
    background: transparent;
}

.more-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.more-btn span {
    position: relative;
    z-index: 1;
}

.more-btn:hover {
    opacity: 0.8;
}

/* 技术赋能横幅 */
.tech-banner {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.tech-banner h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 300;
}

.banner-btn {
    padding: 12px 40px;
    background: #ffc107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: background 0.3s;
}

.banner-btn:hover {
    background: #e0a800;
}

/* 解决方案 */
.solutions {
    padding: 80px 0;

    text-align: center;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 40px;
}

.solution-item {
    background: rgb(250, 250, 250);
    text-align: left;
}

.solution-icon {
    width: 100%;
}

.solution-icon img {
    width: 100%;
}

.solution-item h3 {
    font-size: 18px;
    margin-left: 15px;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.solution-item p {
    font-size: 14px;
    color: #666;
    margin-left: 15px;
    margin-bottom: 10px;
    text-align: left;
    width: 85%;
}

/* 数据统计 */
.stats {
    padding: 60px 0;
    background: rgb(232, 242, 233);
}

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

.stat-item {
    text-align: center;
    border-left: 1px solid #1565c0;
    padding-left: 30px;
}

.stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.stat-item h3 {
    font-size: 48px;
    color: rgb(0,53,96);
}

.stat-item h3 span {
    font-size: 16px;
}

.stat-item p {
    font-size: 24px;
    color: rgb(0,53,96);
    margin-bottom: 0;
}

/* 页脚 */
.footer {
    background: rgb(0, 53, 97);
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    flex: 1;
    margin-left: 60px;
}

.footer-logo {
    height: 35px;
    margin-bottom: 10px;
    margin-right: 65px;
}

.footer-left span {
    font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
}

.footer-left p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.footer-qr {
    display: flex;
    gap: 40px;
    margin-right: 45px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 120px;
    height: 120px;
    background: #fff;
}

.qr-item p {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .carousel .navbar-toggle {
        display: flex;
    }
    
    .carousel .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        background: rgba(0, 53, 97, 0.95);
        border-radius: 8px;
        padding: 15px 0;
        min-width: 150px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        gap: 0;
    }
    
    .carousel .navbar-nav.active {
        display: flex;
    }
    
    .carousel .navbar-nav li {
        padding: 10px 20px;
        text-align: center;
    }
    
    .carousel .navbar-nav li a {
        display: block;
        font-size: 16px;
        padding: 5px 0;
    }
    
    .carousel-caption h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }
    
    .carousel-caption h2 {
        font-size: 36px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-content {
        padding: 20px 10px;
        min-height: 160px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-icon img {
        width: 30px;
        height: 30px;
    }
    
    .service-item h3 {
        font-size: 14px;
    }
    
    .service-back p {
        font-size: 11px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left {
        margin-left: 0;
    }
    
    .footer-qr {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-right: 0;
    }
    
    .qr-item img {
        width: 100px;
        height: 100px;
    }
}