/* 기본 스타일 및 리셋 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --mainColor: #19735b;
  --mainFont: "Pretendard", sans-serif;
  --scrollBtnColor: #e3913a;
  --bottomBorderColor: rgba(212, 212, 212, 0.4);
}

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

body {
  font-family: var(--mainFont);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  /* max-width: 500px; */
  margin: 0 auto;
  position: relative;
}

.mobile{
  display: none;
}

.pc{
  display: block;
}

/* 공지 바 스타일 */
.notice-bar {
  width: 100%;
  height: 40px;
  background-color: #2c2c2c;
  color: #f5e6c8;
  text-align: center;
  padding: 8px 12px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.notice-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%,
    transparent 100%
  );
  animation: noticeShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes noticeShine {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

.notice-bar-text {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 헤더 스타일 */
.site-header {
  color: white;
  text-align: center;
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  height: fit-content;
  transition: top 0.1s ease-out;
}

.site-header.scrolled {
  top: 0;
}

.header-container {
  background: var(--mainColor);
  padding: 5px 15px;
  position: relative;
  display: flex;
  justify-content: space-between;
  min-height: 65px;

  .header_phone {
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;

    .phone_wrap {
      > a {
        position: relative;
        display: flex;
        align-items: center;
        text-decoration: none;
        cursor: pointer;
        color: rgb(255, 230, 0);
        font-size: 1.5rem;
        > i {
          color: white;
          margin-right: 8px;
          animation: scaleAnimation1 0.8s infinite ease-in-out;
          font-size: 1.4rem;
        }
      }
    }
  }
}

.cpl-header{
  top: 0 !important;
}
/*.header-container End*/

/* 애니메이션 */
@keyframes scaleAnimation1 {
  0% {
    transform: scale(1) rotate(-3deg);
  }
  50% {
    transform: scale(1.1) rotate(15deg); /* 살짝 커졌다가 */
  }
  100% {
    transform: scale(1) rotate(-3deg); /* 원래 크기로 */
  }
}

.logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  > a {
    display: flex;
    align-items: center;
  }
}

.logo img {
  height: 29px;
  max-width: 100%;
}

.site-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* 섹션 공통 스타일 */
section {
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
}

.image-section {
  width: 95%;
  margin: 0 auto;
  margin-top: 100px;
}

/* 이미지 섹션 스타일 */
.image-section img {
  width: 100%;
  display: block;
}

.unit-title {
  text-align: center;
  margin-bottom: 20px;
}

.community-image {
  width: 100%;
  overflow: hidden;
}

.community-image img {
  display: block;
  width: 100%;
  margin: 0 auto 30px;
  transition: transform 0.3s ease;
}

/* 위치 및 규모 섹션 스타일 */
.location-section {
  padding-bottom: 0px;
}

.location-info-container {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.info {
  width: 100%;
  overflow: hidden;

  > div {
    > h2 {
      text-align: center;
      margin-top: 100px;
      margin-bottom: 20px;
      font-size: 3rem;
    }
  }
}

.info img {
  width: 95%;
  display: block;
  height: auto;
  margin: 0 auto;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 100px 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  align-items: center;
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(88, 77, 227, 0.15);
}

.info-icon {
  color: var(--mainColor);
  font-size: 1.8rem;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text {
  flex-grow: 1;
  padding-left: 5px;
}

.info-text h3 {
  color: var(--mainColor);
  font-size: 1.2rem;
  font-weight: 600;
}

.info-text p {
  color: #707070;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
}

/* 폼 섹션 스타일 */
.form-section {
  padding: 2rem 1rem 4rem 1rem;
  background-color: #fff;
}

.form-container {
  display: flex;
    width: 80%;
  padding-top: 10px; /* 폼 컨테이너 상단에 약간의 패딩 추가 */
  margin: 0 auto;
  gap: 100px;
}

.inquiry-img{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  > img{
    width: 50%;
    height: auto;
  }
}

.form-container > * {
  flex: 1;
  min-width: 0;
}

.form-container h2 {
  /* 기존 h2 스타일 유지하되 margin 조정 */
  margin-bottom: 1.2rem;
}

.input-group {
  margin-bottom: 1rem;
  width: 100%;
}

.input-group label {
  display: block;
  font-weight: 500;
}

.input-group input[type="text"],
.input-group input[type="tel"],
.input-group input[type="date"],
.input-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.input-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
  padding-right: 2rem;
}

.more_privacy {
  background: none;
  text-decoration: underline;
  border: none;
  cursor: pointer;
}

.privacy {
  margin-bottom: 1.5rem;
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;

  > input {
    width: 14px;
    height: 14px;
  }
}

.privacy-header label {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-left: 0.5rem;
  flex-grow: 1;
}

#privacyToggle {
  background: none;
  border: none;
  color: #838383;
  cursor: pointer;
  font-size: 0.8rem;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: var(--mainColor);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  color: white;
  text-align: center;
}

.left-btn {
  background-color: var(--mainColor);
}

.right-btn {
  background-color: #e6e2e4;
  color: #1f1f1f;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  align-items: center;
}

.right-btn-call {
  font-size: 0.8rem;
  color: #000d13;
}

/* 하단 고정 버튼 */
.bottom-buttons {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  background-color: var(--mainColor);
  height: 70px;
  z-index: 1000;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 1);
  overflow: hidden;
}

