/* 全局基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Microsoft Yahei", Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #f9fafb;
}

/* 主题色定义 - 绿色回收为主，科技蓝为辅 */
:root {
  --primary-green: #2E8B57; /* 海绿-环保主色 */
  --primary-blue: #165DFF;  /* 科技蓝-辅助色 */
  --light-green: #E8F5E9;   /* 浅绿背景 */
  --dark-green: #1B5E20;    /* 深绿强调 */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
}

/* 导航栏样式 */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-green);
}

.navbar-brand img {
  height: 50px;
  object-fit: contain;
}

.nav-link {
  color: var(--gray-800);
  font-weight: 500;
  margin-left: 1.2rem;
  transition: color 0.3s;
  position: relative;
}

.nav-link.active, .nav-link:hover {
  color: var(--primary-green);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
}

/* 页面标题栏 */
.page-header {
  background-color: var(--light-green);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-green);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  margin-top: 0.5rem;
}

.breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-green);
}

.breadcrumb-item.active {
  color: var(--primary-green);
  font-weight: 500;
}

/* 板块标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 1rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  position: relative;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* 自定义卡片样式 */
.card-custom {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  border: none;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(46, 139, 87, 0.15);
}

.card-custom img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom .card-title {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Banner样式 */
.banner {
  height: 650px;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/first-page-logo.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 139, 87, 0.2);
}

.banner .container {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.banner h1 span {
  color: var(--light-green);
}

.banner p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

/* 客户Logo容器 */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.1);
}

.client-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* 全球客户图标样式 */
.client-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  text-align: center;
  padding: 0 1rem;
}

.client-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.client-icon-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
}

/* 按钮样式 */
.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--primary-green);
  color: var(--primary-green);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

/* 流程步骤样式 */
.process-step {
  position: relative;
  padding-left: 1.5rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: -10px;
  top: 0;
  width: 28px;
  height: 28px;
  background-color: var(--primary-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
  background: #1E293B;
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-green);
}

.footer-logo img {
  height: 40px;
  object-fit: contain;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--light-green);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #C4C8CC;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--light-green);
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  color: #C4C8CC;
  font-size: 0.9rem;
}

/* 表单样式 */
.form-control, .form-select {
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.1);
  outline: none;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .banner {
    height: 500px;
  }
  
  .banner h1 {
    font-size: 2.2rem;
  }
  
  .banner p {
    font-size: 1.1rem;
  }
  
  .card-custom img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .banner {
    height: 400px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.7rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-brand img {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .banner {
    height: 350px;
  }
  
  .banner h1 {
    font-size: 1.5rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .client-logo {
    height: 100px;
  }
}

/* 绿色回收标签样式 */
.recycle-tag {
  display: inline-block;
  background-color: var(--light-green);
  color: var(--primary-green);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* 产品标签样式 */
.product-tag {
  display: inline-block;
  background-color: #e6f7ff;
  color: var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}