* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  text-align: center;
  max-width: 100%;
  color: #fff;
  background-color: #000;

}

body::-webkit-scrollbar {
    width: 0; 
    background: transparent;
}

h1 {
  font-size: 40px;
  color: #fff;
}

p {
  font-size: 1.5rem;
  font-weight: 580;
  color: #fff; 
}

/* 반응형 설정 */
@media (max-width: 1200px) {
  h1 {
    font-size: 40px;

  }
}

header {
  background: linear-gradient(135deg, #000, #1f01ff, #019a06,#1f01ff, #000);
  color: white;
  padding: 15px 1px 1px 1px;
  margin-bottom: -10px;
}

/* 상단 전체 래퍼 */
.header-top-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* PC 화면에서 가로 정렬 */
@media (min-width: 768px) {
  .header-top-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .logo-area,
  .slogan-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slogan {
    font-size: 1.2rem;
    white-space: nowrap;
    text-align: center;
  }
}


/* 로고 묶음 */
.logo {
  display: flex;
  align-items: center;  /* 세로 중앙 정렬 */
  justify-content: flex-start; /* 기본은 왼쪽 정렬, 필요하면 center */
  gap: 0px;            /* 로고와 텍스트 사이 간격 */
  margin-top: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;       /* 화면 좁으면 줄바꿈 가능 */
}

.logo img {
  width: 100px;
  height: 60px;
  border-radius: 10px;
  flex-shrink: 0;        /* 이미지 축소 방지 */
}

.logo-text h1 {
  font-size: 3.2rem;
  margin-bottom: 1px;
  margin-top: -13px;
  flex-shrink: 1;        /* 텍스트는 화면 좁으면 줄이도록 */
  color: #fff;
}

/* 모바일 */
@media screen and (max-width: 768px) {
  .logo {
    justify-content: center; /* 중앙 정렬 */
    flex-wrap: nowrap;       /* 한 줄로 유지 */
    margin-top: 15px;
    margin-bottom: 0;
  }

  .logo img {
    width: 65px;
    height: 35px;
  }

  .logo-text h1 {
    font-size: 1.6rem;
    margin-top: -8px;
  }
}

/* 슬로건 문구 */
.slogan {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

#slogan span {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hamburger-btn {
  display: none;
  color: #fff;
}


@media (max-width: 768px) {
  .hamburger-btn {
    display: block;
    position: fixed;
    right: 3vw;          /* 화면 폭 기준 여백 */
    top: 1.5vh;
    font-size: 8vw;      /* 화면 폭에 비례 */
    max-width: 40px;     /* 버튼이 너무 커서 밀리지 않게 제한 */
    max-height: 40px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-top: 3px;
    z-index: 9999;
    line-height: 1;
  }
}

html, body {
  overflow-x: hidden;   /* 오른쪽 스크롤 방지 */
}


/* ===============================
   오버레이 배경
=============================== */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}


.side-menu {
  position: fixed;
  top: 0;
  right: -300px; 
  width: 260px;
  height: 100vh;
  background-color: #000;
  z-index: 1200;
  transition: right 0.3s ease;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
  padding: 1em;
  color: #fff;
}


.side-menu .side-logo {
  text-align: center;
  margin-bottom: 1em;
}
.side-menu .side-logo img {
  max-width: 50%;
  height: auto;
}


.logo-bottom {
  text-align: center;
  margin-top: 10%;
}
.logo-bottom img {
  max-width: 50%;
  height: auto;
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  max-width: 240px;
  color: #fff;

}

.navbar-nav > li {
  position: relative;
  margin-bottom: 0px; 
  color: #fff;
}

.navbar-nav > li > a {
  display: block;
  padding: 0px 16px;
  color: #fff; 
  font-weight: 700;
  font-size: 1.5rem;
  text-align: left;
  text-decoration: none;
  position: relative;
}


.navbar-nav > li > a::after {
  content: "▼";
  font-size: 15px;
  margin-left: 15px;
  vertical-align: middle;
  color: #fff;
}


.sub-menu {
  list-style: none;
  padding: 0;
  margin: 0px 0 0 0;
  background-color: #000;
  border-left: 2px solid #eee;
  color: #fff;
  max-height: 500px;  
  opacity: 1;
  visibility: visible;
  overflow: visible;  
  transition: none;    
}

