@charset "utf-8";

/* 메인 슬라이드 */

.main-swiper-slide {
  position: relative;
  height: 80vh;
  background-color: var(--white-color);
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide-image {
  width: 100%;
  height: 75%;
  background-size: cover;
  background-position: center;
}

.main-slide-content {
  /* max-width: 1720px; */
  position: relative;
  margin: 0 8vw;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: var(--white-color);
}

.main-slide-content h2 {
  font-size: 67px;
  margin-bottom: 24px;
  line-height: 1;
}
.main-slide-content .blueforum {
  font-size: 67px;
  color: #7CD3FF;
}
.main-slide-content h3 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.17em;
  margin: 0 !important;
  line-height: 1;
}

.main-slide-content h4 {
  font-size: 24px;
  margin-top: 45px;
  font-weight: 100;
}


.main-slide-content .main-slide-top-text p {
  font-size: 24px;
  font-weight: var(--regular);
  margin-bottom: 8px;
}
/* 캔버스 스타일 */
#waveCanvas {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100px !important;
    /* transform: rotate(180deg); */
}

/* 메인 인프라 nav */
.infra-nav-wrapper{
  position: absolute;
  top: 50%;
   right:10%;
  z-index: 1;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.infra-nav-box:hover{
  background-color: rgba(0,176,139,0.6);
  border: 1px solid var(--main-green);
}
.infra-nav-box{
  width: 200px;
  height: 200px;
  min-width: 140px;
  min-height: 140px;
  border-radius: 12px;
  border: 1px solid var(--white-color);
  padding: 20px;
  transition: var(--normal-trans);
}
.infra-nav-box a{
  color: var(--white-color);
  font-size: 1.25rem;
  font-weight: var(--bold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.infra-nav-arrow img{
  width: 28px;
  float: right; 
  transition: var(--normal-trans);
}
.infra-nav-box:hover .infra-nav-arrow img{
  transform: scale(1.15);
}

/* 공통 배너 */

.banner {
    width: 100%;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding-top: 90px;
  }
  
  .banner-title h1 {
    font-size: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  }
  
  /* 배너bg이미지 */

  /* .banner-depth-0 {
    background-color:var(--gray-color);
  } */
  .banner-depth-10 {
    background-image: url('../img/banner/SISObanner.png');
  }
  
  .banner-depth-20 {
    background-image: url('../img/banner/Supportbanner.png');
  }
  
  .banner-depth-30 {
    background-image: url('../img/banner/Consultationbanner.png');
  }

  .banner-depth-40 {
    background-image: url('../img/banner/Consultationbanner.png');
  }

  .banner-nav{
    height: 70px;
    width: 100%;
    border-bottom: 1px solid var(--main-border);
  }
  .banner-nav ul{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  .banner-nav ul li{
    width: 140px;
    height: 100%;
    text-align: center;
    font-size: 1.15rem;
    font-weight: var(--regular);
    border-bottom: 3px solid var(--white-color);
    transition: var(--normal-trans);
  }
  .banner-nav ul li a{
    display: block;
    height: 100%;
    line-height: 70px;
    font-weight: bold;
  }
  .banner-nav ul li:hover,
  .banner-nav ul li.active{
    border-bottom: 3px solid var(--main-blue);
  }

 /* 메인 latest/slide */
  
.siso-insight {
  padding: 20px;
  width: 100%;
}

.siso-insight h2 {
  font-size: 24px;
  margin-bottom: 5px;
}

.siso-insight p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* 인사이트 탭메뉴 */
.tab-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 탭 메뉴와 + 버튼 사이 간격 확보 */
  border-bottom: 2px solid #ddd;
}

.tab-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-menu li {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--black-color);
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-menu li.active {
  color: var(--main-blue);
  border-bottom: 2px solid var(--main-blue);
}

.add-button {
  padding: 5px 5px;
  font-size: 18px;
  font-weight: bold;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--main-blue);
  transition: background-color 0.2s, color 0.2s;
}

.add-button:hover {
  background-color: #f0f0f0;
  color: var(--main-blue);
  border-radius: 4px;
}

.tab-content {
  margin-top: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* 인사이트 게시글 */
.board-latest-tab-container {
  display: flex;
  align-items: flex-start;
}

.board-latest-tab {
  /* flex: 1 0 auto; */
  /* max-width: 50%; */
  width: 100%;
}

/* 인사이트 배너 슬라이드 */
.banner-slider.primary-banner {
  /* flex: 1 0 auto; */
  width: 100%;
  /* max-width: 50%; */
  padding: 20px;
}

.swiper.main-swiper {
  width: 100%;
  height: auto;
  position: relative;
}

.swiper-slide.slide-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-color);
}

.swiper-slide.slide-item img {
  width: 100%;
  max-height: 480px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.banner-content.content-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white-color);
}

