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

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

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

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 20px auto 0;
    border-radius: 2px;
}

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

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

/* 公司简介样式 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    margin-right: 50px;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

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

/* 科研实力样式 */
.research {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.research-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.research-item {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    margin: 0 15px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px;
}

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

.research-icon {
    width: 80px;
    height: 80px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.research-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.research-item p {
    color: #666;
    line-height: 1.6;
}

/* 科研实力图片容器 */
.research-images-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.research-awards,
.research-image,
.business-gallery-item {
    flex: 1;
    text-align: center;
    margin: 0 10px;
    min-width: 250px;
    max-width: 300px;
}

.research-awards img,
.research-image img,
.business-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-awards img:hover,
.research-image img:hover,
.business-gallery-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 核心业务图片画廊 */
.business-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* 核心业务样式 */
.business {
    padding: 100px 0;
    background-color: #fff;
}

.business-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.business-item {
    flex: 1;
    background-color: #f8f9fa;
    padding: 30px;
    margin: 0 15px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px;
}

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

.business-icon {
    width: 80px;
    height: 80px;
    background-color: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.business-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.business-item p {
    color: #666;
    line-height: 1.6;
}

/* 质量管控样式 */
.quality {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.quality-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.quality-text {
    flex: 1;
    margin-right: 50px;
    min-width: 300px;
}

.quality-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.quality-image {
    flex: 1;
    min-width: 300px;
}

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

/* 营销网络样式 */
.marketing {
    padding: 100px 0;
    background-color: #fff;
}

.marketing-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.marketing-item {
    flex: 1;
    background-color: #f8f9fa;
    padding: 30px;
    margin: 0 15px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px;
}

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

.marketing-icon {
    width: 80px;
    height: 80px;
    background-color: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.marketing-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.marketing-item p {
    color: #666;
    line-height: 1.6;
}

/* 企业使命样式 */
.mission {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/mission-bg.jpg') center/contain no-repeat scroll;
    color: #fff;
    text-align: center;
}

.mission-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 联系方式样式 */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-text p {
    color: #666;
    font-size: 1rem;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-right: 50px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-right: 50px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

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

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

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .quality-content {
        flex-direction: column;
    }
    
    .about-text,
    .quality-text {
        margin-right: 0;
        margin-bottom: 50px;
    }
    
    .research-content,
    .business-content,
    .marketing-content {
        justify-content: center;
    }
    
    .research-item,
    .business-item,
    .marketing-item {
        margin: 0 10px 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info {
        margin-right: 0;
        margin-bottom: 50px;
    }
    
    .contact-map {
        height: 300px;
    }
}