@charset "utf-8";

/* 레이아웃 */
.main_wrap {
  width: 100%;
  overflow: hidden;
}

body {
  color: var(--mainWhite);
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ========== gradient ========== */
@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

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

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(50%);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }

  50% {
    transform: translateX(50%) translateY(10%);
  }

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

.gradient-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  background: linear-gradient(40deg, var(--mainBlack), var(--mainBlack));
  top: 0;
  left: 0;
  z-index: -100;
}

.svgBlur {
  display: none;
}

.noiseBg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

.gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}

.g1,
.g2,
.g3,
.g4,
.g5,
.interactive {
  position: absolute;
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  mix-blend-mode: var(--blending);
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  opacity: 1;
}

.g1 {
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  animation: moveVertical 30s ease infinite;
}

.g2 {
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}

.g3 {
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}

.g4 {
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.g5 {
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
}

.interactive {
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  opacity: 0.7;
}


/* ========== header ========== */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 55px;
  z-index: 3000;
  margin-top: 25px;

  padding: 0 112px;
}
.header .h_inner {
  position: relative;
  max-width: 1600px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 32px;
  background-color: rgba(3, 25, 99, 0.49);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
}

.header .h_logo>a>img {
  width: auto;
  height: 30px;
}

.header .h_nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 40px;
  margin: 0 auto;
  gap: 80px;
}

.header .h_nav>li>a>span {
  color: var(--mainWhite);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px);
  transition: color 0.3s;
}
.header .h_nav>li>a>span:hover {
  color: var(--mainBlue-2);
}
.header .h_side {
  display: flex;
  gap: 20px;
}
.header .h_side>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.nav_contact{
  padding-bottom: 3px;
  border-bottom: 1px solid var(--neutral-white-08);
}

.hamburger {
  display: none;
  width: 32px; /* 모바일에서 보기 좋게 키움 */
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 3001; /* 햄버거/X 버튼이 항상 오버레이 위에 보이도록 */
}
.hamburger span {
  position: absolute;
  width: 100%;
  height: 4px; /* 막대 두께도 키움 */
  background: var(--mainWhite);
  border-radius: 2px;
  left: 0;
  transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

.menu_overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.menu_overlay.active {
  display: flex;
}
.menu_content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.menu_content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu_content ul li {
  margin: 20px 0;
}
.menu_content ul li a {
  color: white;
  font-size: calc(80vw/var(--basicSize));
  text-decoration: none;
}

.menu_sns {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.menu_sns a img {
  width: 28px; /* 아이콘도 약간 키움 */
  height: 28px;
}

@media (max-width: 1600px) {
  .header .h_nav { gap: 60px; }
  .header .h_inner { padding: 0 40px; max-width: 1400px; }
}
@media (max-width: 1440px) {
  .header .h_nav { gap: 40px; }
  .header .h_nav>li>a>span { font-size: 14px; }
  .header .h_inner { padding: 0 32px; max-width: 1280px; }
}
@media (max-width: 1300px) {
  .header .h_inner { max-width: 1150px;}
}
@media (max-width: 1024px) {
  .header { padding: 0 72px;}
  .header .h_nav { gap: 30px; }
  .header .h_side { gap: 15px; }
  .header .h_inner { padding: 0 24px; max-width: 100%; }
    .header .h_logo>a>img { height: 26px; } /* 모바일 로고 크기 조절 */
}
@media (max-width: 767px) {
  .header { margin-top: 0; height: 50px; padding: 0;}
  .header .h_inner { padding: 0 15px; border-radius: 0; }
  .header .h_logo>a>img { height: 22px; } /* 모바일 로고 크기 조절 */
  .h_nav, .h_side { display: none !important; }
  .hamburger { display: block; width: 18px; height: 16px; }
  .hamburger span { height: 1.5px; }
  
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 8px; }
  .hamburger span:nth-child(3) { top: 16px; }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
}



/* contact */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 150px 80px;
  margin-top: 100px;
}

