.hero-section {
  background: url(../images/xt/bg.jpg) no-repeat center center;
  background-size: cover;
  color: #055bb1;
  height: calc(100vh - 4rem);
}

.community-container {
  padding: 0 20.75rem;
}

/* 便捷服务 */
.convenient-service {
  background: url('../images/community/convenient-service.png') no-repeat center center;
  height: 35rem;
  background-size: auto 100%;
}

/* 安全宜居 */
.save-livable-1 {
  background: url('../images/community/save-livable-1.png') no-repeat center center;
  background-size: auto 100%;
}
.save-livable-2 {
  background: url('../images/community/save-livable-2.png') no-repeat center center;
  background-size: auto 100%;
}

/* 高效管理 */
.efficient-management-1 {
  background: url('../images/community/efficient-management-1.png') no-repeat bottom center;
  background-size: 100% auto;
}
.efficient-management-2 {
  background: url('../images/community/efficient-management-2.png') no-repeat bottom center;
  background-size: 100% auto;
}
.efficient-management-3 {
  background: url('../images/community/efficient-management-3.png') no-repeat bottom center;
  background-size: 100% auto;
}
.efficient-management-4 {
  background: url('../images/community/efficient-management-4.png') no-repeat bottom center;
  background-size: 100% auto;
}
.efficient-management-5 {
  background: url('../images/community/efficient-management-5.png') no-repeat bottom center;
  background-size: 100% auto;
}
.efficient-management-6 {
  background: url('../images/community/efficient-management-6.png') no-repeat bottom center;
  background-size: 100% auto;
}

.environmental-protection-2__1 {
  background: url('../images/community/environmental-protection-2_1.png') no-repeat bottom center;
  background-size: 100% auto;
}
.environmental-protection-3__1 {
  background: url('../images/community/environmental-protection-3_1.png') no-repeat bottom center;
  background-size: 100% auto;
}

/* 卡片样式 */
.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: #055bb1;
  color: #fff;
}
.card {
  border-radius: 8px !important;
}
/* 卡片悬停效果 */
.hover-effect {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}
.hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.25rem;
}

.hover-effect:hover .hover-overlay {
  opacity: 1;
}

.overlay-content {
  padding: 1rem;
}

.overlay-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.overlay-text {
  margin-bottom: 0.75rem;
}

.learn-more {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  display: inline-block;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}

.hover-effect:hover .learn-more {
  background-color: rgba(255, 255, 255, 0.3);
}
