/* 成都特色样式 - cd前缀命名空间 */
.cd-hero {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  position: relative;
  overflow: hidden;
}

.cd-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://picsum.photos/1920/1080?random=3') center/cover;
  /* z-index: -2; */
}

.cd-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 204, 113, 0.8);
  z-index: -1;
}

.cd-navbar {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
}

.cd-logo {
  font-weight: bold;
  color: #2ecc71 !important;
}

.cd-phone {
  color: #2ecc71;
  font-weight: 600;
}

.cd-service-icon {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cd-case-bg-1 {
  background-image: url(../../../Content/Images/BaoAn/case1.png);
}

.cd-case-bg-2 {
  background-image: url(../../../Content/Images/BaoAn/case2.png);
}

.cd-case-bg-3 {
  background-image: url(../../../Content/Images/BaoAn/case3.png);
}

.cd-case-bg-4 {
  background-image: url(../../../Content/Images/BaoAn/case4.png);
}

.cd-case-bg-5 {
  background-image: url(../../../Content/Images/BaoAn/case5.png);
}

.cd-team-bg {
  background-image: url(../../../Content/Images/BaoAn/team1.jpg);
}

.cd-gradient-text {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 成都特色布局 - 服务在顶部，案例在中间，团队在底部 */
.cd-services-masonry {
  column-count: 2;
  column-gap: 2rem;
}

.cd-service-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cd-service-item:hover {
  transform: translateY(-5px);
}

.cd-cases-timeline {
  position: relative;
}

.cd-cases-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #2ecc71, #27ae60);
  transform: translateX(-50%);
}

.cd-timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.cd-timeline-item:nth-child(odd) .cd-timeline-content {
  margin-right: 50%;
  padding-right: 2rem;
}

.cd-timeline-item:nth-child(even) .cd-timeline-content {
  margin-left: 50%;
  padding-left: 2rem;
}

.cd-timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: #2ecc71;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}