/* 열릴 때 부드럽게 전환 */
.sub-menu.open {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

/* 하위 메뉴 항목 */
.sub-menu li {
  margin-bottom: 4px;
}

/* 하위 메뉴 링크 */
.sub-menu a {
  display: block;
  padding: 6px 10px;
  text-align: center; /* 중앙 정렬 */
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sub-menu a:hover {
  background-color: #eef6fd;
  color: #2c03fa;
}

/* 반응형 - 태블릿 이하 */
@media (max-width: 1024px) {
  .side--logo-text {
    margin-bottom: -20px;
    margin-top: -20px;
  }

  .navbar-nav > li {
    margin-bottom: 2px;   /* 간격 좁히기 */
  }

  .navbar-nav > li > a {
    padding: 1px 3px;    /* 위아래 패딩 줄이기 */
    line-height: 0.5;     /* 줄 높이도 좁게 */
  }

  .sub-menu li {
    margin-bottom: 1px;
  }

  .sub-menu a {
    padding: 4px 10px;
    line-height: 0.5;
  }
}
@media (max-width: 768px) {
  .navbar-nav > li {
    margin-bottom: 1px;   /* 간격 좁히기 */
  }

  .navbar-nav > li > a {
    padding: 1px 3px;    /* 위아래 패딩 줄이기 */
    line-height: 1.2;     /* 줄 높이도 좁게 */
    font-size: 1.2rem;
  }

  .sub-menu li {
    margin-bottom: 2px;
  }

  .sub-menu a {
    padding: 1px 3px;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .navbar-nav > li {
    margin-bottom: 1px;
  }

  .navbar-nav > li > a {
    padding: 1px 3px;
    line-height: 1.2;
    font-size: 1.2rem;
  }

  .sub-menu li {
    margin-bottom: 1px;
  }

  .sub-menu a {
    padding: 1px 3px;
    line-height: 1;
  }
}


/* 닫기 버튼 */
.menu-footer {
  margin-top: 3vh;
  text-align: center;
}
.menu-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}
.menu-close:hover {
  color: #000;
}

/* ===============================
   사이드 메뉴 열림 상태
=============================== */
.side-menu.open {
  right: 0;
}

/* ===============================
   nav-hover-zone (PC용 메뉴 영역)
=============================== */
.nav-hover-zone {
  position: fixed;
  top: 0;
  right: 0;
  width: 30px;
  height: 100vh;
  z-index: 10;
}

/* PC에서만 hover 영역 활성화 */
@media (max-width: 768px) {
  .nav-hover-zone {
    display: none;
  }
}

/* 콘텐츠 영역 */
.container {
  max-width: 100%;
  background-color: #000;
  margin: 10px auto;
  padding: 20px;
  color: #fff;

}

.main-top-text-one {
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  margin:-1rem auto 0;           /* 위 2rem, 좌우 auto (가운데 정렬), 아래 0 */
  padding-bottom: 0.3em;         
  border-bottom: 3px solid #1803fa;
  line-height: 1.2;
  width: 60%;                   /* 너비 60% */
  box-sizing: border-box;       /* 패딩 포함 너비 계산 */
  text-align: center;           /* 텍스트도 중앙 정렬 */
}

.main-top-text-two {
  font-size: 1.3rem;
  color: #fff;

}


.main-top-text-one-order {
  position: absolute;
  right: 20px;
  top: 8%;
  transform: translateY(10%);
  padding: 10px 20px;
  border: 2px solid #dad8d8;
  border-radius: 8px;
  background-color: #020afc;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 1.6rem;
  overflow: hidden;
  /* 반짝임이 밖으로 안 나가도록 */
}

/* 반짝이 효과 */
.main-top-text-one-order::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.1) 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
  pointer-events: none;
  /* 버튼 클릭 방해 안 함 */
}

/* 반짝이 이동 애니메이션 */
@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

