/* Hero Banner */
.hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 슬라이드 아이템 공통 스타일 */
.carousel-item {
  height: 600px; /* 슬라이드 높이 지정 */
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* 슬라이드 아이템 어두운 오버레이 */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* 각 슬라이드 배경 이미지 */
.btn-cta {
  background-color: #ff6600;
  border-color: #ff6600;
  color: white;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 10px;
}
.btn-cta:hover {
  background-color: #e65c00;
  border-color: #e65c00;
  color: white;
}

/* 슬라이드 콘텐츠 스타일 통합 */
.carousel-caption {
  /* 부트스트랩 기본 스타일 초기화 및 중앙 정렬 */
  position: absolute;
  top: 50%;
  left: 15%; /* 부트스트랩 기본값 유지 및 명시 */
  right: 15%; /* 부트스트랩 기본값 유지 및 명시 */
  transform: translateY(-50%); /* 수직 중앙 정렬만 적용 */
  bottom: auto;
  color: white;
  text-align: center;
}
.carousel-caption h1,
.carousel-caption h5,
.carousel-caption h1 {
  /* h1 태그 추가 */
  font-size: 3.5rem; /* 크기 통일 */
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  /* 텍스트가 자연스럽게 줄바꿈 되도록 최대 너비 지정 */
  max-width: 800px;
  margin: 0 auto 20px; /* 중앙 정렬 및 아래 여백 */
  word-break: keep-all; /* 한글 단어 중간에 잘리지 않도록 설정 */
}
.carousel-caption p {
  font-size: 1.25rem; /* 크기 통일 */
  margin-bottom: 30px;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 500;
}

/* Main page service cards are handled by global styles or specifically here if they differ */
.main-service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.main-service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #0056b3;
}
.main-service-card .material-icons {
  font-size: 50px;
  color: #0056b3;
  margin-bottom: 25px;
  background: #f0f7ff;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  display: inline-block;
}
.main-service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.security-item {
  text-align: center;
}
.security-item .material-icons {
  font-size: 40px;
  color: #0056b3;
}
.security-item p {
  word-break: keep-all; /* 단어가 중간에 잘리지 않도록 */
  overflow-wrap: break-word; /* 긴 단어는 다음 줄로 */
  hyphens: auto; /* 필요시 하이픈 추가 */
}

/* FOUC 방지를 위한 공통 스타일 추가 */
.ks4 {
  font-family: "S-CoreDream-4Regular", sans-serif;
  font-weight: 400; /* S-CoreDream-4Regular 굵기 */
}

.ks5 {
  font-family: "S-CoreDream-5Medium", sans-serif;
  font-weight: 500; /* S-CoreDream-5Medium 굵기 */
}

.f19 {
  font-size: 19px;
}



/* 아이콘 폰트 FOUC(깜빡임) 방지 */
.material-icons {
  color: transparent; /* 폰트 로드 전까지 텍스트 색상을 투명하게 */
}

/* 강조 배너 스타일 - 전문적이고 세련된 디자인 */
.highlight-banner {
  background: #f8f9fa;
  border-left: 4px solid #005bac;
  padding: 25px 35px;
  margin: 35px 0;
  position: relative;
}

.highlight-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.highlight-text .icon-badge {
  font-size: 32px;
  flex-shrink: 0;
  opacity: 0.8;
}

.highlight-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #333;
  letter-spacing: -0.3px;
}

.highlight-text p {
  font-size: 14px;
  margin: 0;
  color: #666;
  font-weight: 400;
  line-height: 1.5;
}

/* 반응형 */
@media (max-width: 768px) {
  .highlight-banner {
    padding: 20px 20px;
    margin: 25px 0;
  }
  
  .highlight-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .highlight-text .icon-badge {
    font-size: 28px;
  }
  
  .highlight-text h3 {
    font-size: 18px;
  }
  
  .highlight-text p {
    font-size: 13px;
  }
}
