*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  text-size-adjust: none;
}

/* 모바일에서만 줄바꿈 표시 */
.mobile-break { display: none; }

@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2')
    format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2')
    format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  font-weight: 900;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2')
    format('woff2');
  font-display: swap;
}

@font-face {
  font-family: "Caudex", serif;
  src: url("https://fonts.gstatic.com/s/caudex/v24/esDT31JQOpN6Wg9luOof.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Caudex", serif;
  src: url("https://fonts.gstatic.com/s/caudex/v24/esDf31JQOpN6Wg9BqOcQ2A.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* CraftworkGrotesk 폰트 (로컬) */
@font-face {
  font-family: "Craftwork Grotesk";
  src: url("../fonts/CraftworkGrotesk-Medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Craftwork Grotesk";
  src: url("../fonts/CraftworkGrotesk-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Craftwork Grotesk";
  src: url("../fonts/CraftworkGrotesk-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Craftwork Grotesk";
  src: url("../fonts/CraftworkGrotesk-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1e1e1e;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis 부드러운 스크롤 설정 */
html.lenis {
  height: 100%;
}

html.lenis body {
  height: 100%;
  /* overflow: hidden; */  /* 스크롤바 표시를 위해 임시 비활성화 */
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.main-container {
  width: 100%;
  margin: 0;
  background-color: #ffffff;
  overflow-x: hidden; /* 모바일 가로 스크롤 방지 */
}

.main-container > section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 768px;
  overflow: hidden;
}

/* section1 */
.hero-section {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 0.6vw, 10px);
  z-index: 9;
}

/* 배경은 절대 positioned, 내용 뒤로 보내기 */
.hero-background {
  position: absolute;
  z-index: 0;
  left: clamp(6px, 0.6vw, 10px);
  right: clamp(6px, 0.6vw, 10px);
  top: clamp(6px, 0.6vw, 10px);
  bottom: clamp(6px, 0.6vw, 10px);
  border-radius: 8px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-1 {
  z-index: 1;
}

.hero-image-2 {
  z-index: 2;
  opacity: 0;
}

.hero-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 60vh;
  padding: 0 clamp(30px, 8vw, 130px); /* 1280px*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;  /* 좌/우로 나누기 */
  align-items: stretch;            /* 각 아이템이 위~아래 꽉 차게 */
}

/* 왼쪽 텍스트: 위쪽 */
.hero-content {
  max-width: 480px;
  justify-items: flex-start;   
  margin-top: 25px;               
}

/* 오른쪽 텍스트: 아래쪽 */
.hero-description {
  position: relative;
  justify-items: flex-end;  
  text-align: right;
  font-size: clamp(18px, 3.75vw, 1.5rem);
  line-height: 175%;
  letter-spacing: -0.03rem;
  color: #dedede;
  align-self: flex-end;        
}

.hero-description-1,
.hero-description-2  {
  position: relative;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 100% 0 0);
  font-weight: 600;
}

.hero-description-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.hero-subtitle {
  font-weight: 500;
  font-size: clamp(18px, 3.75vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.03rem;
  color: #ffffff;
}

.hero-title {
  font-size: clamp(32px, 6.67vw, 3.375rem);
  line-height: clamp(48px, 10vw, 5rem);
  margin-top: clamp(10px, 1.2vw, 20px);
  letter-spacing: -0.0675rem;
  color: #fefefe;
}

.liquid-button {
  position: absolute;
  bottom: 78px;
  left: clamp(30px, 3.75vw, 60px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 999px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  background: transparent;
}

.glass-container--rounded {
  border-radius: 5rem;
  margin: 0.5rem;
}

.glass-filter {
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(0px);
  isolation: isolate;
}

.glass-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.01);
}

.glass-specular {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.glass-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact 버튼 텍스트/아이콘 전환 */
.contact-text {
  display: inline;
}
.contact-icon {
  display: none;
}

/* section2 */
.values-section {
  padding: 10px;
  width: 100%;
  overflow: hidden;
}

.values-set {
  position: absolute; /* 겹치기 필수 */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center; 
  gap: 300px;
  z-index: 1;
  padding: 0 clamp(0px, 8vw, 50px);
  opacity: 0;
  background: linear-gradient(to bottom, #f3f3f3 0%, #ffffff 50%);
}

.values-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
}

#values-1 {
  opacity: 1;
  visibility: visible;
  z-index: 2; 
}

.values-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  padding: 10px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 50%;
  height: 50%;
  filter: blur(150px); /* 블러 정도 */
  opacity: 0.7;
}

.blob-1 {
  top: -10%;
  left: -6%;
  background: linear-gradient(86deg, #BFFFCD 40.05%, rgba(45, 39, 61, 0.00) 78.42%);
}

.blob-2 {
  bottom: -22%;
  right: -28%;
  background: linear-gradient(84deg, #53B1FF 38.65%, rgba(48, 49, 15, 0.00) 77.14%);
}

.blob-3 {
  top: -10%;
  left: -6%;
  background: linear-gradient(86deg, #D1BFFF 40.05%, rgba(45, 39, 61, 0.00) 78.42%);
}

.blob-4 {
  bottom: -22%;
  right: -28%;
  background: linear-gradient(84deg, #FCFF53 38.65%, rgba(48, 49, 15, 0.00) 77.14%);
}

.blob-5 {
  top: -10%;
  left: -6%;
  background: linear-gradient(86deg, #FFEDBF 40.05%, rgba(45, 39, 61, 0.00) 78.42%);
}

.blob-6 {
  bottom: -22%;
  right: -28%;
  background: linear-gradient(84deg, #7AD0BF 38.65%, rgba(48, 49, 15, 0.00) 77.14%);
}

.values-left {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  opacity: 0;
}

.values-label {
  margin-bottom: clamp(6px, 0.78vw, 12px);
  font-family: "Craftwork Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 3.75vw, 1.5rem);
  letter-spacing: 0.03rem;
  color: #3e3e3e;
}

.values-title {
  margin: 0;
  font-family: "Caudex", serif;
  font-weight: 500;
  font-size: clamp(60px, 12.5vw, 6.875rem);
  color: #0d0d0d;
}

.values-subtitle {
  font-weight: 700;
  font-size: clamp(30px, 6.25vw, 3rem);
  letter-spacing: -0.06rem;
  color: #0d0d0d;
}

.values-right {
  z-index: 3;
  margin-top: 300px;
  opacity: 0;
}

.values-pagination {
  font-family: "Craftwork Grotesk", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #3d3d3d;
}

.values-pagination strong {
  font-weight: 700;
  font-size: 1.375rem;
  color: #0d0d0d;
}

.values-description {
  margin-top: 3.75rem;
}

.values-description p {
  font-weight: 700;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 153%;
  letter-spacing: -0.0375rem;
  color: #0d0d0d;
}

.values-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.tree-wrapper {
  position: absolute;      
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: min(45vw, 700px);
}

/* 나무 이미지 */
.mask-outline {
  width: 797px;
  height: 790px;
  position: relative;
  mask-image: url(../images/main/round.svg);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;   
  mask-position: center center;
  background: linear-gradient(294deg, #ccc 5.95%, #e9ecf1 85.6%);
  overflow: hidden;
}

.mask-outline img {
  position: absolute;
  top: -50px;
  left: -174px;
  max-width: none;
}

.image--top {
  z-index: 9;
  position: absolute;
  top: -50px;
  left: -174px;
  max-width: none;
  clip-path: inset(0 0 32% 0);
}

#values-2 .flowerTop1,
#values-2 .flowerMasked1 {
  top: -40px;
  left: 54px;
}

#values-2 .flowerTop2,
#values-2 .flowerMasked2 {
  top: 7px;
  left: 200px;
}

#values-3 .bookTop {
  top: 118px;
  left: 130px;
  clip-path: none;
}

#values-3 .butterflyTop,
#values-3 .butterflyMasked {
  top: -120px;
  left: 352px;
}

/* 공통 이미지 크기 */
.tree-container {
  position: absolute;
  inset: 0;
}

.tree-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#values-3 .tree-image {
  height: auto;
}

/* 새 이미지 */
.decoration-container {
  position: absolute;
  top: 0px;
  right: -175px;
  width: 527px;
  height: 230px;
  z-index: 3;
  pointer-events: none;
}

.decoration-container2 {
  position: absolute;
  top: 300px;
  right: -175px;
}

/* 2. SVG (선) 스타일 */
.bird-path-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bird-path-svg2 {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: scaleY(-1);
}

#bird-flight-path {
  opacity: 0; 
  stroke: #0D0D0D;
  stroke-width: 1px;
  fill: none;
}

/* 3. 새 이미지 래퍼 (GSAP이 움직일 대상) */
.bird-image-wrapper {
  position: absolute;
  height: auto;
  opacity: 0; /* JS 로드 전 깜빡임 방지 */
}

.bird-image-wrapper img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media screen and (max-width: 1570px) {
  .tree-wrapper {
    transform: translate(-50%, -50%) scale(0.8);
    width: min(60vw, 700px);
  }

  .decoration-container,
  .decoration-container2 {
    transform: scale(0.8);
    right: -235px;
  }
}

/* Overview 섹션 (HCG 사업부문) */
.overview-section {
  padding: 10px;
  width: 100%;
}

.overview-content {
  height: 100%;
  background-image: url('../images/main/overview_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  padding: clamp(100px, 12.5vw, 110px) clamp(30px, 5vw, 100px);
  border-radius: 8px;
}

/* 노이즈 배경 레이어 */
.overview-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* 카드 그리드 */
.overview-content-box {
  margin: auto;
  max-width: 1920px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 89px;
}

/* 헤더 영역 */
.overview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* 왼쪽 타이틀 */
.overview-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.25vw, 20px);
  flex-shrink: 0;
}

.overview-label {
  font-family: "Craftwork Grotesk", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0.03rem;
  color: #ffffff;
}

.overview-title {
  font-weight: 700;
  font-size: clamp(32px, 6.67vw, 3.375rem);
  line-height: 1.48;
  letter-spacing: -0.0675rem;
  color: #ffffff;
  margin: 0;
}

/* 오른쪽 설명 */
.overview-description {
  max-width: 1115px;
  flex: 1;
}

.overview-description p {
  font-weight: 500;
  font-size: clamp(1.3rem, 1.3vw, 1.375rem);
  line-height: 1.82;
  letter-spacing: -0.0275rem;
  color: #fbfbfb;
  margin: 0;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* 개별 카드 - aspect-ratio로 비율 유지 */
.overview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 396 / 549; /* 원본 카드의 가로:세로 비율 */
  overflow: hidden;
}

/* 카드 배경 이미지 */
.card-background {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.95;
}

/* 카드 콘텐츠 */
.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 10.1%; /* 40px/396px = 10.1% */
}

/* 카드 번호 */
.card-number {
  font-family: "Craftwork Grotesk", sans-serif;
  position: absolute;
  left: 2.2%;
  top: 1.8%;
  font-weight: 900;
  font-size: clamp(1rem, 1.3vw, 1.5rem); 
  color: #1b1b1b;
}

/* 로고 영역 */
.card-logos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 -2.53%; /* -10px/396px */
  padding-top: 10%; /* 20px/549px */
}

.card-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.46% 0%; /* 30px/549px, 10px/396px */
  min-height: 20.04%;
}

.card-logo-item img {
  cursor: pointer;    
  width: 100%;          
  max-width: 321px;  
  max-height: 34px;  
  height: auto;          
}

.inpsyt-logo,
.wisebox-logo,
.school-logo {
  max-height: 50px !important;
}
 .campus-logo {
  max-height: 40px !important;
 }

.nursing-logo {
  max-width: 222px !important;
}

/* 로고 사이 점선 */
.card-logo-divider {
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    #2b2b2b 0,
    #2b2b2b 8px,
    transparent 8px,
    transparent 16px
  );
  margin: 0;
}

/* 카드 라벨 */
.card-label {
  font-weight: 700;
  font-size: clamp(1.125rem, 1.5vw, 1.875rem); /* 30px를 기준으로 반응형 */
  color: #ffffff;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
  position: absolute;
  bottom: clamp(20px, 2vw, 40px);
  right: 0;
}

/* Services Section (출판사업 부문) */
.services-section {
  padding: clamp(40px, 6vw, 100px);
}

.services-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 75px;
  height: 100%;
}