/* Hover 효과 */
.main-top-text-one-order:hover {
  background-color: #ffc800;
  color: #000;
  transform: translateY(-15%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 모바일에서는 숨기기 */
@media (max-width: 768px) {
  .main-top-text-one-order {
    display: none;
  }
}

/* 공통 스타일 */
.main-top-text-one,
.business-text,
.solution-text,
.contact-text {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin: 0.5rem auto 0;
  padding-bottom: 0.3em;
  border-bottom: 3px solid #1803fa;
  line-height: 1.2;
  text-align: center;
  display: block;
  box-sizing: border-box; /* 패딩 포함 너비 계산 */

}
.contact-text {
  margin-top: 50px;
}
/* 밑줄 기본 길이 */
.business-text,
.solution-text,
.contact-text {
  width: 60%;
}

/* 모바일용 */
@media screen and (max-width: 768px) {
  .main-top-text-one,
  .business-text,
  .solution-text,
  .contact-text {
    width: 90%;  /* 화면 너비 기준 90% */
  }
}


/* 영상 비율 유지 */
.responsive-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
  height: auto;
  max-height: none;
  margin-top: 15px;

}

.responsive-video-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.responsive-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .responsive-video-wrapper {
    height: 33.33vh !important;
  }
  .responsive-video-wrapper::before {
    display: none !important;
  }
}

/* 소개 텍스트 */
.intro-text {
  margin-bottom: -50px;
  margin-top: 25px;
}

.intro-text p {
  font-size: 2.0em;
  margin: 10px 0;
}




/* 푸터 */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin: 40px 0;
}


/* 반응형 설정 */
@media (max-width: 768px) {
  header {
    gap: 5px;
  }

  .container {
    padding: 20px;
  }

  .intro-text p {
    font-size: 1rem;
  }
}


/* 모바일 화면에서 header 스타일 조절 */
@media (max-width: 768px) {
  header {
    padding: 10px 10px; /* 위아래 여백 줄이기 */
    text-align: center;
  }


  header h1 {
    font-size: 1.5rem; /* 제목 폰트 크기 조절 */
    margin: 5px 0;     /* 위아래 여백 줄이기 */
  }

  header p {
    font-size: 1rem; /* 부제목 폰트 크기 조절 */
    margin: 2px 0 10px; /* 위아래 여백 조절 */
  }
}


.infoma {
  padding: 60px 0;

}

.info-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1700px;
  margin: 0 auto;
  gap: 120px;
  margin-top: px;
  color: #fff;
}

.info-card {
  position: relative;
  width: 400px;
  padding: 15px 10px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 192, 203, 0.5);
  /* 반투명 배경 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 1s ease forwards;
  transition: all 0.4s ease;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  /* 반짝임이 밖으로 나가지 않게 */
}

/* 반짝이 효과 */
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.6) 30%,
      rgba(255, 255, 255, 0.1) 50%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
  pointer-events: none;
}

/* 공통 반짝이 이동 애니메이션 */
@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

/* 기존 slideUp 애니메이션 */
@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.info-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.info-card video {
  width: 100%;
  height: auto;
  max-width: 350px; /* 원하는 최대 크기 지정 */
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 16px;
}


.info-card:hover img {
  transform: scale(1.05);
}

