

/* 全局样式 */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #F5A623;
    --text-color: #333;
    --light-bg: #F8F9FA;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 方案2: 自定义container最大宽度 */
.custom-container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        .custom-container-index {
   max-width: 1440px;
   margin: 0 auto;

 }
        
        @media (min-width: 576px) {
            .custom-container {
                max-width: 100%;
            }
        }
        
        @media (min-width: 768px) {
            .custom-container {
                max-width: 95%;
            }
        }
        
        @media (min-width: 992px) {
            .custom-container {
                max-width: 95%;
            }
        }
        
        @media (min-width: 1200px) {
            .custom-container {
                max-width: 95%;
            }
        }
        
        @media (min-width: 1400px) {
            .custom-container {
                max-width: 95%;
            }
        }
        

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 1.4rem;
}

.nav-link {
    font-size: 1rem;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-buttons .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* 轮播图样式 */
#home {
    margin-top: 76px;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-content {
    position: absolute;
    top: 75%;
    left: 35%;
    transform: translate(-50%, -50%);
    text-align: left;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.carousel-content .btn {
    background-color: #F5A623;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
}

.carousel-content .btn:hover {
    background-color: #E59512;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    margin: 0 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #home {
        margin-top: 66px;
    }

    .carousel-content .btn {
        padding: 8px 18px;
        font-size: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
        margin: 0 10px;
    }

    .navbar {
        padding: 10px 0;
    }

    .hero-section {
        margin-top: 66px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .nav-buttons {
        margin-top: 1rem;
        text-align: center;
    }

    .nav-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* 主页横幅样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/pattern.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

/* 标题样式 */
h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin: 0 auto;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2 0%, #45B7D1 100%);
    border-radius: 2px;
}

/* 添加包装容器样式 */
.subtitle-wrapper {
    width: 100%;
    text-align: center;
}

/* 内容区域样式 */
.content-section {
    padding: 80px 0;
}

.content-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
}

.image-box img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 研究卡片样式 */
.research-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
}

.research-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .content-box, .research-card {
        margin-bottom: 20px;
    }
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

/* 页脚样式 */
.footer {
    padding: 40px 0;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeIn 1s ease-out;
}

/* 科学阅读部分样式 */
.science-content {
    background-color: #f0f7ff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(74,144,226,0.1);
    margin-right: 0;
}

.science-content1 {
    background-color: #f5f8f1;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(74,144,226,0.1);
    margin-right: 0;
}

.science-content2 {
    background-color: #f7edea;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(74,144,226,0.1);
    margin-right: 0;
}
.science-content3 {
    background-color: #fbf0f9;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(74,144,226,0.1);
    margin-right: 0;
}

.science-text {
    font-size: 1.1rem;
    line-height: 2.0;
    color: #2c3e50;
    text-align: justify;
}
.science-tex2 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    text-align: justify;
}
.image-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
}

.image-box img {
    max-height: 400px;
    object-fit: contain;
    width: auto;
}

.reference-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.reference-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2f7;
}

.reference-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    max-width: 100%;
}

.reference-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #4a5568;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.reference-list li em {
    font-style: normal;
    color: #2d3748;
    font-weight: 500;
}

.reference-list li:last-child {
    margin-bottom: 0;
}

.reference-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .science-content {
        margin-bottom: 30px;
        height: auto;
    }
    
    .image-box {
        margin: 20px 0;
        justify-content: center;
    }
    
    .image-box img {
        max-height: 300px;
    }
    
    .reference-box {
        margin-top: 30px;
    }

    .reference-list li {
        font-size: 0.85rem;
        padding-left: 15px;
        margin-bottom: 15px;
    }
} 

/* 流程图样式 */
.process-circle {
    width: 600px;
    height: 600px;
    margin: 50px auto;
    position: relative;
}

.process-item {
    width: 120px;
    height: 120px;
    border-radius: 8px;  /* 改为圆角正方形 */
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: scale(1.1);
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    padding: 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
} 

.about-section {
    padding: 60px 0 30px 0;
    animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-toggler {
    margin-left: auto;
}

.product-section {
    padding: 60px 0;
}

.product-intro {
    background: #fff;
    padding: 30px;
    margin: 20px 0;
}

.testimonial-section {
    padding: 60px 0;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    height: 100%;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
}

.testimonial-card .author {
    text-align: right;
    font-weight: bold;
    margin-top: 15px;
    color: #4A90E2;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-toggler {
    margin-left: auto;
}