/* 상단 영역: 헤더 + 탭 */
.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

/* 상단 왼쪽: 섹션 헤더 */
.services-header {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.19vw, 20px);
  flex: 1;
}

.services-label {
  font-family: "Craftwork Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.25vw, 1.5rem);
  line-height: normal;
  letter-spacing: 0.03rem;
  color: #1b1b1b;
}

.services-title {
  font-weight: 700;
  font-size: clamp(32px, 6.67vw, 3.375rem);
  line-height: clamp(40px, 7vw, 5rem);
  letter-spacing: -0.0675rem;
  color: #1b1b1b;
  margin: 0;
}

/* 상단 오른쪽: 탭 메뉴 */
.service-tabs {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  flex-shrink: 0;
  height: clamp(120px, 12.5vw, 155px); 
  overflow: hidden; 
  position: relative;
  width: clamp(375px, 37.5vw, 540px);
}

/* 1570px 이하에서 높이 조정 */
@media (max-width: 1570px) {
  .service-tabs {
    height: clamp(120px, 12.5vw, 131px);
  }
}

.tab-arrow {
  margin-top: 10px;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 10px; /* JS 계산에서 이 간격도 포함해야 함 */
  font-family: "Craftwork Grotesk", sans-serif;
  font-size: clamp(1.125rem, 1.42vw, 1.5rem);
  line-height: normal;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-item {
  cursor: pointer;
  color: #1E1E1E;
  font-weight: 400;
  opacity: 0.1; 
  transition: opacity 0.3s; /* 부드러운 전환 */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 탭 아이콘/텍스트 반응형 */
.tab-item svg {
  display: none; /* PC에서 아이콘 숨김 */
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.tab-item svg path {
  fill: #1E1E1E !important;
}

.tab-text {
  display: inline; /* PC에서 텍스트 표시 */
}

/* 활성 상태 (GSAP가 필요할 때 붙여줌) */
.tab-item.active-state {
  font-weight: 700;
  opacity: 1;
}

/* 하단 영역: 콘텐츠 + 이미지 */
.services-bottom {
  display: flex;
  gap: 30px;
  align-items: flex-end;
}

/* 하단 왼쪽: 설명 콘텐츠 */
.service-content-wrapper {
  width: clamp(300px, 20.5vw, 346px);
  flex-shrink: 0;
  position: relative;
  height: auto;
  min-height: clamp(240px, 17.8vw, 300px);
}

.service-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.56vw, 30px);
  opacity: 0; 
  visibility: hidden; 
}

.service-content-active {
  opacity: 1;
  visibility: visible;
}

.service-title {
  font-weight: 700;
  font-size: clamp(24px, 2.75vw, 2.75rem);
  line-height: 5rem;
  letter-spacing: -0.0675rem;
  color: #1b1b1b;
  margin: 0;
}

.service-description {
  font-size: 20px;
}

/* 하단 오른쪽: 이미지 영역 (가로 스크롤) */
.service-images {
  flex: 1;
  position: relative;
  height: clamp(306px, 32.7vw, 550px);
  display: flex;
}

.service-image {
  position: absolute;
  top: 0;
  width: clamp(800px, 50%, 968px);
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* about section */
.about-section {
  display: flex;
  gap: 5px;
  padding: 10px;
}

/* 왼쪽 패널: 텍스트 콘텐츠 */
.about-content-panel {
  position: relative;
  flex: 1;
  width: 50%;
  height: 100%;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
}

/* 배경 그라데이션 효과 */
.about-bg-gradient {
  position: absolute;
  pointer-events: none;
}

/* 첫 번째 그라데이션 (상단 왼쪽에서 오른쪽 아래로) */
.about-bg-gradient-1 {
  top: -205px;
  right: -480px;
  width: 1000px;
  height: 800px;
  transform: rotate(55deg);
  flex-shrink: 0;
  background: linear-gradient(84deg, #2C8BFF 38.65%, rgba(0, 0, 0, 0.00) 77.14%);
  opacity: 0.7;
  filter: blur(150px);
}

/* 두 번째 그라데이션 (하단) */
.about-bg-gradient-2 {
  left: -200px;
  bottom: -550px;
  width: 1000px;
  height: 800px;
  transform: rotate(-155deg);
  background: linear-gradient(86deg, #2CFBFF 98.05%, rgba(0, 0, 0, 0.00) 78.42%);
  opacity: 0.5;
  filter: blur(150px);
}

/* 내부 콘텐츠 컨테이너 */
.about-inner {
  position: relative;
  top: clamp(80px, 10vw, 160px);
  left: 50%;
  width: 637px;
  max-width: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 2.7vw, 48px);
  transform: translateX(-50%);
  z-index: 1;
}

/* 아이콘 */
.about-icon {
  position: relative;
  width: 41px;
  height: 45px;
  flex-shrink: 0;
}

.about-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.06));
}

