#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all .4s ease 0s;
  transform: translateX(250px);
  background: #1d809f;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-nav {
  padding: 1rem 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.sidebar-nav .dropdown-menu {
  position: static !important;
  float: none;
  margin: 0;
  padding-left: 1rem;
  border: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-radius: 0.25rem;
}

.sidebar-nav .dropdown.show .dropdown-menu, .sidebar-nav .dropdown-menu.show {
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
  border-radius: 0.25rem;
  margin: 0.25rem 0;
  font-weight: 500;
}

.sidebar-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateX(4px);
}

.sidebar-nav .nav-item {
  padding: 0.75rem 1.5rem;
  color: #fff;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 메인 헤더 */

.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

.header-logo img {
  height: 40px;
}

.masthead {
  position: relative;
}

.masthead-main {
  height: 100vh;
  min-height: 30rem;
  display: flex;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
}

/* 서브 헤더 */

.masthead-sub {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%), url('../../assets/img/bg-masthead.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.masthead-sub .page-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.masthead-sub .title-underline {
  width: 60px;
  height: 2px;
  background: white;
  margin: 0 auto 0.5rem;
  border: none;
}

.masthead-sub .page-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* 중앙 가로 메뉴 (웹/PC) */

.center-nav {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.center-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
}

.center-nav-item {
  margin: 0 1rem;
  position: relative;
}

.center-nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.center-nav-item a:hover {
  color: #f8f9fa;
}

/* 드롭다운 메뉴 스타일 (필요시) */

.center-nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 2;
}

.center-nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu li a {
  color: #333;
  display: block;
}

.dropdown-menu li a:hover {
  background: #282536;
  padding-left: 15px;
  padding-right: 15px;
}

/* overview */

.content-section {
  padding-top: 2.5rem;
  padding-bottom: .5rem;
}

.mobi-top {
  margin-top: .25rem;
}

/* env */

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animated-img {
  opacity: 0;
}

/* premium */

.premium-portfolio-item {
  display: block;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
  position: relative;
  z-index: 1;
}

.premium-portfolio-item:hover {
  transform: scale(0.92);
  z-index: 10;
}

.premium-portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: inherit;
}

.animated-img-growin {
  opacity: 0;
  transform: scale(0.7);
  animation: growIn 1.7s cubic-bezier(.4,2,.6,1) forwards;
}

@keyframes growIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 순차적 애니메이션 딜레이 */

.animated-img-growin:nth-of-type(1) {
  animation-delay: 0.1s;
}

.animated-img-growin:nth-of-type(2) {
  animation-delay: 0.3s;
}

.animated-img-growin:nth-of-type(3) {
  animation-delay: 0.5s;
}

.animated-img-growin:nth-of-type(4) {
  animation-delay: 0.7s;
}

.animated-img-growin:nth-of-type(5) {
  animation-delay: 0.9s;
}

.animated-img-growin:nth-of-type(6) {
  animation-delay: 1.1s;
}

.animated-img-growin:nth-of-type(7) {
  animation-delay: 1.3s;
}

.animated-img-growin:nth-of-type(8) {
  animation-delay: 1.5s;
}

.rounded-top-4 {
  border-top-left-radius: var(--bs-border-radius-xl) !important;
  border-top-right-radius: var(--bs-border-radius-xl) !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.bg-full-cover {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* interior */

.thumbnail-bar {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.thumbnail-bar::-webkit-scrollbar {
  display: none;
}

.thumb-img {
  opacity: 0.7;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  flex: 0 0 auto;
}

.thumb-img.active, .thumb-img:hover, .thumb-img.border-primary {
  opacity: 1;
  border-color: #0d6efd;
}

@media (min-width: 768px) {
  .thumbnail-bar-wrapper {
    justify-content: center !important;
  }
}

@media (min-width: 768px) {
  .thumb-scroll-btn {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .thumbnail-bar {
    overflow-x: visible;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .thumb-img {
    width: 90px !important;
    margin-right: 12px;
  }
}

/* 메인동영상 */

/* 썸네일 호버 효과 및 아이콘 강조 */

.video-thumb:hover .play-icon {
  opacity: 1 !important;
  transform: scale(1.15);
  transition: all 0.2s;
}

.video-thumb .play-icon {
  transition: all 0.2s;
}

/* commom */

.text-keep-all {
  word-break: keep-all !important;
}

@media (max-width: 767px) {
  .mobi-text {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 767px) {
  .mobi-p-1 {
    padding: .5rem !important;
  }
}

@media (max-width: 767px) {
  .mobi-p-xy-1 {
    padding-left: .1rem !important;
    padding-right: .1rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .mobi-p-xy-5 {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .mobi-img1 {
    height: 400px !important;
  }
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: var(--bs-nav-pills-link-active-color);
  /*background-color: var(--bs-nav-pills-link-active-bg);*/
  background-color: #282536;
}

.with-arrow .nav-link.active::after {
  border-top: 6px solid #282536 !important;
}

.text-custom-bg-dark {
  color: #fff !important;
  background-color: #282536 !important;
}

/* commom */

