/* ✅ 确保企业简介模块不会超出 1400px */
#company-intro {
    max-width: 1400px; /* 限制最大宽度 */
    width: 100%; /* 适配不同屏幕 */
    margin: 20px auto; /* 居中 */
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* 避免 padding 影响总宽度 */
    overflow: hidden; /* 避免内容超出 */
}

/* ✅ 确保内部内容不会超出 */
#company-intro .container {
    max-width: 1400px; /* 限制内部内容宽度 */
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 40px; /* ✅ 控制标题与内容的距离 */
}

/* ✅ 适配 flex 布局，避免溢出 */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    max-width: 100%; /* 确保不超出 */
}

/* ✅ 文本区域 */
.intro-text {
    flex: 1;
    padding-right: 40px;
}

.intro-text p {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

.intro-list {
    margin-top: 10px;
    padding-left: 0;
}

.intro-list li {
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.intro-list li i {
    color: #002FA7;
    margin-right: 10px;
}

/* ✅ 图片区域 */
.intro-image {
    flex: 1;
    text-align: right;
}

/* ✅ 修正图片区域的最大宽度 */
.intro-image img {
    width: 90%;
    max-width: 600px; /* 避免图片过大影响布局 */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ✅ 图片悬浮放大 */
.intro-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ✅ 公司现状数据统计 */
.status-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
    background: #F5F5F7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ✅ 统计项 */
.status-item {
    text-align: center;
    padding: 20px;
    flex: 1;
}

.status-item i {
    font-size: 30px;
    color: #002FA7;
    margin-bottom: 10px;
}

.status-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.status-item p {
    font-size: 22px;
    font-weight: bold;
    color: #002FA7;
}

/* ✅ 响应式优化 */
@media (max-width: 1440px) {
    #company-intro {
        max-width: 95%; /* 让宽度适应小屏幕 */
    }
}

/* ✅ 响应式优化 */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        padding-right: 0;
    }

    .intro-image {
        text-align: center;
        margin-top: 20px;
    }

    .status-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* ✅ 统一企业历史标题美化 */
.about-section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: left; /* ✅ 左对齐 */
    color: #002FA7;
    margin: 20px 0 30px;
    position: relative;
    padding-left: 15px; /* ✅ 增加左侧内边距，防止贴边 */
}
/* ==================== Contact Stylish Heading ==================== */
.about-stylish-heading {
    font-family: 'Cormorant SC', cursive;
    font-size: 3.2em;
    font-weight: 700;
    color: #013DC4;
    margin-bottom: 20px;
    text-align: center; /* ✅ 居中显示 */
    line-height: 1.4;
    opacity: 1; /* ✅ 修正透明度问题，默认可见 */
    animation: fadeInText 1.2s ease-in-out 0.5s forwards;
}

/* ✅ 标题动画效果 */
@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* ✅ 让横线稍微远离文字，保持美观 */
    width: 120px; /* ✅ 横线长度 */
    height: 4px; /* ✅ 横线厚度，确保明显 */
    background: linear-gradient(to right, #002FA7, #0056b3); /* ✅ 蓝色渐变，更高级 */
    border-radius: 2px;
}

/* ==================== Company History ==================== */

#company-history {
  max-width: 1400px;
  width: 100%;
  margin: 20px auto;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.history-wrapper {
  width: 100%;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.timeline-item {
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: 2px solid #002FA7;
}

.timeline-item:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-color: #0056d3;
}

.timeline-dot {
  width: 50px;
  height: 50px;
  background: #002FA7;
  border-radius: 50%;
  margin: 0 auto 10px;
  position: relative;
}

.timeline-dot::after {
  content: attr(data-year);
  display: block;
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

.timeline-content h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0;
}

.timeline-content p {
  font-size: 14px;
  color: #333;
}

/* ==================== Company Values==================== */
#company-values {
    max-width: 1400px;
    width: 100%;
    margin: 20px auto;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ 标题样式 */
.about-section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    color: #002FA7;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

/* ✅ 标题底部横线 */
.about-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #002FA7, #0056b3);
    border-radius: 2px;
}

/* ✅ 主要模块 */
.values-main {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* ✅ 中心圆形 */
.value-center {
    width: 160px;
    height: 160px;
    background: #002FA7;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.value-center h3 {
    color: white;
    font-size: 18px;
    margin: 5px 0 0;
}

.value-center .value-icon {
    font-size: 2.5em;
    color: white;
}

/* ✅ 6 个子要素，严格保持正圆形 */
.values-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

/* ✅ 子要素 - 确保是正圆形 */
.value-item {
    flex: 1;
    width: 140px;
    height: 140px;
    background: rgba(0, 47, 167, 0.1);
    border-radius: 50%; /* ✅ 确保是正圆形 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

/* ✅ 悬浮时仅放大 */
.value-item:hover {
    transform: scale(1.1);
    background: rgba(0, 47, 167, 0.2);
}

/* ✅ 价值观图标 */
.value-icon {
    font-size: 1.8em;
    color: #002FA7;
    margin-bottom: 8px;
}

/* ✅ 文字在圆内，不超出 */
.value-item h3 {
    font-size: 14px;
    font-weight: bold;
    color: #002FA7;
    max-width: 90%;
    text-align: center;
    line-height: 1.2;
}

/* ✅ 响应式优化 */
/* 🌍 平板（1024px 以下）：缩小间距 */
@media (max-width: 1024px) {
    .values-items {
        gap: 20px;
    }

    .value-item {
        width: 120px;
        height: 120px;
    }
}

/* 📱 手机（768px 以下）：调整为 2 行布局 */
@media (max-width: 768px) {
    .values-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .value-item {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
}

/* ==================== Certicfications==================== */
#certifications {
    max-width: 1400px;
    width: 100%;
    margin: 20px auto;
    padding: 60px 20px;
    background: white; /* 仅使用 1400px 外部白色背景 */
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

/* ✅ 标题独立，确保与徽标容器分开 */
.about-section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    color: #002FA7;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

/* ✅ 标题底部横线 */
.about-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #002FA7, #0056b3);
    border-radius: 2px;
}

/* ✅ 认证徽标外层白色框 */
.certifications-wrapper {
    width: 1400px;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* ✅ 认证徽标容器，确保 6 个徽标居中，两侧边距相等 */
.certifications-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* 增加徽标之间的间距 */
    max-width: 1200px;
    width: 100%;
}

/* ✅ 单个认证徽标 */
.certification-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ✅ 认证徽标图片（去除边框，增大尺寸） */
.certification-item img {
    width: 150px; /* 图片加大 */
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

/* ✅ 认证信息（悬浮显示） */
.certification-info {
    position: absolute;
    bottom: -40px;
    background: rgba(0, 47, 167, 0.9);
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(10px);
    white-space: nowrap;
}

/* ✅ 悬浮时放大并显示图片注释 */
.certification-item:hover img {
    transform: scale(1.1);
}

.certification-item:hover .certification-info {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ 响应式优化 */
/* 🌍 平板（1024px 以下）：允许滚动 */
@media (max-width: 1024px) {
    .certifications-wrapper {
        overflow-x: auto;
    }

    .certifications-container {
        justify-content: flex-start;
        gap: 20px;
    }

    .certification-item img {
        width: 120px;
        height: 120px;
    }
}

/* 📱 手机（768px 以下）：小屏滚动 */
@media (max-width: 768px) {
    .certifications-wrapper {
        width: 95%;
        padding: 30px;
        overflow-x: auto;
    }

    .certification-item img {
        width: 100px;
        height: 100px;
    }

    .certification-info {
        font-size: 12px;
        bottom: -25px;
    }
}

