/* ==========================================
   COMMON (공통)
   ========================================== */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* 가로 스크롤 방지 */
}

/* ==========================================
   index HEADER (헤더)
   ========================================== */
.hero-section {
  position: relative;
  width: 100vw; /* 브라우저 너비 전체(100%) 사용 */
  left: 50%;
  transform: translateX(
    -50%
  ); /* 부모 요소의 제약이 있어도 중앙에서 100vw 확장 */
  overflow: hidden;
  background-color: #11182a; /* 이미지 로딩 전 배경색 */
}
.hero-content h1 {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 800; /* 가장 두꺼운 Paperlogy8ExtraBold 느낌 */
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px; /* 폰트 특성에 맞춰 자간 조절 */
}
.hero-content p {
  font-weight: 500; /* 약간 두께감 있는 Medium 느낌 */
  font-size: 1.25rem;
  padding: 0 0 20px 0; /* 좌우 안쪽 여백 (화면 끝에 너무 붙지 않게 조절) */
}

/* 헤더 및 네비게이션 */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* 가로 전체 너비 확보 */
  height: 80px; /* 헤더 높이 */
  display: flex;
  justify-content: space-between; /* 핵심: 로고(왼쪽)와 메뉴(오른쪽)를 양 끝으로 밀어냄 */
  align-items: center; /* 수직 중앙 정렬 */
  padding: 0 60px; /* 좌우 안쪽 여백 (화면 끝에 너무 붙지 않게 조절) */
  box-sizing: border-box; /* 패딩을 너비에 포함시킴 */
  z-index: 1000;
  background-color: #11182a; /* 이미지 로딩 전 배경색 */
}

/* 스크롤되었을 때 적용될 스타일 */
.main-header.scrolled {
  background-color: rgba(
    21,
    24,
    35,
    0.95
  ); /* 드롭다운 메뉴와 같은 다크 네이비 계열로 설정하여 통일감 부여 */
  height: 80px; /* 내렸을 때 높이를 살짝 줄임 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 하단 그림자 추가 */
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* 로고가 찌그러지지 않게 설정 */
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  position: relative;
}
.nav-list {
  display: flex;
  list-style: none;

  /* 메뉴 사이의 간격을 화면 크기에 따라 조절 */
  gap: 30px; /* 회사소개, 솔루션 등 사이의 간격 */
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
}
.nav-list a:hover {
  color: #ffffff;
  /* text-shadow: 0 0 10px rgba(255,255,255,0.5); */
}
.nav-list li {
  white-space: nowrap; /* 메뉴 텍스트가 줄바꿈되지 않게 설정 */
}

/* 드롭다운 화살표 표시용 (선택사항) */
.has-dropdown::after {
  content: " ▾";
  font-size: 0.8rem;
  vertical-align: middle;
}

/* 드롭다운 부모 설정 */
.dropdown-parent {
  position: static;
  padding-bottom: 20px;
  margin-bottom: -20px;
}

/* 드롭다운 전체 박스 */
.dropdown-menu {
  position: absolute;
  top: 100%; /* 메뉴 바로 아래 위치 */
  left: auto;
  right: 0; /* 부모 요소(솔루션 메뉴)의 오른쪽 끝에 정렬 */
  width: 600px;
  background-color: #151823;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 20px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* 초기 상태: 숨김 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2000;
}

/* 마우스 올렸을 때 나타나기 */
.dropdown-parent:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 내부 그리드 레이아웃 (2열 구성) */
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2열로 배치 */
  gap: 16px 30px; /* 상하 좌우 간격 */
  text-align: left;
}

/* 드롭다운 개별 아이템 */
.dropdown-item a {
  text-decoration: none;
  display: block;
}
.dropdown-item a h3 {
  color: #ffffff; /* 기존 h3 컬러 유지 */
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  font-family: "Paperlogy", sans-serif;
  transition: color 0.3s ease;
}
.dropdown-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.4;
}

