@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Vatech';
  src: url('../fonts/Vatech-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Vatech';
  src: url('../fonts/Vatech-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

:root{
  --navy:#0C1743;
  --white:#f5f5f5;
  --red:#df1e3d;
  --red-dark:#c61d37;
  --black:#000000;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

p {
  text-align: center;
  color: var(--black);
}

.page-title {
  text-align: center;
  font-family: 'Vatech', sans-serif;
  color: var(--red);
  font-weight: 400;
  letter-spacing: .5px;
  font-size: 36px;
  margin-top: 0;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.65rem;
  color: #777;
  background: #fff;
  padding: 10px 16px;
  border-top: 1px solid #eee;
  line-height: 1.4;
  z-index: 10;
}

/* Login/Contact us card */
.card {
  margin: 20px;
  background-color: #ffffff;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  width: 400px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 25px;
  border-radius: 8px;
}

.field {
  position: relative;
  width: 100%;
}

.input{
  margin-top: 15px;
  width: 100%;
  height: 50px;
  border-radius: 8px;
  border: 1.5px solid #ecedec;
  background: transparent;
  outline: none;
  padding: 14px 44px 0 12px;
  box-sizing: border-box;
}

.input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 30, 61, 0.08);
}

textarea.input {
  font-family: 'Noto Sans', sans-serif;
  height: 300px;
  resize: none;
  padding: 10px;
  line-height: 1.4;
  background: #efefee;
}

input::-webkit-input-placeholder {
  color: #8f8f8f;
  font-size: 13px;
  font-weight: lighter;
}

.password-field {
  position: relative;
  width: 100%;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 66%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #8f8f8f;
}

.toggle-password:hover {
  color: #000;
}

.label {
  position: absolute;
  top: 28px;
  left: 16px;
  color: #9aa3a7;
  background: #fff;
  padding: 0 6px;
  font-size: 14px;
  transition: all .2s ease;
  pointer-events: none;
}

.input:focus ~ .label,
.input:not(:placeholder-shown) ~ .label{
  top: 10px;
  left: 10px;
  font-size: 12px;
  color: var(--red);
}

.btn {
  width: 100%;
  font-family: 'Vatech', sans-serif;
  background-color: var(--red);
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
  border: 1.8px solid var(--red);
  border-radius: 5px;
  cursor: pointer;
  padding: 8px 120px;
  margin-top: 20px;
  transition: all 0.5s ease;
}

.btn:hover {
  background-color: var(--white);
  color: var(--red);
}

.forgot-link{
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 14px;
  color: #2e2e2e;
  text-decoration: none;
}
.forgot-link:hover{ text-decoration: underline; }

.card .forgot-text {
  font-size: 14px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.card .forgot-text a {
  font-size: inherit;
}


html, body, .home-page {
  overflow-x: hidden;
}

body.home-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.site-header{
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background-color: #ffffff;
}

.header-inner{
  width: 90%;
  margin: 0 auto;
  padding: 0px 24px;
  padding-top: 15px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
}

/* --- Header search (icon -> expand left) --- */
.actions { position: relative; }

.header-search{
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  transition: width .28s ease, border-color .18s ease, background .18s ease;
}

.header-search .search-btn{
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  z-index: 1;
}

.header-search .search-btn img{
  width: 20px;
  height: 20px;
  display: block;
  opacity: .85;
}

.header-search .search-btn:hover img{
  opacity: 1;
}

.logo{
  font-family: 'Vatech','Noto Sans',sans-serif;
  font-size: 24px;
  line-height: .9;
  color: var(--red);
  text-decoration: none;
  display: inline-block;
}

.main-nav{
  display: flex;
  justify-content: center;
  gap: 80px;
}

.main-nav a{
  font-family: 'Vatech', sans-serif;
  color: var(--black);
  text-decoration: none;
  font-size: 18px;
  padding: 6px 2px;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;              
  width: 0;             
  height: 1.8px;            
  background-color: var(--red);
  transition: width 0.2s ease-in-out;
}

.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover::after {
  width: 100%;         
}

.actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill{
  font-family: 'Vatech', sans-serif;
  display: inline-block;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 300;
  font-size: 14px;
}
.pill-red{
  background: var(--red);
  color: var(--white);
  border: 1.5px solid var(--red);
  cursor: pointer;
  transition: all .5s ease-in-out;
}
.pill-red:hover{
  background: var(--white);
  color: var(--red);
}

.header-underline{
  grid-column: 1 / -1;
  justify-self: center;
  width: 105%;
  height: 2px;
  background: var(--red);
  margin-top: 15px;
  max-width: 105vw;
}

@media (max-width: 900px){
  .header-inner{ grid-template-columns: 160px 1fr auto; }
  .main-nav a{ font-size: 18px; }
}

@media (max-width: 700px){
  .header-inner{
    grid-template-columns: 1fr auto;
    row-gap: 12px;
  }
  .logo{ grid-column: 1 / -1; }
  .main-nav{ grid-column: 1 / -1; flex-wrap: wrap; gap: 18px; }
  .header-underline{ margin: 6px 16px 0; }
}

.home-title{
  display: grid;
  grid-template-columns: 1fr 1fr;
   align-items: stretch;  
  width: 100%;
  padding: 0 clamp(16px, 6vw, 80px);
  margin: 14vh auto 10vh;
  gap: 5rem;
}

.home-title > div:first-child{
  justify-self: end;
  align-self: last baseline;
}

.home-title > div:last-child{
  align-self: end;
  justify-content: flex;
  align-items: flex-end;
}

.home-title h1 {
  margin: 0;
  font-family: 'Vatech', sans-serif;
  color: var(--red);
  font-size: 78px;
  font-weight: 400;
}

.home-title p {
  margin: 0;
  margin-bottom: 0.8rem;
  text-align: left;
}

.content-section{
  position: relative;
  display: grid;
  grid-template-columns: 2fr 60px 1fr;
  column-gap: 0;
  width: 70%;
  margin: 40px auto;
  color: var(--black);
  align-items: start;
  --timeline-col-w: 60px;
  --dot-size: 6px;
}


.main-player {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding-right: 5rem;
}
.main-player .video-title {
  font-family: 'Vatech', sans-serif;
  position: initial;
  padding: 8px 12px;
}
.main-player .video-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
}

.main-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: none; 
  outline: none;
  overflow: hidden;   
  border-radius: 5px;
}

