body {
    font-family: 'Helvetica Neue', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #0056b3;
    white-space: nowrap; /* Prevent company name from wrapping */
}

.header-logo {
    height: 20px; /* Adjust size as needed */
    width: auto;
    margin-right: 15px; /* Space between logo and text */
    border-radius: 4px; /* Make it rectangular with slightly rounded corners */
    object-fit: cover;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

header nav ul li {
    display: inline-block;
    margin-left: 15px;
    white-space: nowrap;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 8px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

header nav ul li a:hover, header nav ul li a.active {
    background-color: #0056b3;
    color: #fff;
}

/* Responsive header styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
    }
    
    header nav ul li {
        margin-left: 10px;
    }
    
    header nav ul li a {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
}

#hero {
    background: #0056b3;
    color: #fff;
    height: 25vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px; /* Header height */
}

#hero h2 {
    font-size: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #0056b3;
}

#about-intro p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.bubble-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bubble {
    background-color: #eaf4ff;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.1);
    font-size: 1rem;
    color: #0056b3;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-grow: 1;
    white-space: nowrap;
}

.bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.15);
    background-color: #dcebff;
}

/* Sticky Footer Styles */
.sticky-footer-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sticky-footer-page main {
    flex-grow: 1;
}

/* Tabs Styles */
.tabs-container {
    width: 100%;
    margin-top: 40px;
    padding-bottom: 40px;
}

.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #ddd;
}

.tabs-nav li a {
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    display: block;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.3s, border-bottom-color 0.3s;
}

.tabs-nav li a.active,
.tabs-nav li a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Thumbnail Grid Styles */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.thumbnail-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.thumbnail-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.thumbnail-caption {
    padding: 20px;
}

.thumbnail-caption h4 {
    margin: 0 0 10px 0;
    color: #0056b3;
    font-size: 1.2rem;
}

.thumbnail-caption p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

a.thumbnail-link {
    text-decoration: none;
}