/* 고정된 아이콘 */
.about-icon-static {
  z-index: 1;
}

.about-icon-rotate {
  z-index: 2;
  animation: rotate360 10s linear infinite;
}

/* 360도 회전 애니메이션 */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-icon svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.06));
}

/* 메인 콘텐츠 영역 */
.about-main-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 140px;
}

.about-main-content .about-divider {
  margin-bottom: 100px;
}

/* 메인 타이틀 */
.about-title {
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 2.75rem);
  line-height: normal;
  color: #fefefe;
  margin: 0;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
}

/* 메인 설명 */
.about-description {
  font-weight: 400;
  font-size: clamp(16px, 1.37vw, 1.375rem);
  line-height: 2.5rem;
  color: #eeeeee;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
}

.about-description p {
  margin: 0 0 40px 0;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-description strong {
  font-weight: 700;
  color: #eeeeee;
}

/* 미래 비전 영역 */
.about-future {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 미래 비전 타이틀 */
.about-future-title {
  font-weight: 700;
  font-size: clamp(2.25rem, 2.6vw, 2.75rem);
  line-height: normal;
  color: #fefefe;
  margin: 0;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
  opacity: 0.6;
}

/* 미래 비전 설명 */
.about-future-description {
  font-weight: 400;
  font-size: clamp(1.125rem, 1.37vw, 1.375rem);
  line-height: 2.5rem;
  color: #eeeeee;
  opacity: 0.4;
  margin: 0;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
}

/* 오른쪽 패널: 비주얼 이미지 */
.about-visual-panel {
  position: relative;
  flex: 1;
  width: 50%;
  height: 100%;
  background: #0d0d0d;
  border-radius: 8px;
  overflow: hidden;
}

/* 비디오 스타일 (GSAP에서 위치 제어) */
.about-visual-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-visual-video:last-child {
  object-position: left;
}

/* news section */
.news-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 70px;
  padding: clamp(65px, 5vw, 100px);
}

.news-section-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  gap: 70px;
}