.info-card:hover {
  background: linear-gradient(135deg, #000dff, #0056b3);
  color: #fff;
  box-shadow:
    inset -2px -2px 4px rgba(255, 255, 255, 0.3),  /* 내부 위/왼쪽 밝기 */
    inset 2px 2px 6px rgba(0, 0, 0, 0.2),          /* 내부 아래/오른쪽 그림자 */
    0 10px 20px rgba(0, 0, 0, 0.3);               /* 외부 그림자 */
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.info-card h3 {
  font-size: 24px;
  margin-top: 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.info-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.info-card:hover h3,
.info-card:hover p {
  color: #fff;
}


/* 애니메이션 지연 순서 */
.left-card {
  animation: slideFromLeft 1s ease forwards;
  animation-delay: 0s;
}

.center-card {
  animation: slideFromCenter 1s ease forwards;
  animation-delay: 1s;
}

.right-card {
  animation: slideFromRight 1s ease forwards;
  animation-delay: 2s;
}

/* 슬라이드 인 키프레임 */
@keyframes slideFromLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromCenter {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 768px 이하 */
@media (max-width: 768px) {
  .info-section {
    justify-content: center;
    gap: 20px;
  }
  .info-card {
    width: 45%; /* 두 개씩 가로 배치 (조금 더 여유있게) */
  }
}

/* 600px 이하 (모바일) */
@media (max-width: 600px) {
  .info-section {
    flex-direction: column;
    gap: 20px;
  }
  .info-card {
    width: 90%;
    margin: 0 auto;
  }
}


.moonone, .moontwo, .moonthree {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(10px);
  width: 90%;
  max-width: 1000px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

/* 보일 때 효과 */
.moonone.visible,
.moontwo.visible,
.moonthree.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* 첫 번째 문장 (타이틀) */
.moonone.visible p:first-child,
.moontwo.visible p:first-child,
.moonthree.visible p:first-child {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.3em;
}

/* 두 번째 문장 (서브타이틀) */
.moonone.visible p:last-child,
.moontwo.visible p:last-child,
.moonthree.visible p:last-child {
  font-size: 1.2em;
  font-weight: 400;
}

/* ✅ 반응형 대응 */
@media screen and (max-width: 768px) {
  .moonone.visible p:first-child,
  .moontwo.visible p:first-child,
  .moonthree.visible p:first-child {
    font-size: 1.5em;
  }

  .moonone.visible p:last-child,
  .moontwo.visible p:last-child,
  .moonthree.visible p:last-child {
    font-size: 1em;
  }
}

@media screen and (max-width: 480px) {
  .moonone.visible p:first-child,
  .moontwo.visible p:first-child,
  .moonthree.visible p:first-child {
    font-size: 1.2em;
  }

  .moonone.visible p:last-child,
  .moontwo.visible p:last-child,
  .moonthree.visible p:last-child {
    font-size: 0.95em;
  }
}


/* 회사 정보 테이블 */
.information-jin {
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px 20px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Nanum Gothic', sans-serif;
}

.information-jin h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.information-jin h2::after {
  content: "";
  display: block;
  width: auto;
  height: 3px;
  background: #fff;
  /* 제목 밑 줄 */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 테이블 스타일 */
.information-jin table {
  width: 100%;
  border-collapse: separate;
    /* row 간 간격 가능 */
  border-spacing: 10px 10px;
  margin-top: 20px;
  table-layout: fixed;

}

.information-jin th,
.information-jin td {
  padding: 12px 15px;
  text-align: left;
}

.information-jin th {
  background: rgb(0, 99, 123);
  font-weight: 400;
  border-radius: 8px 8px 8px 8px;
  width: 25%;
  text-align: center;


}

.information-jin td {
  background: rgb(67, 101, 0);
  border-radius: 8px 8px 8px 8px;
  word-wrap: break-word;
  width: 60%;

}

.information-jin tr+tr th {
  margin-top: 10px;

}

/* 반응형: 모바일일 때 글자 작게 */
@media (max-width: 768px) {
  .information-jin h2 {
    font-size: 1.5rem;
  }

  .information-jin th,
  .information-jin td {
    padding: 10px;
    font-size: 1.2rem;
  }
}


/* 카드 전체 반짝임 애니메이션 */
.information-jin {
  position: relative;
  /* ::after 기준 */
  border: 2px solid #fff;
  overflow: hidden;
}

.information-jin::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -150%;
  width: 200%;
  height: 300%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.4) 30%,
      rgba(255, 255, 255, 0) 50%);
  transform: rotate(25deg);
  animation: shine 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* 테이블이 반짝임 밑으로 묻히지 않게 */
.information-jin h2,
.information-jin table {
  position: relative;
  z-index: 2;
}


/* 인사 메시지 */
.welcome-message {
  margin: 40px auto;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fdfdfd;
  text-align: center;
  margin-bottom: -10px;
}
@media (max-width: 1024px) { 
  .welcome-message h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
}





/* 비디오 섹션 */
.cheravideo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;

}

.video-container {
  position: relative;
  width: 450px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;

}

.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(251, 218, 3);
  font-size: 1.3em;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  white-space: pre-line;
  opacity: 0;
  font-weight: bold;
  animation: none;

  width: 100%;
  box-sizing: border-box; /* 패딩 포함해서 크기 계산 */
  max-width: 450px; /* 비디오 너비와 동일하게 */
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

@media screen and (max-width: 768px) {
  .cheravideo {
    flex-direction: column;
    align-items: center;
  }

  .video-container {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .video-container video {
    width: 100%;
    height: auto;
  }
}


/* 솔루션 섹션 전체 스타일 */

/* 그리드 컨테이너 */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #000;
  color: #fff;
}

/* 카드 공통 스타일 */
.solution-card {
  background: #000;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  border: 2px solid #fff;
}

/* 카드 호버 효과 */
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* 제목 */
.solution-card h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

/* 이미지 */
.solution-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 18px;
}

/* 설명 텍스트 */
.solution-card p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
}

/* 반응형: 1024px 이하 - 2열 */
@media (max-width: 1024px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 16px;
  }
}