/* Detail Page Styles */
.detail-container {
    padding: 20px 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.solution-detail-page .back-link {
    margin-left: 0;
}

.back-link:hover {
    text-decoration: underline;
}

.detail-title {
    text-align: center;
    margin-bottom: 30px;
}

.detail-image {
    display: block;
    width: 100%;
    margin: 0 auto 30px auto;
    text-align: center;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.planning-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.planning-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.detail-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.slider-container .prev,
.slider-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

.slider-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slider-container .prev:hover,
.slider-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* New Product Page Grid Styles */
.product-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-image-grid .grid-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-image-grid .grid-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Solutions Page Orbiting Spheres */
.solutions-page {
    text-align: center;
    padding: 40px 0;
}

.solution-orbit-container {
    position: relative;
    width: 600px;
    height: 600px; /* Make container a square for a perfect circle */
    margin: 60px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-sphere {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.6);
    z-index: 10;
}

a.orbit-item {
    text-decoration: none; /* Remove underline from links */
}

.orbit-item {
    position: absolute;
    display: flex;
    align-items: center;
    /* The transform origin is the center of the container */
    transform-origin: center center; 
}

.orbit-sphere {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #28a745, #1e7e34);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.5);
    flex-shrink: 0;
    animation: float 3.5s ease-in-out infinite;
}

.orbit-text {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    max-width: 160px; /* Constrain width to enforce wrapping */
    line-height: 1.4;   /* Improve readability for wrapped text */
}

/* Position items on the circle (radius ~260px) - True Circle Layout */
.item-1 { transform: rotate(0deg) translateX(260px) rotate(0deg); }
.item-2 { transform: rotate(60deg) translateX(260px) rotate(-60deg); }
.item-3 { transform: rotate(120deg) translateX(260px) rotate(-120deg); }
.item-4 { transform: rotate(180deg) translateX(260px) rotate(-180deg); }
.item-5 { transform: rotate(240deg) translateX(260px) rotate(-240deg); }
.item-6 { transform: rotate(300deg) translateX(260px) rotate(-300deg); }

/* Adjust text position */
.item-1 .orbit-text, .item-2 .orbit-text, .item-6 .orbit-text {
    margin-left: 15px; /* Right side */
}
.item-3 .orbit-text, .item-4 .orbit-text, .item-5 .orbit-text {
    margin-right: 15px; /* Left side */
}

/* Reverse layout for items on the left */
.item-3, .item-4, .item-5 {
    flex-direction: row-reverse;
    text-align: right;
}

/* Solution Detail Page Styles */
.solution-detail-page {
    padding: 40px 0;
    margin-top: 80px; /* Account for fixed header */
}

.solution-detail-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.solution-detail-page h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #0056b3;
}

/* 通用详情页面标题样式 */
.detail-page h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #0056b3 !important;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 20px 0;
    background-color: transparent;
    border: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 确保详情页面有足够的顶部间距 */
.detail-page {
    padding-top: 100px;
}

.detail-page .main-content {
    min-height: 60vh;
}

.solution-detail-container {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between image and text */
    margin-bottom: 50px; /* Increased margin for stacking */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
}

.solution-detail-container .image-content,
.solution-detail-container .text-content {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

.solution-detail-container .image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.solution-detail-container .text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.solution-detail-page .solution-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Responsive styles for solution detail pages */
@media (max-width: 768px) {
    .solution-detail-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .solution-detail-page .container {
        padding: 0 15px;
    }
    
    .solution-detail-page h1 {
        font-size: 1.8rem;
    }
}

/* Project Cases Page Styles */
.cases-page .cases-intro {
    text-align: center;
    margin-bottom: 40px;
}

.case-card-container {
    display: grid;
    grid-template-columns: repeat(3, 300px); /* Set a fixed width for cards */
    gap: 30px;
    justify-content: center; /* Center the grid */
}

.case-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

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

.case-card .card-content {
    padding: 20px;
}

.case-card .card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.case-card .card-content h3 a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.case-card .card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Case Detail Page Styles */
.case-detail-page {
    padding: 40px 0;
}
.case-detail-page h1 {
    text-align: center;
    margin-bottom: 30px;
}
.case-detail-page .case-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Responsive styles for cases page */
@media (max-width: 768px) {
    .case-card-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .cases-page .cases-intro {
        padding: 0 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 70vh;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
}

/* ========================================= */
/*          New Index Page Styles            */
/* ========================================= */

/* General Section Styling */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
    color: #2c3e50;
}

.full-width > .container {
    padding: 0; /* Override base container padding for full-width sections */
}

/* 1. Hero Section */
.hero-section {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; /* Changed text color to white */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/index/hero-background.jpg') no-repeat center center/cover;
    /* filter: brightness(0.6); Removed filter for a lighter background */
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* Dark shadow for contrast */
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* Dark shadow for contrast */
}

.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}


/* 2. Core Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 35px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 8px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(0, 123, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 123, 255, 0.2);
}

.service-card .card-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    transform: rotateY(180deg);
    box-shadow: 
        0 12px 35px rgba(0, 123, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card .card-icon::before {
    content: '→';
    position: absolute;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    transform: rotateY(180deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-icon::before {
    opacity: 1;
}

.service-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #007bff;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: #495057;
    opacity: 1;
}

/* 添加响应式动画 */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 25px;
    }
    
    .service-card .card-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
}

/* 3. Why Choose Us Section */
.why-us-section {
    background-color: #fff;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.feature-row:last-child {
    margin-bottom: 0;
}
/* Reverse layout for the second feature */
.feature-row:nth-child(odd) .feature-text {
    order: 2;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #343a40;
}
.feature-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* 4. Call to Action Section */
.cta-section {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.cta-button {
    background-color: #fff;
    color: #007bff;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}
.cta-button:hover {
    transform: translateY(-3px);
    background-color: #f8f9fa;
}


/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in {
    /* No transform needed, just fade */
}
.fade-in-down {
    transform: translateY(-30px);
}
.fade-in-up {
    transform: translateY(30px);
}
.slide-in-left {
    transform: translateX(-50px);
}
.slide-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}


.product-section p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Product Page Styles */
.product-section {
    margin-bottom: 50px;
    text-align: center;
}

.product-section h2 {
    margin-bottom: 25px;
}

.product-section img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.certificate-item {
    width: 250px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.certificate-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.certificate-gallery-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.certificate-gallery-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.certificate-gallery-5 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

.bg-light {
    background-color: #f4f4f4;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media(max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header h1 {
        margin-bottom: 1rem;
    }
    
    #hero {
        margin-top: 120px; /* Adjusted for taller header */
    }

    #hero h2 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }
} 

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-body {
    padding: 30px;
}

