/* Inteliwave site CSS - Bootstrap 5.3 */

:root {
  --site-ink: #232b3b;
  --site-muted: #68778e;
  --site-bg: #f7f9fc;
  --site-surface: #ffffff;
  --site-outline: #e2e8f2;
  --site-accent: #3874ff;
  --site-nav-height: 68px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-nav-height);
}

body {
  margin: 0;
  padding-top: var(--site-nav-height);
  font-family: "Nunito Sans", "SeoulNamsan", sans-serif;
  background: var(--site-bg);
  color: var(--site-ink);
}

.main {
  min-height: 100vh;
}

/* .content {
  padding: 0;
} */
.content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#services,
#work,
#partners,
#contact,
#ip-certifications {
  scroll-margin-top: var(--site-nav-height);
}

/* Top navigation */

.site-navbar {
  min-height: var(--site-nav-height);
  background: #ffffff;
  border-bottom: 1px solid var(--site-outline);
  box-shadow: 0 2px 12px rgba(26, 44, 76, 0.06);
  z-index: 1030;
}

.site-navbar-inner {
  min-height: var(--site-nav-height);
  padding: 0.55rem clamp(1rem, 4vw, 4rem);
}

.site-navbar .navbar-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 1.5rem;
}

.site-navbar .navbar-brand img {
  display: block;
  width: auto;
  height: 28px;
  object-fit: contain;
}

.site-navbar .navbar-collapse {
  align-items: center;
}

.site-main-nav {
  margin-left: auto;
  margin-right: auto;
}

.site-navbar .nav-link {
  padding: 0.55rem 0.9rem !important;
  color: var(--site-muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--site-accent);
}

.site-lang-links {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  margin-left: 1.5rem;
  white-space: nowrap;
}

.site-lang-links a {
  color: var(--site-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-lang-links a:hover,
.site-lang-links a:focus,
.site-lang-links a.active {
  color: var(--site-accent);
}

.site-lang-links span {
  color: #bcc6d5;
}

.site-navbar .navbar-toggler {
  border-color: var(--site-outline);
  box-shadow: none;
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(56, 116, 255, 0.15);
}

/* Site utility classes */

.fw-medium {
  font-weight: 500 !important;
}

.fs-7 {
  font-size: 1.125rem !important;
}

.fs-8 {
  font-size: 1rem !important;
}

.fs-9 {
  font-size: 0.875rem !important;
}

.fs-10 {
  font-size: 0.75rem !important;
}

.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.text-body-emphasis {
  color: var(--site-ink) !important;
}

.text-body-secondary,
.text-body-tertiary {
  color: var(--site-muted) !important;
}

.bg-body-emphasis {
  background: var(--site-surface) !important;
}

/* Cards */

.card {
  color: var(--site-ink);
  background: var(--site-surface);
  border-radius: 0.65rem;
}

.site-card-border {
  border-color: var(--site-outline) !important;
}

.site-badge {
  padding: 0.4em 0.65em;
  color: var(--site-accent);
  background: rgba(56, 116, 255, 0.11);
  border-radius: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: normal;
}

/* Home */

.home-intro {
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.content > div {
  max-width: none;
}

.partner-logo {
  max-width: 150px;
  max-height: 60px;
  object-fit: contain;
}

/* Product carousel */

#productCarousel .carousel-item {
  height: 420px;
}

.product-carousel-card {
  width: 96%;
  max-width: 1400px;
  height: 100%;
}

.product-carousel-card > .row {
  height: 100%;
}

.product-carousel-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-carousel-img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  object-fit: contain;
}

#productCarousel .carousel-indicators {
  position: relative;
  margin-bottom: 1.25rem;
}


/* Product carousel */

#productCarousel .carousel-item {
  height: 420px;
}

.product-carousel-card {
  width: 96%;
  max-width: 1400px;
  height: 100%;
}

.product-carousel-card > .row {
  height: 100%;
}

.product-carousel-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-carousel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

/* 좌우 이동 버튼 */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
  width: 6%;
  opacity: 1;
}

#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(35, 43, 59, 0.7);
  background-size: 55% 55%;
  border-radius: 50%;
}

/* 하단 페이지 표시 */
#productCarousel .carousel-indicators {
  position: relative;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

#productCarousel .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 4px;
  margin-right: 4px;
  margin-left: 4px;
  background-color: #aeb8c7;
  border: 0;
  opacity: 1;
}

#productCarousel .carousel-indicators .active {
  background-color: var(--site-accent);
}


/* Contact */

.contact-icon {
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-link {
  color: #e2e8f2;
}

.contact-link:hover {
  color: #ffffff;
}

/* Footer */

.footer {
  padding: 1rem 2rem;
  background: var(--site-surface);
  border-top: 1px solid var(--site-outline);
}

/* Desktop */

/* @media (min-width: 992px) {
  .px-lg-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }

  .mx-lg-n6 {
    margin-right: -4rem !important;
    margin-left: -4rem !important;
  }
} */

/* Tablet / Mobile */

@media (max-width: 767.98px) {
  :root {
    --site-nav-height: 62px;
  }

  .content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-navbar-inner {
    min-height: var(--site-nav-height);
  }

  .site-navbar .navbar-collapse {
    padding: 0.65rem 0 0.35rem;
    border-top: 1px solid var(--site-outline);
  }

  .site-main-nav {
    margin: 0;
  }

  .site-navbar .nav-link {
    padding: 0.65rem 0 !important;
  }

  .site-lang-links {
    margin: 0.3rem 0 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--site-outline);
  }

  .home-intro {
    min-height: auto;
    padding-top: 3rem !important;
  }
}

/* Small mobile */

@media (max-width: 767.98px) {
  #productCarousel .carousel-item {
    height: 470px;
  }

  .product-carousel-card {
    width: 100%;
  }

  .product-carousel-img-wrap {
    height: 240px;
  }

  .product-carousel-img {
    padding: 1rem;
  }
}