/* 可持续发展页面样式 */
main {
  background:#F5F5F3;
}
/* 主容器样式 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 可持续发展banner样式 */
.sustainability {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* banner主要内容 */
.sustainability-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  border-radius: 20px;
}

/* 文本内容样式 */
.sustainability-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 小标题 */
.sustainability-text p:first-child {
  font-size: 1.1rem;
  color:#666;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 0 10px;
  text-align: center;
  width:fit-content;
}

/* 大标题 */
.sustainability-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  color: #333;
}

.sustainability-text h1:last-of-type {
  color: var(--primary-color, #bddb00);
  border-bottom: 2px solid var(--primary-color, #bddb00);
  width:fit-content;
}

/* 描述文本 */
.sustainability-text p:nth-of-type(2) {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 观看短片链接 */
.sustainability-text div a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border: 2px solid var(--primary-color, #bddb00);
  border-radius: 50px;
  background-color: #000;
}

.sustainability-text div a:hover {
  background-color: var(--primary-color, #bddb00);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(189, 219, 0, 0.3);
}

/* 分隔线 */
.sustainability-text hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

/* 标签容器 */
.sustainability-tag {
  margin-top: 20px;
}

.sustainability-tag ul {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sustainability-tag li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sustainability-tag h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.sustainability-tag p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* 图片容器 */
.sustainability-img {
  position: relative;
  z-index: 1;
}

/* 图片样式 - 带圆角和主题色阴影 */
.sustainability-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 20px 20px 0 rgba(189, 219, 0, 1);
  transition: all 0.3s ease;
  object-fit: cover;
}

.sustainability-img img:hover {
  transform: translateY(-5px);
  box-shadow: 20px 20px 10px rgb(177, 177, 177);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .sustainability-banner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  
  .sustainability-img {
    order: -1;
  }
  
  .sustainability-text h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .sustainability {
    padding: 60px 0;
  }
  
  .sustainability-banner {
    padding: 30px;
    gap: 30px;
  }
  
  .sustainability-text {
    gap: 20px;
  }
  
  .sustainability-text h1 {
    font-size: 2.5rem;
  }
  
  .sustainability-text p:nth-of-type(2) {
    font-size: 1rem;
  }
  
  .sustainability-tag ul {
    gap: 30px;
  }
  
  .sustainability-tag h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .sustainability {
    padding: 40px 0;
  }
  
  .sustainability-banner {
    padding: 20px;
    gap: 25px;
  }
  
  .sustainability-text h1 {
    font-size: 2rem;
  }
  
  .sustainability-text p:first-child {
    font-size: 1rem;
  }
  
  .sustainability-tag ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .sustainability-tag h3 {
    font-size: 1.8rem;
  }
  
  .sustainability-img img {
    border-radius: 15px;
  }
}

/* 核心技术板块样式 */
.core-technology {
  background-color: black;
  padding: 80px 0;
  color: white;
}

/* 核心技术容器布局 */
.core-technology .container {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 40px;
  align-items: start;
}

/* 核心技术标题样式 */
.core-tech-title {
  text-align: left;
  margin-bottom: 0;
  padding: 0;
}

.core-tech-title p:first-child {
  font-size: 1.1rem;
  color: var(--primary-color, #bddb00);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
}

.core-tech-title h3 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  color: white;
}
.core-tech-title h3 span {
  color: var(--primary-color, #bddb00);
}
.core-tech-title p:last-child {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  margin: 20px auto 0;
  max-width: 800px;
}

/* 核心技术内容容器 */
.core-tech-content {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  gap: 30px;
  padding: 0;
  max-height: calc(3 * (260px)); /* 3个item的高度：图片200px + 内边距30px*2 */
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color, #bddb00) rgba(255, 255, 255, 0.1);
  /* 显示滚动条 */
  -ms-overflow-style: auto;  /* IE and Edge */
  scrollbar-width: thin;  /* Firefox */
}

/* 显示Chrome, Safari和Opera的滚动条 */
.core-tech-content::-webkit-scrollbar {
  display: block;
  width: 8px;
}

.core-tech-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.core-tech-content::-webkit-scrollbar-thumb {
  background: var(--primary-color, #bddb00);
  border-radius: 4px;
}

.core-tech-content::-webkit-scrollbar-thumb:hover {
  background: #a8c616;
}

/* 核心技术项 */
.core-tech-item {
  width: 100%;
  min-width: auto;
  display: flex;
  flex-direction: row;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
  align-items: center;
}

.core-tech-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

/* 核心技术项图片 */
.core-tech-item img {
  width: 320px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.core-tech-item:hover img {
  transform: scale(1.05);
}

/* 核心技术项偶数项 - 图片右对齐 */
.core-tech-content > .core-tech-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* 核心技术项内容 */
.core-tech-item-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content:center;
}

/* 图标样式 */
.core-tech-item-content i {
  font-size: 2rem;
  color: var(--primary-color, #bddb00);
}

/* 标题样式 */
.core-tech-item-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

/* 描述文本样式 */
.core-tech-item-content p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
  border-left:1px solid #bddb00;
  padding-left: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  /* 1200px以下改为垂直布局 */
  .core-technology .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .core-tech-title {
    text-align: center;
    margin-bottom: 0;
  }
  
  /* 调整最大高度，适配垂直布局 */
  .core-tech-content {
    max-height: 1000px;
  }
}

@media (max-width: 768px) {
  .core-technology {
    padding: 60px 0;
  }
  
  .core-tech-title {
    margin-bottom: 40px;
  }
  
  .core-tech-title h3 {
    font-size: 2rem;
  }
  
  
  /* 调整最大高度，适配移动设备 */
  .core-tech-content {
    max-height: 800px;
  }
  
  /* 在小屏幕上改为垂直布局 */
  .core-tech-item {
    flex-direction: column;
  }
  
  .core-tech-content > .core-tech-item:nth-child(even) {
    flex-direction: column;
  }
  
  /* 图片在垂直布局下恢复为100%宽度 */
  .core-tech-item img {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .core-technology {
    padding: 40px 0;
  }
  
  .core-tech-title h3 {
    font-size: 1.8rem;
  }
  
  /* 调整最大高度，适配小屏设备 */
  .core-tech-content {
    max-height: 600px;
  }
  
  .core-tech-item {
    padding: 20px;
    gap: 15px;
    flex-direction: column;
  }
  
  .core-tech-content > .core-tech-item:nth-child(even) {
    flex-direction: column;
  }
  
  .core-tech-item img {
    width: 100%;
    height: 150px;
  }
  
  .core-tech-item-content h4 {
    font-size: 1.3rem;
  }
}

/* 社会责任板块样式 */
.social-responsibility {
  padding: 80px 0;
  background-color: white;
}

/* 社会责任标题样式 */
.social-responsibility-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* 左侧标题 */
.title-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-left p {
  font-size: 0.6rem;
  color: var(--primary-color, #bddb00);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.title-left h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: black;
  margin: 0;
  line-height: 1.1;
}

/* 右侧描述 */
.social-responsibility-title p:last-child {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
  max-width: 600px;
  flex: 1;
  min-width: 300px;
}

/* 社会责任内容容器 */
.social-responsibility-content {
  margin-bottom: 60px;
}

/* 社会责任项 */
.social-responsibility-item {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

/* 社会责任项图片 */
.social-responsibility-item img {
  width: 70%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.social-responsibility-item img.right {
  right: 0;
  position: absolute;
}

.social-responsibility-item:hover img {
  transform: scale(1.05);
}

.gap-line {
  width: 100%;
  height: 80px;
  background:linear-gradient(180deg, #cbcbcb 10%, transparent);
}

/* 社会责任项内容 */
.social-responsibility-item-content {
  position: absolute;
  background-color: white;
  padding: 40px;
  /* border-radius: 15px; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-responsibility-item:hover .social-responsibility-item-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 内容右下角定位 */
.social-responsibility-item-content.right-bottom {
  bottom: 40px;
  right: 40px;
  border-left: 8px solid #a8c616;
}

/* 内容左上角定位 */
.social-responsibility-item-content.top-left {
  top: 40px;
  left: 40px;
  background-color: #000;
}
.social-responsibility-item-content.top-left h4{
  color:#fff;
}

/* 内容标题 */
.social-responsibility-item-content p:first-child {
  font-size: 0.9rem;
  color: var(--primary-color, #bddb00);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 15px 0;
}

.social-responsibility-item-content h4 {
  font-size: 2rem;
  font-weight: 800;
  color: black;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.social-responsibility-item-content p:nth-of-type(2) {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 0 0 25px 0;
}

/* 标签样式 */
.tag {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.tag h5 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color, #bddb00);
  margin: 0;
  line-height: 1;
}

.tag p {
  font-size: 0.9rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .social-responsibility-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .social-responsibility-title p:last-child {
    max-width: 100%;
  }
  
  .social-responsibility-item {
    height: 400px;
  }
  
  .social-responsibility-item-content {
    padding: 30px;
    max-width: 350px;
  }
  
  .social-responsibility-item-content.right-bottom,
  .social-responsibility-item-content.top-left {
    bottom: 30px;
    right: 30px;
    top: auto;
    left: auto;
  }
}

@media (max-width: 768px) {
  .social-responsibility {
    padding: 60px 0;
  }
  
  .title-left h3 {
    font-size: 2rem;
  }
  
  .social-responsibility-item {
    height: 350px;
    margin-bottom: 30px;
  }
  
  .social-responsibility-item-content {
    padding: 25px;
    max-width: 300px;
  }
  
  .social-responsibility-item-content h4 {
    font-size: 1.8rem;
  }
  
  .social-responsibility-item-content.right-bottom,
  .social-responsibility-item-content.top-left {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  .social-responsibility {
    padding: 40px 0;
  }
  
  .title-left h3 {
    font-size: 1.8rem;
  }
  
  .social-responsibility-title {
    margin-bottom: 30px;
  }
  
  .social-responsibility-item {
    height: 300px;
    margin-bottom: 25px;
  }
  
  .social-responsibility-item-content {
    padding: 20px;
  }
  
  .social-responsibility-item-content h4 {
    font-size: 1.5rem;
  }
  
  .social-responsibility-item-content.right-bottom,
  .social-responsibility-item-content.top-left {
    bottom: 15px;
    right: 15px;
    left: 15px;
    max-width: calc(100% - 30px);
  }
  
  .tag {
    gap: 10px;
  }
  
  .tag h5 {
    font-size: 1.5rem;
  }
}

/* 联系我们板块样式 */
.link-us {
  background-color: var(--primary-color, #bddb00);
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

/* 标题样式 */
.link-us h2 {
  font-size: 3rem;
  font-weight: 900;
  color: black;
  margin: 0;
  line-height: 1;
}

/* 描述文本样式 */
.link-us p {
  font-size: 1.2rem;
  color: black;
  margin: 0;
  max-width: 600px;
}

/* 链接盒子 */
.link-box {
  margin-top: 30px;
}

/* 链接样式 */
.link-box a {
  display: inline-block;
  padding: 15px 40px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 链接悬停效果 */
.link-box a:hover {
  background-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .link-us {
    padding: 80px 20px;
  }
  
  .link-us h2 {
    font-size: 2.5rem;
  }
  
  .link-us p {
    font-size: 1.1rem;
  }
  
  .link-box a {
    padding: 12px 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .link-us {
    padding: 60px 20px;
  }
  
  .link-us h2 {
    font-size: 2rem;
  }
  
  .link-us p {
    font-size: 1rem;
  }
  
  .link-box a {
    padding: 10px 30px;
    font-size: 0.9rem;
  }
}
