/* ========================================
   关于我们页面样式
   ======================================== */

/* 滚动加载动画（内页通用） */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* 页面Banner - 内页通用slideshow样式 */
.page-banner {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0277b6;
}

.page-banner-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}

.page-banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 144, 217, 0.45) 0%, rgba(2, 119, 182, 0.5) 100%);
    z-index: 2;
}

.page-banner h1 {
    position: relative;
    z-index: 3;
    color: #fff;
    font-size: 32px;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 150px;
    }
    
    .page-banner h1 {
        font-size: 24px;
    }
}

/* 面包屑导航 */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.breadcrumb-list a {
    color: #0390d9;
}

.breadcrumb-list span {
    color: #999;
}

/* 内容区域 */
.page-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

@media screen and (max-width: 991px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-title {
    background: #0390d9;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    margin: 0;
}

.sidebar-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #f5f5f5;
    color: #0390d9;
    text-decoration: none;
}

/* 主内容区 */
.main-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.main-content h2 {
    font-size: 22px;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #0390d9;
}

.main-content p {
    line-height: 2;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.main-content .highlight {
    color: #ff0000;
    font-weight: bold;
}

.main-content .strong-text {
    font-weight: bold;
    color: #333;
}

/* 问题列表 */
.problem-list {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.problem-list h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
}

.problem-list p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* CTA区域（通用底部行动号召） */
.promo-cta {
    background: linear-gradient(135deg, #f5f9fc 0%, #e8f4fd 100%);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    border: 1px solid rgba(3, 144, 217, 0.15);
}

.cta-text h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 8px 0;
}

.cta-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cta-btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, #0390d9 0%, #0277b6 100%);
    color: #fff !important;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(3, 144, 217, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 144, 217, 0.4);
}

@media screen and (max-width: 768px) {
    .page-content {
        padding: 20px 0;
    }

    .main-content {
        padding: 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .main-content h2 {
        font-size: 18px;
    }
    
    .main-content p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .sidebar {
        position: relative;
        top: 0;
    }

    .promo-cta {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .cta-text h3 {
        font-size: 18px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}
