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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
    min-height: 100vh;
}

/* 页面背景样式 */
body.about-page {
    background-image: url('images/about-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

body.services-page {
    background-image: url('images/services-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

body.news-page {
    background-image: url('images/news-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

body.contact-page {
    background-image: url('images/contact-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

body::before {
    display: none;
}

body.about-page::after,
body.services-page::after,
body.news-page::after,
body.contact-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
    pointer-events: none;
}

/* Logo样式 */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.company-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    max-width: 150px;
    margin-right: 20px;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px 0;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.company-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .logo-container {
        gap: 10px;
    }

    .company-logo {
        height: 55px;
    }

    .company-name {
        font-size: 16px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* 页面标题样式 */
.page-header {
    margin-top: 80px;
    padding: 3rem 5%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* 轮播图样式 */
.slider {
    position: relative;
    margin-top: 70px;
    height: 500px;
    overflow: hidden;
    z-index: 1;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-in-out;
}

.slide.active img {
    transform: scale(1);
}

/* 轮播图图片标题 */
.slide-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 5;
    opacity: 0;
    transition: all 0.8s ease;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 80%;
}

.slide.active .slide-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.slide-caption h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-caption p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 轮播图左右切换按钮样式 */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-button i {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.slider-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.slider-button:hover i {
    transform: scale(1.2);
}

.slider-button.prev {
    left: 20px;
}

.slider-button.next {
    right: 20px;
}

.slider-button:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* 轮播图指示点样式 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .slider {
        height: 300px;
    }
    
    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-button.prev {
        left: 10px;
    }
    
    .slider-button.next {
        right: 10px;
    }
    
    .slider-button.fullscreen {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 8px;
        padding: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .slide-caption {
        bottom: 60px;
        padding: 15px 20px;
        max-width: 90%;
    }
    
    .slide-caption h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .slide-caption p {
        font-size: 14px;
    }
    
    .slider-progress {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 250px;
    }
    
    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-button.prev {
        left: 5px;
    }
    
    .slider-button.next {
        right: 5px;
    }
    
    .slider-button.fullscreen {
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
    }
    
    .slide-caption {
        bottom: 50px;
        padding: 10px 15px;
    }
    
    .slide-caption h3 {
        font-size: 16px;
    }
    
    .slide-caption p {
        font-size: 12px;
    }
}

/* 轮播图进度条 */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* 轮播图加载状态 */
.slider-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.slider-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 首页特色部分 */
.features-section {
    padding: 4rem 5%;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #e0e6ed;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #34495e;
    line-height: 1.6;
}

/* 首页统计数据部分 */
.stats-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-label {
    font-size: 1.2rem;
    color: #ecf0f1;
}

/* 首页新闻预览部分 */
.news-preview {
    padding: 4rem 5%;
    background: #fff;
}

.news-preview h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e0e6ed;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.news-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: #34495e;
    margin-bottom: 1rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* 首页联系我们部分 */
.contact-preview {
    padding: 4rem 5%;
    background: #f8fafc;
    text-align: center;
}

.contact-preview h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-preview p {
    color: #34495e;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #2980b9;
}

/* 公司简介 */
.about {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-highlight {
    margin-bottom: 40px;
}

.about-highlight h3 {
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 600;
}

.stock-code {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.about-description {
    margin-bottom: 50px;
}

.about-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

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

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .about {
        padding: 40px 0;
    }

    .about-highlight h3 {
        font-size: 24px;
    }

    .stock-code {
        font-size: 16px;
    }

    .about-description p {
        font-size: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-item i {
        font-size: 28px;
    }

    .feature-item h4 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 14px;
    }
}

/* 优势卡片样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #e0e6ed;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advantage-card p {
    color: #34495e;
    line-height: 1.6;
}

/* 服务项目部分 */
.services-section {
    padding: 4rem 5%;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #e0e6ed;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .service-icon {
    width: 240px;
    height: 240px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #34495e;
}

.service-card ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* 新闻动态样式 */
.news-section {
    padding: 4rem 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.news-item {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e0e6ed;
}

.news-date {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
}

.news-content h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.news-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: #34495e;
    margin-bottom: 1rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 联系我们样式 */
.contact-section {
    padding: 4rem 5%;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e6ed;
    border-radius: 5px;
    font-size: 1rem;
    background: #f8fafc;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2980b9;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #e0e6ed;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-date {
        min-width: auto;
        padding: 1rem;
    }

    .news-date .day {
        font-size: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .service-card .service-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .capability-card .service-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }
    
    .testing-card .service-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }
}

/* 服务详情部分 */
.service-details {
    padding: 4rem 5%;
    background: #fff;
}

.service-details .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-details h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
    transition: transform 0.3s;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.detail-card ul {
    list-style: none;
}

.detail-card ul li {
    color: #34495e;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.detail-card ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* 视频部分样式 */
.video-section {
    padding: 4rem 5%;
    background: #f8fafc;
}

.video-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    display: none;
}

.video-container.loading .video-loading {
    display: block;
}

.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-align: center;
}

/* 公司优势部分样式优化 */
.advantages-section {
    padding: 4rem 5%;
    background: #fff;
}

.advantages-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #e0e6ed;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advantage-card p {
    color: #34495e;
    line-height: 1.6;
}

/* 公司图片展示样式 */
.company-gallery {
    padding: 4rem 5%;
    background: #fff;
}

.company-gallery .container {
    max-width: 1200px;
    margin: 0 auto;
}

.company-gallery h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.8);
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-caption {
        transform: translateY(0);
        background: rgba(44, 62, 80, 0.9);
    }
}

/* 检测标准部分样式 */
.standards-section {
    padding: 4rem 5%;
    background: #fff;
}

.standards-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.standards-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.standard-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
}

.standard-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.standard-content h4 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.standard-content p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.standard-content ul {
    list-style: none;
    padding-left: 1rem;
}

.standard-content ul li {
    color: #34495e;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.standard-content ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.standard-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.standard-content ul ul li {
    font-size: 0.95rem;
    color: #666;
}

/* 测试能力部分样式 */
.capabilities-section {
    padding: 4rem 5%;
    background: #f8fafc;
}

.capabilities-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.capabilities-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e6ed;
    transition: transform 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
}

.capability-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.capability-card .service-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.capability-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.capability-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.capability-card ul li {
    color: #34495e;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.capability-card ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .standards-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .standard-card {
        padding: 1.5rem;
    }

    .capability-card {
        padding: 1.5rem;
    }
}

/* 环境可靠性测试页面样式 */
.testing-intro {
    padding: 4rem 5%;
    background: #fff;
}

.testing-intro h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.testing-intro p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.testing-items {
    padding: 4rem 5%;
    background: #f8fafc;
}

.testing-items h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testing-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testing-card:hover {
    transform: translateY(-5px);
}

.testing-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.testing-card .service-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.testing-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.testing-card p {
    margin-bottom: 1rem;
    color: #666;
}

.testing-card ul {
    list-style: none;
    padding-left: 0;
}

.testing-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.testing-card ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.testing-card ul ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.testing-card ul ul li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.testing-card ul ul li:before {
    content: "◦";
    color: #3498db;
}

.testing-standards {
    padding: 4rem 5%;
    background: #fff;
}

.testing-standards h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.standards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.standard-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
}

.standard-item h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.standard-item ul {
    list-style: none;
    padding-left: 0;
}

.standard-item ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.standard-item ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.testing-process {
    padding: 4rem 5%;
    background: #f8fafc;
}

.testing-process h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
}

