* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    width: 90px;
    height: 90px;
    margin-right: 1.5rem;
}

.company-name {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 20px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1a73e8;
}

.search-section {
    position: relative;
    display: inline-block;
}

.search-section .search-box {
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 10px 40px;
    width: 200px;
    outline: none;
}

.search-section .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.search-icon {
    font-size: 1rem;
    cursor: pointer;
    color: #666;
}

.search-box {
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 10px 40px;
    width: 200px;
    outline: none;
    transition: width 0.3s;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 16px;
    color: #333;
}

.search-box::placeholder {
    color: #999;
}

.search-box:focus {
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.search-section:hover .search-box {
    width: 300px;
}

.carousel {
    height: 800px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

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

.slide-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem 5%;
    color: white;
}

.slide-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.slide-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
}


.content-section {
    padding: 80px 5% 50px;
    background-color: #f9f9f9;
}

.content-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    color: #666;
}

/* 新品展示样式 */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 1800px;
    gap: 10px;
    position: relative;
    min-height: 500px;
}

.grid-container[style*="display: none"] {
    display: none !important;
}

.grid-container.slide-out {
    animation: slideOut 0.5s forwards;
}

.grid-container.slide-in {
    animation: slideIn 0.5s forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.card {
    width: 450px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    background: white;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 350px;
    height: 350px;
    padding: 20px;
    object-fit: contain;
    background-color: #ffffff;
    display: block;
    margin: 0 auto;
}

.card h3 {
    padding: 20px;
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #00b894;
    border-bottom: 1px solid #eee;
}

.product-info {
    padding: 10px;
}


.product-info h4 {
    color: #1a73e8;
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

.product-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-info li {
    color: #666;
    line-height: 1.8;
    position: relative;
    padding-left: 15px;
}

.product-info li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #1a73e8;
    border-radius: 50%;
}

.product-info li:last-child {
    border-bottom: none;
}

.company-footer {
    background: #2d3436;
    color: #ffffff;
    padding: 60px 20px 30px;
    border-top: 3px solid #00b894;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

.footer-brand {
    flex: 1 1 300px;
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 60px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00b894;
    letter-spacing: 0.5px;
}

.footer-subtitle {
    font-size: 1rem;
    color: #b2bec3;
    line-height: 1.8;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.brand-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,184,148,0.1);
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.brand-tag:hover {
    background: rgba(0,184,148,0.2);
}

.brand-icon {
    color: #00b894;
    font-size: 1.4rem;
}

.footer-contacts {
    flex: 2 1 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    padding-left: 20px;
}

.contact-item, .address-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    transition: background-color 0.3s ease;
    height: 80px;
}

.contact-item:hover, .address-item:hover {
    background: rgba(255,255,255,0.05);
}

.contact-icon, .address-icon {
    font-size: 1.5rem;
    color: #00b894;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon,
.address-item:hover .address-icon {
    transform: scale(1.1);
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: #b2bec3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
}

.contact-detail:hover {
    color: #00b894;
}

.chinese-address {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}


@media (max-width: 768px) {
    .footer-brand {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 30px;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .contact-detail {
        font-size: 1rem;
    }
}

.beian-link {
    display: block;
    text-align: center;
    padding: 20px 0 10px;
    color: #b2bec3;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #00b894;
}

.company-intro {
    min-height: 700px;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 100px;
    position: relative;
    color: #2d3436;
    overflow: hidden;
}

.title-text {
    display: block;
    transition: opacity 0.5s ease;
}

.title-text.hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.section-title:hover .title-text.default {
    opacity: 0;
}

.section-title:hover .title-text.hover {
    opacity: 1;
}

.title-text {
    display: block;
    transition: opacity 0.5s ease;
}

.title-text.hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.section-title:hover .title-text.default {
    opacity: 0;
}

.section-title:hover .title-text.hover {
    opacity: 1;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background: #00b894;
}

.section-title::before { left: 5%; }
.section-title::after { right: 5%; }

.features-container {
    display: flex;
    justify-content: center;
    gap: 150px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 40px;
}

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

.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background: #00b894;
    border-radius: 20px;
    margin: 0 auto 30px;
}

.icon-box::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    font-size: 2.5rem;
    position: relative;
}

/* 15年历史 - 日历图标 */
.calendar::before {
    content: "\f073";  /* fa-calendar-alt */
}

/* 20+专利 - 证书图标 */
.patent::before {
    content: "\f0a3";  /* fa-certificate */
}

/* 高校合作 - 握手图标 */
.collaboration::before {  /* 注意类名拼写需与HTML一致 */
    content: "\f2b5";  /* fa-handshake */
}

.feature-number {
    font-size: 3.5rem;
    color: #00b894;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-number span {
    color: #2d3436;
}

.feature-desc {
    font-size: 1.2rem;
    color: #636e72;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 60px;
    }
}
.product-nav {
    margin-bottom: 30px;
    text-align: center;
}

.product-btn {
    padding: 15px 30px;
    margin: 0 20px;
    border: none;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1.15rem;
}

.product-btn:hover,
.product-btn.active {
    background-color: #00b894;
    color: #fff;
}

.news-section {
    height: 800px;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.news-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d3436;
}

.news-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.news-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 0 50px;
}

.news-card {
    width: 350px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
    border: 2px solid #00b894;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #636e72;
    font-size: 0.9rem;
}

.news-headline {
    margin: 10px 0;
    font-size: 1.4rem;
    color: #2d3436;
}

.news-summary {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 72px;
    overflow: hidden;
}

.news-more {
    text-decoration: none;
    color: #00b894;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
}

.news-more:hover {
    color: #008b6f;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #00b894;
    cursor: pointer;
    font-size: 1.2rem;
    color: #00b894;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.left-btn { left: 20px; }
.right-btn { right: 20px; }

.scroll-btn:hover {
    background: #00b894;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
    border-color: #ccc;
    color: white;
}

@media (max-width: 768px) {
    .news-card {
        width: 300px;
    }
}

/* 新增二维码模块样式 */
.footer-qr {
    flex: 1 1 200px;
    padding-left: 40px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.qr-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    color: #00b894;
    font-size: 1.4rem;
}

.qr-image {
    width: 140px;
    height: 140px;
    border: 2px solid #00b894;
    padding: 8px;
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
}

.qr-tip {
    font-size: 0.9rem;
    color: #b2bec3;
    max-width: 140px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .footer-qr {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 30px;
        text-align: center;
    }
    
    .qr-title {
        justify-content: center;
    }
    
    .qr-image {
        margin: 0 auto 10px;
    }
}