/* 关于我们页面样式 */

/* 页面进度条 */
.page-progress-container {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.progress-indicator {
  position: relative;
  width: 2px;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  margin-right: 15px;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #1d62f0;
  border-radius: 1px;
  transition: height 0.3s ease;
}

.progress-sections {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
}

.progress-section {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.progress-section .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.progress-section .label {
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.progress-section:hover .dot, 
.progress-section.active .dot {
  background-color: #1d62f0;
  transform: scale(1.2);
}

.progress-section:hover .label {
  opacity: 1;
  transform: translateX(0);
}

.progress-section.active .label {
  opacity: 1;
  transform: translateX(0);
  color: #1d62f0;
  font-weight: 600;
}

/* 顶部导航 - 允许透明效果 */
.about-page header {
  transition: all 0.3s ease;
}

.about-page header.transparent {
  background-color: transparent;
  box-shadow: none;
}

/* Banner样式 */
.about-banner {
  background-image: url('/SmartContractPro/images/nybanner3.jpg');
  background-size: cover;
  background-position: center;
  height: 480px; /* 增加高度补偿margin-top的移除 */
  display: flex;
  align-items: center; /* 改为居中对齐 */
  padding-bottom: 0; /* 移除底部内边距 */
  padding-top: 50px; /* 减少顶部内边距 */
  position: relative;
  margin-top: 0; /* 移除顶部外边距 */
}

.about-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background: transparent;
}

.about-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  transform: translateY(-20px); /* 向上移动20px */
}

.about-banner h1 {
  color: #333;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease;
  display: block;
  padding: 0;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 页面导航 */
.about-nav {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0; /* 更新sticky位置到顶部 */
  z-index: 100;
}

.nav-tabs {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}

.nav-tab {
  padding: 20px 15px;
  color: #666;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #00c0e4, #0ae0c0);
  transition: width 0.3s ease;
}

.nav-tab:hover,
.nav-tab.active {
  color: #00c0e4;
}

.nav-tab:hover::after,
.nav-tab.active::after {
  width: 80%;
}

/* 公司简介部分 */
.company-intro {
  background-color: #f9f9f9;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

.intro-text h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.intro-text h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  height: 70%;
  width: 4px;
  background: linear-gradient(to bottom, #00c0e4, #0ae0c0);
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.intro-image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.intro-image:hover img {
  transform: scale(1.05);
}

.next-section {
  margin-top: 30px;
}

.next-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00c0e4;
  transition: all 0.3s ease;
}

.next-arrow:hover {
  gap: 15px;
}

.next-arrow img {
  width: 20px;
  transition: transform 0.3s ease;
}

.next-arrow:hover img {
  transform: translateX(5px);
}

/* 发展历程 */
.development-history {
  background-color: #fff;
}

.history-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #00c0e4, #0ae0c0);
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-year {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #00c0e4, #0ae0c0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  z-index: 2;
  position: relative;
  box-shadow: 0 5px 15px rgba(10, 224, 192, 0.3);
}

.timeline-content {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  margin-left: 30px;
  flex: 1;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 40px;
  width: 20px;
  height: 20px;
  background: #f9f9f9;
  transform: rotate(45deg);
}

.timeline-content h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* 服务与支持 */
.service-support {
  background-color: #f9f9f9;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.support-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.support-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-icon img {
  max-width: 100%;
  max-height: 100%;
}

.support-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.support-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

/* 荣誉资质 */
.honors {
  background-color: #fff;
}

.honors-certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.certificate-item {
  text-align: center;
  transition: all 0.3s ease;
}

.certificate-image {
  background: #f9f9f9;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.certificate-image img {
  max-width: 70%;
  max-height: 70%;
}

.certificate-name {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.certificate-item:hover .certificate-image {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f9f9f9, #e9e9e9);
}

/* 联系我们 */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.qrcode-container {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.qrcode-container h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.qrcode-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.qrcode-item {
  text-align: center;
}

.qrcode-item img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.qrcode-item p {
  font-size: 14px;
  color: #666;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item .icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f6ff;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-item .icon img {
  width: 20px;
  height: 20px;
}

.info-item .detail h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.info-item .detail p {
  font-size: 15px;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .about-banner {
    height: 300px;
  }
  
  .about-banner h1 {
    font-size: 36px;
  }
  
  .timeline-year {
    width: 80px;
    height: 80px;
    font-size: 18px;
  }
  
  .history-timeline::before {
    left: 40px;
  }
  
  .page-progress-container {
    display: none;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .contact-info,
  .qrcode-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-banner {
    height: 250px;
  }
  
  .about-banner h1 {
    font-size: 30px;
  }
  
  .nav-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px;
  }
  
  .nav-tab {
    padding: 15px 10px;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .intro-content,
  .contact-content {
    flex-direction: column;
  }
  
  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
  
  .history-timeline::before {
    left: 30px;
  }
  
  .timeline-content {
    margin-left: 20px;
    padding: 20px;
  }
  
  .timeline-content::before {
    top: 20px;
  }
  
  .certificate-image {
    width: 100px;
    height: 100px;
  }
  
  .qrcode-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .about-banner {
    height: 200px;
  }
  
  .about-banner h1 {
    font-size: 26px;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .intro-text h3 {
    font-size: 22px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-year {
    margin-bottom: 15px;
  }
  
  .timeline-content {
    margin-left: 0;
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .history-timeline::before {
    left: 30px;
    height: calc(100% - 75px);
    top: 75px;
  }
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .page-progress-container {
    left: 15px;
  }
}

@media (max-width: 768px) {
  .page-progress-container {
    display: none; /* 在小屏幕上隐藏进度条 */
  }
} 