/* 서비스 카드 섹션 스타일 */
.service-cards-section {
  padding: 100px 0;
  background-color: #f9f9f9;
  margin-bottom: 0;
}

.service-cards-container {
  width: 1570px;
  max-width: 95%;
  margin: 0 auto;
}

.section-title-container {
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  font-size: 18px;
  color: #0055b3;
  margin-bottom: 15px;
  font-weight: 500;
  display: inline-block;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  font-size: 16px;
  color: #555;
  /* margin-top: 15px; */
  margin-bottom: 0;
}

.section-subtitle.slide-up-text,
.section-title.slide-up-text,
.section-description.slide-up-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section-subtitle.slide-up-text.aos-animate,
.section-title.slide-up-text.aos-animate,
.section-description.slide-up-text.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* 새로운 서비스 프로세스 스타일 */
.service-process {
  width: 100%;
  /* margin-top: 60px; */
}

/* 서비스 이미지 스타일 */
.service-images {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 12px;
  align-items: center;
  min-height: 280px;
}

.service-image {
  flex: 1;
  text-align: center;
}

.image-container {
  width: 70%;
  height: 0;
  padding-bottom: 70%; /* 정사각형 비율 */
  border-radius: 999px;
  margin: auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease;
}
.service-image.active .image-container {
  border-radius: 15px;
  width: 100%;
  padding-bottom: 75%;
}
.service-image .image-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.process-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.service-image.active .process-image {
  filter: grayscale(0%);
}

/* 프로세스 인디케이터 스타일 */
.process-indicator {
  width: 100%;
  margin: 20px 0;
  position: relative;
}

.indicator-line {
  width: 80%;
  height: 2px;
  background-color: #ddd;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.progress-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #0055b3;
  transition: width 0.6s ease;
}

.indicator-dots {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  position: relative;
  top: -8px;
  z-index: 2;
}

.indicator-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ddd;
  transition: all 0.5s ease;
}

.indicator-dot.active {
  background-color: #0055b3;
  transform: scale(1.2);
}

/* 서비스 설명 스타일 */
.service-descriptions {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.service-description {
  flex: 1;
  text-align: center;
  opacity: 0.5;
  transition: all 0.6s ease;
}

.service-description.active {
  opacity: 1;
}

.description-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  line-height: 1.1;
}

.description-text {
  font-size: 22px;
  color: #666;
  /* margin-bottom: 5px; */
  font-weight: 500;
  line-height: 1;
}

.description-text-sub {
  font-size: 22px;
  color: #888;
  margin-top: 0;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
  .service-images {
    gap: 20px;
  }

  .section-title {
    font-size: 38px;
  }

  .description-title {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .service-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-descriptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .indicator-line,
  .indicator-dots {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .service-cards-section {
    padding: 60px 0;
  }

  .section-title-container {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .service-images {
    grid-template-columns: 1fr;
  }

  .service-descriptions {
    grid-template-columns: 1fr;
  }

  .indicator-line,
  .indicator-dots {
    width: 100%;
  }
}