.btn {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
}

.btn:not(:last-child){
  border-right: 1px solid var(--bottomBorderColor);
}

.btn:not(:first-child):not(:last-child){
  background-color: #ffffff;
  color: #333;
}

.btn::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 25%;
  height: 300%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(-16deg);
}

.right-btn::before {
  animation-delay: 1.5s;
}

/* 말풍선 스타일 */
.promotion-bubble {
  position: fixed;
  bottom: 70px;
  left: calc(50% - 90px);
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #333;
  padding: 7px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  z-index: 1001;
  animation: promotionPulse 2s infinite ease-in-out;
  border: 2px solid #ffd700;
  opacity: 1;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.promotion-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffa500;
}

.promotion-bubble .small-text {
  font-size: 0.75rem;

  font-weight: 600;
  margin-bottom: 2px;
  opacity: 0.8;
}

.promotion-bubble .highlight-text {
  font-size: 1rem;
  font-weight: bold;
  color: #332604;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  overflow: hidden;
  position: relative;
  width: 140px;
}

.promotion-bubble .roulette-text {
  position: absolute;
  width: 100%;
  text-align: center;
  animation: rouletteSlide 8s infinite linear;
  white-space: nowrap;
  opacity: 0;
}

.promotion-bubble .roulette-text:nth-child(1) {
  animation-delay: 0s;
}
.promotion-bubble .roulette-text:nth-child(2) {
  animation-delay: 2s;
}
.promotion-bubble .roulette-text:nth-child(3) {
  animation-delay: 4s;
}
.promotion-bubble .roulette-text:nth-child(4) {
  animation-delay: 6s;
}

/* 룰렛 애니메이션 */
@keyframes rouletteSlide {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  12.5% {
    transform: translateY(0);
    opacity: 1;
  }
  25% {
    transform: translateY(0);
    opacity: 1;
  }
  37.5% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(-30px);
    opacity: 0;
  }
}

/* 말풍선 애니메이션 */
@keyframes promotionPulse {
  0% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  }
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  }
}

/* 화면 크기에 따른 말풍선 위치 조정 */
@media (min-width: 501px) {
  .promotion-bubble {
    left: calc(50% - 125px);
  }
}

/* 실시간 방문자 표시 말풍선 */
.visitor-bubble {
  position: fixed;
  bottom: 70px;
  left: 45px;
  max-width: 150px; /* 말풍선 최대 너비 제한 */
  width: auto;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: floating 3s infinite ease-in-out;
  opacity: 0; /* 초기에는 투명하게 설정 */
  visibility: hidden; /* 초기에는 보이지 않게 설정 */
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease; /* 부드러운 전환 효과 */
}