.contact .container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.category {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.category label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.category input[type="radio"] {
  accent-color: var(--mainBlue-1);
  /* 브라우저 지원되는 범위에서 라디오 색 지정 */
  width: 18px;
  height: 18px;
}


@media screen and (max-width: 1100px) {
    :root {
        --basicSize: 11;
    }
}
:root {
    --basicSize: 23;
}

.title_text {
  flex: 1;
}

.title_text h1 {
  font-size: calc(180vw/var(--basicSize));
  color: var(--mainWhite);
  font-weight: bold;
  padding-bottom: var(--eyebrow-gap);
}

.sub_intro {
  white-space: normal;
  color: var(--neutral-white-08);
  font-size: var(--default-font-size);
  padding-bottom: var(--subtitle-gap);
  /* 줄바꿈 유지용 */
}

.sub_intro p{
  padding-bottom: 5px;
}

.subintro_title{
  font-size: var(--subtitle1x-font-size);
  font-weight: bold;
  padding-bottom: 15px !important;
}

.input_text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  padding: 10px;
  color: #fff;
  font-size: var(--default-size);
  outline: none;
  font-family: var(--subEng-font);
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: inherit !important;
  color: #fff !important;
  transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s !important;
}


textarea {
  resize: vertical;
  min-height: 200px;
}

button.send {
  outline: 0;
  cursor: pointer;
  width: 200px;
  height: 50px;
  position: relative;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50px;
  background: transparent;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: var(--default-font-size);
}

button.send:hover {
  background-color: var(--mainBlue-1);
}

button.send .text,
button.send .done {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: .35s cubic-bezier(.34, -0.61, 1, .64);
}

button.send .text.active {
  transform: translate(-50%, -350%) scale(0);
  opacity: 0;
}

button.send.active {
  padding: 0px 80px;
  transition: .4s cubic-bezier(.35, -0.77, .67, 1.88);
}

button.send .loader {
  position: absolute;
  width: calc(0% - 4px);
  height: calc(100% - 4px);
  background-color: #fff;
  left: 2px;
  top: 2px;
  border-radius: 50px;
  z-index: 0;
}

button.send .loader.active {
  width: calc(100% - 4px);
  transition: 1.3s ease-in-out;
  transition-delay: .5s;
}

button.send .done {
  color: var(--mainBlue-1);
  opacity: 0;
  transform: translate(-50%, 300%) scale(0);
  z-index: 1;
  transition: .4s ease;
}

button.send .done.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

button.send.finished {
  padding: 15px 80px;
  transition: .4s cubic-bezier(.35, -0.77, .67, 1.88);
}



/* FAQ */
.faq_section {
  padding: var(--wrap-gap);
}

.faq_section .container {
  max-width: 1600px;
  margin: 0 auto;
}

.faq_section h3 {
  color: var(--mainWhite);
  font-weight: bold;
  font-size: var(--title2x-font-size);
  padding-bottom: var(--title-gap);
}

#accordion_wrap .que {
  position: relative;
  font-size: var(--default-font-size);
  border-bottom: 1px solid var(--neutral-white);
  cursor: pointer;
  padding: 30px;
}

#accordion_wrap .que::before {
  display: inline-block;
  content: 'Q';
  font-size: var(--default-font-size);
  color: var(--neutral-white);
  margin: 0 20px 0 0;
}

#accordion_wrap .que:hover {
  background-color: rgba(12, 92, 245, 0.5);

}

#accordion_wrap .que.on {
  border: 0;
  background-color: rgba(12, 92, 245, 0.5);
}

#accordion_wrap .que.on>span {}

#accordion_wrap .anw {
  display: none;
  overflow: hidden;
  font-size: var(--small-font-size);
  background-color: rgba(12, 92, 245, 0.5);
  color: var(--neutral-white-08);
  line-height: 1.6;
  padding: 30px;
  border-bottom: 1px solid var(--neutral-white);

}

#accordion_wrap .anw::before {
  display: inline-block;
  content: 'A';
  font-size: var(--default-font-size);
  color: var(--neutral-white);
  margin: 0 20px 0 0;
}