.modal-body h2 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.back-btn {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.back-btn:hover {
    background-color: #004494;
}

/* 模态框图片样式 */
.modal-images {
    margin: 20px 0;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* 项目信息样式 */
.project-info-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.project-info-section h3 {
    color: #0056b3;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.info-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-label {
    font-weight: 600;
    color: #666;
    min-width: 100px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    margin-left: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        margin-left: 0;
    }
} 

/* 产品解决方案页面Tab样式 */
.solutions-tabs-page {
    padding-top: 80px;
}

.solutions-hero {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.solutions-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.solutions-stats {
    background: #f8f9fa;
    padding: 40px 0;
}

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

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0056b3;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solutions-tabs-container {
    padding: 50px 0;
}

.solutions-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 2px solid #ddd;
    justify-content: center;
    flex-wrap: wrap;
}

.solutions-tabs-nav li {
    margin: 0 5px;
}

.solutions-tabs-nav li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
}

.solutions-tabs-nav li a:hover,
.solutions-tabs-nav li a.active {
    color: #0056b3;
    border-bottom-color: #0056b3;
    background: #f8f9fa;
}

.solutions-tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-header {
    text-align: center;
    margin-bottom: 40px;
}

.tab-header h2 {
    color: #0056b3;
    font-size: 2rem;
    margin-bottom: 15px;
}

.tab-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.scenario-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #0056b3;
}

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

