* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*---------------------- 전역 이미지 반응형 설정 ---------------------- */
img {
    max-width: 100%; /* 부모 요소의 너비를 넘지 않음 */
    width: auto; /* 이미지의 기본 너비를 유지 */
    height: auto; /* 비율을 유지하며 크기 조정 */
    min-width: 100px; /* 최소 너비 설정 * << 이거 건드리면 작아짐*/
    object-fit: contain; /* 이미지가 왜곡되지 않도록 설정 */
    display: block; /* 불필요한 여백 제거 */
    margin: 0 auto; /* 이미지 가운데 정렬 */
        min-width: unset; /* 최소 너비 제한 해제 */
        will-change: transform, opacity;
transform: translateZ(0);
backface-visibility: hidden;
}

video, .animated {
  will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

.fade-in {
  will-change: transform, opacity;
  opacity: 0;
   transform: translateY(30px);
}
/*---------------------- 전역 이미지 반응형 설정 ---------------------- */
/*--------------------------------- Font ---------------------------- */

h3 {
  color: #333;
  margin: 0;
  text-align: center; /* 중앙 정렬 */
  font-weight: 600;; /* 기본 두께로 설정 */
  font-size: 1.2rem;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

h4 {
  margin-bottom: 1rem;
  font-weight: 600; /* 기본 두께로 설정 */
  font-size: 1rem;
  color: #555;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

p {
  font-size: .9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

a{
  font-family: 'Montserrat', sans-serif; /* 제목에 Montserrat 폰트 적용 */
}
/*--------------------------------- Font ---------------------------- */
.parallax {
    position: relative;  /* 부모 요소는 relative */
    overflow: hidden;  /* 불필요한 튕김 방지 */
    width: 100%;
    height: auto; /* 높이를 자동으로 조정 */
    min-height: 300px; /* 최소 높이 지정 (이미지가 안 보이는 경우 대비) */
}

.parallax img {
    position: relative;  /* 기존 absolute에서 relative로 변경 */
    width: 100%;
    height: auto;
    display: block;  /* inline 요소로 인한 여백 제거 */
    transform: translateY(0);  /* 초기 위치 */
}


.fade-in-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;  /* 흰색 배경 */
    z-index: 9999;  /* 모든 요소 위에 위치 */
    opacity: 1;  /* 처음에는 완전히 보임 */
    transition: opacity 0.6s ease-in-out;  /* 페이드 아웃 효과 */
    pointer-events: none;  /* 클릭 방지 */
}

/*------------------------------ Header ------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease; /* 부드러운 이동 효과 */
}

/* 헤더 숨김 상태 */
.header.hidden {
    transform: translateY(-100%); /* 위로 숨김 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

header h1 a {
    text-decoration: none;
    color: #7d7d7d;
    font-weight: 900;
    letter-spacing: -3.5px;
    transition: color 0.3s;
}

header h1 a:hover {
    color: #555;
}

header nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: #ccc;
    font-weight: normal;
    transition: color 0.3s, font-weight 0.3s;
}

/* 활성화된 상태 */
header nav a.active {
    color: #000;
    font-weight: bold;
}

header nav a:hover {
    color: #555;
}
/*------------------------------ Header ------------------------------ */



/*-----------------------------01.Main_Intro-----------------------------*/
.container-intro{

 align-items: center;
 max-width: 900px;
 margin: 0 auto;
}

    .intro-section {
      flex-direction: row;
      justify-content: space-between; /* 좌우 정렬 */
      align-items: center;
      text-align: center;
      gap: 1rem;
  }

  .intro-section .left {
      flex: 1;
      max-width: 100%;
  }

  .intro-section .title-image {
         max-width: 80%; /* 작은 화면에서 Left 로고 크기 조정 */
         min-width: 100px; /* 최소 너비 설정 */
     }

     .intro-section .right img {
         max-width: 60%; /* 작은 화면에서 Right 로고 크기 조정 */
         min-width: 80px; /* 최소 너비 설정 */
     }

  .intro-section .project-details {
      text-align: left;
  }

/* Intro 섹션의 이미지만 크기 제한 */
.intro img {
    max-width: 70%; /* 부모 요소의 70% 너비로 제한 */
    height: auto; /* 비율 유지 */
}


/* Intro Section Styling */
.intro-section {
  display: flex;  /* 내부 요소(.left, .right)를 가로 정렬 */
  flex-direction: row;  /* 가로 방향 배치 */
  justify-content: space-between;  /* 좌우 끝으로 배치 */
    align-items: flex-start;
    gap: 3rem; /* 좌우 간격 증가 */
    margin: 3rem 0;
    padding: 0 1.5rem; /* 양옆 여백 */
    font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

.intro-section .left {
    max-width: 600px; /* 최대 너비 제한 */

}

.intro-section .title-image {
    max-width: 30%; /* Left 로고 크기 */
    text-align: left; /* 왼쪽 정렬 */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem; /* 로고와 설명 사이 간격 증가 */
}

.intro-section .description_left {
    max-width: 500px; /* 설명의 최대 너비 */
    margin: 0 auto; /* 수평 가운데 정렬 */
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left; /* 텍스트 중앙 정렬 */

}

.intro-section h3 {
font-size: 1.0rem;
line-height: 1.5; /* 줄 간격 */

}

.intro-section .right {
  width: auto; /* 내용물 크기에 맞춤 */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 왼쪽 정렬 */
      max-width: 200px; /* 최대 너비 제한 */
}

.intro-section .right img {
    max-width: 55%; /* Right 로고 크기 */
    height: auto;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -.5rem; /* 로고와 설명 사이 간격 */
}

.intro-section .description_right {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0; /* 위쪽에 여백 추가 */
  line-height: 2; /* 줄 간격 */
  color: #555; /* 텍스트 색상 */
  font-size: .9rem; /* 글자 크기 */
  font-weight: 600;
  max-width: 160px;
  text-align: left; /* 텍스트 중앙 정렬 */
}
/*-----------------------------01.Main_Intro-----------------------------*/


/*------------------------------ 02.Main_Platfromcando-------------------------*/
/* 전체 섹션 중앙 배치 */
.platform-section {
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
  font-weight: 700;
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    background-color: #f9f9f9; /* 연한 회색 배경 */
    flex-direction: column; /* 세로로 배치 */
    padding: 5rem 0rem 1.5rem 1.5rem;
}

/* 텍스트들을 나란히 배치 */
.platform-container {
    display: flex;
    align-items: center; /* 세로로 중앙 정렬 */
    justify-content: center; /* 두 박스가 가로로 중앙 정렬되도록 */
    gap: .7rem; /* 두 박스 간의 간격 */
}

/* 'Platform can do' 텍스트를 감싸는 400px 크기의 박스 (우측에 위치) */
.platform-box {
    width: 400px;
    height: auto;
    /*border: 1px solid #ccc; /* 박스 경계 */
    padding: 0px;
    display: flex;
    justify-content: flex-end; /* 텍스트를 박스 우측에 붙임 */
    margin-left: -9rem;
}

/* 'Platform can do' 텍스트 스타일 */
.platform-text {
    font-size: 2rem;
    font-weight: 400;
    white-space: nowrap; /* 텍스트가 한 줄로 나가도록 설정 */
    font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
    font-weight: 400;

}

/* 'Break Down Communication Barriers' 텍스트를 감싸는 600px 크기의 박스 (좌측에 위치) */
.typing-box {
    width: 600px; /* 너비 600px로 설정 */
    height: auto;
    /*border: 1px solid #ccc; /* 박스 경계 */
    padding: 0px;
    display: flex;
    justify-content: flex-start; /* 텍스트를 박스 좌측에 붙임 */
}

/* 'Break Down Communication Barriers' 타이핑 효과 */
.typing-effect {
    font-size: 2rem;
    font-weight: 400;
    color: #f4067d; /* 타이핑 텍스트 색상 */
    font-style: italic; /* 이탤릭체 */
    display: inline-block;
    width: 0; /* 처음에는 텍스트가 보이지 않음 */
    position: relative;
    white-space: nowrap; /* 텍스트가 한 줄로 나가도록 설정 */
    font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
    font-weight: 700;

}

/* 타이핑 커서 효과 */
.typing-effect::after {
    content: "|";
    display: inline-block;
    width: 5px;
    margin-left: .1px;
    opacity: 1;
    animation: blink 0.8s infinite; /* 커서 깜빡임 */
}

/* 깜빡이는 효과 */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


/* 새로운 섹션 스타일 */
.project-description {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    height: auto;
    background-color: #f9f9f9; /* 연한 회색 배경 */
    padding: 2rem 0rem 1.5rem 1.5rem;
}

/* 텍스트 컨테이너 */
.description-container {
    width: 100%; /* 적당한 너비 설정 */
    max-width: 800px; /* 최대 너비 */
    text-align: left; /* 왼쪽 정렬 */
}

/* 각 문단 스타일 */
.description-container p {

    margin-bottom: 1rem;
}


/*------------------------------ 02.Main_Platfromcando-------------------------*/
.line {
  background-color: #f9f9f9; /* 배경색 */
  padding-top: 3rem;
  padding-bottom: 3rem;

}

.custom-line1 {
    width: 800px;
    height: 1px; /* 선 두께 */
    background-color: #cccccc; /* 선 색상 */
    margin: 0rem auto; /* 위아래 여백 추가 & 중앙 정렬 */
    border: none;
}

/*------------------------------ 03.Main_Background-------------------------*/
/* 전체 배경 섹션을 화면 중앙에 배치 */
.background {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    padding: 2rem 1.5rem 0rem 1.5rem;
    background-color: #f9f9f9; /* 배경색 */
}

/* 텍스트와 이미지 컨테이너 */
.background-container {
    width: 80%; /* 적당한 너비 설정 */
    max-width: 800px; /* 최대 너비 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
}

/* 이미지 스타일 */
.background-image img {
    width: 100%; /* 이미지가 부모 컨테이너 너비에 맞게 확장 */
    height: auto; /* 비율에 맞게 이미지 크기 조정 */
    margin-top: 5rem; /* 이미지 위쪽에 여백 추가 */
}

/* h3, h4, p 텍스트 왼쪽 정렬 */
.background-container h3{
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-bottom: 2rem;
}
.background-container h4,
.background-container p {
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-bottom: 1rem;
}

/*------------------------------ 03.Main_Background-------------------------*/
/* 전체 배경 섹션을 화면 중앙에 배치 */
.bonding-section {
    display: flex;
    flex-direction: column; /* 세로 배치 */
    justify-content: center; /* 세로 중앙 정렬 */
    align-items: center; /* 가로 중앙 정렬 */
    padding: 2rem 0rem 1.5rem 1.5rem; /* 여백 설정 */
    background-color: #f9f9f9; /* 배경색 */
}

/* 'How do we make people bond again?' 텍스트를 감싸는 div */
.top-text-container {
    margin-top: 2rem;
    margin-bottom: 2rem; /* 텍스트 간격 설정 */
}

.top-text-container h3 {
    margin-bottom: 2rem; /* 텍스트 간격 설정 */
    font-style: italic;

}

/* 텍스트와 이미지 컨테이너 */
.solution-section {
    width: 80%; /* 적당한 너비 설정 */
    max-width: 800px; /* 최대 너비 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
}

/* h3, h4, p 텍스트 왼쪽 정렬 */
.solution-section h3 {
    text-align: left; /* 왼쪽 정렬 */
    margin-top: 1.5rem;
    margin-bottom: 2rem; /* h3와 그 아래 텍스트 간의 여백 */
}

.solution-section h4 {
    text-align: left; /* 왼쪽 정렬 */
    margin-bottom: 1rem; /* h4와 p 간의 여백 */
}

.solution-section p {
    text-align: left; /* 왼쪽 정렬 */
    margin-bottom: 2rem; /* h4와 p 간의 여백 */
    max-width: 700px;
}

.solution-section-p2 {
    text-align: center; /* 텍스트 중앙 정렬 */
    margin-top: 2rem; /* 위쪽 여백 */
    width: 100%; /* 전체 너비 사용 */
    display: flex; /* Flexbox 사용 */
    justify-content: center; /* 가로 중앙 정렬 */

}


/* 이미지 스타일 */
.background-image2 img {
    width: 100%; /* 이미지가 부모 컨테이너 너비에 맞게 확장 */
    height: auto; /* 비율에 맞게 이미지 크기 조정 */
    margin-top: 2rem; /* 이미지 위쪽에 여백 추가 */
    max-width: 730px;
}

/* top-text-container2를 화면 중앙에 배치 */
.top-text-container2 {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    width: 100%; /* 부모 컨테이너에 맞게 확장 */
    text-align: center; /* 텍스트 중앙 정렬 */
    margin-top: 1rem; /* 위쪽 여백 */
    font-style: italic;

}

.top-text-container2 h4 {
    text-align: center; /* 텍스트 중앙 정렬 */
    margin: 0; /* 여백 제거 */
}



/* 이미지 스타일 */

/*------------------------------ 04.Main_Background2-------------------------*/
/*------------------------------ 05.Main_system-------------------------*/


.circle-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem 0rem 1.5rem;
  margin-top: 4rem;
}

.diagram-container {
  display: flex;
}

.outer-circle {
  position: relative;
  width: 410px;  /* 더 큰 원의 크기 절반 */
  height: 410px; /* 더 큰 원의 크기 절반 */
  border-radius: 50%;
  border: 1px solid #939393; /* 더 큰 원의 border */
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-container {
  position: relative;
  width: 150px;  /* 절반 크기 */
  height: 150px; /* 절반 크기 */
}

.big-circle {
    position: absolute;
    width: 300px;  /* 큰 원 크기 300px */
    height: 300px; /* 큰 원 크기 300px */
    border-radius: 50%;
    border: 1px solid #939393; /* 큰 원에 border만 남김 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 큰 원의 정확한 중앙 배치 */
    background-color: transparent; /* 배경 제거 */
}
.inner-small-circle {
  position: absolute;
  width: 170px; /* 가운데 원 크기 170px */
  height: 170px; /* 가운데 원 크기 170px */
  background-color: #CCCCFF;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 큰 원의 중앙에 배치 */
}

.center-text2 {
  position: absolute;  /* 원에 대해 절대적인 위치를 설정 */
  font-size: 20px; /* 텍스트 크기 */
  color: white; /* 텍스트 색상 */
  text-align: center; /* 텍스트 중앙 정렬 */
  top: 50%; /* 부모 요소의 세로 중앙 */
  left: 50%; /* 부모 요소의 가로 중앙 */
  transform: translate(-50%, -50%); /* 정확한 중앙 정렬 */
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

.small-circles {
  position: relative; /* `absolute`에서 `relative`로 변경 */
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-circle {
  position: absolute;
  width: 110px; /* 절반 크기 */
  height: 110px; /* 절반 크기 */
  background-color: #ffffff;
  border-radius: 50%;
  transform-origin: 50% 50%; /* 원의 중심을 기준으로 회전 */
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #939393; /* 더 큰 원의 border */
}

.small-circle:nth-child(1) {
  transform: rotate(0deg) translateY(-125px); /* 간격 조정 */
}

.small-circle:nth-child(2) {
  transform: rotate(120deg) translateY(-125px); /* 간격 조정 */
}

.small-circle:nth-child(3) {
  transform: rotate(240deg) translateY(-125px); /* 간격 조정 */
}

.circle-text {
  transform: none; /* 회전 방지 */
  position: relative; /* 텍스트가 회전하지 않도록 위치를 고정 */
  text-align: center; /* 텍스트 중앙 정렬 */
  writing-mode: horizontal-tb; /* 텍스트가 항상 수평 유지 */
  display: flex;
  justify-content: center;
  align-items: center; /* 텍스트를 원의 가운데에 배치 */
}

/* 각 텍스트에 회전값 반영 */
.small-circle:nth-child(1) .circle-text {
  transform: rotate(-0deg); /* 첫 번째 원 텍스트 수평 유지 */
}

.small-circle:nth-child(2) .circle-text {
  transform: rotate(-120deg); /* 두 번째 원 텍스트 회전 반대로 */
}

.small-circle:nth-child(3) .circle-text {
  transform: rotate(-240deg); /* 세 번째 원 텍스트 회전 반대로 */
}

/* KICKOFF Platform 텍스트 */
.kickoff-text {
  position: absolute;
  top: -10px; /* 큰 원의 위쪽에 텍스트 배치 */
  left: 50%;
  transform: translateX(-50%); /* 중앙 정렬 */
  background-color: white; /* 흰색 배경 */
  padding: 5px 10px; /* 텍스트 주위에 여백 추가 */
  z-index: 3; /* 텍스트가 큰 원의 border와 겹치도록 설정 */
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */

}

/* 설명 부분 */
.system-description {
  width: 450px; /* 설명 너비 */
  padding: 10px;
  border-radius: 5px;
  margin-left: 5rem;
  margin-right: 5rem;
}

.system-description h3 {
  text-align: left; /* h3를 왼쪽 정렬 */
  margin-top: 0; /* 필요시 위쪽 여백 제거 */
  margin-bottom: 3rem;
}
/*------------------------------ 05.Main_system-------------------------*/
/*------------------------------ 06.Main_system2-------------------------*/
.system2 {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    padding: 2rem 1.5rem 0rem 1.5rem;

}

/* 텍스트와 이미지 컨테이너 */
.system2-container{
    width: 80%; /* 적당한 너비 설정 */
    max-width: 800px; /* 최대 너비 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
}



/* h3, h4, p 텍스트 왼쪽 정렬 */
.system2 h3{
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-top: 5rem;
}



.outer-diagram {
    width: 920px; /* 700px + 40px 좌우 오프셋 */
    height: 280px; /* 200px + 40px 상하 오프셋 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* 가로 중앙 정렬 */
    position: relative; /* 내부 위치 조정 */
    margin-top: -2rem;
    margin-bottom: 15rem;

}

.diagram2 {
    width: 880px;
    height: 150px;
    background-color: #F7C7DF;
    border-radius: 100px; /* 둥근 모서리로 만듬 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: relative; /* 오프셋된 둥근 사각형을 가운데 배치하기 위해 relative 위치 설정 */
    font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */

}



.circle {
    width: 150px;
    height: 150px;
    background-color: #F4067D;
    border-radius: 50%; /* 원 모양으로 만듬 */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative; /* 선을 원 아래에 배치할 수 있도록 */
}

.left {
    margin-left: 0;
}

.center {
    margin-left: 0;
}

.right {
    margin-right: 0;
}

/* 각 원 아래에 수직선 추가 */
.circle::after {
    content: '';
    position: absolute;
    width: 1px; /* 선의 굵기 */
    height: 60px; /* 선의 길이 */
    background-color: #F4067D; /* 선의 색상 (원과 동일한 색상) */
    top: 100%; /* 원 바로 아래에 위치하도록 */
    left: 50%; /* 원의 중앙에 위치시키기 위해 50%로 설정 */
    transform: translateX(-50%); /* 선이 정확히 가운데 오도록 */
}

/* 선 끝의 원 추가 */
.circle::before {
    content: '';
    position: absolute;
    width: 8px; /* 원의 크기 */
    height: 8px; /* 원의 크기 */
    background-color: #F4067D; /* 원의 색상 (선과 동일) */
    border-radius: 50%; /* 원 모양으로 만들기 */
    bottom: -60px; /* 원이 선 끝에 위치하도록 */
    left: 50%; /* 원의 중앙에 위치하도록 */
    transform: translateX(-50%); /* 원이 정확히 선 끝에 오도록 */
}

/* 바깥쪽 둥근 사각형 */
.outer-diagram::before {
    content: '';
    position: absolute;
    width:  920px;  /* 700px + 40px 좌우 오프셋 */
    height: 180px; /* 200px + 40px 상하 오프셋 */
    border: 1px solid #F4067D; /* 테두리 색상 */
    border-radius: 120px; /* 둥근 모서리로 만듬 */
    top: 50%; /* 부모 요소의 중앙에 배치 */
    left: 50%; /* 부모 요소의 중앙에 배치 */
    transform: translate(-50%, -50%); /* 정중앙에 위치시키기 위해 이동 */
}

.outer-diagram h4{
border-bottom: 1px solid #333333; /* 2px 두께의 빨간색 밑줄 */
display: inline; /* 텍스트가 한 줄에 있도록 설정 */
padding-bottom: .5rem;
}

.text {
    position: absolute;
    width: 250px;
    text-align: left;
    font-size: 14px;
    margin-top: 10px; /* 텍스트가 원과 선에 겹치지 않도록 여백 추가 */
}

.left-text {
    top: 280px; /* 왼쪽 원 아래 */
    left: 110px; /* 왼쪽에 위치 */
}

.center-text {
    top: 280px; /* 가운데 원 아래 */
    left: 445px; /* 가운데 원 아래 */
}

.right-text {
    top: 280px; /* 오른쪽 원 아래 */
    left: 780px; /* 오른쪽 원 아래 */
}
/*------------------------------ 06.Main_system2-------------------------*/
/*------------------------------ 07.Main_Brand1-------------------------*/
/* 전체 배경 섹션을 화면 중앙에 배치 */
.brand {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    padding: 6rem 1.5rem 0rem 1.5rem;
    background-color: #1e1c29; /* 배경색 */


}

/* 텍스트와 이미지 컨테이너 */
.brand-container {
    width: 100%; /* 적당한 너비 설정 */
    max-width: 800px; /* 최대 너비 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
}



/* 이미지 스타일 */
.brand-image img {
    width: 90%; /* 이미지가 부모 컨테이너 너비에 맞게 확장 */
    height: auto; /* 비율에 맞게 이미지 크기 조정 */
    margin-top: 5rem; /* 이미지 위쪽에 여백 추가 */
}



/* h3, h4, p 텍스트 왼쪽 정렬 */
.brand-container h3{
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-bottom: 2rem;
    color: #f8f8f8;
}
.brand-container h4,
.brand-container p {
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-bottom: 1rem;
    color: #e8e8e8;
}
/*------------------------------ 07.Main_Brand1-------------------------*/
/*------------------------------ 08.Main_Brand2-------------------------*/

.brand-container2 {

}

.brand-image2 img {
    width: 80%; /* 이미지가 부모 컨테이너 너비에 맞게 확장 */
    height: auto; /* 비율에 맞게 이미지 크기 조정 */
    margin-top: 2rem; /* 이미지 위쪽에 여백 추가 */
}


.brand-container2 h3{
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-bottom: 2rem;
    color: #f8f8f8;
}
.brand-container2 h4,
.brand-container2 p {
    text-align: left; /* 텍스트를 왼쪽 정렬 */
    margin-bottom: 1rem;
    color: #e8e8e8;
}

.brand2{
  margin-top: 5rem;
}
/*------------------------------ 08.Main_Brand2-------------------------*/
/*------------------------------ 09.Main_app-------------------------*/
.apptitle {
    display: block; /* flex 제거 */
    padding: 6rem 1.5rem 1.5rem 1.5rem;
    background-color: #1e1c29;
}

.apptitle-container {
    width: 100%;
    max-width: 900px; /* 최대 너비 유지 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
    margin: 0 auto; /* 가운데 정렬 */
}


.apptitle-container h3 {
    text-align: left;
    margin-bottom: 2rem;
    color: #f8f8f8;
}

.apptitle-container h4 {
    text-align: left;
    margin-bottom: 1rem;
    color: #e8e8e8;
}

.apptitle-container p {
    text-align: left;
    color: #e8e8e8;
    max-width: 600px;
}

.app {
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 1rem 0rem 1.5rem 1.5rem;
          background-color: #1e1c29;
      }

      .app-container {
          width: 100%;
          max-width: 1200px;
          text-align: left;
      }

      /* 메인 이미지 (중앙 정렬) */
      .app-image-main1 {
          display: flex;
          justify-content: center;
          margin: 0 auto; /* 가운데 정렬 */
          margin-top: 3rem;
          width: 750px;
          height: auto;
      }

      .app-image-main2 {
          display: flex;
          justify-content: center;
          margin: 0 auto; /* 가운데 정렬 */
          margin-top: 1rem;
          width: 1000px;
          height: auto;
      }

      .app-image-main3 {
          display: flex;
          justify-content: center;
          margin: 0 auto; /* 가운데 정렬 */
          margin-top: 5rem;
          width: 950px;
          height: auto;
      }
/*------------------------------ 09.Main_app-------------------------*/
/*------------------------------ 10.Main_space-------------------------*/
.spacetitle {
    display: block; /* flex 제거 */
    padding: 9rem 1.5rem 0rem 1.5rem;
    background-color: #1e1c29;
}

.spacetitle-container {
    width: 100%;
    max-width: 900px; /* 최대 너비 유지 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
    margin: 0 auto; /* 가운데 정렬 */
}


.spacetitle-container h3 {
    text-align: left;
    margin-bottom: 2rem;
    color: #f8f8f8;
}

.spacetitle-container h4 {
    text-align: left;
    margin-bottom: 1rem;
    color: #e8e8e8;
}

.spacetitle-container p {
    text-align: left;
    color: #e8e8e8;
    max-width: 500px;
}


.space {
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 0rem 1.5rem 5rem 1.5rem;
          background-color: #1e1c29;
      }



      .space-image-main img {
          width: 1100px;
          height: auto;
      }

      .space-description {
          max-width: 550px;
          margin: 2rem auto;
      }
      .space-description h4, .space-description p {
        text-align: center;
            color: #e8e8e8;
      }

      .space-image-grid {
          display: flex;
          justify-content: center;
          gap: 1rem;
          margin-top: 5rem;
      }

.space-image-grid h4{
  color: #e8e8e8;
  margin-top: 1rem;
  margin-bottom: .5rem;
}
.space-image-grid p{
  color: #e8e8e8;
  margin-top: .7rem;
}

      .space-item {
          text-align: left;
      }
      .space-item img {
          width: 400px;
          height: auto;
      }
      .space-item hr {
          width: 100%;
          height: 1px;
          background-color: #e8e8e8;
          border: none;
          margin: 0rem 0;
      }

      .space-image-secondary {
          text-align: center;
          margin-top: 3rem;
      }
      .space-image-secondary img {
          width: 600px;
          height: auto;
          margin-top: 7rem;
          margin-bottom: 3rem;
      }

      .space-image-secondary p {
        color: #e8e8e8;
      }

      .space-text-grid {
          display: flex;
          justify-content: space-between;
          gap: 4rem;
          margin-top: 6rem;
          max-width: 1100px;
      }
      .space-text-left, .space-text-right {
          width: 50%;
          text-align: left;
      }

      .space-text-grid hr {
          width: 380px;
          height: 1px;
          background-color: #e8e8e8;
          border: none;
          margin: 0rem 0;
      }

      .space-text-grid h4{
        color: #e8e8e8;
        max-width: 400px;
      }

      .space-text-grid p{
        color: #e8e8e8;
        margin-top: 1rem;
        max-width: 400px;
      }

/*------------------------------ 10.Main_space-------------------------*/
/*------------------------------ 11.Main_product-------------------------*/
.producttitle {
    display: block; /* flex 제거 */
    padding: 10rem 1.5rem 0rem 1.5rem;
    background-color: #1e1c29;
}

.producttitle-container {
    width: 100%;
    max-width: 900px; /* 최대 너비 유지 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
    margin: 0 auto; /* 가운데 정렬 */
}


.producttitle-container h3 {
    text-align: left;
    margin-bottom: 2rem;
    color: #f8f8f8;
}

.producttitle-container h4 {
    text-align: left;
    margin-bottom: 1rem;
    color: #e8e8e8;
}

.producttitle-container p {
    text-align: left;
    color: #e8e8e8;
    max-width: 800px;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1c29;
    padding: 3rem 1.5rem 5rem 1.5rem;
}
.product-image-main img {
    width: 700px;
    height: auto;
}
.product-description {
    text-align: center;
    max-width: 800px;
    margin: 0rem auto;
}

.product-description p{
  margin-top: -3.5rem;
  color: #f8f8f8;

}
.product-image-secondary img {
    width: 1200px;
    height: auto;
    margin-top: 10rem;
}
/*------------------------------ 11.Main_product-------------------------*/
/*------------------------------ 12.Main_buddie1-------------------------*/
.buddie {
    width: 100%;
    margin: 0 auto; /* 화면 중앙 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* 각 div 간격 조절 가능 */
    background-color: #1e1c29;
    padding: 8rem 1.5rem 5rem 1.5rem;
}

.buddie h4, .buddie p{
  color: #f8f8f8;
}

/* 왼쪽 정렬되는 div */
.buddie1 {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left;
}

.buddie1 img{
  max-width: 70px;
  margin: 0rem;
  margin-left: 1rem;
}




.buddie2 {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left;
}

.buddie3 {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left;
    margin-top: 4rem;
}

/* 왼쪽 이미지와 텍스트 그룹 */
.buddie3-left {
    display: flex;
    flex-direction: column;
    align-items: center; /* 이미지와 텍스트 중앙 정렬 */
    text-align: center;
}

.buddie3 img {
    max-width: 70px;
    margin: 0rem;
    margin-left: 1rem;
}

/* 이미지 아래에 위치하는 추가 텍스트 */
.buddie-subtext {
   color: #f8f8f8;
    text-align: center; /* 중앙 정렬 */
    margin-top: 0.5rem; /* 이미지와 간격 조절 */
    font-size: 0.8rem;
    margin-left: 1rem;


}


/* 중앙 정렬되는 이미지 4개 */
.buddie-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* 이미지 간격 조절 가능 */
    margin-top: 1rem;

}

/* 개별 이미지 스타일 */
.buddie-item {
    text-align: center;
}

.buddie-item img {
    width: 220px;
    height: auto;
    margin-bottom: .5rem;
}

/*------------------------------ 12.Main_buddie1-------------------------*/
/*------------------------------ 13.Main_buddie2-------------------------*/
.buddiecustom-section {
    width: 100%;
    position: relative;
    padding: 1rem 1.5rem 2rem 1.5rem;
    background-color: #1e1c29;
    display: flex;
    justify-content: center;
}

/* 이미지 중앙 정렬 */
.buddiecustom-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.buddiecustom-image-container img {
    width: 100%;
    max-width: 1200px;
    height: auto;
}


/*------------------------------ 13.Main_buddie2-------------------------*/
/*------------------------------ 14.Main_linie1-------------------------*/
.linie {
    width: 100%;
    margin: 0 auto; /* 화면 중앙 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1c29;
    padding: 3rem 1.5rem 3rem 1.5rem;
}

.linie h4, .linie p{
  color: #f8f8f8;
}

.linie1 {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left;
    margin-bottom: 2rem;
}

.linie1 img{
  max-width: 70px;
  margin: 0rem;
  margin-left: 1rem;
}


.linie2 {
    display: flex;
    align-items: center;
    justify-content: center; /* 이미지 중앙 정렬 */
    width: 1000px;
}

/* linie3: 이미지 중앙 정렬 + 텍스트 아래 배치 */
.linie3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1000px;
    margin-top: 1rem;
}

.linie3-images {
    display: flex;
    justify-content: space-between;
    width: 1000px;
    gap: 1rem; /* 이미지 사이 간격 조절 가능 */
    align-items: center; /* 이미지 높이 동일하게 정렬 */
}

.linie3-images img:first-child {
    width: 65%; /* 왼쪽 이미지는 더 넓게 */
    height: 300px;
    object-fit: cover;
}

.linie3-images img:last-child {
    width: 35%; /* 오른쪽 이미지는 정방형 */
    height: 300px;
    object-fit: cover;
}

/* 텍스트 중앙 정렬 및 이미지 아래 배치 */
.linie3-text {
    text-align: right;
    max-width: 600px;
    align-self: flex-end; /* 화면 오른쪽에 배치 */
    margin-top: 1.5rem; /* 이미지와 간격 조절 */
    margin-right: 1rem;
}
/*------------------------------ 14.Main_linie1-------------------------*/
/*------------------------------ 15.Main_linie2-------------------------*/
.linie-s2 {
    width: 100%;
    margin: 0 auto; /* 화면 중앙 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1c29;
    padding: 3rem 1.5rem 5rem 1.5rem;
}

.linie-s2 h4, .linie-s2 p{
  color: #f8f8f8;
}

.linie4 {
    display: flex;
    align-items: center;
    width: 1000px;
    text-align: left;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.linie5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1000px;
    margin-top: 1rem;
}

.linie5-images {
    display: flex;
    justify-content: space-between;
    width: 1000px;
    gap: 1rem; /* 이미지 사이 간격 조절 가능 */
    align-items: center; /* 이미지 높이 동일하게 정렬 */
}

.linie5-images img:first-child {
    width: 35%; /* 왼쪽 이미지는 더 넓게 */
    height: 300px;
    object-fit: cover;
}

.linie5-images img:last-child {
    width: 65%; /* 오른쪽 이미지는 정방형 */
    height: 300px;
    object-fit: cover;
}

.linie6 {
    display: flex;
    align-items: center;
    width: 1000px;
    text-align: left;
    margin-top: 5rem;
    margin-left: 2rem;
    margin-bottom: 4rem;
}

.linie7 {
    display: flex;
    align-items: center;
    justify-content: center; /* 이미지 중앙 정렬 */
    width: 900px;
}

/*------------------------------ 15.Main_linie2-------------------------*/
/*------------------------------ 16.Main_spotie2-------------------------*/
.spotie {
    width: 100%;
    margin: 0 auto; /* 화면 중앙 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1c29;
    padding: 8rem 1.5rem 3rem 1.5rem;
}

.spotie h4, .spotie p{
  color: #f8f8f8;
}

.spotie1 {
    display: flex;
    align-items: flex-end; /* 요소를 아래쪽 정렬 */
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left; /* 텍스트 왼쪽 정렬 유지 */
    margin-bottom: 2rem;
}


.spotie1 img{
  max-width: 70px;
  margin: 0rem;
  margin-left: 1rem;
}


.spotie2 {
    display: flex;
    align-items: center;
    justify-content: center; /* 이미지 중앙 정렬 */
    width: 1000px;
    margin-bottom: 8rem;
}

.spotie3 {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left;
    margin-bottom: 0rem;
    margin-left: 2rem;
    z-index: 1;
}

.spotie4, .spotie5  {
    display: flex;
    align-items: center;
    justify-content: center; /* 이미지 중앙 정렬 */
}

.spotie4{
  margin-top: -5rem;
  margin-bottom: 10rem;
  max-width: 800px;

}

.spotie5 {
  max-width: 1200px;
  margin-bottom: 10rem;
}

.spotie6 {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 이미지와 텍스트 사이 간격 조절 가능 */
    width: 1000px;
    text-align: left;
    margin-bottom: 0rem;
    margin-left: 2rem;
    z-index: 1;
}
/* 중앙 정렬되는 이미지 4개 */
.spotie-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* 이미지 간격 조절 가능 */
    margin-top: 3rem;
    margin-bottom: 6rem;

}

/* 개별 이미지 스타일 */
.spotie-item {
    text-align: center;
}

.spotie-item img {
    width: 220px;
    height: auto;
    margin-bottom: .5rem;
}


.shot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* 이미지 중앙 정렬 */
    width: 350px;
    margin-bottom: 2rem;
    margin-top: 8rem;
}

/*------------------------------ 16.Main_spotie2-------------------------*/


/*---------------------------BacktoMain--------------------------*/
/* 섹션 정렬 */
.back-to-home {
  background-color: #1e1c29;

    display: flex;
    justify-content: center;
    align-items: center;
padding-top: 1rem;
    text-align: center; /* 가운데 정렬 */

}

/* 정사각형 프레임 */
.grid-icon {
    width: 44px; /* 20px + 20px + 3px 간격 */
    height: 44px; /* 정사각형 프레임 */
    display: grid;
    grid-template-columns: 20px 20px;
    grid-template-rows: 20px 20px;
    gap: 1px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* 네모 기본 스타일 */
.square {
    background-color: #f8f8f8;
    border-radius: 2px;
    transition: height 0.3s ease-in-out;
    position: absolute;
}

/* 초기 네모 크기 및 위치 */
.square-1 { width: 20px; height: 25px; top: 0; left: 0; }  /* 좌측 위 */
.square-2 { width: 20px; height: 15px; top: 0; right: 0; }   /* 우측 위 */
.square-3 { width: 20px; height: 15px; bottom: 0; left: 0; } /* 좌측 아래 */
.square-4 { width: 20px; height: 25px; bottom: 0; right: 0; } /* 우측 아래 */

/* 🟢 호버 시 길이만 변경 (위치는 유지됨) */
.grid-icon:hover .square-1 { height: 15px; }   /* 좌측 위 → 작아짐 */
.grid-icon:hover .square-2 { height: 25px; }  /* 우측 위 → 길어짐 */
.grid-icon:hover .square-3 { height: 25px; }  /* 좌측 아래 → 길어짐 */
.grid-icon:hover .square-4 { height: 15px; }   /* 우측 아래 → 작아짐 */

/* 호버 시 색상 변경 */
.grid-icon:hover .square {
    background-color: #f4067d; /* 어두운 회색 */
}

/*---------------------------BacktoMain--------------------------*/


/* Footer */
footer {
  background-color: #1e1c29;
  padding: 4rem 2rem 0.5rem 2rem; /* 아래쪽 패딩 조정 */
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #333;
    letter-spacing: -1.3px;
}

.footer-content p{
  color: #f8f8f8;
}
