/* 首页主体样式，仅首页使用 */

.hero-section {
  position: relative;
  color: #ffffff;
  padding: 140px 0 160px;
  min-height: 800px;
  overflow: hidden;
}

/* 背景图片层 - 应用缩放动画 */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/n_banner.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: bannerZoomIn 6s ease-out forwards;
}

/* 渐变遮罩层 - 不应用动画 */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
  z-index: 1;
}

@keyframes bannerZoomIn {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
  margin:16px 0 24px 0;
}

.hero-subtitle {
  font-size: 22px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  max-width: 620px;
  color: #e0e3e6;
  margin-bottom: 36px;
}

.hero-actions .btn {
  min-width: 160px;
  border-radius: 6px;
  margin-right: 18px;
  font-size: 14px;
  padding: 9px 18px;
}

.hero-actions .btn-primary {
  background: url('../images/n_jiantou.jpg') no-repeat right center;
  background-color: #39b058;
  border: 2px solid #39b058;
  padding:16px 66px 16px 36px;
  font-size: 16px;
  margin-top: 16px;
}
.hero-actions .btn-primary:hover{
  transform: translateY(-1px);
  transition:0.3s;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.hero-actions .btn-outline-light {
  color: #ffffff;
  border: 2px solid #ffffff;
  padding:16px 36px;
  font-size: 16px;
  margin-top: 16px;
}
.hero-actions .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  transition:0.3s;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.section {
  padding: 60px 0;
  background-color: #f3f4f6;
}

.section-alt {
  background-color: #f9fafb;
}



.section-title {
  font-size: 44px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  margin-top:24px;
  color: #1e293b;
}

.section-subtitle {
  font-size: 16px;
  text-align: center;
  color: #4b5563;
  margin-bottom: 50px;
}

.card-shadow {
  border-radius: 16px;
  border: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-shadow img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-shadow .card-body {
  padding: 18px 20px 20px;
}

.card-shadow:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  color: rgba(57, 176, 88, 1);
  background: #eaf8f3;
  border-radius: 8px;
  text-align: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}
.card-tag img{
  width: 30px !important;
  height: 30px !important;
  object-fit: cover;
}
.card-tag-tab{
  display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    color: rgba(39, 176, 89, 1);
    background: rgba(39, 176, 89, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    border: 1px solid rgba(39, 176, 89, .4);
}
.card-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: #4b5563;
}

.card-link {
  font-size: 14px;
  color: #10b981;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
}

.metrics-row {
  padding: 26px 0 10px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 auto;
}

.metric-item {
  margin-bottom: 16px;
  background-color: #ffffff;
  padding: 24px 0;
  border-radius: 16px;
  flex: 1;
  width: 23%;
  width: auto!important;
}

.metric-value {
  font-size: 34px;
  font-weight: bold;
  color: #10b981;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: #4b5563;
}

.about-title {
  font-size: 44px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  text-align: left;
}

.about-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0 0;
}

.about-feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.about-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #eaf8f3;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: rgba(57, 176, 88, 0.1);
  color: #39b058;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  font-size: 22px;
}

.about-feature-content {
  flex: 1;
}

.about-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.4;
}

.about-feature-desc {
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.7;
}

.about-cta {
  margin-top: 2rem;
}

.about-cta .btn-primary {
  background-color: #10b981;
  border-color: #10b981;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-cta .btn-primary:hover {
  background-color: #1ba35b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(24, 160, 88, 0.3);
}

/* 移除旧的about-list样式 */

.project-section {
  padding: 2rem 0;
}

.project-list {
  margin-top: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.project-card:hover .project-title{
  color: #28a745;
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.project-location {
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.location-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
}

.project-link {
  font-size: 0.875rem;
  color: #10b981;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: #2d8d46;
  text-decoration: underline !important;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.section-header-inline .section-title {
  text-align: left;
  margin-bottom: 0;
  font-size: 44px;
  font-weight: 700;
  color: #1e293b;
}

.section-header-inline .section-subtitle {
  text-align: left;
  margin-bottom: 0;
  color: #4b5563;
  margin-top: 16px;
  font-size: 16px;
}

.section-more-link {
  font-size: 0.875rem;
  color: #10b981;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}

.section-more-link:hover {
  color: #2d8d46;
  text-decoration: underline !important;
}

/* 移除旧的.card相关样式，因为现在使用project-card */

.news-section {
  padding: 0 0 50px 0;
}

.news-list {
  margin-top: 2rem;
}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.news-card:hover .news-title{
  color: #28a745;
}

.news-image {
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 14px;
  color: #6b7280;
  margin-bottom:  14px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.date-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
}

.news-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.news-desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.news-link {
  font-size: 0.875rem;
  color: #39b058;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.news-link:hover {
  color: #2d8d46;
  text-decoration: underline !important;
}



#about {
  background-color: #ffffff;
  padding: 80px 0;
}
#news {
  background-color: #ffffff;
  padding: 60px 0;
}