.visitor-bubble.visible {
  opacity: 1;
  visibility: visible;
}

.visitor-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);

  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(0, 0, 0, 0.7);
}

/* 화면 크기에 따른 말풍선 위치 조정 */
@media (min-width: 501px) {
  .visitor-bubble {
    left: calc(50% - 170px); /* 화면 중앙에서 왼쪽으로 이동 */
  }
}

/* 둥둥 떠다니는 애니메이션 추가 */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}



@media (min-width: 501px) {
  body {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .bottom-buttons {
   
  }
}

/* 페이지 하단 여백 (하단 버튼 높이만큼) */
body {
  padding-bottom: 60px;
}

/* 푸터 스타일 */
footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
}

.footer-logo img {
  height: 44px;
  max-width: 100%;
}

.footer-info{
    opacity: 0.8;
    margin-top: 2%;
}

.footer-copyright {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
.completion-content {
  padding: 4rem 1.5rem;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon-success {
  font-size: 5rem;
  color: var(--mainColor);
  margin-bottom: 1.5rem;
}

.completion-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.completion-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.return-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background-color: var(--mainColor);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
  border: none;
}

/* 섹션 1: 비디오 섹션 스타일 */
.video-section {
  position: relative;
  height: calc(100vh - 100px);
  width: 100%;
  overflow: hidden;
}

.video-container {
  position: absolute;
  background: #030023;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 비디오 대체 이미지 스타일 */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/section1.png");
  background-size: cover;
  background-position: center;
  z-index: 2;
  opacity: 1;
  transition: opacity 1.5s ease;
}

.video-placeholder.fade-out {
  opacity: 0;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 1;
}

.video-wrapper.loaded {
  opacity: 1;
}

/* YouTube 컨테이너 스타일 */
.youtube-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 350%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.youtube-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.youtube-video.active {
  opacity: 1;
  z-index: 2;
}

/* 스마트폰 세로 모드에서 적절한 비율 유지 */
@media (max-aspect-ratio: 16/9) {
  .youtube-video {
    width: 300%;
    height: 100%;
  }
}

/* 스마트폰 가로 모드 또는 태블릿에서 적절한 비율 유지 */
@media (min-aspect-ratio: 16/9) {
  .youtube-video {
    width: 100%;
    height: 300%;
  }
}

/* 비디오 */
/* YouTube 컨테이너 스타일 */
.youtube_video3 {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* fade-in 효과를 주고 싶다면 아래 활용
.youtube_video2 iframe {
    opacity: 0;
}
.youtube_video2 iframe.active {
    opacity: 1;
}
*/
/* 비디오 end */

/* 두산위브 youtube */

.youtube-bg3 {
  position: relative;
  height: 100%;
  width: 100%;
}
.youtube_video3 iframe {
  background-color: #fff;
}

/* End */

/* 나머지 기존 스타일은 유지 */
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%; /* 그라데이션 높이 조절 가능 */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  z-index: 4;
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.bottom-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 4;
}

.bottom-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 방향별 애니메이션 정의 - info-item에도 적용 */
.info-item[data-direction="top"],
.gallery-item[data-direction="top"] {
  transform: translateY(30px);

  opacity: 0;
  transition:
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 1.5s ease;
  will-change: transform, opacity;
}

.info-item[data-direction="right"],
.gallery-item[data-direction="right"] {
  transform: translateX(-30px);
  opacity: 0;
  transition:
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.5s ease;
  will-change: transform, opacity;
}

.info-item[data-direction="bottom"],
.gallery-item[data-direction="bottom"] {
  transform: translateY(-30px);
  opacity: 0;
  transition:
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.5s ease;
  will-change: transform, opacity;
}

.info-item[data-direction="left"],
.gallery-item[data-direction="left"] {
  transform: translateX(30px);
  opacity: 0;
  transition:
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.5s ease;
  will-change: transform, opacity;
}

.info-item[data-direction="center"] {
  transform: scale(0.95);
  opacity: 0;

  transition:
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.5s ease;
  will-change: transform, opacity;
}

.gallery-item[data-direction="center"] {
  transform: scale(0.95);
  opacity: 0;

  transition:
    transform 2.8s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2.8s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 1s ease;
  will-change: transform, opacity;
}

.info-item.animated,
.gallery-item.animated {
  transform: translate(0, 0) scale(1);
  opacity: 1;
  backface-visibility: hidden; /* 애니메이션 최적화를 위한 레이어 생성 */
  -webkit-font-smoothing: antialiased; /* 폰트 렌더링 개선 */
}

/* 프로모션 박스 스타일 */
.promotion-box {
  background-color: #f8f4ff;
  border: 1px solid #d9c8ff;
  border-radius: 10px;
  padding: 10px;
  margin: 20px auto 10px;
  max-width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.promotion-title {
  font-size: 1.5rem;
  white-space: nowrap;
  font-weight: 900;
  color: var(--mainColor);
  margin-bottom: 30px;
  text-align: center;
  animation: titleBounce 2s infinite ease-in;
}

@keyframes titleBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.promotion-text {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.3;
  font-weight: 700;
}

.promotion-text span {
  border-bottom: #ff0000 3px dotted;
}

.promotion-text strong {
  color: var(--mainColor);
  font-weight: 700;
}

.promotion-note {
  font-size: 0.6rem;
  color: #666;
  text-align: center;
  margin-top: 15px;
}
@keyframes borderScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px 0;
  }
}