/* 드롭다운 아이템 호버 효과 */
.dropdown-item:hover a h3 {
  color: #007bff;
  text-shadow: none !important;
}

/* 삼각형 화살표 수정 (옵션) */
.has-dropdown::after {
  content: " ▼";
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 5px;
  transition: transform 0.3s;
}
.dropdown-parent:hover .has-dropdown::after {
  transform: rotate(180deg); /* 마우스 올리면 화살표 회전 */
}
.contact-btn {
  flex-shrink: 0; /* 버튼 크기 유지 */
  margin-left: 1px;
  border: 1px solid #0079de;
  color: white;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap; /* 글자가 잘리지 않게 함 */
  text-decoration: none;
}
.contact-btn:hover {
  background-color: white;
  color: black;
}

/* 히어로 섹션 & 비디오 배경 */
.hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* ← 100vh → 고정값으로 변경 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: black; /* 비디오 로딩 전 기본색 */
}
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.sub-text-en {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 15px;
  opacity: 0.9;
}
.hero-content .main-title {
  font-size: 3rem;
  font-weight: 00;
  margin-top: 40px;
  margin-bottom: 32px;
  line-height: 1.2;
  word-break: keep-all;
}

/* ==========================================
   index - 메인 히어로 섹션 (배경 및 레이아웃)
   ========================================== */
.main-hero-section {
  width: 100%;
  min-height: 100vh;
  /* 지정해주신 배경 이미지 삽입 */
  background: url('img/index_background.jpg') no-repeat center/cover;
  background-color: #11182a; /* 이미지 로딩 전 기본 색상 */
  background-repeat: no-repeat;
  background-position: top center; /* 이미지를 맨 위로 고정 */
  background-size: 100% auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px; /* 헤더 공간 띄우기 */
  padding-bottom: 100px;
  box-sizing: border-box;
}
.tech-inner {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 상단 텍스트 영역 (좌측 정렬) */
.hero-content {
  text-align: left;
  margin-bottom: 60px;
}
.hero-content .main-logo-text {
  font-family: var(--font-main);
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  letter-spacing: -2px;
}
.hero-content .main-title {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

/* 파란색 강조 글씨 */
.highlight-blue {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(to bottom, #72baff 0%, #0079de 100%); /* 위는 밝은 파랑, 아래는 진한 파랑 */
  -webkit-background-clip: text; /* 텍스트 영역만큼만 배경을 표시 */
  -webkit-text-fill-color: transparent; /* 원래 있던 글자 색상을 투명하게 만들어 배경이 보이게 함 */
  color: transparent; /* 혹시 모를 브라우저 호환성을 위한 예비용 */
}
.hero-content .sub-text-ko {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: -40px;
}

/* 반투명 사업영역 박스 */
.tech-blue-box {
  background-color: rgba(6, 30, 56, 0.6); /* 이미지와 유사한 반투명 다크 블루 */
  border: 1px solid rgba(2, 81, 149, 1); /* 얇은 테두리 */
  border-radius: 20px;
  padding: 40px 50px;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(10px); /* 뒤쪽 배경을 살짝 흐리게 (고급스러운 효과) */
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

/* 사업 영역 헤더 (아이콘 + 텍스트) */
.tech-blue-box .biz-area-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #ffffff;
}
.biz-area-header h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
}

/* 01~04 그리드 레이아웃 */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.tech-item {
  flex: 1;
  min-width: 220px;
  padding: 0;
}

/* 리스트 아이템 디자인 */
.tech-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #79c1ff;
}
.tech-item-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ffffff;
  word-break: keep-all;
}
.tech-line {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}
.tech-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tech-item ul li {
  position: relative; 
  padding-left: 20px;
  font-size: 1.2rem;
  color: #eaeaea;
  margin-bottom: 10px;
  line-height: 1.5;
  
}

.tech-item ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #3b82f6; /* 파란색 다이아몬드 */
  font-size: 1rem;
  top:0;
}