.news-header {
  padding-top: 70px;
  width: 100%;
  max-width: 288px;
}

/* 1570px 이하에서 max-width 조정 */
@media (max-width: 1570px) {
  .card-logo-item img {
    max-width: 220px;
    max-height: 29px;
  }
  
  .inpsyt-logo,
  .wisebox-logo,
  .school-logo {
    max-height: 40px !important;
  }
   .campus-logo {
    max-height: 35px !important;
   }
  
  .nursing-logo {
    max-width: 180px !important;
  }

  .news-header {
    max-width: 173px;
  }
}

.news-title {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.3;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.news-description {
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.8;
  color: #3e3e3e;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
}

.news-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  position: relative;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #cecece;
  padding: clamp(30px, 4vw, 70px);
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
}
.news-card:last-child {
  padding-right: 0;
}

.news-image {
  width: 100%;
  height: fit-content;
  border-radius: 8px;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* 호버 효과: 이미지 확대 + 포커싱 */
.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 17px;
  border: 1px solid #0d0d0d;
  border-radius: 100px;
  font-family: "Craftwork Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1vw, 16px);
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: #0d0d0d;
  width: fit-content;
}

.news-card-title {
  font-weight: 700;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.45;
  color: #1e1e1e;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
}

.news-excerpt {
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: #3e3e3e;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
  transition: text-decoration 0.3s ease;
}