/* 슬라이더 페이지네이션 스타일 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 10px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.pagination-bar {
  height: 4px;
  background-color: #919191;
  flex-grow: 1;
  margin: 0 5px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 30px;
}

.pagination-bar.active {
  background-color: var(--mainColor);
  height: 5px;
}

/* 메인 타이틀 스타일 */
.main_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 15px 0;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black;

  .main_text1 {
    line-height: 1;
    font-size: 2rem;
  }
  .main_text2 {
    display: inline-block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;

    .main_big {
      font-size: 4.2rem;
      font-weight: 900;
      color: #ffd700;
    }

    .small {
      display: block;
      font-size: 18px;
      font-weight: 400;
      color: #fff;
      line-height: 0.8rem;
    }
  }
}

/* 히어로 타이틀 스타일 */
.hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  width: 100%;
  text-wrap: nowrap;
  transition: top 0.8s ease-in-out;
  gap: 150px;
}

.hero-title.moved {
  top: 50%;
}

/* 텍스트만 빛나는 효과 */
.pulse-text {
  background-color: var(--mainColor);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-block;
  border: 2px solid #ffffff;
  position: relative;
  overflow: visible;
  margin-bottom: 10px;
}

.pulse-text .highlight {
  color: #ffd700;
  font-weight: 700;
  animation: textGlowPulse 2.5s ease-in-out infinite;
}

/* 텍스트 글로우 펄스 애니메이션 */
@keyframes textGlowPulse {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  50% {
    color: #f8fae4;
    text-shadow:
      0 0 5px rgba(255, 175, 0, 0.8),
      0 0 15px rgba(255, 155, 0, 0.5);
  }
}

.sparkle-text {
  text-shadow:
    -2px 2px 2px #000000,
    2px 2px 2px #000000,
    2px -2px 2px #000000,
    -2px -2px 2px #000000;
  font-size: 1.8rem;
  font-weight: 800;
  position: relative;
  color: #ffffff;
}