.arrow-wrap {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.que .arrow-top {
  display: none;
}

.que .arrow-bottom {
  display: block;
}

.que.on .arrow-top {
  display: block;
}

.que.on .arrow-bottom {
  display: none;
}

.anw ol,
.anw p{
  margin: 1em 0 1em 0;
  padding-left: 0.3em;
}

.anw ol {}

.anw li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.anw p {
  margin: 0;                    /* 단락 여백 초기화 */
  line-height: 1.6;
  
}




/* ========== footer ========== */
.footer {
  margin-top: auto;
  color: var(--neutral-white);
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0));
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .f_inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 50px;
  /* 위아래 패딩 추가 */
  flex: 1;
}

.footer_logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 30px;
}

.footer_logo h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.footer_menu {
  display: flex;
  flex-wrap: wrap;
  /* 줄바꿈 허용 */
  justify-content: center;
  gap: 20px;
  /* 메뉴 간격 */
  margin: 20px 0;
  /* 위아래 여백 */
}

.footer_menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

/* ====== 태블릿 보완 ====== */
@media (max-width: 1024px) {
  .footer_logo h1 {
    font-size: 2rem;
  }

  .footer .f_inner {
    padding: 30px 50px;
  }

  .footer_menu {
    gap: 16px;
    margin: 16px 50px 0 0;
  }
}

/* ====== 모바일 보완 ====== */
@media (max-width: 768px) {
  .footer .f_inner {
    padding: 24px 32px;
  }

  .footer_menu {
    flex-direction: column;
    gap: 12px;
    margin: 16px 30px 0 0;
  }

  .footer_menu a {
    font-size: 0.95rem;
  }
}

.timeline_section {
  margin-top: 60px;
}

.timeline_container {
  position: relative;
  height: 300px;
  margin-bottom: 80px;
}

.timeline_line {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #aaa;
}

.timeline_item {
  position: absolute;
  top: 0;
  width: 22%;
}

.timeline_item .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 74px;
  /* 가로 레이아웃에서 수평 라인과 맞춤 */
  left: 0;
}

.timeline_item .year {
  margin-top: 100px;
  font-weight: 500;
}

.timeline_item h3 {
  margin: 6px 0;
  font-size: 1.1rem;
}

.timeline_item .desc {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.vision {
  text-align: left;
  padding-left: 10px;
}

.vision h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.vision p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.5;
}

.copyright {
  margin-top: 100px;
  font-size: 0.8rem;
  color: #777;
  text-align: left;
  padding-bottom: 60px;
}

/* ====== 반응형 보완: 태블릿 살짝 축소 ====== */
@media (max-width: 1024px) {
  .footer_logo h1 {
    font-size: 2rem;
  }

  .footer_menu a {
    margin-left: 20px;
  }
}

/* ====== 모바일: 세로 타임라인 ====== */
@media (max-width: 768px) {
  .timeline_container {
    --gutter: 14px;
    /* 라인/점 공통 x좌표 */
    height: auto;
    margin: 40px 0 60px;
  }

  .timeline_line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--gutter);
    right: auto;
    width: 1px;
    /* 픽셀 퍼펙트 정렬 */
    height: auto;
    background-color: #aaa;
  }

  .timeline_item {
    position: relative;
    top: auto;
    left: auto !important;
    /* 인라인 left 무력화 */
    width: 100%;
    margin: 24px 0 28px;
    padding-left: 0;
    /* 컨테이너와 좌표계 일치 */
  }

  .timeline_item .dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0.95em;
    /* 첫 줄 중심쯤 */
    left: var(--gutter);
    /* 라인과 완전 일치 */
    transform: translate(-50%, -50%);
  }

  /* 콘텐츠는 dot 오른쪽으로 밀기 */
  .timeline_item .year {
    margin-top: 0;
    font-weight: 600;
    margin-left: calc(var(--gutter) + 14px);
  }

  .timeline_item h3 {
    margin: 4px 0 0;
    margin-left: calc(var(--gutter) + 14px);
  }

  .timeline_item .desc {
    font-size: 0.95rem;
    margin-left: calc(var(--gutter) + 14px);
  }

  .vision {
    padding-left: 0;
  }

  .vision h2 {
    font-size: 1.4rem;
  }

  .vision p {
    font-size: 1rem;
  }

  .copyright {
    padding-bottom: 40px;
  }
}