/* news-card 링크 스타일 */
.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

/* 호버 효과: news-excerpt에 밑줄 */
.news-card-link:hover .news-excerpt {
  text-decoration: underline;
}

.news-card-link:hover {
  text-decoration: none;
}

/* 호버 효과: news-category 배경색/글씨색 변경 */
.news-card:hover .news-category {
  background-color: #0d0d0d;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.news-category {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* partners section */
.partners-section {
  position: relative;
  height: 100% !important;
  background: linear-gradient(to bottom, #f5f9ff, #fff6f6);
  border-radius: 8px;
  padding: 110px 0 150px;
  overflow: hidden;
}

.partners-title {
  font-weight: 700;
  font-size: clamp(32px, 6.67vw, 3.375rem);
  line-height: 1.2;
  color: #1e1e1e;
  text-align: center;
  margin-bottom: 100px;
}

/* 파트너사 슬라이더 컨테이너 */
.partners-slider {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

/* PC: 3줄 표시, 모바일: 숨김 */
.partners-slider-pc {
  display: flex;
}
.partners-slider-mobile {
  display: none;
}

/* 각 트랙(줄) */
.partners-track {
  display: flex;
  width: 100%;
}

/* 슬라이드 그룹 */
.partners-slide {
  display: flex;
  gap: 25px;
  flex-shrink: 0;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  margin-right: 25px;
}

/* 첫 번째 줄: 왼쪽으로 이동 */
.partners-track-1 .partners-slide {
  animation-name: slideLeft;
}

/* 두 번째 줄: 오른쪽으로 이동 (엇갈림 효과) */
.partners-track-2 .partners-slide {
  animation-name: slideRight;
  animation-duration: 45s;
}

/* 세 번째 줄: 왼쪽으로 이동 */
.partners-track-3 .partners-slide {
  animation-name: slideLeft;
  animation-duration: 50s;
}

/* 호버 시 애니메이션 일시정지 */
.partners-track:hover .partners-slide {
  animation-play-state: paused;
}

/* 파트너사 로고 컨테이너 */
.partner-logo {
  background: #ffffff;
  border-radius: 100px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 368px;
  height: 100px;
  flex-shrink: 0;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* 왼쪽으로 이동하는 애니메이션 */
@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 오른쪽으로 이동하는 애니메이션 */
@keyframes slideRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1200px) {
.about-description p br {
  display: none;
}
}

@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
  .hero-section {
    padding: 6px;
  }
  .hero-background {
    left: 6px;
    right: 6px;
    top: 6px;
    bottom: 6px;
  }
  .hero-main {
    padding: 0 30px;
  }

  .liquid-button {
    left: 30px;
  }
  .values-content {
    flex-flow: column;
    align-items: flex-start;
  }

  .values-visual{
    inset: auto 200px 44% auto;
  }

  .tree-wrapper {
    transform: translate(-50%, -50%) scale(0.65);
  }

  .decoration-container {
    transform: scale(0.65);
    right: -405px;
    top: -503px;
  }

  .decoration-container2 {
    transform: scale(0.65);
    right: -415px;
    top: -432px;
  }

  #values-2 .flowerTop1, #values-2 .flowerMasked1 {
    top: -40px;
    left: 4px;
  }

  #values-2 .flowerTop2, #values-2 .flowerMasked2 {
    top: 7px;
    left: 150px;
  }

  #values-3 .bookTop {
    top: 118px;
    left: -70px;
    clip-path: none;
  }

  #values-3 .butterflyTop, #values-3 .butterflyMasked {
    top: -120px;
    left: 173px;
  }

  .values-description {
    margin-top: 20px;
  }

  .overview-content { 
    padding: 60px 30px;
  }
  .overview-header {
    gap: 52px;
  }
  
  /* 1024px 이하: 카드 2개씩 전환 효과 (flex) */
  .overview-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
  }
  .overview-card {
    width: 36%;
    height: 100%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  /* 3,4번 카드는 1,2번 위치에 정확히 겹쳐서 배치 */
  .overview-card:nth-child(3),
  .overview-card:nth-child(4) {
    position: absolute;
    width: 36%;
    opacity: 0;
    visibility: hidden;
  }
  .overview-card:nth-child(3) {
    top: 0;
    left: calc((100% - 72% - 20px) / 2);
  }
  .overview-card:nth-child(4) {
    top: 0;
    right: calc((100% - 72% - 20px) / 2);
  }
  /* 두 번째 그룹 활성화 시 */
  .overview-cards.show-second .overview-card:nth-child(1),
  .overview-cards.show-second .overview-card:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }
  .overview-cards.show-second .overview-card:nth-child(3),
  .overview-cards.show-second .overview-card:nth-child(4) {
    opacity: 1;
    visibility: visible;
  }

  .card-number {
    left: 2.6%;
    top: 2.1%;
    font-size: clamp(1.1rem, 1.3vw, 1.5rem);
  }

  .card-label {
    font-size: clamp(1.3rem, 2.5vw, 1.875rem);
  }

  .services-section {
    padding: 40px;
  }
  .services-title {
    font-size: 2.75rem;
  }
  .service-tabs {
    height: 140px; 
  }
  .service-content {
    gap: 0px;
  }
  .service-description {
    font-size: 16px !important;
  }

  .about-inner {
    top: 80px;
    width: auto;
    gap: 36px;
  }

  .tab-arrow {
    margin-top: 8px;
  }
  .about-future-title {
    font-size: 2.25rem;
  }
  .about-future-description {
    font-size: 1.125rem;
  }

  /* news-section: header를 맨 위로 */
  .news-section {
    flex-direction: column;
  }
  .news-section-box {
    flex-direction: column;
  }
  .news-header {
    order: -1;
    max-width: 400px;
    padding-top: 0;
  }
  .news-header p br {
    display: none;
  }
  .news-title {
    margin-bottom: 10px;
  }
  .news-card:first-child {
    border: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .mobile-break { display: inline !important; }

  .hero-main {
    padding: 0 20px;
  }

  /* Contact 버튼: 텍스트 → 아이콘 전환 */
  .contact-text {
    display: none;
  }
  .contact-icon {
    display: inline;
  }

  .liquid-button {
    padding: 23px;
    left: 20px;
    bottom: 20px;
  }

  .tree-wrapper {
    transform: translate(-50%, -50%) scale(0.6);
  }

  .decoration-container {
    transform: scale(0.6);
    right: -445px;
  }

  .decoration-container2 {
    transform: scale(0.6);
  }

  .services-top {
    gap: 0;
  }

  .overview-description {
    display: none;
  }
  .overview-cards {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .overview-card {
    width: 100%;
    max-width: 400px;
    min-width: 315px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  /* 2,3,4번 카드는 1번 위치에 겹쳐서 배치 */
  .overview-card:nth-child(2),
  .overview-card:nth-child(3),
  .overview-card:nth-child(4) {
    position: absolute;
    width: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
  }
  /* 각 카드 활성화 시 */
  .overview-cards.show-card-2 .overview-card:nth-child(1) { opacity: 0; visibility: hidden; }
  .overview-cards.show-card-2 .overview-card:nth-child(2) { opacity: 1; visibility: visible; }
  
  .overview-cards.show-card-3 .overview-card:nth-child(1),
  .overview-cards.show-card-3 .overview-card:nth-child(2) { opacity: 0; visibility: hidden; }
  .overview-cards.show-card-3 .overview-card:nth-child(3) { opacity: 1; visibility: visible; }
  
  .overview-cards.show-card-4 .overview-card:nth-child(1),
  .overview-cards.show-card-4 .overview-card:nth-child(2),
  .overview-cards.show-card-4 .overview-card:nth-child(3) { opacity: 0; visibility: hidden; }
  .overview-cards.show-card-4 .overview-card:nth-child(4) { opacity: 1; visibility: visible; }

  .card-logo-item img {
    max-height: 32px;
  }

  .inpsyt-logo,
  .wisebox-logo,
  .school-logo {
    max-height: 40px !important;
  }

  .nursing-logo {
    max-width: 173px;
  }

  .card-number {
    font-size: 1.4rem;
    left: 2.5%;
    top: 2%;
  }
  .card-label {
    font-size: 1.9rem;
    bottom: 31px;
  }

  .services-container {
    gap: 30px;
  }
  .services-section {
    padding: 82px 30px 0;
}

  .services-header {
    min-width: 256px;
  }

  .tab-item svg {
    display: inline; 
  }
  .tab-text {
    display: none;
  }
  .tab-list {
    flex-direction: column;
    gap: 12px;
  }

  .service-tabs {
    width: auto;
  }
  
  .services-bottom {
    display: grid;
    gap: 20px;
  }
  .service-images {
    grid-row: 1;
    overflow: visible;
    height: 306px;
  }
  .service-image {
    width: 530px !important;
    height: 306px !important;
    border-radius: 8px;
  }
  .service-content-wrapper {
    grid-row: 2;
  }

  .about-section {
    flex-direction: column;
  }

  .about-content-panel,
  .about-visual-panel {
    width: 100%;
  }

  .about-icon {
    width: 30px;
    height: 32px;
  }

  .about-inner {
    top: 60px;
    gap: 20px;
        max-width: calc(100% - 40px);
  }

  .about-main-content {
    gap: 20px;
    margin-bottom: 101px;
  }

  .about-description {
    line-height: 1.9rem;
  }

  .about-description p {
    margin: 0 0 20px 0;
  }

  /* 모바일용 배경 그라데이션 - PC 대비 크기/위치 조정 */
  .about-bg-gradient-1 {
    top: -100px;
    right: -150px;
    width: 500px;
    height: 400px;
    transform: rotate(55deg);
    opacity: 0.6;
    filter: blur(80px);
  }

  .about-bg-gradient-2 {
    left: -100px;
    bottom: -200px;
    width: 500px;
    height: 400px;
    transform: rotate(-155deg);
    opacity: 0.4;
    filter: blur(80px);
  }

  .news-section {
    height: auto !important;
    min-height: auto !important;
  }

  .news-section-box {
    gap: 40px;
  }

  .news-grid {
    flex-direction: column;
    width: 100%;
  }

  .news-grid .news-card {
    max-width: 400px;
    width: 100%;
    margin: auto;
    border-top: 1px solid #cecece;
    border-left: none;
    padding: 50px 0;
  }

  .news-grid .news-card:last-child {
    padding: 50px 0 30px;
  }

  .partners-section {
    padding: 60px 20px 70px;
    margin: 0 10px;
    width: calc(100% - 20px) !important;
  }

  .partners-title {
    margin-bottom: 53px;
  }

  .partners-slider-pc {
    display: none;
  }
  .partners-slider-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* 모바일 트랙 애니메이션 */
  .partners-track-m1 .partners-slide {
    animation-name: slideLeft;
    animation-duration: 35s;
  }
  .partners-track-m2 .partners-slide {
    animation-name: slideRight;
    animation-duration: 38s;
  }
  .partners-track-m3 .partners-slide {
    animation-name: slideLeft;
    animation-duration: 40s;
  }
  .partners-track-m4 .partners-slide {
    animation-name: slideRight;
    animation-duration: 42s;
  }
  .partners-track-m5 .partners-slide {
    animation-name: slideLeft;
    animation-duration: 45s;
  }

  .partner-logo {
    height: 80px;
  }
  .partner-logo img {
    height: 24px;
  }
}

@media (max-width: 480px) {
  .values-visual{
    inset: auto 200px 47% auto;
  }

  .tree-wrapper {
    transform: translate(-50%, -50%) scale(0.55);
  }

  .decoration-container {
    transform: scale(0.5);
    right: -467px;
    top: -465px;
  }

  .decoration-container2 {
    transform: scale(0.55);
    right: -445px;
    top: -390px;
  }

  #values-2 .flowerTop1, #values-2 .flowerMasked1 {
    top: -40px;
    left: 4px;
  }

  #values-2 .flowerTop2, #values-2 .flowerMasked2 {
    top: 7px;
    left: 150px;
  }
  #values-3 .bookTop {
    top: 118px;
    left: -70px;
    clip-path: none;
  }

  #values-3 .butterflyTop, #values-3 .butterflyMasked {
    top: -120px;
    left: 173px;
  }

  .card-number {
    font-size: 1.2rem;
    left: 2.5%;
    top: 2%;
  }
  .card-label {
    font-size: 1.6rem;
    bottom: 24px;
  }

  .services-top {
    gap: 0;
  }

  .services-header {
    min-width: auto;
  }

  .services-title {
    font-size: 32px;
  }

  .news-section {
    padding: 65px 20px 0;
  }

  .partners-title {
    text-align: left;
  }
}