/* 유리 반짝임 애니메이션 */
@keyframes glassShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 반짝이는 글로우 효과 */
@keyframes sparkleGlow {
  0% {
    text-shadow:
      0 0 2px rgba(255, 221, 0, 0.8),
      0 0 2px rgba(255, 221, 0, 0.6),
      0 0 2px rgba(255, 221, 0, 0.4),
      2px 2px 1px rgba(0, 0, 0, 0.5);
  }
  50% {
    text-shadow:
      0 0 2px rgba(255, 221, 0, 0.8),
      0 0 2px rgba(255, 221, 0, 0.6),
      0 0 2px rgba(255, 215, 0, 0.4),
      2px 2px 1px rgba(0, 0, 0, 0.5);
  }
  100% {
    text-shadow:
      0 0 2px rgba(255, 221, 0, 0.8),
      0 0 2px rgba(255, 221, 0, 0.6),
      0 0 2px rgba(255, 221, 0, 0.4),
      2px 2px 1px rgba(0, 0, 0, 0.5);
  }
}

/* 반짝이는 점들 애니메이션 */
@keyframes sparklePoints {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.2);
  }
  40% {
    opacity: 0;
    transform: scale(1);
  }
  60% {
    opacity: 1;
    transform: scale(1.2);
  }
  80% {
    opacity: 0;
    transform: scale(1.2);
  }
}

/* 스티키 헤더 스타일 */
.sticky-header {
  width: 100%;
  background-color: rgb(26, 26, 26, 0.88);
  color: white;
  padding: 5px 10px;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateX(0) translateY(-100%);
}

.sticky-header.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0%) translateY(0);
}

.sticky-title-container {
  text-align: center;
}

.sticky-title {
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.sticky-subtitle {
  font-size: 0.8rem;
  font-weight: 200;
  margin-top: 2px;
}

/* POPUP 버튼 스타일 */
.popup-button {
  position: fixed;
  top: 130px; /* 스티키 헤더 아래 위치 */
  right: 0;
  z-index: 101;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  max-width: 500px;
  width: 60px;
  transform-origin: right center;
}

.popup-button:hover {
  transform: translateX(-5px);
}

.popup-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #4d55b2;
  border-radius: 20px 0 0 20px;
  z-index: -1;
}

.popup-button::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  width: 50px;
  height: 40px;
  background-color: #4d55b2;
  z-index: -1;
  transition: width 0.3s ease;
}

.popup-button span {
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-left: 5px;
  line-height: 1.1;
}

/* 모바일 최적화 */
@media (min-width: 501px) {
  .popup-button {
    right: calc(50% - 250px); /* 화면 중앙 기준으로 오른쪽 배치 */
  }
  .popup-button::after {
    width: 20px;
  }
  .popup-button:hover:after {
    transition: width 0.3s ease;
    width: 25px;
  }
}

/* 최상단 이동 버튼 스타일 */
.scrollBtn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  right: 15px;
  bottom: 90px;
  gap: 12px;
  z-index: 99;
}


/* 버튼 공통 스타일 */
.scrollBtn {
  display: none; /* 기본적으로 숨김 */
  z-index: 99;
  height: 50px;
  width: 50px;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--scrollBtnColor);
  color: white;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.scrollBtn:hover {
  background-color: #555;
}

/* 혜택 리스트 스타일 */

.benefits-list {
  position: relative;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
  align-items: center;
  justify-content: center;
}