/* 반응형: 768px 이하 - 1열 */
@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr; /* 한 줄에 1개 */
    gap: 16px;
    padding: 12px;
  }

  .solution-card {
    padding: 20px 16px;
  }

  .solution-card h4 {
    font-size: 1.2rem;
  }

  .solution-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 14px;
  }

  .solution-card p {
    font-size: 0.95rem;
  }
}





/* 오버레이 */
.solution-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: none;
}

/* 모달 박스 */
.solution-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  overflow-y: auto;
  max-height: 80vh;
}

/* 모달 내용 */
.solution-modal-content h2 {
  margin-top: 0;
  font-size: 1.6em;
  color: #333;
}

.solution-modal-content p {
  margin: 1em 0;
  font-size: 1em;
  color: #555;
}

/* 닫기 버튼 */
.solution-close-button {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.solution-close-button:hover {
  color: #000;
}

/* 반응형 */
@media (max-width: 500px) {
  .solution-modal {
    padding: 1.2em;
  }

  .solution-modal-content h2 {
    font-size: 1.3em;
  }

  .solution-modal-content p {
    font-size: 0.95em;
  }
}


.support-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;       /* 카드 사이 간격 */
  padding: 0 1em;
  box-sizing: border-box;
  flex-wrap: nowrap; /* 줄바꿈 금지하여 항상 한 줄에 3개 */
}

/* PC + 모바일 공통 : 3등분 너비 자동 조절 */
.support-card {
  flex: 1 1 0;                  /* 같은 비율로 균등 분배 */
  min-width: 0;                 /* 넘치지 않도록 */
  max-width: calc((100% - 2em) / 3); /* gap(1em * 2) 고려해서 최대 너비 지정 */
  background: white;
  padding: 1.5em 1em;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.support-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 1em;
}

.support-card h4 {
  margin: 0.5em 0;
  font-size: 1.1em;
}

.support-card p {
  font-size: 0.9em;
  color: #555;
}

/* 모바일 대응 : 화면 좁아지면 카드 최소 너비 줄이기 및 글자/이미지 크기 축소 */
@media (max-width: 600px) {
  .support-card {
    flex: 1 1 calc((100% / 3) - 0.8em); /* gap 보정 조금 줄임 */
    min-width: 120px;                   /* 너무 작아지지 않도록 최소너비 설정 */
  }
  .support-card h4 {
    font-size: 0.9em;
  }
  .support-card p {
    font-size: 0.75em;
  }
  .support-card img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 360px) {
  .support-card {
    flex: 1 1 calc((100% / 3) - 0.6em);
    min-width: 100px;
  }
  .support-card h4 {
    font-size: 0.8em;
  }
  .support-card p {
    font-size: 0.65em;
  }
  .support-card img {
    width: 24px;
    height: 24px;
  }
}

/* 스크롤바 숨기기(선택) */
.support-grid::-webkit-scrollbar {
  display: none;
}
.support-grid {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}