.timeline{
  position: relative;
  align-self: stretch;  
  justify-self: center;
  pointer-events: none;
  z-index: 1;             
}

.timeline::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;              
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #CCCCCC;
  border-radius: 1px;
}

body.no-page-scroll { 
  overflow: hidden; 
}

.next-contents{
  position: relative;
  z-index: 2;
}

.next-contents h3 {
  font-family: 'Vatech', sans-serif; 
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 2.5rem;
  font-size: 20px;
  position: sticky;
  z-index: 1;
}

.next-contents::before {
  content: none;
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  opacity: 0.6;
}

.next-contents ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: visible;
}

.next-contents li {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.next-contents li::before{
  content: "";
  position: absolute;
  left: calc(-0.5 * var(--timeline-col-w, 60px));
  top: 50%;
  transform: translate(-50%, -50%);
  width:  var(--dot-size, 6px);
  height: var(--dot-size, 6px);
  border-radius: 50%;
  background: var(--red);
  z-index: 2;
  pointer-events: none;
}

.next-contents li .thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40%;
  min-width:180px;
  aspect-ratio: 16 / 9;
  background:#fff;
  border:1px solid #e5e5e5; 
  border-radius:8px;
  overflow:hidden;
  box-sizing:border-box;
}

.next-contents li .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  background: transparent;
  border-radius: inherit;
}


.next-contents .next-title {
  color: inherit;
  text-decoration: none;
}
.next-contents .next-title:hover {
  text-decoration: underline;
}

.next-contents li .info span {
  font-size: 14px;
  color: #bbb;
}
.next-contents li .info p {
  margin: 4px 0 0;
  font-size: 16px;
  text-align: left;
}

.next-contents::before { content: none; }

.menu{
  position: fixed;
  top: var(--header-h, 70px);
  left: 0; right: 0;
  transform: translateY(10px);
  z-index: 1100;
  background: #ffffff;
  box-shadow: 0 10px 15px rgba(255, 255, 255, 0.3);
  padding: 0 100px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height .2s ease, opacity .2s ease, transform .2s ease, padding .2s ease;
}
.menu.show{
  opacity: 1;
  transform: translateY(0);
}

