.dg-hero {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  position: relative;
  overflow: hidden;
}

.dg-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://picsum.photos/1920/1080?random=5') center/cover;
  /* z-index: -2; */
}

.dg-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(155, 89, 182, 0.8);
  z-index: -1;
}

.dg-navbar {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
}

.dg-logo {
  font-weight: bold;
  color: #9b59b6 !important;
}

.dg-phone {
  color: #9b59b6;
  font-weight: 600;
}

.dg-service-icon {
  background: linear-gradient(45deg, #9b59b6, #8e44ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dg-case-bg-1 {
  background-image: url(../../../Content/Images/BaoAn/case1.png);
}

.dg-case-bg-2 {
  background-image: url(../../../Content/Images/BaoAn/case2.png);
}

.dg-case-bg-3 {
  background-image: url(../../../Content/Images/BaoAn/case3.png);
}

.dg-case-bg-4 {
  background-image: url(../../../Content/Images/BaoAn/case4.png);
}

.dg-case-bg-5 {
  background-image: url(../../../Content/Images/BaoAn/case5.png);
}

.dg-team-bg {
  background-image: url(../../../Content/Images/BaoAn/team1.jpg);
}

.dg-gradient-text {
  background: linear-gradient(45deg, #9b59b6, #8e44ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 东莞特色布局 - 侧边栏布局 */
.dg-sidebar {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.dg-main-content {
  padding-left: 2rem;
}

.dg-service-tabs {
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 2rem;
}

.dg-tab-button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  margin-right: 1rem;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  color: #6c757d;
}

.dg-tab-button.active {
  color: #9b59b6;
  border-bottom-color: #9b59b6;
}

.dg-tab-content {
  display: none;
}

.dg-tab-content.active {
  display: block;
}

.dg-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.dg-service-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.dg-service-item:hover {
  transform: translateY(-5px);
}

.dg-cases-masonry {
  column-count: 2;
  column-gap: 2rem;
}

.dg-case-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.swiper-wrap {
  width: 100%;
}

.swiper {
  --swiper-theme-color: #fff;
  --swiper-navigation-color: #fff;
  --swiper-navigation-size: 50px;
}