/* 服务部分 - 六边形布局 */
.services-section {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/15741607978168etmjc.jpeg') center/cover no-repeat fixed;
  opacity: 0.3;
  z-index: 0;
}

.services-container {
  position: relative;
  z-index: 1;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-title h2 {
  display: inline-block;
}

.services-header .section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* 数据统计部分 */
.counter-section {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/15741607978168etmjc.jpeg') center/cover no-repeat fixed;
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(228, 30, 38, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  opacity: 0.85;
  z-index: 0;
}


.counter-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1220px;
  margin: 0 auto;
  gap: 20px;
}

.counter-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 260px;
  min-height: 220px;
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
}

.counter-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  background: linear-gradient(45deg, #fff, #e41e26);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.2;
}

.counter-title {
  font-weight: 600;
  margin-top: 15px;
  color: #fff;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.counter-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}
/* 案例展示部分 - 非对称布局 */
.portfolio-section {
  padding: 100px 0;
  background-color: #fff;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-header .section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* 非对称案例布局样式在style.css中定义 */
@media (max-width: 992px) {
  .portfolio-showcase {
    flex-direction: column;
  }

  .portfolio-featured {
    height: 400px;
  }

  .portfolio-side {
    flex-direction: row;
  }

  .portfolio-side-item {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .portfolio-side {
    flex-direction: column;
  }
  .counter-item{
    width: 90%;
  }
  .counter{
    font-size: 1.5rem;
  }
  .counter-title{
    font-size: 0.8rem;
  }
}

/* 新闻动态部分 - 时间轴布局 */
.news-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

/* 合作伙伴部分 */
.partners-section {
  padding: 80px 0;
  background-color: #fff;
}

.partners-slider {
  margin-top: 50px;
}

.partner-logo {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

/* 联系我们部分 */
.contact-section {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
}

.contact-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/15741607978168etmjc.jpeg') center/cover no-repeat fixed;
  opacity: 0.05;
  z-index: 0;
}

.contact-info {
  position: relative;
  z-index: 1;
  padding-right: 30px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info p{
  font-size: 0.5rem;
}

.contact-list li i {
  width: 40px;
  height: 40px;
  background-color: rgba(228, 30, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 0.4rem;
}

.contact-form {
  position: relative;
  z-index: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.4rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(228, 30, 38, 0.2);
  outline: none;
}

/* 滚动动画 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .about-content,
  .row {
    flex-direction: column;
    gap: 30px;
  }

  .about-text,
  .about-image,
  .col-md-6 {
    width: 100%;
    max-width: 100%;
  }

  .services-grid,
  .portfolio-grid,
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group input,
  .form-group textarea{
    font-size: 0.3rem;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .portfolio-grid,
  .news-cards {
    grid-template-columns: 1fr;
  }
  .contact-list li i{
    font-size: 0.3rem;
  }
  .form-group input,
  .form-group textarea{
    font-size: 0.3rem;
  }

}

/*!* 现代化导航栏 *!*/
/*header {*/
/*  background-color: rgba(0, 0, 0, 0.8);*/
/*  backdrop-filter: blur(10px);*/
/*}*/

/* 英雄区域 */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  overflow: hidden;
  margin-top: -80px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-top: 200px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white-color);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
  40% {transform: translateY(-20px) translateX(-50%);}
  60% {transform: translateY(-10px) translateX(-50%);}
}

/* 关于我们部分 */
.about-section {
  padding: 100px 0;
  background-color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.section-title {
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  display: none;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(228, 30, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* 服务轮播样式 */
.hexagon-item {
  height: 425px;
}

.hexagon-content {
  padding-right: 20px;
  padding-left: 10px;
  text-align: center;
  height: 310px;
}

.hexagon-content a{
  bottom: 5px;
  font-size: 0.4rem;
}

.services-carousel {
  padding: 0 60px;
  overflow: hidden;
  position: relative;
}

.services-swiper {
  padding: 5px;
  overflow: hidden;
}

.services-swiper .swiper-slide-service {
  width: 350px !important;
  box-sizing: border-box;
  overflow: hidden;
  /*padding: 15px 20px;*/
}

.hexagon-content p {
  margin-top: 15px;
  margin-bottom: 20px;
  min-height: 150px;
}

.hexagon-icon {
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next.services-button-next,
.swiper-button-prev.services-button-prev {
  width: 50px !important;
  height: 50px !important;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  top: 50%;
  margin-top: -25px;
  z-index: 10;
  background-image:none;
}

.services-button-prev{
  margin-right: 10px;
}
.services-button-next{
  margin-left: 10px;
}

.swiper-button-next.services-button-next:after,
.swiper-button-prev.services-button-prev:after {
  font-size: 20px;
  color: #e41e26;
}

.swiper-button-next.services-button-next:after,
.swiper-button-prev.services-button-prev:after {
  font-size: 20px;
  color: #e41e26;
}
/* 合作伙伴卡片样式 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
  justify-content: center;
}

.partner-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 25px 15px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.partner-card:nth-child(odd) {
  transform: translateY(15px);
}

.partner-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(228, 30, 38, 0.05) 0%, rgba(228, 30, 38, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.partner-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e41e26, transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.partner-card:hover {
  transform: translateY(0) rotateX(10deg) rotateY(-10deg);
  box-shadow: 0 20px 40px rgba(228, 30, 38, 0.15);
  border-color: rgba(228, 30, 38, 0.1);
}

.partner-card:hover:before {
  opacity: 1;
}

.partner-card:hover:after {
  transform: scaleX(1);
}

.partner-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease, color 0.3s ease;
  opacity: 0.8;
}

.partner-card:hover .partner-name {
  transform: translateY(-2px);
  color: #e41e26;
}

.partner-card:hover .partner-description {
  transform: translateY(2px);
  color: #444;
  opacity: 1;
}

.partners-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  position: relative;
  overflow: hidden;
}

.partners-section:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 30, 38, 0.08) 0%, rgba(228, 30, 38, 0) 70%);
  z-index: 0;
  animation: pulse 15s infinite alternate;
}

.partners-section:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 30, 38, 0.08) 0%, rgba(228, 30, 38, 0) 70%);
  z-index: 0;
  animation: pulse 15s infinite alternate-reverse;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-name {
    font-size: 16px;
  }

  .partner-description {
    font-size: 13px;
  }
}


/* 成功案例区域美化 */
.portfolio-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.portfolio-section .section-title h2 {
  color: #333;
}
.portfolio-section .section-title p {
  color: #666;
}

.portfolio-showcase {
  position: relative;
  z-index: 1;
  margin-top: 50px;
}

.portfolio-featured {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(228, 30, 38, 0.15);
}

.portfolio-featured img {
  transition: all 0.5s ease;
}

.portfolio-featured:hover img {
  transform: scale(1.05);
}

.portfolio-featured-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  padding: 30px 25px;
}

.portfolio-tag {
  background-color: rgba(228, 30, 38, 0.9);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 12px;
}

.portfolio-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 25px;
}

.portfolio-side-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.portfolio-side-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(228, 30, 38, 0.12);
}

.portfolio-side-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  padding: 20px;
}

.portfolio-section .btn {
  background-color: transparent;
  border: 2px solid #e41e26;
  color: #333;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-section .btn:hover {
  background-color: #e41e26;
  color: #fff;
}

@media (max-width: 768px) {
  .portfolio-side {
    grid-template-columns: 1fr;
  }
}