.banner-content.content-center h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content.content-center p {
  font-size: 16px;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content.content-center .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--main-blue);
  color: var(--white-color);
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.swiper-button-next.next-button,
.swiper-button-prev.prev-button {
  color:var(--white-color); 
  display: none;
}

.swiper-pagination-bullet-active.pagination-dots-active {
  background-color: var(--main-blue);
  display:none;
}
/* 인사이트 위 제목, 소제목 */
.title-container {
  padding: 0px 15px;
  margin-bottom: 3vh;
}
.big-title {
  font-size: 40px;
  font-weight: var(--Ex-bold);
  color: var(--black-color);
}

.small-title {
  font-size: 20px;
  margin-top: 10px;
}


/* 하단 기업 로고 슬라이드 */

.partner-scroll-container {
  margin-top: 10vh;
  position: relative;
}

.partner-slider-wrapper {
  position: relative;
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* 슬라이드 간격 추가 */
}

.swiper-container.partner-slider {
  padding: 20px 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.swiper-slide.partner-slide {
  transition: var(--normal-trans);
  cursor: pointer;
  width: 50% !important; 
  max-width: max-content;
  flex-shrink: 0;
}

.swiper-slide.partner-slide:hover {
  transform: scale(1.05);
}

.swiper-slide.partner-slide img {
  width: 100%;
  height: auto;
  object-fit: contain; /* 이미지 비율 유지 */
}

.swiper-button-next.slider-next,
.swiper-button-prev.slider-prev {
  color: var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute; 
  top: 50%; 
  z-index: 10;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-button-prev.slider-prev {
  left: -30px; /* 위치 조정 */
}

.swiper-button-next.slider-next {
  right: -30px; /* 위치 조정 */
}

.swiper-button-next.slider-next:hover,
.swiper-button-prev.slider-prev:hover {
  transform: scale(1.1); /* 호버 효과 */
  background-color: rgba(0, 0, 0, 0.1); /* 배경색 변경 */
}

.swiper-button-next.slider-next::after,
.swiper-button-prev.slider-prev::after {
  font-size: 24px; /* 버튼 크기 조정 */
  color: var(--black-color);
}

/* 메인페이지 배너 하단 프로그램 스타일링 */
.innovation-nav {
  display: flex;
  gap: 5vh;
  justify-content: center;
  margin-bottom: 10vh;
}

.innovation-nav__tile {
  width: 200px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.innovation-nav__tile:hover {
  border-color: var(--main-blue);
}

.innovation-nav__tile img {
  width: 68px;
  height: 68px;
  filter: brightness(0) invert(1) opacity(0.8);
}
.innovation-nav__tile:hover img {
  filter: none;
}

.innovation-nav__tile span {
  color: white;
  font-size: 16px;
}

.index-container{
  position: relative;
  height: auto !important;
  margin: 20px 0;
  font-size: 1em;
  width: 100%;
}

/* 메인 슬라이드 버튼 스타일 */
.slide-button {
  position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translatex(-50%);
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: transparent;
    border: 1px solid var(--white-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.25rem;
    font-weight: var(--regular);
    transition: all 0.3s ease;
}

.slide-button:hover {
    background-color: #ffffff60;
}

@media only screen and (max-width: 768px){
  .slide-button{
    position: unset;
    transform: none;
  }
}