.menu .panel{ 
  display:none; 
}

.menu .panel.active{ 
  display:block; 
}

.menu .inner{ 
    display:flex; 
    gap: 4rem;
    
}


.menu ul{ 
  margin:0; 
  padding:0; 
  list-style:none;
  font-size: 14px;
}

.menu li+li{ 
  margin-top: 1rem; 
}

.menu ul, .menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===== Horizontal folder rails (columns → rows) ===== */
.menu .columns{
  display: flex; 
  align-items: flex-start;
  flex-wrap: nowrap;
}

.menu .col{
  display: flex;
  flex-direction: column;
  gap: 12px 24px;
  align-items: center;
  min-width: 280px;
}

.menu .col:empty { 
  display: none; 
}

.menu .col .col-item{
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 6px 2px;
  margin: 0;
  font: inherit;
  color: #000;
  cursor: pointer;
  position: relative;
  outline: none;
  white-space: nowrap;
}

.menu .col .col-item::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width .2s ease-in-out;
}
.menu .col .col-item:hover::after,
.menu .col .col-item.active::after{
  width: 100%;
}

.menu .col.files{
  min-width: 420px;
}
.menu .col.files ul.files{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.menu .col.files ul.files a{
  color: #000;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.menu .col.files ul.files a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1.5px; width: 0;
  background: var(--red);
  transition: width .2s ease-in-out;
}
.menu .col.files ul.files a:hover::after{
  width: 100%;
}

@media (max-width: 980px){
  .menu{ padding: 0 28px; }
  .menu .columns{ gap: 32px; }
  .menu .col{ min-width: 220px; }
  .menu .col.files{ min-width: 300px; }
}


.file-path {
  font-size: 12px;
}

.content-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
}

.content-title h2 {
  font-family: 'Vatech', sans-serif;
  font-weight: 400;
  margin-bottom: 0;
}

.content-title .file-tags{
  margin-top: 0;
  font-size: 16px;
  color: #555; 
  text-align: center;
}

.next-contents li .info small.meta{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  font-weight: 300;
}

/* ===== Home slider (Vatech tone) ===== */
.home-slider{
  position: relative;
  width: 100%;
  padding: 20px clamp(16px,6vw,80px) 60px;
  box-sizing: border-box;
}

.c-viewport{ 
  position: relative;
  z-index: 1;
  overflow: hidden; 
  width: 100%; 
}

