/**
* Template Name: KnightOne
* Template URL: https://bootstrapmade.com/knight-simple-one-page-bootstrap-template/
* Updated: Oct 16 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:
    "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #282828;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #e0a900;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;
  /* The default color of the main navmenu links */
  --nav-hover-color: #e0a900;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #e0a900;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

/* Section Divider */
.section-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 60px 0;
  /* 위아래 여백 */
}

.section-divider span {
  width: 280px;
  /* 라인 길이 */
  height: 2px;
  /* 얇은 라인 */
  background-color: var(--accent-color);
  opacity: 1;
  /* 너무 튀지 않게 */
  border-radius: 2px;
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* About 본문 문단 */
.about-desc {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #555;
}

/* 오른쪽 보조 문단 */
.about-side-desc {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #555;
}

/* 핵심 사업 구조 소제목 */
.about-subtitle {
  margin-top: 40px;
  /* About 설명과 간격 */
  margin-bottom: 16px;
  /* 체크리스트와 간격 */
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

/* 체크리스트 */
.about-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.about-list i {
  color: #f5b400;
  /* 기존 테마 옐로우 유지 */
  font-size: 18px;
  margin-top: 3px;
}

.about-list span {
  line-height: 1.6;
  color: #444;
}

/* Read More 버튼 정리 (기존 스타일 유지 보정용) */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

/* 서비스 카드 타이틀 영역 */
.service-title {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
}

/* 한글 타이틀 */
.service-title h3 {
  margin-bottom: 0;
  /* 기존 2px → 0 */
  line-height: 1.2;
  /* 제목 자체 높이도 압축 */
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

/* 영문 서브 타이틀 */
.service-subtitle {
  display: block;
  font-size: 15px;
  /* 본문보다 큼 */
  font-weight: 600;
  /* 본문보다 굵음 */
  color: #f5b400;
  /* 브랜드 옐로우 */
  margin-top: 2px;
  /* 또는 0 */
  line-height: 1.3;
}

/* 설명 문단 */
.service-desc {
  margin-top: 12px;
  /* ← 타이틀 묶음과 분리 */
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%,
      color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;

  color: var(--default-color);
  background-color: var(--background-color);
  padding: 12px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/* 🔥 핵심: 히어로와 동일한 좌측 기준 */
.header .container {
  padding-left: 120px;
  padding-right: 120px;
  max-width: 100%;
  /* 부트스트랩 컨테이너의 너비 제한 해제 */
  width: 100%;
  /* 화면 가로를 꽉 채우게 설정 */
}

.header .logo {
  line-height: 1;
  display: flex;
  align-items: center;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/* CTA */
.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

/* 대형 데스크탑 (히어로 left:160px 대응 가능) */
@media (min-width: 1400px) {
  .header .container {
    padding-left: 160px;
    padding-right: 160px;
  }
}

/* 태블릿 */
@media (max-width: 1200px) {
  .header .container {
    padding-left: 60px;
    padding-right: 60px;
  }

  .header .logo {
    order: 1;
  }

  .header .logo h1 {
    font-size: 24px;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* 모바일 */
@media (max-width: 767px) {
  .header .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(40, 40, 40, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 30%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -27px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff !important;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* =========================================
       [수정] 모바일 메뉴 박스 높이 최적화
       - 바닥까지 꽉 차는 문제 해결
       - 내용물 양에 맞춰서 높이가 자동으로 줄어듬
       ========================================= */
@media (max-width: 1199px) {
  .navmenu ul {
    /* 기존에는 바닥(bottom) 20px까지 강제로 늘렸다면, 
           이제는 'auto'로 설정해 내용물만큼만 차지하게 변경 */
    bottom: auto !important;

    /* 메뉴가 화면보다 길어질 경우를 대비해 스크롤 허용 및 최대 높이 제한 */
    max-height: 80vh;
    overflow-y: auto;
  }
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs (Centered Final Version)
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔥 데스크탑 기준 높이 복원 */
  height: 720px;
  min-height: 560px;

  /* 🔥 중앙 정렬 */
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  position: relative;
}

/* 오버레이 */
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb,
      var(--background-color),
      transparent 50%);
  z-index: 1;
}

/* 실제 텍스트 컨테이너 */
.page-title .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  /* 초대형 화면 대비 */
}

/*--------------------------------------------------------------
# Responsive Height Control
--------------------------------------------------------------*/

/* 데스크탑 (1200px 이상) */
@media (min-width: 1200px) {
  .page-title {
    background-size: 90% auto;
    background-position: center 30%;
  }
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-title {
    height: 480px;
    min-height: 440px;
  }
}

/* 모바일 */
@media (max-width: 767px) {
  .page-title {
    height: 320px;
    min-height: 300px;
    padding: 0 20px;
  }
}

/*--------------------------------------------------------------
# Text Styles
--------------------------------------------------------------*/
.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-title p {
  margin: 6px 0;
  font-size: 16px;
}

.page-title .breadcrumbs {
  margin-top: 20px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 57px;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 57px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color) 90%, white 50%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/


/* Brand Visual Section */
.brand-visual {
  padding: 80px 0 60px;
}

.brand-visual-inner {
  width: 100%;
}

.brand-visual-inner img {
  width: 100%;
  height: auto;
  display: block;
}




/* --- Nexus AI Studio Custom Styles --- */
:root {
  --zinc-950: #09090b;
  --zinc-900: #18181b;
  --zinc-800: #27272a;
  --indigo-400: #818cf8;
}

/* 다크 배경 및 기본 설정 */
.bg-zinc-950 {
  background-color: var(--zinc-950) !important;
}

/* 유리 효과 패널 */
.glass-panel {
  background: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--zinc-800);
  transition: all 0.3s ease;
}

.glass-panel:hover {
  border-color: rgba(129, 140, 248, 0.5);
}

/* 텍스트 그라디언트 */
.text-gradient {
  background: linear-gradient(to right, #818cf8, #c084fc, #ffffff);
  -webkit-background-clip: text;
  /* 크롬, 사파리용 */
  background-clip: text;
  /* ★ 표준 속성 추가 (경고 해결) */
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 그리드 배경 */
.grid-bg {
  background-image: radial-gradient(var(--zinc-800) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* 애니메이션 */
@keyframes bounce-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 3s infinite ease-in-out;
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse-soft 2s infinite;
}

/* CTA 글로우 효과 */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(79, 70, 229, 0.15);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

/* 아이콘 박스 */
.feature-icon-box {
  width: 48px;
  height: 48px;
  background: var(--zinc-900);
  border: 1px solid var(--zinc-800);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 24px;
}

/* 2. 바나나몰 전용 골드 그라디언트 (image_cf4d56.png 대응) */
.text-gradient-gold {
  background: linear-gradient(135deg, #f5a425 0%, #ffe082 50%, #ffffff 100%);
  -webkit-background-clip: text;
  /* 크롬, 사파리 전용 */
  background-clip: text;
  /* ★ 표준 속성 추가 (경고 해결) */
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 기존 로딩 애니메이션 유지 */
.animate-load {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 버튼 호버 효과 */
#hero-hybrid .btn-warning {
  background-color: #f5a425;
  border: none;
  transition: all 0.3s ease;
}

#hero-hybrid .btn-warning:hover {
  background-color: #e69516;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(245, 164, 37, 0.3);
}



/* =========================================================
   [PAGE-BLOG-5] NEOUM Logistics 통합 스타일
   - 브레이크포인트: 992px (PC) / 991px (Mobile)
   - 최적화: 3D 스크롤 프리, 대화면 타이포그래피 비율 대응
   ========================================================= */

/* [0] 공통 설정 */
body.page-blog-5 {
  background: #ffffff;
  overflow-x: hidden;
}

/* 3D 상자 영역 마우스 이벤트 차단 (스크롤 방해 해결) */
body.page-blog-5 .neoum-hero-spline,
body.page-blog-5 .neoum-hero-bg,
body.page-blog-5 .neoum-hero-cover,
body.page-blog-5 .neoum-hero-spline-mask {
  pointer-events: none !important;
}

/* ---------------------------------------------------------
   [1] PC 화면 설정 (992px 이상)
---------------------------------------------------------- */
@media (min-width: 992px) {

  /* HERO 섹션 */
  body.page-blog-5 .neoum-hero {
    padding: 140px 0 120px !important;
    min-height: 850px !important;
    overflow: visible !important;
  }

  body.page-blog-5 .neoum-hero-bg {
    position: relative !important;
    width: 100% !important;
    height: 600px !important;
    z-index: 5 !important;
    transform: translateX(-60px) !important;
  }

  body.page-blog-5 .neoum-hero-spline {
    position: absolute !important;
    inset: 0 !important;
    width: 120% !important;
    height: 100% !important;
    z-index: 6 !important;
    transform: scale(1.3) !important;
  }

  body.page-blog-5 .neoum-hero-content {
    text-align: left !important;
  }

  body.page-blog-5 .neoum-hero-content .inline-block {
    margin: 0 auto 25px 0 !important;
    display: table !important;
  }

  body.page-blog-5 .neoum-hero-content h1 {
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  body.page-blog-5 .neoum-hero-content h1 span {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  body.page-blog-5 .neoum-hero-content .text-black {
    font-size: 17px !important;
    text-align: left !important;
    max-width: 550px !important;
    line-height: 1.6 !important;
  }

  body.page-blog-5 .neoum-hero-content .flex {
    justify-content: flex-start !important;
  }

  /* 4카드 섹션 (Features) - 대화면 폰트 비율 강화 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden {
    padding: 80px 0 !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .max-w-7xl .text-center.max-w-5xl {
    max-width: 1100px !important;
    margin-bottom: 56px !important;
  }

  /* "물류의 한계를 넘는" 상단 텍스트 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center h3>.block.mb-3 {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem) !important;
    margin-bottom: 8px !important;
    opacity: 0.85;
  }

  /* "통합 물류 시스템" (전체화면에서 압도적으로 커지도록 설정) */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center h3 .text-transparent {
    font-size: clamp(2.5rem, 4.8vw, 5.5rem) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
  }

  /* 서브텍스트 튜닝 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center>.mt-8 {
    margin-top: 18px !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: rgba(17, 17, 17, 0.6) !important;
  }

  /* 카드 그리드 및 개별 카드 */
  body.page-blog-5 .grid.grid-cols-1.md\:grid-cols-12 {
    gap: 24px !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden div[class*="md:col-span-"] {
    min-height: 320px !important;
    padding: 40px !important;
    border-radius: 32px !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden h4 {
    font-size: 1.85rem !important;
    margin-bottom: 12px !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
  }
}

/* ---------------------------------------------------------
   [2] 모바일 화면 설정 (991px 이하)
---------------------------------------------------------- */
@media (max-width: 991px) {

  /* HERO 모바일 */
  body.page-blog-5 .neoum-hero {
    padding: 100px 0 !important;
    overflow: hidden !important;
  }

  body.page-blog-5 .neoum-hero-bg {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    clip-path: inset(0 0 50px 0) !important;
    margin-bottom: -120px !important;
    margin-top: 0 !important;
  }

  body.page-blog-5 .neoum-hero-spline {
    position: absolute !important;
    inset: 0 !important;
    width: 150% !important;
    left: -25% !important;
    height: 100% !important;
    transform: scale(0.85) translate(20px, -80px) !important;
  }

  body.page-blog-5 .neoum-hero-content {
    text-align: center !important;
  }

  body.page-blog-5 .neoum-hero-content h1 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }

  body.page-blog-5 .neoum-hero-content h1 span {
    font-size: 2.6rem !important;
    display: block !important;
    margin-top: 10px !important;
  }

  body.page-blog-5 .neoum-hero-content .text-black {
    font-size: 15px !important;
    margin: 20px 0 30px !important;
  }

  body.page-blog-5 .neoum-hero-content>.flex {
    justify-content: center !important;
  }

  /* 4카드 섹션 모바일 */
  body.page-blog-5 section.bg-brand-cream {
    padding: 60px 20px !important;
  }

  body.page-blog-5 section.bg-brand-cream .text-center h3 div {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  body.page-blog-5 section.bg-brand-cream .text-center>.mt-8 {
    font-size: 0.95rem !important;
    padding: 0 !important;
  }

  /* 배송 조회 위젯 모바일 */
  body.page-blog-5 #tracking-card {
    padding: 25px 15px !important;
  }

  body.page-blog-5 #tracking-card form {
    flex-direction: column !important;
    gap: 10px !important;
  }

  body.page-blog-5 #tracking-card input,
  body.page-blog-5 #tracking-card button {
    width: 100% !important;
    height: 52px !important;
  }
}

/* =========================================================
   [PAGE-BLOG-5] HERO 텍스트 + 상태블록 PC 전용 미세수정
   - 992px 이상에서만
   - 서브텍스트(설명문) 왼쪽 줄맞춤 고정
   - "BNN GROUP의 물류엔진" 라인만 30% 축소
   - 상태(심장박동) 블록 정렬 보정
========================================================= */
@media (min-width: 992px) {

  /* 1) 첫 줄(= h1 기본)만 30% 축소 */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1 h1 {
    font-size: calc(3.5rem * 0.7) !important;
    /* 기존 3.5rem 기준 30% 다운 */
    line-height: 1.12 !important;
    text-align: left !important;
  }

  /* 2) "너움(NEOUM) Logistics" (span) : 크기 유지 + 간격 확보 */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1 h1>span {
    font-size: 5.5rem !important;
    /* PC 고정 */
    line-height: 1.05 !important;
    margin-top: 18px !important;
    /* 첫 줄과의 간격 */
  }

  /* 3) 서브텍스트(설명문) 줄맞춤: 왼쪽으로 딱 붙이기 */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1 .text-black {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 550px !important;
    text-align: left !important;
  }

  /* =========================================================
     4) ✅ 상태(심장박동) 블록: PC에서만 좌측 치우침 보정
     - 텍스트 흐름은 좌측 유지
     - 아이콘/텍스트는 예쁘게 정렬
  ========================================================= */

  /* 상태 래퍼(아이콘+텍스트 줄) */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1>.flex.items-center {
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    margin-left: 0 !important;
  }

  /* 아이콘 박스(파형) */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1>.flex.items-center>.relative.w-14.h-14 {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }

  /* 오른쪽 텍스트 박스 */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1>.flex.items-center>.text-left {
    text-align: left !important;
  }

  /* 서브라인 간격 살짝 */
  body.page-blog-5 .neoum-hero-content .order-2.lg\:order-1>.flex.items-center>.text-left p {
    margin-top: 4px !important;
  }
}


/* =========================================================
   [PAGE-BLOG-5] 4카드 섹션(Features) - PC 전용 컴팩트화
   - 카드 높이/패딩/타이포를 줄여 "너무 큰 느낌" 제거
========================================================= */
@media (min-width: 992px) {

  /* 섹션 자체 여백도 살짝 컴팩트 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden {
    padding: 64px 0 !important;
    /* 기존 80~96 느낌이면 확 줄어듦 */
  }

  /* 카드 공통: 높이/패딩/라운드 다운 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden div[class*="md:col-span-"] {
    min-height: 260px !important;
    /* ✅ 핵심: 카드 높이 다운 (기존 320~400대) */
    padding: 28px !important;
    /* 내부 여백 다운 */
    border-radius: 28px !important;
    /* 살짝 다운 */
  }

  /* Card 1만 기존에 min-h[400]이 박혀있어서 따로 강제 다운 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .min-h-\[400px\] {
    min-height: 260px !important;
  }

  /* 카드 제목/본문 타이포 살짝 다운 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden h4 {
    font-size: 1.55rem !important;
    /* 기존 1.85~3rem 계열이면 확 줄어듦 */
    margin-bottom: 10px !important;
    line-height: 1.15 !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  /* 뱃지/아이콘 영역도 약간 줄여서 위 공간 압축 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .inline-flex {
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
    margin-bottom: 14px !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .bi.text-4xl {
    font-size: 2rem !important;
    margin-bottom: 14px !important;
  }

  /* Card 1 하단 KPI 박스(진행바 영역)도 덜 두껍게 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .bg-black\/30 {
    padding: 16px !important;
    border-radius: 22px !important;
  }

  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .h-2 {
    height: 6px !important;
  }

}

/* =========================================================
   [PAGE-BLOG-5] HERO - 모바일 텍스트만 수정 (데스크탑 무영향)
   - "BNN GROUP의 물류엔진" / "스마트 풀필먼트" 2줄 고정
   - 서브텍스트 줄간격(leading-tight) 완화
========================================================= */
@media (max-width: 991px) {

  /* 1) 첫 문구를 2줄로 강제: hidden 처리된 br을 모바일에서만 살림 */
  body.page-blog-5 .neoum-hero h1 br.hidden.lg\:block {
    display: block !important;
  }

  /* 2) 첫 문구(스팬 제외) 폰트/줄높이 조정 → 2줄로 깔끔하게 */
  body.page-blog-5 .neoum-hero .neoum-hero-content h1 {
    font-size: 1.55rem !important;
    /* 필요시 1.45~1.65 사이로 조절 */
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    word-break: keep-all !important;
    /* 한글 줄바꿈 깨짐 방지 */
  }

  /* 3) "너움(NEOUM) Logistics"는 기존 톤 유지(원하면 숫자만 조절) */
  body.page-blog-5 .neoum-hero .neoum-hero-content h1>span {
    font-size: 2.6rem !important;
    line-height: 1.05 !important;
  }

  /* 4) 서브텍스트(설명문) 줄간격 확 넓히기: leading-tight 덮어쓰기 */
  body.page-blog-5 .neoum-hero .neoum-hero-content .text-black {
    line-height: 1.65 !important;
    /* ✅ 핵심 */
    letter-spacing: -0.01em !important;
  }

}

/* =========================================================
   [PAGE-BLOG-5] 4카드 섹션(Features) - 모바일 헤더 텍스트 최적화
   - "물류의 한계를 넘는" 크기 다운
   - "통합 물류 시스템"과 간격(위쪽 여백) 축소
   - 서브텍스트 줄맞춤(맥락 있게) = 좌측 정렬 + 가독 라인하이트
========================================================= */
@media (max-width: 991px) {

  /* 섹션 헤더 래퍼 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center.max-w-5xl {
    margin-bottom: 28px !important;
    /* 헤더 아래 공간도 과하면 살짝 컴팩트 */
  }

  /* 1) "물류의 한계를 넘는" (윗줄) 크기 줄이기 + 아래 간격 축소 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center h3>.block.mb-3 {
    font-size: 1.45rem !important;
    /* ✅ 기존보다 다운 */
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
    /* ✅ 아래 줄과 간격 좁힘 */
    opacity: 0.9 !important;
    letter-spacing: -0.02em !important;
    word-break: keep-all !important;
  }

  /* 2) "통합 물류 시스템" (아랫줄) - 윗줄과 간격을 더 타이트하게 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center h3 .text-transparent {
    margin-top: 0 !important;
    /* 혹시 생긴 간격 제거 */
    line-height: 1.08 !important;
  }

  /* 3) 서브텍스트(설명 2줄) : 중앙정렬 + 적정 폭(의미 단위로 줄바꿈) */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center>.mt-8 {
    text-align: center !important;
    /* ✅ 중앙정렬 */
    line-height: 1.65 !important;
    max-width: 30rem !important;
    /* ✅ 폭을 줄여서 줄바꿈이 맥락 있게 나오게 */
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 8px !important;
  }

  /* 두 줄 간격 살짝 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .text-center>.mt-8 .block+.block {
    margin-top: 6px !important;
  }

}

/* =========================================================
   [PAGE-BLOG-5] 4카드(Features) - 모바일 카드/타이포 전체 다운사이징
   - 데스크탑 무영향 (max-width:991px)
   - 카드 자체 높이감(패딩/갭/타이포)만 최적화
========================================================= */
@media (max-width: 991px) {

  /* (A) 카드들 사이 간격 조금 줄여서 "덩치" 느낌 제거 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .grid.grid-cols-1.md\:grid-cols-12 {
    gap: 14px !important;
    /* 기존 24px 체감이면 확 줄어듦 */
  }

  /* (B) 카드 공통: 패딩/라운드/최소높이 다운 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden div[class*="md:col-span-"] {
    padding: 22px !important;
    /* p-10(40px) → 22px */
    border-radius: 26px !important;
    min-height: 0 !important;
    /* 모바일에서 불필요한 키 커짐 방지 */
  }

  /* (C) 카드 제목(메인텍스트) 크기 다운: text-3xl 느낌 → 서브텍스트 스케일에 맞춤 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden h4 {
    font-size: 1.35rem !important;
    /* ✅ 핵심: 메인텍스트 줄이기 */
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
    word-break: keep-all !important;
  }

  /* (D) 카드 본문(서브텍스트) 크기/줄간격 다운: 섹션 서브텍스트 톤과 맞춤 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden p {
    font-size: 0.95rem !important;
    /* ✅ 섹션 서브텍스트 급으로 맞춤 */
    line-height: 1.6 !important;
  }

  /* (E) 상단 뱃지(DAWN DELIVERY / SMART...) 컴팩트 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .inline-flex {
    padding: 7px 11px !important;
    font-size: 0.72rem !important;
    margin-bottom: 12px !important;
    border-radius: 999px !important;
  }

  /* (F) 카드 아이콘(보라카드 등) 크기 다운 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .bi.text-4xl {
    font-size: 1.6rem !important;
    margin-bottom: 12px !important;
  }

  /* (G) 1번 카드 하단 KPI 박스(진행바 영역)도 덜 크고 얇게 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .bg-black\/30 {
    margin-top: 14px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  /* 진행바 두께 다운 (h-2 → 얇게) */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .bg-black\/30 .h-2 {
    height: 6px !important;
  }

  /* KPI 텍스트도 살짝 다운 */
  body.page-blog-5 section.bg-brand-cream.relative.overflow-hidden .bg-black\/30 .text-sm {
    font-size: 0.78rem !important;
  }
}

/* =========================================================
   [PAGE-BLOG-5] Features Mobile Slider (<=991px only)
========================================================= */
@media (max-width: 991px) {

  body.page-blog-5 .neoum-feat-slider {
    width: 100%;
  }

  /* 탭 버튼: 4개 한 줄 고정(줄바꿈 금지) */
  body.page-blog-5 .neoum-feat-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 auto 12px;
  }

  body.page-blog-5 .neoum-feat-tab {
    width: 100%;
    padding: 8px 8px;
    font-size: 0.82rem;
    font-weight: 900;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
  }

  body.page-blog-5 .neoum-feat-tab.is-active {
    background: rgba(255, 107, 74, 0.12);
    border-color: rgba(255, 107, 74, 0.35);
    color: #1f1235;
    transform: translateY(-1px);
  }

  /* 뷰포트/트랙 */
  body.page-blog-5 .neoum-feat-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
  }

  body.page-blog-5 .neoum-feat-track {
    display: flex;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
  }

  /* 슬라이드 1장 폭 */
  body.page-blog-5 .neoum-feat-slide {
    flex: 0 0 100%;
    width: 100%;
    /* 기존 Tailwind padding/min-height 등이 너무 크면, 이전에 네가 줄인 모바일 타이포 CSS가 여기에도 먹음 */
  }

  /* 도트 */
  body.page-blog-5 .neoum-feat-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 4px;
  }

  body.page-blog-5 .neoum-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(17, 17, 17, 0.20);
    transition: transform .15s ease, background .15s ease;
  }

  body.page-blog-5 .neoum-dot.is-active {
    background: rgba(255, 107, 74, 0.9);
    transform: scale(1.15);
  }

  /* 스와이프 느낌(드래그 중) */
  body.page-blog-5 .neoum-feat-viewport.is-dragging .neoum-feat-track {
    transition: none !important;
  }
}

