/* about.css - about.html / about_en.html 专属样式 */

/* 响应式工具类 */
@media (max-width: 640px) {
  .hide-on-sm {
    display: none;
  }
}

/* 基础样式 */
body {
  font-family: 'Noto Sans SC', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0fa 100%);
  color: #1e293b;
}

/* 页面背景图 */
.hero-bg {
    background-image: url('../images/aboutbj.webp');
    background-size: cover;
    background-position: center;
    height: 35vh;
    position: relative;
}

/* 高亮文本样式 */
.highlight {
  color: #1e3a8a;
}

/* 时间线容器 */
.timeline-container {
    position: relative;
    padding-left: 50px;
    margin-top: 50px;
}
.timeline-line {
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #93c5fd, #3b82f6);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 30px;
}
.timeline-dot {
    position: absolute;
    left: 18px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #3b82f6;
    border: 3px solid white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    z-index: 1;
}
.timeline-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.timeline-year {
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 8px;
}

/* 证书卡片 */
.cert-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 企业文化图标 */
.culture-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

/* 电脑端企业文化标题竖向排列 */
@media (min-width: 768px) {
    .culture-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .culture-header .culture-icon {
        margin-bottom: 20px;
    }
}

/* 统计数据卡片 */
.stats-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stats-number {
    font-size: 36px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

/* 区块标题样式 */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #3b82f6, transparent);
}

/* 山坡波浪装饰 */
.mountain-path {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8fafc" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
}

/* 渐入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 荣誉展示区样式 */
.honors-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .honors-container {
        flex-direction: row;
    }
}

.honors-left {
    flex: 1;
}

.honors-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-award {
    width: 100%;
    height: 45rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-award:hover {
    transform: scale(1.02);
}

.awards-list {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.awards-list h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.awards-list ul {
    list-style-type: none;
    padding-left: 0;
}

.awards-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.awards-list li:last-child {
    border-bottom: none;
}

.awards-list li i {
    margin-right: 0.75rem;
    color: #3b82f6;
}

.small-awards {
    display: grid;
    grid-template-columns: repeat(1, 3fr);
    gap: 1rem;
}

.small-award {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.small-award:hover {
    transform: translateY(-5px);
}

/* 发展历程样式 */
.journey-hill {
    position: relative;
    height: 600px;
    background-image: url('../images/发展历程.png');
    background-size: cover;
    background-position: center;
    margin: 30px 0;
    overflow: hidden;
}

.journey-figure {
    position: absolute;
    width: 80px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.journey-figure.visible {
    opacity: 1;
    transform: translateY(0);
}

.figure-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.figure-tooltip {
    display: none;
}

.figure-text {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 10px;
    min-width: 200px;
}

.tooltip-year {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.tooltip-content {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .journey-hill {
        height: 500px;
        width: 100%;
    }
    
    .journey-figure {
        width: 50px;
    }
    
    .figure-text {
        min-width: 90px;
        max-width: 110px;
        padding: 6px 8px;
    }
    
    .tooltip-year {
        font-size: 11px;
    }
    
    .tooltip-content {
        font-size: 10px;
    }
    
    /* 调整2022年的框位置 */
    .journey-figure-2022 {
        left: 60% !important;
        bottom: 60% !important;
    }
    
    .culture-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .culture-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .culture-header .culture-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .culture-header h3 {
        margin-bottom: 0;
    }
    
    h3.text-xl.font-bold.mb-3 {
        font-size: 1.2rem;
    }
    
    p.text-gray-600 {
        font-size: 0.95rem;
    }
    
    /* 优化顶部背景图高度 */
    .hero-bg {
        height: 40vh;
    }
    
    /* 统一标题下方文字字体大小 */
    .hero-bg .text-xl {
        font-size: 1rem;
    }
    
    .main-award {
        height: auto;
        max-height: 25rem;
    }
}

@media (max-width: 480px) {
    .journey-hill {
        height: 400px;
    }
    
    .journey-figure {
        width: 40px;
    }
    
    .figure-text {
        min-width: 70px;
        max-width: 90px;
        padding: 4px 6px;
        margin-top: 5px;
    }
    
    .tooltip-year {
        font-size: 10px;
    }
    
    .tooltip-content {
        font-size: 9px;
        line-height: 1.2;
    }
}

/* 联系我们部分响应式调整 */
#contact .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    #contact .grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    #contact .grid-cols-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #contact .text-center {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #contact .w-16 {
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
    }
    
    #contact .text-2xl {
        font-size: 1.5rem;
    }
    
    #contact .w-16 i {
        font-size: 1rem;
    }
    
    #contact .text-center p {
        margin: 0;
        word-break: normal;
        text-align: left;
    }
    
    #contact .text-center h4 {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    #contact .text-center {
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* 新增：文本内容容器，统一宽度 */
    #contact .text-content {
        min-width: 130px;
    }
}

