/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #111;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #ff6b00;
    color: #fff;
}

.btn-primary:hover {
    background-color: #ff8b33;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.btn-dark {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
}

.btn-dark:hover {
    background-color: #333;
}

.btn-outline {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-outline:hover {
    background-color: #000;
    color: #fff;
}

.btn-outline-blue {
    background-color: transparent;
    color: #2d8cf0;
    border: 2px solid #2d8cf0;
}

.btn-outline-blue:hover {
    background-color: #2d8cf0;
    color: #fff;
}

.btn-blue {
    background-color: #2d8cf0;
    color: #fff;
}

.btn-blue:hover {
    background-color: #5ca5f5;
}

.btn-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255, 107, 0, 0.2);
    color: #ff6b00;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

.btn-view-all {
    color: #ff6b00;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.section-subtitle {
    font-size: 1rem;
    color: #ff6b00;
    font-weight: normal;
    margin-top: 5px;
}

.section-subtitle.green {
    color: #00ff9d;
}

.section-description {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

/* 头部导航 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

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

.logo img {
    height: 80px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: #ff6b00;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6b00;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    /*align-items: center;*/
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}

.hero-title .highlight {
    color: #ff6b00;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 30px;
}

.hero-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.hero-description p {
    color: #bbb;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-graphic {
    position: relative;
}

.graphic-shape {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.carousel-container {
    position: relative;
    height: 400px;
}

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

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

.slide.active {
    opacity: 1;
}

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

.slide-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 30px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #ff6b00;
}

/* 居中电话按钮 */
.phone-button-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #ff6b00;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background-color: #ff8b33;
    transform: scale(1.05);
}

.phone-btn i {
    font-size: 1.2rem;
}

/* 合作伙伴区域 */
.partners-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-item {
    flex: 0 0 calc(20% - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    /*filter: brightness(0) invert(1);*/
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logo-item img:hover {
    opacity: 1;
}

/* 服务区域 */
.services-section {
    padding: 80px 0;
}

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

.service-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #aaa;
}

/* 实验室区域 */
.lab-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.lab-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.lab-card:hover {
    transform: translateY(-10px);
}

.lab-image {
    height: 250px;
    overflow: hidden;
}

.lab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.lab-card:hover .lab-image img {
    transform: scale(1.05);
}

.lab-content {
    padding: 20px;
}

.lab-date {
    color: #ff6b00;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.lab-position {
    color: #aaa;
    margin-bottom: 5px;
}

.lab-name {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lab-desc {
    color: #bbb;
}

/* 核心理念区域 */
.philosophy-section {
    padding: 80px 0;
    background-color: #ff6b00;
    color: #000;
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.philosophy-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    border-color: #000;
    color: #000;
}

.btn-outline:hover {
    background-color: #000;
    color: #00ff9d;
}

/* 全球合作区域 */
.global-section {
    padding: 80px 0;
    text-align: center;
}

.global-visual {
    position: relative;
    height: 400px;
    margin: 40px 0;
}

.world-map {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400" fill="%231a1a1a"><path d="M0,0H800V400H0Z" fill="%231a1a1a"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #2d8cf0;
    border-radius: 50%;
    box-shadow: 0 0 20px #2d8cf0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 140, 240, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(45, 140, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 140, 240, 0); }
}

.global-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* 新闻区域 */
.news-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.news-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #aaa;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

/* 页脚 */
.main-footer {
    background-color: #ff6b00;
    color: #000;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.nav-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #000;
}

.nav-column ul {
    list-style: none;
}

.nav-column li {
    margin-bottom: 10px;
}

.nav-column a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-column a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: #222;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #000;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #000;
    color: #ff6b00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    color: #222;
}

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

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lab-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-content {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111;
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .phone-btn span {
        /*display: none;*/
    }
    
    .btn-primary {
    display: none;
   }
    
    .phone-btn {
        padding: 15px;
    }
    
    .logo-item {
        flex: 0 0 calc(33.33% - 40px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .global-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-item {
        flex: 0 0 calc(50% - 40px);
    }
    
    .nav-column {
        flex: 0 0 calc(50% - 30px);
    }
}