/* =========================================================
   [PAGE-BLOG-5] STAT 섹션 - Mobile Typo Tuning (Text only)
   - 991px 이하에서만
   - 텍스트 크기/정렬/간격을 4카드 섹션 톤으로 통일
========================================================= */
@media (max-width: 991px) {

  /* Stat 섹션(전체) 기본 여백 살짝 정리(레이아웃 구조 변화 없음) */
  body.page-blog-5 section.py-24.bg-white {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  /* grid에서 텍스트 블록이 있는 "첫 번째 컬럼"만 저격 */
  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child {
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* REAL-TIME PERFORMANCE (상단 라벨) */
  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child>h2 {
    font-size: 0.78rem !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 12px !important;
  }

  /* 메인 타이틀 */
  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child>h3 {
    font-size: 1.65rem !important;
    /* 과대 해소 */
    line-height: 1.22 !important;
    /* 답답함 해소 */
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
  }

  /* 본문 설명 */
  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child>p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    /* ✅ 4카드 서브텍스트 톤 */
    color: rgba(17, 17, 17, 0.62) !important;
    margin-bottom: 18px !important;
    max-width: 34ch !important;
    /* 모바일 가독성(중앙정렬에 특히 중요) */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 아래 2개 KPI 카드(월간 총 출고량/검수 통과율)도 중앙정렬로 톤 통일 */
  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child .grid.grid-cols-2 {
    justify-content: center !important;
  }

  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child .grid.grid-cols-2>div {
    text-align: center !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }

  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child .grid.grid-cols-2>div p.text-gray-500 {
    font-size: 0.78rem !important;
    margin-bottom: 6px !important;
  }

  body.page-blog-5 section.py-24.bg-white .max-w-7xl>.grid>div:first-child .grid.grid-cols-2>div p.text-3xl {
    font-size: 1.45rem !important;
    line-height: 1.05 !important;
  }
}

/* =========================================================
   [page-blog-5] ✅ 스크롤 전(최상단) = 라이트 헤더(검정 글씨)  /  스크롤 후 = 다크 헤더(흰 글씨)
   - 모바일/데스크탑 공통 적용
========================================================= */

/* ✅ 스크롤 전(= scrolled/header-scrolled 아닌 상태) 강제: 검정 글씨 */
body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) {
  --background-color: rgba(255, 255, 255, 0) !important;
  --default-color: #111111 !important;
  --heading-color: #111111 !important;

  --nav-color: #111111 !important;
  --nav-hover-color: #111111 !important;

  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* 로고 */
body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .logo h1 {
  color: #111 !important;
}

/* ✅ 데스크탑 메뉴 글씨(검정) */
@media (min-width:1200px) {
  body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .navmenu>ul>li>a {
    color: #111 !important;
  }

  body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .navmenu>ul>li>a:hover,
  body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .navmenu>ul>li>a.active {
    color: var(--accent-color) !important;
  }
}

/* ✅ 모바일 햄버거(검정) */
@media (max-width:1199px) {
  body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .mobile-nav-toggle {
    color: #111;
  }
}

/* ✅ CTA 버튼(스크롤 전: 라이트 버전) */
/* body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .cta-btn {
  background: transparent !important;
  color: #111 !important;
  border: 1px solid #111 !important;
} */

body.page-blog-5:not(.scrolled) #header.header:not(.header-scrolled) .cta-btn:hover {
  background: #111 !important;
  color: #fff !important;
}


/* =========================================================
   [PAGE-BLOG-5] STAT(운영 효율성 분석 카드) - Mobile compact
   - 991px 이하에서만
========================================================= */
@media (max-width: 991px) {

  /* 다크 카드 컨테이너 자체 컴팩트 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] {
    padding: 22px !important;
    border-radius: 28px !important;
  }

  /* 상단 헤더 영역(타이틀/아이콘) 간격 축소 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .flex.items-center.justify-between.mb-12 {
    margin-bottom: 18px !important;
  }

  /* 타이틀/서브 타이틀 크기 살짝 다운 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] h4 {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] p.text-gray-300 {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  /* 아이콘 박스도 줄임 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .w-12.h-12 {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }

  /* 본문 KPI 영역(3개 바) 간격/글자 축소 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .space-y-10 {
    gap: 16px !important;
    /* space-y 대체 */
    display: flex !important;
    flex-direction: column !important;
  }

  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .space-y-10 .mb-3 {
    margin-bottom: 8px !important;
  }

  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .space-y-10 .font-bold {
    font-size: 0.95rem !important;
  }

  /* 바 높이 살짝 다운 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .h-3\.5 {
    height: 10px !important;
  }

  /* 하단 라인 영역 컴팩트 */
  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .mt-12.pt-8 {
    margin-top: 18px !important;
    padding-top: 14px !important;
  }

  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .mt-12.pt-8 .w-10.h-10 {
    width: 36px !important;
    height: 36px !important;
  }

  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .mt-12.pt-8 span.text-base {
    font-size: 0.95rem !important;
  }

  body.page-blog-5 section.py-24.bg-white .bg-brand-dark.rounded-\[3rem\] .mt-12.pt-8 span.text-sm {
    font-size: 0.78rem !important;
  }
}


/* =========================================================
   Spline 3D 초기 "팟! 확대" 가리기용 덮개 (최종 보정)
   - Spline이 자리를 잡는 약 1.2초 동안 흰색으로 가려줍니다.
========================================================= */

body.page-blog-5 .neoum-hero-bg {
  position: relative !important;
  overflow: hidden !important;
}

/* 덮개: Spline iframe 위를 덮어서 초기 튐 현상을 물리적으로 가림 */
body.page-blog-5 .neoum-hero-bg::after {
  content: "";
  position: absolute;
  inset: -5px;
  /* 경계면 미세한 틈까지 완벽 차단 */
  background: #ffffff !important;
  z-index: 9999;
  /* 모든 요소보다 최상단 */
  pointer-events: none;
  opacity: 1;

  /* 총 1.5초: 1초 동안 꽉 막고(유지), 0.5초 동안 스무스하게 사라짐 */
  animation: neoumSplineCoverFade 1.5s ease-in-out forwards;
}

/* 0~70% 구간(약 1.05초)까지 투명도 1 유지, 이후 페이드 아웃 */
@keyframes neoumSplineCoverFade {
  0% {
    opacity: 1;
    visibility: visible;
  }

  70% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}