/* ==========================================
   index - 연혁(History) 섹션 스타일
   ========================================== */
.history-section {
  width: 100%;
  background-color: #11182a; /* 배경 흐름 유지 */
  padding-bottom: 100px;
  box-sizing: border-box;
}

/* 세로로 1개씩 쌓이도록 flex-direction을 column으로 설정 */
.history-container {
  display: flex;
  flex-direction: column;
  gap: 45px; /* 각 년도 사이의 간격 */
}

.history-row-item {
  width: 100%; /* 한 줄을 통째로 차지 */
}

/* 년도 폰트 스타일 (기존 01 숫자의 감성 유지) */
.history-year {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #79c1ff;
  letter-spacing: -1px;
}

/* 연혁 텍스트 리스트 및 다이아몬드(◆) 정렬 */
.history-ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-ul li {
  font-size: 1.2rem;
  color: #eaeaea;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px; /* 다이아몬드 너비만큼 들여쓰기 */
  line-height: 1.6;
}

.history-ul li:last-child {
  margin-bottom: 0;
}

.history-ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #3b82f6; /* 파란색 다이아몬드 고정 */
  font-size: 1rem;
}


.sub-list-text {
  font-size: 1rem;      
  color: #eaeaea;
  padding-left: 0px;
}


/* ==========================================
   footer
   ========================================== */
.main-footer {
  width: 100%;
  height: 300px; /* 요청하신 높이 */
  background-color: #11182a; /* 다크 네이비 배경 */
  display: flex;
  align-items: center; /* 내부 콘텐츠 수직 중앙 정렬 */
  padding: 0 20px;
  box-sizing: border-box;
}
.footer-container {
  width: 100%;
  max-width: 1260px; /* 가로 너비 제한 */
  margin: 0 auto;
  color: #ffffff !important;
}
.footer-container p, .footer-container span, .footer-container a {
  color: #cacaca;
  font-weight: 200;
}

/* 상단 영역: 로고와 링크 */
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-links a {
  color: #cacaca;
  font-size: 1rem;
  font-weight: 300;
  margin-right: 25px;
  text-decoration: none;
  opacity: 0.8;
}

.footer-links{
  margin-top: 10px;
}

/* 구분선 */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15); /* 얇은 흰색 선 */
  margin-bottom: 20px;
}

/* 하단 정보 영역 */
.footer-bottom {
  line-height: 1.8;
}
.company-name {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 4px;
  color: #cacaca;
}
.info-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  font-size: 1rem;
  font-weight: 300;

  margin-bottom: 4px;
}
.copyright {
  margin-top: 10px;
  font-size: 1rem;
  color: #cacaca;
  font-weight: 300;
}

/* ==========================================
   서브메뉴 news
   ========================================== */
.sub-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* 가로 전체 너비 확보 */
  height: 100px; /* 헤더 높이 */
  display: flex;
  justify-content: space-between; /* 핵심: 로고(왼쪽)와 메뉴(오른쪽)를 양 끝으로 밀어냄 */
  align-items: center; /* 수직 중앙 정렬 */
  padding: 0 60px; /* 좌우 안쪽 여백 (화면 끝에 너무 붙지 않게 조절) */
  box-sizing: border-box; /* 패딩을 너비에 포함시킴 */
  z-index: 1000;
  background: transparent; /* 배경 투명 유지 */
  transition: all 0.3s ease; /* 배경색 변화를 부드럽게 설정 */
}

