/* =========================================
   1. 基础容器与通用样式
   ========================================= */
.profile-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
}

.section-title {
    font-size: 32px;
    color: #0D547E;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.sub-title {
    text-align: center;
    font-size: 20px;
    color: #999;
    margin: 40px 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   2. Profile 简介与视频 (Profile Intro)
   ========================================= */
.profile-section { padding: 40px 0; }
.profile-grid { display: flex; gap: 40px; align-items: center; }
.intro-text { flex: 1; }
.text-content p { margin-bottom: 15px; font-size: 16px; text-align: justify; line-height: 1.6; }
.slogan { 
    color: #0D547E; font-weight: 700; font-size: 18px; margin-top: 20px; 
    border-left: 4px solid #0D547E; padding-left: 15px;
}

.intro-video { flex: 1; }
.video-wrapper {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.video-wrapper video { width: 100%; display: block; }
.video-caption {
    text-align: center; color: #fff; background: #222; 
    padding: 8px; font-size: 12px; letter-spacing: 1px;
}

/* =========================================
   3. 数据统计栏 (Stats Bar)
   ========================================= */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: #f4f8fb;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}
.stat-number { font-size: 36px; font-weight: 800; color: #0D547E; line-height: 1.2; }
.stat-label { font-size: 14px; color: #666; text-transform: uppercase; margin-top: 5px; }

/* =========================================
   4. 工厂跑马灯 (Factory Marquee)
   ========================================= */
.marquee-wrapper { overflow: hidden; white-space: nowrap; position: relative; padding: 20px 0; }
.marquee-track { display: flex; gap: 15px; animation: scroll 25s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img {
    height: 220px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: zoom-in; transition: transform 0.3s;
}
.marquee-track img:hover { transform: scale(1.05); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   5. 核心竞争力模块 (Core Values) - 替代History
   ========================================= */
.core-values-section { background: #f8f9fa; padding: 80px 0; margin-top: 50px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h3 { font-size: 32px; font-weight: 800; color: #0D547E; margin-bottom: 15px; text-transform: uppercase; }
.section-header p { color: #666; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value-card { 
    background: #fff; padding: 40px 20px; text-align: center; transition: 0.3s; 
    border-bottom: 3px solid transparent; box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    border-radius: 4px;
}
.value-card:hover { transform: translateY(-10px); border-bottom-color: #0D547E; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.value-icon { font-size: 40px; color: #0D547E; margin-bottom: 20px; }
.value-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: #333; }
.value-card p { font-size: 13px; color: #777; line-height: 1.6; }

/* =========================================
   6. 可持续发展模块 (Sustainability) - 替代Culture
   ========================================= */
.sustainability-section { padding: 80px 0; background: #fff; }
.sus-container { display: flex; align-items: center; gap: 50px; }
.sus-image { flex: 1; }
.sus-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block;}
.sus-content { flex: 1; }
.sus-tag { display: inline-block; background: #e3f6ee; color: #2ecc71; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.sus-content h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; color: #333; }
.sus-content p { color: #555; line-height: 1.8; margin-bottom: 20px;}
.sus-list { list-style: none; padding: 0; margin-top: 20px; }
.sus-list li { margin-bottom: 15px; padding-left: 25px; position: relative; color: #555; }
.sus-list li::before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; color: #2ecc71; }
.btn-outline-dark { 
    border: 2px solid #333; color: #333; padding: 10px 30px; 
    text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; 
}
.btn-outline-dark:hover { background: #333; color: #fff; }

/* =========================================
   7. 证书栏 (Cert Bar)
   ========================================= */
.cert-bar { border-top: 1px solid #eee; padding: 60px 0; text-align: center; }
.cert-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.6; filter: grayscale(100%); }
.cert-grid img { height: 50px; object-fit: contain; }

/* =========================================
   8. 灯箱与动画 (Utilities)
   ========================================= *//* =========================================
   1. 基础容器与通用样式
   ========================================= */
.profile-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
}

.section-title {
  font-size: 32px;
  color: #0D547E;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.sub-title {
  text-align: center;
  font-size: 20px;
  color: #999;
  margin: 40px 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
 2. Profile 简介与视频 (Profile Intro)
 ========================================= */
.profile-section { padding: 40px 0; }
.profile-grid { display: flex; gap: 40px; align-items: center; }
.intro-text { flex: 1; }
.text-content p { margin-bottom: 15px; font-size: 16px; text-align: justify; line-height: 1.6; }
.slogan { 
  color: #0D547E; font-weight: 700; font-size: 18px; margin-top: 20px; 
  border-left: 4px solid #0D547E; padding-left: 15px;
}

.intro-video { flex: 1; }
.video-wrapper {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.video-wrapper video { width: 100%; display: block; }
.video-caption {
  text-align: center; color: #fff; background: #222; 
  padding: 8px; font-size: 12px; letter-spacing: 1px;
}

/* =========================================
 3. 数据统计栏 (Stats Bar)
 ========================================= */
.stats-bar {
  display: flex;
  justify-content: space-around;
  background: #f4f8fb;
  padding: 40px 20px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
}
.stat-number { font-size: 36px; font-weight: 800; color: #0D547E; line-height: 1.2; }
.stat-label { font-size: 14px; color: #666; text-transform: uppercase; margin-top: 5px; }

/* =========================================
 4. 工厂跑马灯 (Factory Marquee)
 ========================================= */
.marquee-wrapper { overflow: hidden; white-space: nowrap; position: relative; padding: 20px 0; }
.marquee-track { display: flex; gap: 15px; animation: scroll 25s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img {
  height: 220px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: zoom-in; transition: transform 0.3s;
}
.marquee-track img:hover { transform: scale(1.05); }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
 5. 核心竞争力模块 (Core Values) - 替代History
 ========================================= */
.core-values-section { background: #f8f9fa; padding: 80px 0; margin-top: 50px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h3 { font-size: 32px; font-weight: 800; color: #0D547E; margin-bottom: 15px; text-transform: uppercase; }
.section-header p { color: #666; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value-card { 
  background: #fff; padding: 40px 20px; text-align: center; transition: 0.3s; 
  border-bottom: 3px solid transparent; box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
  border-radius: 4px;
}
.value-card:hover { transform: translateY(-10px); border-bottom-color: #0D547E; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.value-icon { font-size: 40px; color: #0D547E; margin-bottom: 20px; }
.value-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: #333; }
.value-card p { font-size: 13px; color: #777; line-height: 1.6; }

/* =========================================
 6. 可持续发展模块 (Sustainability) - 替代Culture
 ========================================= */
.sustainability-section { padding: 80px 0; background: #fff; }
.sus-container { display: flex; align-items: center; gap: 50px; }
.sus-image { flex: 1; }
.sus-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block;}
.sus-content { flex: 1; }
.sus-tag { display: inline-block; background: #e3f6ee; color: #2ecc71; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.sus-content h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; color: #333; }
.sus-content p { color: #555; line-height: 1.8; margin-bottom: 20px;}
.sus-list { list-style: none; padding: 0; margin-top: 20px; }
.sus-list li { margin-bottom: 15px; padding-left: 25px; position: relative; color: #555; }
.sus-list li::before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; color: #2ecc71; }
.btn-outline-dark { 
  border: 2px solid #333; color: #333; padding: 10px 30px; 
  text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; 
}
.btn-outline-dark:hover { background: #333; color: #fff; }

/* =========================================
 7. 证书栏 (Cert Bar)
 ========================================= */
.cert-bar { border-top: 1px solid #eee; padding: 60px 0; text-align: center; }
.cert-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.6; filter: grayscale(100%); }
.cert-grid img { height: 50px; object-fit: contain; }

/* =========================================
 8. 灯箱与动画 (Utilities)
 ========================================= */
.lightbox-overlay {
  display: none; position: fixed; z-index: 10000; left: 0; top: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.9);
  justify-content: center; align-items: center; flex-direction: column;
}
.lightbox-overlay img { max-width: 90%; max-height: 85%; border-radius: 4px; animation: zoomIn 0.3s ease; }
.close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }
@keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }

/* 响应式 */
@media (max-width: 992px) {
  .profile-grid { flex-direction: column; }
  .intro-video { width: 100%; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .sus-container { flex-direction: column; }
  .marquee-track img { height: 160px; }
}
@media (max-width: 576px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; gap: 20px; }
  .stat-item { width: 45%; }
}
.lightbox-overlay {
    display: none; position: fixed; z-index: 10000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.9);
    justify-content: center; align-items: center; flex-direction: column;
}
.lightbox-overlay img { max-width: 90%; max-height: 85%; border-radius: 4px; animation: zoomIn 0.3s ease; }
.close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }
@keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }

/* 响应式 */
@media (max-width: 992px) {
    .profile-grid { flex-direction: column; }
    .intro-video { width: 100%; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .sus-container { flex-direction: column; }
    .marquee-track img { height: 160px; }
}
@media (max-width: 576px) {
    .values-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-wrap: wrap; gap: 20px; }
    .stat-item { width: 45%; }
}
/* Exhibition Section Styles */
.exhibition-section {
  padding: 80px 0;
  background-color: #fff;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.expo-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #f8f8f8;
  aspect-ratio: 4 / 3;
}

.expo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.expo-card img:hover {
  transform: scale(1.08);
}

/* Lightbox Styles */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

#lightbox-target-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 5px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active #lightbox-target-img {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .exhibition-grid {
      grid-template-columns: 1fr;
  }
}
/* 自动排列网格系统 */
.auto-expo-grid {
  display: grid;
  /* 核心：自动填充，每张图最小 280px，最大平分剩余空间 */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 15px; /* 图片间距 */
  padding: 20px 0;
}

.auto-expo-grid img {
  width: 100%;
  height: 220px; /* 统一高度，防止长短不一 */
  object-fit: cover; /* 裁剪填充，保证不变形 */
  border-radius: 8px;
  cursor: zoom-in;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.auto-expo-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 响应式微调：手机端如果想让图片更小一点 */
@media (max-width: 480px) {
  .auto-expo-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 手机上一行显示两个小图 */
      gap: 10px;
  }
  .auto-expo-grid img {
      height: 120px; /* 手机端高度自动缩小 */
  }
}

/* 灯箱基础样式（保持简洁） */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
#lightbox-target-img { max-width: 90%; max-height: 80vh; border-radius: 4px; }
.close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }
/* 解决老电脑缩放的核心样式 */
.expo-img-box {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 强制 4:3 比例，老电脑最稳妥的对齐方式 */
  margin-bottom: 15px;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 4px;
}

.expo-img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important; /* 强制图片宽度随容器缩小 */
  height: 100% !important;
  object-fit: cover; /* 如果浏览器支持则裁剪 */
  cursor: zoom-in;
  transition: transform 0.3s;
}

/* 针对 IE11 等不支持 object-fit 的老电脑补丁 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .expo-img-box img {
      height: auto;
      min-height: 100%;
  }
}

/* 间距辅助 */
.mb-3 { margin-bottom: 20px; }

/* 响应式：手机端 */
@media (max-width: 767px) {
  .col-xs-6 {
      width: 50%; /* 强制手机端一排两个 */
      float: left;
      padding: 5px;
  }
}