/* ===== home.css — 首页专属模块（仅首页加载） ===== */

/* Banner轮播区 */
.banner-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: #0F2E22;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 1s ease;
  transition: opacity 1s ease;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.banner-slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,46,34,0.5);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.banner-content h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-content p {
  color: #E9C46A;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* 轮播指示器 */
.banner-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: none;
}

.banner-dot.active {
  background-color: #E9C46A;
  width: 30px;
  border-radius: 6px;
}

/* 核心业务简介区 */
.core-intro {
  background-color: #F0F5F2;
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  color: #1B4332;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: #666666;
  font-size: 1rem;
}

.section-line {
  width: 50px;
  height: 3px;
  background-color: #E9C46A;
  margin: 15px auto 0;
}

.core-cards {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.core-card {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 220px;
  background: #FFFFFF;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #D0E0D5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.core-card:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 25px rgba(27,67,50,0.12);
  box-shadow: 0 8px 25px rgba(27,67,50,0.12);
}

.core-icon {
  width: 60px;
  height: 60px;
  background-color: #1B4332;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: #E9C46A;
}

.core-card h3 {
  color: #1B4332;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.core-card p {
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
}

/* 服务体系展示区 */
.services-section {
  background-color: #1B4332;
  padding: 70px 0;
}

.services-section .section-title h2 {
  color: #FFFFFF;
}

.services-section .section-title p {
  color: rgba(255,255,255,0.8);
}

.services-section .section-line {
  background-color: #E9C46A;
}

.service-cards {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(233,196,106,0.3);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: #E9C46A;
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: #E9C46A;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.4rem;
  color: #1B4332;
}

.service-card h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.6;
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: #E9C46A;
  font-size: 14px;
  font-weight: 500;
}

.service-card a:hover {
  color: #FFFFFF;
}

/* 数据展示区 */
.data-section {
  background-color: #F0F5F2;
  padding: 60px 0;
}

.data-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.data-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 25px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #D0E0D5;
}

.data-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1B4332;
  line-height: 1.2;
}

.data-number span {
  color: #E9C46A;
}

.data-label {
  color: #666666;
  font-size: 14px;
  margin-top: 8px;
}

/* 智库精选区 */
.wiki-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.wiki-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.wiki-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 300px;
  -ms-flex: 1 1 300px;
  flex: 1 1 300px;
  padding: 20px;
  border-bottom: 1px solid #D0E0D5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wiki-item:hover {
  background-color: #F0F5F2;
  border-radius: 6px;
  border-bottom-color: transparent;
}

.wiki-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.wiki-item h3 a {
  color: #1B4332;
}

.wiki-item h3 a:hover {
  color: #E9C46A;
}

.wiki-item p {
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
}

.wiki-item .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background-color: #F0F5F2;
  border-radius: 20px;
  font-size: 12px;
  color: #1B4332;
}

/* 新闻动态区 */
.news-section {
  background-color: #F0F5F2;
  padding: 60px 0;
}

.news-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.news-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 250px;
  -ms-flex: 1 1 250px;
  flex: 1 1 250px;
  background: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #D0E0D5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.news-item:hover {
  -webkit-box-shadow: 0 4px 15px rgba(27,67,50,0.08);
  box-shadow: 0 4px 15px rgba(27,67,50,0.08);
}

.news-date {
  color: #E9C46A;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.news-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.news-item h3 a {
  color: #1B4332;
}

.news-item h3 a:hover {
  color: #E9C46A;
}

.news-item p {
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
}

/* 合作伙伴区 */
.partner-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.partner-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 30px;
}

.partner-logo {
  width: 130px;
  height: 70px;
  background: #F0F5F2;
  border-radius: 6px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #666666;
  font-size: 13px;
  border: 1px solid #D0E0D5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  border-color: #E9C46A;
  -webkit-box-shadow: 0 2px 10px rgba(27,67,50,0.08);
  box-shadow: 0 2px 10px rgba(27,67,50,0.08);
}

/* 联系我们快捷区 */
.contact-section {
  background-color: #1B4332;
  padding: 60px 0;
}

.contact-section .section-title h2 {
  color: #FFFFFF;
}

.contact-section .section-title p {
  color: rgba(255,255,255,0.8);
}

.contact-section .section-line {
  background-color: #E9C46A;
}

.contact-info-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-info-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(233,196,106,0.2);
}

.contact-info-item .icon {
  font-size: 1.5rem;
  color: #E9C46A;
  margin-bottom: 8px;
}

.contact-info-item h4 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 5px;
}

.contact-info-item p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.contact-section .btn-secondary {
  display: table;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background-color: #0F2E22;
  color: #FFFFFF;
  padding: 50px 0 0;
}

.footer-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  color: #E9C46A;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #E9C46A;
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.footer-bottom a {
  color: #E9C46A;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .banner-slider {
    height: 350px;
  }
  
  .banner-content h2 {
    font-size: 1.6rem;
  }
  
  .banner-content p {
    font-size: 0.95rem;
  }
  
  .core-cards,
  .service-cards,
  .data-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  .core-card,
  .service-card,
  .data-item {
    min-width: 100%;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .contact-info-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  .footer-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}