.benefits-list::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 40px 60px, #fff 100%, transparent),
    radial-gradient(1px 1px at 20px 50px, #fff 100%, transparent),
    radial-gradient(2px 2px at 30px 100px, #fff 100%, transparent),
    radial-gradient(2px 2px at 40px 60px, #fff7d1 100%, transparent),
    radial-gradient(2px 2px at 110px 90px, #fff 100%, transparent),
    radial-gradient(1px 1px at 80px 120px, #fff7d1 100%, transparent),
    radial-gradient(1.5px 1.5px at 160px 40px, #fff 100%, transparent),
    radial-gradient(1px 1px at 210px 60px, #fff 100%, transparent),
    radial-gradient(1.5px 1.5px at 260px 30px, #fff7d1 100%, transparent),
    radial-gradient(1px 1px at 300px 70px, #fff 100%, transparent),
    radial-gradient(2px 2px at 320px 100px, #fff 100%, transparent);
  background-size: 300px 200px;
  background-repeat: repeat;
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: -1;
  animation: movingStars 15s linear infinite;
}

@keyframes movingStars {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px -200px;
  }
}

@keyframes backgroundPulse {
  0% {
    background: radial-gradient(
      circle,
      rgba(4, 22, 71, 0.8) 0%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }
  100% {
    background: radial-gradient(
      circle,
      rgba(25, 43, 94, 0.8) 0%,
      rgba(4, 12, 36, 0.9) 100%
    );
  }
}

.benefits-list.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-text {
  width: 500px;
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(19, 18, 17, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  animation: benefitPulse 2s infinite ease-in-out;
}

.benefit-text.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 혜택 텍스트 펄스 애니메이션 */
@keyframes benefitPulse {
  0% {
    box-shadow: 0 3px 5px rgba(19, 18, 17, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 5px 10px rgba(19, 18, 17, 0.5);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 3px 15px rgba(19, 18, 17, 0.3);
    transform: scale(1);
  }
}

/* 혜택 텍스트 내 강조 텍스트를 위한 스타일 추가 */
.benefit-text .emphasis {
  font-family: var(--mainFont);
  font-weight: 800;
  color: #dc0000; /* 빨간색으로 설정 */
  font-size: 1.5rem; /* 기존 텍스트보다 약간 크게 설정 */
}

.benefit-text .small {
  font-size: 0.8rem; /* 강조 텍스트보다 작게 설정 */
  color: #0000009b; /* 흰색으로 설정 */
  font-weight: 500; /* 중간 굵기로 설정 */
}

.benefit-text strong {
  font-size: 1.2rem; /* 강조 텍스트와 동일한 크기 */
  font-weight: 700; /* 강조 텍스트와 동일한 굵기 */
}

.tab-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.primary-tab-navigation {
  gap: 10px;
  margin: 0 0 14px;
}

.secondary-tab-navigation {
  margin-bottom: 12px;
}

.tab-button {
  background-color: #f5f5f5;
  border: none;
  padding: 10px 6px;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  width: calc(100% / 6);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.primary-tab-button {
  width: calc(50% - 20px);
  padding: 12px 10px;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid #d9cfc8;
  border-radius: 999px;
  background-color: #fff;
}

.secondary-tab-button {
  width: 50%;
}

.tab-button:hover {
  background-color: #e9e9e9;
}

.tab-button.active {
  background-color: var(--mainColor);
  color: white;
  border-bottom: 2px solid var(--mainColor);
}

.primary-tab-button.active {
  border-color: var(--mainColor);
}

.parent-tab-content {
  width: 100%;
}

.parent-tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

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

.tab-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

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

/* 모바일 최적화 */
@media (max-width: 500px) {
  body {
    width: 100%;
  }
  .info {
  width: 100%;
  overflow: hidden;

  > div {
    > h2 {
      text-align: center;
      margin-top: 40px;
      margin-bottom: 20px;
      font-size: 1.5rem;
    }
  }
}
  .form-container{
    display: block;
    width: 100%;
  }
  .mobile{
    display: block;
  }
  .hero-title {
  display: block;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  width: 100%;
  text-wrap: nowrap;
  transition: top 0.8s ease-in-out;
}
.main_text {
  .main_text1 {
      line-height: 1.6;
      font-size: 1.3rem;
      .main_text2{
          display: block;
          font-size: 2.8rem;
        }
    }
}
.main_big{
  font-size: 3rem;  
}
.benefit-text{
  width: 350px;
  font-size: 1.1rem;
}
.benefit-text .emphasis{
  font-size: 1.2rem;
}

.image-section{
   margin-top: 30px;
}

.pc{
  display: none;
}

.image-section{
   width: 100%;
}

.tab-button{
  width: calc(100% / 3);
}

.location-details{
  margin: 20px 10px 0;
}
}