/*** ====================================================================
         Main Sevice Section (Custom Square Style - Full Cover)
 ====================================================================
 ***/
.hactora-service.main-service-one-section.two {
  padding: 80px 0 80px;
  margin-top: 0;
}

/* 单个卡片整体容器 */
.hactora-service .main-service-one-sec-single {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; /* 让内容居中对齐 */
  text-align: center;
  height: calc(100% - 30px);
  margin-bottom: 30px;
}

/* 正方形图片外壳：大圆角 + 浅灰背景 + 阴影 */
.hactora-service .main-service-one-sec-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1; /* 严格控制为正方形 */
  overflow: hidden;
  background-color: #ededed; 
  border-radius: 24px; /* 大圆角 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 0 1px rgba(0, 0, 0, 0.2); 
  margin-bottom: 25px; /* 与下方标题的间距 */
}

/* 图片铺满设置 */
.hactora-service .main-service-one-sec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 核心修改：图片完全裁剪铺满正方形 */
  display: block;
  transition: transform 0.5s ease;
}

/* 悬停放大效果 */
.hactora-service .main-service-one-sec-single:hover .main-service-one-sec-img img {
  transform: scale(1.06);
}

/* 文字内容区域 */
.hactora-service .main-service-one-sec-content {
  flex: 1;
  display: block;
  padding: 0 10px;
  background-color: transparent;
  box-shadow: none;
}

/* 标题纯文本样式 */
.hactora-service .main-service-one-sec-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 12px;
}

/* 描述文字样式 */
.hactora-service .main-service-one-sec-content p {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}