/* 스크롤되었을 때 적용될 스타일 */
.sub-header.scrolled {
  background-color: rgba(
    15,
    16,
    35,
    0.95
  ); /* 드롭다운 메뉴와 같은 다크 네이비 계열로 설정하여 통일감 부여 */
  height: 80px; /* 내렸을 때 높이를 살짝 줄임 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 하단 그림자 추가 */
}
.sub-hero-section {
  width: 100%;
  height: 460px;
  background-color: #11182a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* 헤더 높이만큼 상단 여백 확보 (메뉴 가림 방지) */
  box-sizing: border-box;
}
.sub-hero-container {
  max-width: 1260px;
  width: 112%;
  margin-left: 1rem;
}
.sub-hero-title {
  font-family: var(--font-main); /* Paperlogy 폰트 적용 */
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.sub-hero-desc {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.9;
}
.sub-hero-video {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.9;
}

/* 뉴스 그리드 섹션 */
.news-grid-section {
  width: 100%;
  background-color: #192135; /* 섹션 전체 배경색 */
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news-grid-container {
  width: 100%;
  max-width: 1260px; /* 가로 최대폭 제한 */
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 한 줄에 3개 배치 */
  gap: 30px; /* 카드 사이 간격 */
  box-sizing: border-box;
}

/* 개별 카드 스타일 */
.news-item-card {
  display: block;
  background-color: #11182a; /* 카드 하단 텍스트 영역 배경색 */
  border: 1px solid #2d3958; /* 외곽선 색상 */
  border-radius: 20px; /* 카드 박스 라운드 */
  overflow: hidden; /* 라운드 밖으로 나가는 이미지 숨김 */
  text-decoration: none;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.news-item-card:hover {
  transform: translateY(-10px); /* 호버 시 살짝 들림 효과 */
  border-color: #0079de;
}

/* 카드 이미지 영역 */
.news-item-img {
  width: 100%;
  aspect-ratio: 16 / 10; /* 이미지 비율 고정 */
  overflow: hidden;
  background-color: #000;
}
.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 카드 텍스트 영역 */
.news-item-text {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-item-source {
  color: #0071bb;
  font-size: 1.25rem;
  font-weight: 400;
}
.news-item-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  /* 제목이 길어질 경우 최대 3줄까지만 노출 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.75rem; /* 높이 불균형 방지 */
}
.news-item-date {
  color: #7c7a7c;
  font-size: 1rem;
  margin-top: 10px;
}

/* ==========================================
   서브메뉴 - 포트폴리오
   ========================================== */
.portfolio-hero-section {
  width: 100%;
  height: 460px;
  background: url("img/Group 77.png") no-repeat center/cover; /* 배경 이미지 */
  background-color: #11182a; /* 기본 배경색 (이미지 로드 전) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  box-sizing: border-box;
}
.portfolio-item-source {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
}
.portfolio-item-title {
  color: #cacaca;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.5;
  /* 제목이 길어질 경우 최대 3줄까지만 노출 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.75rem; /* 높이 불균형 방지 */
}

/* 카드 필터 */
.filter-wrapper {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto 30px;
  display: flex;
  justify-content: flex-end; /* 우측 정렬 */
  padding: 0 20px;
  box-sizing: border-box;
}
.filter-dropdown {
  position: relative;
  display: inline-block;
  z-index: 100;
}
.filter-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-list {
  display: none; /* 기본 숨김 */
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #11182a;
  border: 1px solid #2d3958;
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  min-width: 150px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.filter-dropdown:hover .filter-list {
  display: block; /* 마우스 호버 시 노출 */
}
.filter-list li {
  padding: 10px 20px;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-list li:hover {
  background-color: #2d3958;
  color: #fff;
}

/* --- 카드 분류 라벨(Badge) 스타일 --- */
.news-item-img {
  position: relative; /* 라벨 배치를 위한 기준점 */
}
.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #192135; /* 다크 투명 배경 */
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 400;
  z-index: 41;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 팝업 전체 컨테이너 */
.modal {
  display: none; /* 기본 숨김 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  padding: 60px 0;
  overflow-y: auto;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px); /* 블러 강도 */
  -webkit-backdrop-filter: blur(10px); /* 사파리 브라우저 호환성 */
}
.modal-content {
  position: relative;
  margin: 0 auto;
  top: 0;
  left: 0;
  transform: none;

  background-color: #11182a;
  width: 90%;
  max-width: 1000px;
  border-radius: 20px;
  border: 1px solid #2d3958;
  color: #fff;

  max-height: none;
  overflow: visible;
  display: block;
}
.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid #2d3958;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#modalTitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
}
.modal-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.modal-body {
  padding: 40px;
  height: auto;
}

/* 이미지 슬라이더 wrapper */
.modal-slider-wrapper {
  position: relative;
  width: 100%;
  height: 450px; /* 높이 고정 */
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  background-color: #000; /* 이미지 여백 색상 */
}

/* 실제 슬라이더 영역 */
.modal-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 개별 슬라이드 (이미지) */
.modal-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* 기본 숨김 */
  transition: opacity 0.4s ease; /* 부드러운 전환 효과 */
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-slide.active {
  opacity: 1; /* 활성화 시 노출 */
  z-index: 2;
}
.modal-slide img {
  max-width: 100%;
  max-height: 100%;
  height: 600px; /* 높이 고정 유지 */
  object-fit: contain; /* 이미지 비율 유지 */
}

/* 슬라이더 네비게이션 버튼 (이미지 위 배치) */
.slider-btn {
  position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    /* 🛠️ 동그라미 배경 추가 */
    background-color: rgba(0, 0, 0, 0.3); /* 반투명한 흰색 배경 */
    width: 40px;           /* 원의 가로 크기 */
    height: 40px;          /* 원의 세로 크기 */
    border-radius: 50%;    /* 완벽한 원형으로 만듦 */
    
    /* 화살표 중앙 정렬 */
    display: flex;
    align-items: center;
    justify-content: center;
    
    border: none;
    color: #ffffff;        /* 화살표 색상 (흰색) */
    font-size: 1.5rem;     /* 화살표 크기 살짝 조정 */
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
.slider-btn svg {
    width: 24px;  /* 아이콘 너비 */
    height: 24px; /* 아이콘 높이 */
    fill: currentColor; /* 버튼의 color 속성을 따라감 */
}
.slider-btn:hover {
  color: #ffffff;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}
.modal-desc {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #d1d1d1;
}
.modal-desc p {
  margin-bottom: 8px; /* 카드 내부 텍스트 사이 마진 */
  font-size: 1.25rem;
}

/* ==========================================
   서브메뉴 - 솔루션
   ========================================== */
.solution-hero-section {
  width: 100%;
  background-color: #11182a; /* 로딩 전 배경색 설정 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center; /* 수직 중앙 정렬 */
  justify-content: center;
  box-sizing: border-box;
  flex-direction: column;

}

/* 컨테이너 (왼쪽 정렬 디자인) */
.solution-hero-section .sub-solution-hero-containeer {
  max-width: 1260px;
  width: 100%;
  text-align: left;
}

.sub-solution-hero-containeer{
  max-width: 1260px;
  width: 100%;
  margin-left: 2rem;
}

.solution-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #cacaca;
  letter-spacing: -1px;
  font-family: "Paperlogy", sans-serif; /* 기존 폰트 유지 */
}

.solution-video {
  padding-top: 24px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column; /* 영상과 텍스트 p를 세로로 */
  align-items: center;    /* 핵심: 자식들을 가로 중앙으로 */
  margin: 0 auto;         /* 박스 자체를 컨테이너 안에서 중앙으로 */
  width: 100%;     /* 내용물 크기만큼만 너비 차지 */
}

.ai-event-video .ai-event-grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
}

.ai-event-video .ai-event-grid img {
  display: block;
  width: calc(100% / 3);
  height: auto;
  object-fit: cover;
}

.lerobot-video .lerobot-grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

.lerobot-video .lerobot-grid img {
  display: block;
  width: 50%;
  height: auto;
  object-fit: cover;
}

.main-video {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 600 / 350;
}

.solution-video p {
  color: #bababa;
  font-size: 1.0rem;
  padding-top: 8px;
  margin-bottom: 40px;
}

.solution-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.sub-solution-hero-containeer ul {
  margin-left: 20px;
 list-style: none;
  padding-left: 0;
  color: #bababa;
}
.sub-solution-hero-containeer ul li {
  font-size: 1rem;
  color: #bababa;
}
.with-icon::before {
  content: "◆";
  margin-right: 5px;
  font-size: 0.8rem;
  color: #bababa;
}
.sub-solution-hero-containeer li p {
  font-family: 0.8rem;
  margin-left: 15px;
}

/* 기술/도입 문의 */
.contact-banner-section {
  width: 100%;
  height: 560px;
  background-image: url("img/solution_back3.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-banner-container {
  max-width: 1260px;
  width: 100%;
  padding: 0 20px;
  color: #ffffff;
}
.contact-banner-title {
  font-family: "Paperlogy", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.contact-banner-desc {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.9;
}
.contact-banner-email {
  display: inline-block;
  font-size: 1.5rem; /* 제목보다 작고 설명보다 큰 크기 */
  font-weight: 400;
  color: #ffffff;
  padding: 10px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* 상단에 얇은 선으로 구분감 추가 */
  margin-top: 10px;
  letter-spacing: 0.5px;
}
.contact-banner-email-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 15px;
}
.email-icon-box svg {
  width: 36px; /* 아이콘 크기 조절 */
  height: 36px;
  margin-top: 6px;

  /* 🎨 컬러 설정 (SVG 구조에 맞춰 선택) */
  stroke: #ffffff;
  transition: all 0.3s ease;
}
.contact-email-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
}

/* ==========================================
   개인정보 처리방침
   ========================================== */
.privacy-section {
  width: 100%;
  background-color: #192135;
  padding: 100px 0;
  display: flex;
  justify-content: center;
}
.privacy-container {
  max-width: 1000px; /* 본문 집중을 위해 살짝 좁게 설정 */
  width: 100%;
  padding: 0 20px;
}
.privacy-box {
  background-color: #11182a;
  border: 1px solid #2d3958;
  border-radius: 20px;
  padding: 60px;
  color: #cacaca;
  line-height: 1.8;
}
.privacy-intro {
  font-size: 1.1rem;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.privacy-content h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin: 40px 0 20px;
  font-weight: 600;
}
.privacy-content p {
  margin-bottom: 15px;
  word-break: keep-all;
}
.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.privacy-content ul li::before {
  content: "•";
  color: #0071bb;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* 책임자 카드 디자인 */
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  margin-top: 15px;
}
.contact-card p {
  margin: 5px 0;
}
.contact-card strong {
  color: #ffffff;
  margin-right: 10px;
}
.privacy-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
  font-weight: 500;
  color: #ffffff;
}

/* 모바일 화면(가로 768px 이하)일 때 여백 자동 조정 */
@media screen and (max-width: 1024px) {
  .tech-item {
    flex: 0 0 calc(50% - 15px); /* 태블릿 2칸 배치 */
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .tech-blue-box {
    padding: 30px 20px; /* 모바일에서는 박스 안쪽 여백 축소 */
  }
  .tech-item {
    flex: 0 0 100%; /* 모바일 1칸 배치 */
    margin-bottom: 40px;
  }
  
  .history-year {
    font-size: 2rem; /* 모바일에서는 년도 크기를 살짝 축소 */
  }
  .history-ul li {
    font-size: 1.1rem; /* 모바일 글자 크기 최적화 */
  }
  
  .sub-solution-hero-containeer {
    margin-left: 0;
    padding: 0 1rem; /* 좌우로 살짝만 여백을 줌 */
  }
  .news-grid-container {
    grid-template-columns: 1fr; /* 1개씩 꽉 차게 배치 */
    padding: 0 16px; /* 모바일 좌우 여백 */
  }
}