@media (max-width: 768px) {
    .testing-grid,
    .standards-list {
        grid-template-columns: 1fr;
    }
    
    .testing-card,
    .standard-item {
        padding: 1.5rem;
    }
}

/* 证书展示部分样式 */
.certificates-section {
    margin-top: 3rem;
    padding: 2rem 0;
}

.certificates-section h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-caption {
    padding: 1rem;
    text-align: center;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    background: #f8fafc;
    border-top: 1px solid #e0e6ed;
}

.certificate-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.certificate-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.certificate-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.certificate-image::before {
    content: '证书图片';
    position: absolute;
    color: #999;
    font-size: 1rem;
    display: none;
}

.certificate-image img[src*="placeholder.jpg"] + .certificate-image::before {
    display: block;
}

.certificate-item:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-caption {
    padding: 1rem;
    text-align: center;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    background: #f8fafc;
    border-top: 1px solid #e0e6ed;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .certificate-image {
        aspect-ratio: 3/2;
    }

    .certificate-caption {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* 资质证书轮播图 */
.certificates {
    padding: 60px 0;
    background: #f8fafc;
}

.certificate-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 500px; /* 添加最小高度 */
}

.certificate-slide {
    display: none;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.certificate-slide:first-child {
    display: block;
    opacity: 1;
    position: relative;
}

.certificate-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.certificate-image:hover {
    transform: scale(1.02);
}

.certificate-caption {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: #1a237e;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-prev:hover,
.slider-next:hover {
    background: #0d47a1;
}

.slider-dots {
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #1a237e;
}

/* 证书图片占位符样式 */
.certificate-image[src*="placeholder.jpg"] {
    background-color: #f8fafc;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.certificate-image[src*="placeholder.jpg"]::before {
    content: "证书图片";
    color: #666;
    font-size: 18px;
}

@media (max-width: 768px) {
    .certificate-slider {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .certificate-image {
        max-width: 100%;
    }
    
    .certificate-caption {
        font-size: 16px;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* 服务项目 */
.services-section {
    padding: 4rem 5%;
    background: #f8fafc;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #e0e6ed;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .service-icon {
    width: 240px;
    height: 240px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #34495e;
}

.service-card ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* 资质证书展示 */
.certificates-showcase {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e6ed;
}

.certificates-title {
    text-align: center;
    font-size: 28px;
    color: #1a237e;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.certificate-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-image {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
    background: #f8fafc;
}

.certificate-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.certificate-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 126, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 18px;
}

.certificate-item:hover .certificate-overlay {
    transform: translateY(0);
}

.certificate-item:hover .certificate-image img {
    transform: scale(1.05);
}

/* 占位图样式 */
.certificate-image img[src*="placeholder.jpg"] {
    object-fit: contain;
    padding: 20px;
}

.certificate-image img[src*="placeholder.jpg"]::before {
    content: "证书图片";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 24px;
}

@media (max-width: 1200px) {
    .certificates-grid {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .certificates-showcase {
        margin-top: 40px;
        padding-top: 30px;
    }

    .certificates-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .certificate-overlay {
        transform: translateY(0);
        background: rgba(26, 35, 126, 0.8);
        font-size: 16px;
    }
}

/* 公司风采 */
.company-showcase {
    padding: 80px 0;
    background: #f8fafc;
}

.company-showcase h2 {
    text-align: center;
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 50px;
    font-weight: 600;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 改为2列显示 */
    gap: 40px; /* 增加间距 */
    max-width: 1400px; /* 增加最大宽度 */
    margin: 0 auto;
    padding: 0 20px;
}

.company-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.company-item:hover {
    transform: translateY(-5px);
}

.company-image {
    position: relative;
    padding-top: 60%; /* 调整比例 */
    overflow: hidden;
}

.company-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.company-item:hover .company-image img {
    transform: scale(1.05);
}

.company-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 126, 0.9);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 20px; /* 增大字体 */
    font-weight: 500;
}

@media (max-width: 1200px) {
    .company-grid {
        max-width: 1000px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .company-showcase {
        padding: 40px 0;
    }

    .company-showcase h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .company-caption {
        padding: 15px;
        font-size: 18px;
    }
}

/* 全屏按钮样式 */
.slider-button.fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 14px;
    z-index: 15;
}

.slider-button.fullscreen i {
    font-size: 16px;
}

/* 全屏模式样式 */
.slider.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    margin-top: 0;
}

.slider.fullscreen-mode .slider-button.fullscreen i {
    transform: rotate(45deg);
} 