.support-card button {
  margin-top: 12px;
  padding: 10px 20px;
  border: none;
  background-color: #007BFF;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}


.modal-overlay {
  display: flex; /* 항상 flex 상태 유지 */
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;   /* JS로 제어할 부분 */
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}



.modal {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  position: relative;

}

.modal h2 {
  margin-top: 0;
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.modal button[type="submit"] {
  background-color: #007BFF;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.modal-message {
  display: none;
  margin-top: 10px;
  font-size: 14px;
}

.modal-message.success {
  color: green;
}

.modal-message.error {
  color: red;
}

.close-btn {
  position: absolute;
  top: 12px;
  left: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}

/* === 반응형 추가 === */
@media (max-width: 480px) {
  .modal {
    width: 95%;
    padding: 20px;
    max-width: none;
  }

  .modal input,
  .modal textarea {
    font-size: 14px;
    padding: 8px;
  }

  .modal button[type="submit"] {
    padding: 10px;
    font-size: 16px;
  }

  .close-btn {
    font-size: 20px;
    top: 8px;
    left: 12px;
  }

  .support-card {
    width: 90%;
    padding: 20px;
    margin: 15px auto;
  }
}


footer {
  background: linear-gradient(135deg, #000, #1f01ff, #019a06, #1f01ff, #000);
  width: 80%;               /* 가로폭 80% */
  margin: 0 auto;           /* 좌우 중앙 정렬 */
  padding: 20px 0 20px 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 100;
}





.footer-bottom .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;

}

.footer-img-left,
.copycenter,
.template-by-right {
  flex: 0 0 33.33%;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: left;          /* 왼쪽 정렬 */
  line-height: 1.8; /* 줄간격 추가 */
}

.footer-logo {
  height: 100px;
  width: auto;
  display: block;
  margin: 0 auto 0px auto; /* 로고는 중앙 정렬, 밑에 여백 추가 */
  margin-top: 10px;
}

/* 반응형: 모바일에서는 세로 정렬하고 중앙 정렬로 */
@media (max-width: 768px) {
  footer {
    width: 90%;
    padding: 15px 0;
  }

  .footer-bottom .row {
    flex-direction: column;
    align-items: center;
    text-align: center; /* 모바일에서는 가운데 정렬 */
  }

  .footer-img-left,
  .copycenter,
  .template-by-right {
    flex: 0 0 100%;
    padding: 10px 0;
    text-align: center; /* 모바일에서 텍스트 중앙 정렬 */
  }
}


.call-button {
  position: relative;
  /* ::before 기준 */
  overflow: hidden;
  /* 반짝이 효과가 버튼 밖으로 안 나가게 */
  display: block;
  margin: 20px auto;
  padding: 14px 0;
  width: 800px;
  max-width: 100%;
  background: rgba(0, 40, 200, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  margin-bottom: 50px;
  border: 2px solid #fff;
    /* 테두리 추가 */
}

/* 반짝이 효과 (Shiny Glass) */
.call-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.1) 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

/* 반짝이 이동 애니메이션 */
@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

/* Hover 효과 */
.call-button:hover {
  background: #ffc800;
  color: #000;
  transform: translateY(-10%) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 모바일 전용: 화면 가로에 딱 맞춤 */
@media (max-width: 768px) {
  .call-button {
    width: 100%;       /* 화면 전체 가로 */
    font-size: 16px;   /* 글자 약간 줄임 */
    margin-bottom: 50px;
  }
}

.business-card {
  display: none;
}


.business-card-one h2,
.business-card-two h2 {
  color: #fff;
    border-bottom: 2px solid #fff;
      /* 글자 밑에 2px 흰색 선 */
      display: inline-block;
      /* 글자 길이에 맞게 선 길이 조절 */
      padding-bottom: 5px;
      /* 글자와 밑줄 간격 */
}

.business-card-one {
  max-width: 1200px;
  margin: 0 auto; /* 가운데 정렬 */
  color: #fff;
}

.business-card-two {
  max-width: 1200px;
  margin: 0 auto; /* 가운데 정렬 */
  color: #fff;
}

.logo-row img {
  position: relative;
  /* 꼭 필요 */
  z-index: 1;
  margin: 20px 15px 30px 15px;
  width: 80px;
  height: 80px;
  padding: 5px;
  border-radius: 1px;
  background: linear-gradient(145deg, #012af7, #02ee0e);
  box-shadow:
    inset 0 0 5px rgba(255, 255, 255, 0.4),
    0 0 10px rgba(42, 82, 152, 0.5);
  overflow: visible;
}

/* glow-layer는 이미지 바로 옆에 생성되는 div, img 뒤에 위치함 */
.glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  box-shadow: 0 0 15px 8px rgba(2, 6, 238, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
  /* 이미지 아래로 깔리도록 */
}
@media (max-width: 480px) {
  .logo-row img {
  width: 12vw;
  height: 15vw;
  
  }
}  

@media (max-width: 767px) {
  .logo-row img {
  width: 12vw;
  height: 15vw;
  
  }
}  

.bus-info {
  padding: 30px 20px;
  background: #000;
  border-radius: 10px;
  max-width: 1200px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
}

.bus-info h2 {
  font-size: 1.3em;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.bus-desc {
  text-align: center;
  margin-bottom: 25px;
  color: #fff;
  font-size: 1em;
}

.bus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  justify-content: center;
}

.bus-card {
  background-color: #000;
  border: 1px solid #fff;
  border-left: 5px solid #3b82f6;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1em;
  line-height: 1.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.2s ease;
}

.bus-card:hover {
  transform: translateY(-3px);
  background-color: #000;
}

.bus-card span {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 0.95em;
}





/* 상단 카드 (중앙 정렬) */
.esg-memt-one {
  width: 500px;
  height: 500px;
  margin: 0 auto;
  /* 중앙 정렬 */
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 50px;

}

/* 중앙 3장 카드 */
.esg-part-one {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  /* 화면 좁으면 자동 줄바꿈 */
  margin: 40px 0;

}

.esg-part-one>div {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;

}

/* 하단 카드 (중앙 정렬) */
.esg-memt-five {
  width: 500px;
  height: 500px;
  margin: 0 auto;
  /* 중앙 정렬 */
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 50px;
  z-index: 0;
}


/* 카드 오버레이 + hover 효과 통합 */
.esg-memt-one,
.esg-part-one>div,
.esg-memt-five {
  position: relative;
  /* ::before를 위한 기준 */
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #fff;

}

/* 배경 오버레이 */
.esg-memt-one::before,
.esg-part-one>div::before,
.esg-memt-five::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #019a06;
  /* 기본 배경색 */
  z-index: 0;
  border-radius: 12px;
  transition: background 0.3s ease;
  /* 색상 변화를 부드럽게 */
}

/* hover 시 카드 확대 + 그림자 + 테두리 + 오버레이 색상 */
.esg-memt-one:hover,
.esg-part-one>div:hover,
.esg-memt-five:hover {
  transform: translateY(-5px) scale(1.02);
  /* 살짝 커짐 */
  border-color: rgb(255, 255, 255);
}

/* hover 시 오버레이 색상 변경 */
.esg-memt-one:hover::before,
.esg-part-one>div:hover::before,
.esg-memt-five:hover::before {
  background: rgb(13, 0, 255);
  /* 반투명 파란색 */
}

/* 제목 + 반짝별 */
.esg-memt-one h2,
.esg-memt-two h2,
.esg-memt-three h2,
.esg-memt-fore h2,
.esg-memt-five h2,
.esg-memt-one p,
.esg-part-one>div p,
.esg-memt-five p {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-top: 15px;
  position: relative;
  /* 오버레이 뒤로 */
  z-index: 1;
}


.esg-memt-one h2::before,
.esg-memt-two h2::before,
.esg-memt-three h2::before,
.esg-memt-fore h2::before,
.esg-memt-five h2::before {
  content: "✨";
  margin-right: 6px;
  animation: twinkle 2s infinite alternate;
}

.esg-memt-one h2::after,
.esg-memt-two h2::after,
.esg-memt-three h2::after,
.esg-memt-fore h2::after,
.esg-memt-five h2::after {
  content: "✨";
  margin-left: 6px;
  animation: twinkle 3s infinite alternate-reverse;
}

.contact-text {
  color: #fff;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* 반응형: 화면 좁으면 중앙 3장 세로 스택 */
@media (max-width: 1024px) {
  .esg-part-one {
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }

  .esg-memt-one,
  .esg-part-one>div,
  .esg-memt-five {
    width: 90%;
    max-width: 500px;
    height: 350px;
  }

  .esg-memt-one h2,
  .esg-memt-two h2,
  .esg-memt-three h2,
  .esg-memt-fore h2,
  .esg-memt-five h2 {
    font-size: 1.3rem;
    margin-bottom: -10px;
  }

}

@media (max-width: 768px) {

  .esg-memt-one,
  .esg-part-one>div,
  .esg-memt-five {
    height: 500px;
  }

  .esg-memt-one h2,
  .esg-memt-two h2,
  .esg-memt-three h2,
  .esg-memt-fore h2,
  .esg-memt-five h2 {
    font-size: 1rem;
  }

}

@media (max-width: 480px) {

  .esg-memt-one,
  .esg-part-one>div,
  .esg-memt-five {
    height: 350px;
  }

  .esg-memt-one h2,
  .esg-memt-two h2,
  .esg-memt-three h2,
  .esg-memt-fore h2,
  .esg-memt-five h2 {
    font-size: 1rem;

  }

}
/* 카드 전체 유리 반사 효과 */
.esg-memt-one::after,
.esg-part-one>div::after,
.esg-memt-five::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -150%;
  width: 200%;
  height: 300%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.4) 30%,
      rgba(255, 255, 255, 0) 50%);
  transform: rotate(25deg);
  animation: shine 3s linear infinite;
  z-index: 2;
  /* 글자 위로 올라가지 않게 */
  pointer-events: none;
  /* 클릭 막지 않도록 */
}

