

#service {
  width: 100%;
  text-align: center;
  padding: 50px 0;
  font-family: "Noto Sans KR", sans-serif;
  background-color: #fff;
}

#service .subMain img {
  width: 100%;
  height: auto;
  display: block;
}

#service .subCon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

#service .dan {
  flex: 1 1 calc(50% - 30px);
  max-width: 550px;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 20px;
}

#service .box {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}

#service .box img {
  width: 100%;
  height: auto;
  display: block;
}

#service .box:hover {
  transform: translateY(-5px);
}

#service .sub_tit {
  margin-top: 10px;
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

#service .box:hover + .sub_tit {
  transform: translateY(-10px);
  color: #1fa9e1;
}

#service .hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease;
  padding: 20px;
  border-radius: 16px;
}

#service .box:hover .hover {
  opacity: 1;
}

#service .desc {
  font-size: 0.95em;
  line-height: 1.5em;
  margin-bottom: 10px;
}

#service .appDownBox a {
  display: inline-block;
  padding: 8px 16px;
  background: #1fa9e1;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#service .appDownBox a:hover {
  background: #e15500;
}

@keyframes handUp {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-4px) scale(1.2); }
  100% { transform: translateY(0) scale(1); }
}

#service .sub_tit i.fa-hand-o-up {
  animation: handUp 0.6s ease-in-out infinite;
}

@media (max-width: 768px) {
  #service .subCon { flex-direction: column; align-items: center; }
  #service .dan { flex: 1 1 100%; max-width: 90%; }
  #service .sub_tit { font-size: 1em; }
  #service .desc { font-size: 0.9em; }
}