.c-track{
  display: flex;
  gap: clamp(18px, 2.5vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
  will-change: transform;
  transition: transform .4s ease;
}

.c-slide{
  flex: 0 0 var(--slide-w, 23%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.c-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-arrow{
  position: absolute; top: 50%; 
  transform: translateY(-50%);
  width: 40px; height: 40px; 
  border: 0; border-radius: 50%;
  background: transparent; 
  color: #9aa3a7;
  font-size: 28px; line-height: 40px; 
  cursor: pointer; opacity: .7;
}
.c-arrow:hover{ 
  color: var(--black); 
  opacity: 1; 
}

.c-prev{ left: clamp(6px, 1.6vw, 18px); }
.c-next{ right: clamp(6px, 1.6vw, 18px); }

.home-page .c-dots{
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.home-page .c-dots button{
  all: unset;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
  display: inline-block;
  cursor: pointer;
}

.home-page .c-dots button[aria-current="true"]{
  background: #333;
}

.home-page .c-dots button:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 50%;
}

@media (max-width: 1200px){ .c-slide{ --slide-w: 30%; } }
@media (max-width: 900px) { .c-slide{ --slide-w: 46%; } }
@media (max-width: 580px) { .c-slide{ --slide-w: 92%; } }

/* ===== Header Search Drop (click-only) ===== */
.search-drop{
  position: fixed;
  top: calc(var(--header-h, 70px));
  left: 0; right: 0;
  z-index: 1150;
  background:#fff;
  border-top:1px solid #eee;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  padding: 0 clamp(16px,6vw,80px) 18px;
  max-height: calc(100vh - var(--header-h, 70px));
  overflow: hidden;                 
}
.search-drop[hidden]{ 
  display:none !important; 
}

.search-drop .sd-inner{
  max-width: 1200px; margin: 0 auto; 
  display: grid;
  grid-template-rows: auto 1fr;
  max-height: inherit;
}

.search-drop .sd-bar{
  display:flex; 
  align-items:center; 
  gap:12px;
  padding:12px 0; 
  border-bottom:1px solid #f0f0f0;
  position: sticky;
  z-index: 5;
}
.search-drop .sd-title{ display:flex; align-items:center; gap:8px; font-family:'Vatech',sans-serif; }
.search-drop .sd-title img{ width:18px; height:18px; opacity:.9; }
.search-drop .sd-filter{ margin-left:auto; position:relative; }
.search-drop .sd-filter-btn{
  all:unset; 
  cursor:pointer; 
  padding:6px 10px; 
  border-radius:8px;
  border:1px solid #ececec; 
  font-family:'Vatech',sans-serif;
}
.search-drop .sd-filter-menu{
  position:absolute; 
  right:0; top:calc(100% + 6px);
  background:#fff; 
  border:1px solid #ececec; 
  border-radius:8px;
  padding:8px; 
  min-width:210px; 
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  z-index: 1000;
}
.search-drop .sd-filter-menu label{ display:flex; gap:8px; align-items:center; padding:6px 6px; cursor:pointer; }
.search-drop .sd-filter-menu input{ accent-color: var(--red); }
.search-drop .sd-close{
  all:unset; 
  cursor:pointer; 
  width:28px; 
  height:28px; 
  text-align:center;
  border-radius:50%; 
  line-height:28px; 
  font-size:20px;
}

.search-drop .sd-body{
  display:grid; 
  grid-template-columns: 1fr 1px 1.2fr; 
  gap:0; 
  padding-top:12px;
  overflow: auto;
  padding-right: 8px;
}

.search-drop .sd-left{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding-right: 14px;
}

.search-drop .sd-row{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  overflow: visible;
  z-index: 1;
}

.search-drop .sd-row::-webkit-scrollbar{ height:6px; }
.search-drop .sd-row::-webkit-scrollbar-thumb{ background:#e8e8e8; border-radius:3px; }

.search-drop .chip{
  display: inline-block;
  white-space: nowrap;
  all:unset; cursor:pointer;
  border:1.4px solid var(--red); color:var(--red);
  padding:3px 10px; border-radius:16px; font-size:12px; white-space:nowrap; line-height:22px;
}
.search-drop .chip.active{ background: var(--red); color:#fff; }

.search-drop .sd-divider{
  border-left:2px dashed #f3b5bf; width:1px; height:100%;
  justify-self:center; align-self:stretch;
}

.search-drop .sd-right{ padding-left:14px; }
.search-drop .sd-results{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.search-drop .sd-results li a{
  color:#000; 
  text-decoration:none; 
  position:relative; 
  padding:4px 0; 
  display:inline-block;
}
.search-drop .sd-results li a::after{
  content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0; background:var(--red);
  transition:width .2s;
}
.search-drop .sd-results li a:hover::after{ width:100%; }
.search-drop .empty{ color:#888; font-size:14px; padding:8px 2px; }

body.search-open { overflow: hidden; }

/* === Contact form  === */
.contact-form .label{
  position: static;
  display: block;
  margin: 2px 0 6px;
  padding: 0;
  background: transparent;
  font-size: 14px;
  color: #6b7376;
}

.contact-form .input{
  margin-top: 0;
  padding: 12px;
  height: 50px;
  box-sizing: border-box;
  background: #efefee;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-form textarea.input{
  height: 300px;
  padding: 12px;
  background: #efefee;
  line-height: 1.4;
  resize: none;
}

.contact-form .input,
.contact-form textarea.input{
  background: #efefee;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}

.contact-form .input:focus,
.contact-form textarea.input:focus,
.contact-form .input:not(:placeholder-shown),
.contact-form textarea.input:not(:placeholder-shown){
  background: #fff;
}


.contact-form .input:focus,
.contact-form textarea.input:focus{
  background: #fff;
}

.contact-form .input:focus ~ .label,
.contact-form .input:not(:placeholder-shown) ~ .label{
  position: static;
  top: auto; left: auto;
  font-size: 14px;
  color: #6b7376;
}