.scenario-item h4 {
    color: #0056b3;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.scenario-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .solutions-tabs-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .solutions-tabs-nav li {
        margin: 5px 0;
    }
    
    .solutions-tabs-nav li a {
        padding: 12px 20px;
    }
    
    .solutions-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tab-header h2 {
        font-size: 1.5rem;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scenario-item {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
} 

/* 新的解决方案网格页面样式 */
.solutions-grid-page {
    padding-top: 0;
    background: white;
    min-height: 100vh;
}

.solutions-hero-grid {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/solutions/solutions_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 160px 0 100px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.solutions-hero-grid h1 {
    font-size: 2.8rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.highlight-blue {
    color: #007bff;
    font-weight: 700;
}

.solutions-hero-grid .highlight-blue {
    color: #4fc3f7;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.solutions-cards-container {
    padding: 60px 0;
}

.solutions-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-card-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.solution-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.solution-card-header {
    margin-bottom: 20px;
}

.solution-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.solution-card-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.solution-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.solution-scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
}

.scenario-tag {
    display: flex;
    align-items: center;
    padding: 3px 0;
    color: #333;
    font-size: 0.9rem;
    border-bottom: none;
    font-weight: 400;
}

.scenario-tag:last-child {
    border-bottom: none;
}

.check-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .solutions-hero-grid {
        padding: 120px 0 60px 0;
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .solutions-hero-grid h1 {
        font-size: 2rem;
        line-height: 1.2;
        padding: 0 20px;
    }
    
    .solutions-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .solution-card-item {
        padding: 20px;
    }
    
    .solution-card-item h3 {
        font-size: 1.2rem;
    }
    
    .solution-desc {
        font-size: 0.9rem;
    }
    
    .scenario-tag {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .solutions-hero-grid {
        padding: 110px 0 50px 0;
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .solutions-hero-grid h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 15px;
    }
    
    .solutions-cards-container {
        padding: 40px 0;
    }
    
    .solution-card-item {
        padding: 15px;
    }
} 

/* Tab导航图标样式 */
.tab-icon {
    margin-right: 8px;
    vertical-align: middle;
}

/* 段落标题图标样式 */
.section-icon {
    margin-right: 12px;
    vertical-align: middle;
}

.tab-header h2 {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

/* 场景项目图标样式 */
.scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.scenario-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.scenario-item div {
    flex: 1;
}

.scenario-item h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.scenario-item p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Tab导航链接图标颜色 */
.solutions-tabs-nav li a {
    display: flex;
    align-items: center;
}

.solutions-tabs-nav li a .tab-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.solutions-tabs-nav li a:hover .tab-icon,
.solutions-tabs-nav li a.active .tab-icon {
    opacity: 1;
} 

/* 图标和标题同行布局 */
.solution-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.solution-title-row .solution-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.solution-title-row h3 {
    margin: 0;
    flex: 1;
}

/* 通用卡片样式 - 动态背景图片 */
.mine-safety-card,
.traffic-card,
.disaster-card,
.water-card,
.energy-card,
.construction-card {
    /* 背景将通过JavaScript动态设置 */
}

.mine-safety-card .solution-card-header h3,
.traffic-card .solution-card-header h3,
.disaster-card .solution-card-header h3,
.water-card .solution-card-header h3,
.energy-card .solution-card-header h3,
.construction-card .solution-card-header h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mine-safety-card .solution-desc,
.traffic-card .solution-desc,
.disaster-card .solution-desc,
.water-card .solution-desc,
.energy-card .solution-desc,
.construction-card .solution-desc {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.mine-safety-card .scenario-tag,
.traffic-card .scenario-tag,
.disaster-card .scenario-tag,
.water-card .scenario-tag,
.energy-card .scenario-tag,
.construction-card .scenario-tag {
    background: transparent;
    color: white;
    border: none;
}

.mine-safety-card .scenario-tag .check-icon,
.traffic-card .scenario-tag .check-icon,
.disaster-card .scenario-tag .check-icon,
.water-card .scenario-tag .check-icon,
.energy-card .scenario-tag .check-icon,
.construction-card .scenario-tag .check-icon {
    stroke: #4ade80 !important;
}



/* 卡片链接样式 */
.solution-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.solution-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.solution-card-link:visited {
    color: inherit;
}

.solution-card-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 方案详情页面布局样式 */
.solution-content-section {
    margin: 40px 0;
    padding: 0 20px;
}

/* 左文字右图片布局 */
.text-image-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.text-image-layout .text-content {
    flex: 1;
    padding-right: 20px;
}

.text-image-layout .image-content {
    flex: 1;
    text-align: center;
}

.text-image-layout .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 左图片右文字布局 */
.image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.image-text-layout .image-content {
    flex: 1;
    text-align: center;
}

.image-text-layout .text-content {
    flex: 1;
    padding-left: 20px;
}

.image-text-layout .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 文字内容样式 */
.text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: justify;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .text-image-layout,
    .image-text-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .text-image-layout .text-content,
    .image-text-layout .text-content {
        padding: 0;
    }
    
    .solution-content-section {
        padding: 0 10px;
        margin: 20px 0;
    }
    
    .text-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .solution-content-section {
        margin: 15px 0;
    }
    
    .text-image-layout,
    .image-text-layout {
        gap: 15px;
    }
}

/* 案例分类标签样式 */
.case-categories {
    margin: 30px 0;
    text-align: center;
}

.category-tabs {
    display: inline-flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    margin: 0 2px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.category-tab:hover {
    background: #e9ecef;
    color: #333;
}

.category-tab.active {
    background: #0056b3;
    color: white;
    box-shadow: 0 2px 4px rgba(0,86,179,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        background: none;
        padding: 0;
        box-shadow: none;
    }
    
    .category-tab {
        margin: 4px;
        padding: 10px 16px;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 20px;
        font-size: 0.9rem;
    }
    
    .category-tab.active {
        border-color: #0056b3;
    }
}