/* main 박스 */
@media (max-width: 768px) {
  .div-parallax {
    height: 600px !important;
  }
}

.div-parallax {
  height: 1200px;
  background: transparent;
  position: relative;
  overflow: hidden;
}


/* main 박스 */


/* 부트스트랩과 함께 사용하는 지그재그 애니메이션 CSS */
.centered-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 2rem auto;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url('../../assets/img/main-img4.png') no-repeat center center;
  background-size: cover;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
  overflow: hidden;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
  padding: 10px 10px 0px 10px;
}


.centered-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  border-radius: 1.2rem;
  z-index: 0;
  pointer-events: none;
}
.zigzag-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  min-height: 60px;
  position: relative;
  z-index: 1;
}
.zigzag-row .col-empty {
  flex: 0 0 340px;
  max-width: 400px;
  min-width: 180px;
  height: 1px;
}
.zigzag-item {
  display: flex;
  align-items: center;
  /*padding: 1.1rem 1.4rem;*/
  background: rgba(248, 249, 250, 0.93);
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  font-size: 1.13rem;
  opacity: 0;
  position: relative;
  min-width: 160px;
  max-width: 550px;
  margin: unset;
  transition: box-shadow 0.3s;
}
.zigzag-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.19);
}
.zigzag-row.left .zigzag-item {
  margin-left: 0;
  margin-right: auto;
  justify-content: flex-start;
  text-align: left;
}
.zigzag-row.right .zigzag-item {
  margin-right: 0;
  margin-left: auto;
  justify-content: flex-end;
  text-align: right;
}
.icon-box {
  font-size: 2rem;
  margin-right: 1.1rem;
  color: #0d6efd;
  flex-shrink: 0;
}
.zigzag-row.right .icon-box {
  margin-left: 1.1rem;
  margin-right: 0;
}



.icon-box {
  flex-shrink: 0;
}
.text-content {
  flex: 1;
}
.text-content .bold {
  font-weight: bold;
  margin: 0;
}
.text-content .small {
  font-size: 0.9rem;
  margin: 0;
}
.text-content hr {
  border: none;
  border-bottom: 2px solid #fff;
  margin-top: 8px;
  margin-bottom: 8px;
  width: 100%;
  opacity: .75;
}




/* 들쑥날쑥 효과: Y축, X축, 크기, 여백 랜덤/의도적 오프셋 */
.zigzag-row.left:nth-child(1)  { margin-top: 30px; margin-left: 50px; }
.zigzag-row.right:nth-child(2) { margin-top: 32px; margin-left: -30px;}
.zigzag-row.left:nth-child(3)  { margin-top: -18px; margin-left: 150px; }
.zigzag-row.right:nth-child(4) { margin-top: 44px; margin-left: -150px; }
.zigzag-row.left:nth-child(5)  { margin-top: 10px; margin-left: 50px; }
.zigzag-row.right:nth-child(6) { margin-top: -22px; margin-left: -50px;}
.zigzag-row.left:nth-child(7)  { margin-top: 36px; margin-left: 150px; margin-bottom: 30px;}
.zigzag-row.left:nth-child(1)  .zigzag-item { transform: translateY(0) translateX(-140px) scale(1.0); }
.zigzag-row.right:nth-child(2) .zigzag-item { transform: translateY(10px) translateX(180px) scale(1.05); }
.zigzag-row.left:nth-child(3)  .zigzag-item { transform: translateY(-18px) translateX(-170px) scale(0.95); }
.zigzag-row.right:nth-child(4) .zigzag-item { transform: translateY(25px) translateX(140px) scale(1.07); }
.zigzag-row.left:nth-child(5)  .zigzag-item { transform: translateY(12px) translateX(-120px) scale(1.13); }
.zigzag-row.right:nth-child(6) .zigzag-item { transform: translateY(-20px) translateX(210px) scale(0.92); }
.zigzag-row.left:nth-child(7)  .zigzag-item { transform: translateY(30px) translateX(-180px) scale(1.08); }
@keyframes slideInLeft {
  0% { opacity: 0; }
  100% { opacity: 1; transform: translateY(var(--ty,0)) translateX(0) scale(var(--sc,1)); }
}
@keyframes slideInRight {
  0% { opacity: 0; }
  100% { opacity: 1; transform: translateY(var(--ty,0)) translateX(0) scale(var(--sc,1)); }
}
.zigzag-row.left .zigzag-item.visible {
  animation: slideInLeft 0.8s cubic-bezier(.77,0,.18,1) forwards;
  opacity: 1;
}
.zigzag-row.right .zigzag-item.visible {
  animation: slideInRight 0.8s cubic-bezier(.77,0,.18,1) forwards;
  opacity: 1;
}
/* 모바일 반응형 */
@media (max-width: 900px) {
  .zigzag-row .col-empty {
    flex: 0 0 40px;
    max-width: 50px;
    min-width: 10px;
  }
}
@media (max-width: 700px) {
  .centered-wrapper {
    min-height: auto;
    height: auto;
    margin: 2rem auto;
    position: relative;
    transform: none;
    border-radius: 0;
  }
  .zigzag-row {
    max-width: 100%;
    min-height: 0;
    margin-bottom: 1.2rem;
    margin-top: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .zigzag-item {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    /*padding: 1rem 1rem;*/
    font-size: 1rem;
    margin: 0 auto !important;
    text-align: center !important;
    justify-content: center !important;
    transform: none !important;
  }
  .zigzag-row .col-empty {
    display: none;
  }
  .icon-box, .zigzag-row.right .icon-box {
    margin-left: 0 !important;
    margin-right: 0.8rem !important;
  }
}




/* 메뉴 */

/* 모던한 메뉴 스타일 */
.navbar {
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.navbar-nav {
  gap: 0.5rem;
}
.nav-link {
  font-weight: 500;
  color: #333 !important;
  padding: 0.5rem 1rem !important;
}
.nav-link:hover,
.nav-link:focus {
  color: #0d6efd !important;
}
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 0.5rem 0;
}
.dropdown-item {
  padding: 0.5rem 1.5rem;
  font-weight: 400;
}
.dropdown-item:hover {
  background: #f8f9fa;
  color: #0d6efd;
}
.btn-primary-custom {
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}
/* 오프캔버스 스타일 */
.offcanvas {
  width: 300px !important;
}
.offcanvas-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}
.offcanvas-body {
  padding: 1.5rem;
}


/* 메뉴 */