/* 폰트 */
@font-face {
  font-family: "bujang";
  src: url("./fonts/bujang.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "GmarketSansTTFBold";
  src: url("./fonts/GmarketSansTTFBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "GmarketSansTTFMedium";
  src: url("./fonts/GmarketSansTTFMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "GmarketSansTTFLight";
  src: url("./fonts/GmarketSansTTFLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard-Bold";
  src: url("./fonts/Pretendard-Bold.otf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard-Medium";
  src: url("./fonts/Pretendard-Medium.otf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard-Light";
  src: url("./fonts/Pretendard-Light.otf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* 기본 스타일 */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "GmarketSansTTFMedium", "Pretendard-Medium", sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3 {
  font-family: "GmarketSansTTFBold", "Pretendard-Medium";
}

p {
  font-family: "Pretendard-Medium";
}

/* 네비게이션 바 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: white;
  transition: background-color 0.4s ease;
  z-index: 1000;
  display: flex;
  justify-content: center;
  height: 2.5rem;
}

.navbar.active {
  background-color: white;
}

.nav-container {
  display: flex;
  align-items: center;
  width: 80%;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
  font-size: 1.125rem;
  font-weight: bold;
}

.nav-logoimg {
  margin-right: 0.5rem;
}

.nav-logotitle {
  font-family: "GmarketSansTTFMedium", sans-serif;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
  color: #33cc66;
}

.consult-btn {
  background-color: #33cc66;
  color: white;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  border-radius: 6px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.consult-btn:hover {
  color: #fce803;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* 햄버거 메뉴 */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  max-width: 320px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
}

.drawer.active {
  right: 0;
}

.close-drawer {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.drawer-menu {
  list-style: none;
  padding: 3rem 0 0;
  margin: 0;
}

.drawer-menu li {
  margin-bottom: 1.5rem;
}

.drawer-menu a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.drawer-menu a:hover {
  color: #2ecc71;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 공용 섹션 */
.section_home {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.section_home video {
  user-select: none;
  touch-action: manipulation;
  pointer-events: none;
}

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

.video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay.center-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text-hero {
  padding: 3rem 2rem;
  animation: fadeInUp 1s ease-out;
}

.text-hero h1 {
  font-size: 6rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: bold;
  color: #ffffff;
}

.text-hero p {
  font-size: 1.25rem;
  color: #f0f0f0;
}

.text-hero span {
  font-size: 1rem;
  color: #f9f9f9;
  padding-top: 2rem;
  font-family: "GmarketSansTTFLight", sans-serif;
}

.scroll-down {
  display: inline-block;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  animation: bounce 1.5s infinite;
  margin-top: 1rem;
}

.arrow-rotate {
  transform: rotate(270deg);
  font-size: 5rem;
}

.cta-button {
  display: inline-block;
  font-family: "GmarketSansTTFMedium", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: none;
  border: 1px solid #ccc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  margin-top: 1rem;
}

.primary-cta {
  background-color: transparent;
  color: #ccc;
}

.primary-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: white;
}

.secondary-cta {
  background-color: transparent;
  color: #ccc;
}

.secondary-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.marquee-section {
  width: 100%;
  overflow: hidden;
  background-color: #000;
  padding: 1rem 0;
  white-space: nowrap;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  font-size: 1.25rem;
  font-weight: bold;
  color: #2ecc71;
  padding-left: 20rem;
}

.marquee-track span {
  display: inline-block;
  margin-right: 6rem;
}

/* 서비스 섹션 */
.service-section {
  background: #ffffff;
  padding-top: 10rem;
}

.service-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.typography-section {
  background: #ffffff;
  padding-bottom: 2rem;
  margin-bottom: 10rem;
}

.structure-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 80%;
  margin: 0 auto 4rem auto;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.structure-title {
  font-weight: 800;
  background: #caff00;
  color: #000;
  padding: 0.6rem 1.5rem;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.structure-title span {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: #000;
}

.structure-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 80%;
  margin: 0 auto;
  flex-wrap: wrap;
}

.structure-box {
  flex: 1 1 300px;
  padding: 2rem;
  border-top: 3px solid #2ecc71;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #f9f9f9;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.structure-box:hover {
  transform: translateY(-5px);
}

.structure-box h3 {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #111;
  font-weight: 600;
}

.structure-box h3 strong {
  display: block;
  font-size: 1.6rem;
  color: #2ecc71;
  font-weight: 700;
  margin-top: 0.5rem;
}

.structure-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.swiper {
  margin-top: 10rem;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 550px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card i {
  font-size: 2rem;
  color: #2ecc71;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.4);
  z-index: 1;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  padding: 1.5rem;
  box-sizing: border-box;
  z-index: 2;
}

.service-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.service-overlay p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.swiper-pagination {
  margin-top: 2rem;
  text-align: center;
}

.swiper-pagination-bullet-active {
  background: #2ecc71 !important;
}

/* 서비스 이용 절차 영역 스타일 */
.service-process-section {
  background-color: #ffffff;
  padding: 10rem 0 5rem 0;
}

.service-process-container {
  max-width: 800px;
  margin: 0 auto;
}

.service-process-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: "GmarketSansTTFBold", sans-serif;
}

.service-process-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #777;
  margin-bottom: 3rem;
}

.service-process-timeline {
  border-left: none;
  position: relative;
}

.service-process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

.service-process-marker {
  background-color: #2ecc71;
  color: white;
  font-weight: bold;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.service-process-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-align: center;
}

.service-process-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

/* 세금 환급 섹션 */
.tax-refund-section {
  padding: 5rem 0;
  text-align: center;
  background-color: #f8f9fa;
}

.tax-refund-container {
  max-width: 900px;
  margin: 0 auto;
}

.main-content-box {
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.main-content-box h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.main-content-box h1 span {
  color: #2ecc71;
}

.main-content-box h4 {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.main-content-box img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

.process-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.process-images img {
  max-width: 45%;
  height: auto;
  margin: 0;
}

/* 버튼 스타일 */
.btn-large-green {
  display: inline-block;
  background-color: #2ecc71;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large-green:hover {
  background-color: #26a869;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 아코디언 스타일 */
.accordion {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  text-align: left;
  max-width: 700px; /* 아코디언 최대 너비 설정 */
  margin-left: auto; /* 중앙 정렬 */
  margin-right: auto; /* 중앙 정렬 */
}

.accordion li {
  background-color: #ffffff; /* 배경색을 흰색으로 통일 */
  border: 1px solid #e0e0e0; /* 얇은 테두리 */
  border-radius: 10px; /* 모서리를 둥글게 */
  margin-bottom: 1rem; /* 각 아코디언 아이템 사이 간격 */
  overflow: hidden; /* 내부 콘텐츠가 둥근 모서리를 넘지 않도록 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); /* 은은한 그림자 */
  transition: all 0.3s ease;
}

.accordion li:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); /* 호버 시 그림자 강조 */
  transform: translateY(-2px); /* 호버 시 살짝 위로 */
}

.accordion-title {
  display: flex; /* 아이콘과 텍스트를 한 줄에 정렬 */
  justify-content: space-between; /* 텍스트와 아이콘을 양 끝으로 정렬 */
  align-items: center; /* 세로 중앙 정렬 */
  padding: 1.2rem 1.5rem; /* 패딩 조정 */
  font-size: 1.15rem; /* 폰트 사이즈 살짝 키움 */
  font-weight: 600; /* 폰트 두께 조정 */
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease;
  background-color: #fcfcfc; /* 제목 부분 배경색 */
  border-bottom: 1px solid #f0f0f0; /* 제목과 내용 사이 구분선 */
}

.accordion-title:hover {
  background-color: #f5f5f5; /* 호버 시 배경색 변경 */
}

.accordion-title.active {
  color: #2ecc71; /* 활성화 시 색상 변경 */
  border-bottom: 1px solid #2ecc71; /* 활성화 시 하단 테두리 색상 변경 */
}

/* 아이콘 스타일 */
.accordion-title::after {
  content: ""; /* 가상 요소로 아이콘 대체 */
  display: inline-block;
  width: 24px; /* 아이콘 너비 */
  height: 24px; /* 아이콘 높이 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E"); /* 아래 방향 화살표 SVG */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease; /* 회전 애니메이션 */
}

.accordion-title.active::after {
  transform: rotate(180deg); /* 활성화 시 위 방향으로 회전 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E"); /* 활성화 시 화살표 색상 변경 */
}

/* 아코디언 내용 스타일 */
.accordion p {
  padding: 1.2rem 1.5rem; /* 패딩 조정 */
  margin: 0;
  background-color: #ffffff; /* 내용 부분 배경색 */
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  display: none; /* 기본적으로 숨김 */
}

/* 요금 안내 섹션 전체 */
.pricing-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
  text-align: center;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: "GmarketSansTTFBold", sans-serif;
}

.pricing-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-cta {
  display: inline-block;
  background-color: #33cc66;
  color: white;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.pricing-cta:hover {
  background-color: #28a35c;
}

.pricing-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.pricing-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2a8a6e;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* 세무기장 상담신청 섹션 */
.contact-form-section {
  background-color: #f8f9fa;
  padding: 0 1rem 5rem 1rem;
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  overflow: hidden;
  flex-wrap: wrap; /* 모바일에서 컬럼이 아래로 떨어지도록 설정 */
}

.cta-image-wrapper {
  flex: 1 1 45%; /* 너비 비율 설정 */
  min-width: 300px; /* 최소 너비 설정 */
}

.cta-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 이미지가 영역을 꽉 채우도록 설정 */
  display: block;
}

.cta-content-wrapper {
  flex: 1 1 55%; /* 너비 비율 설정 */
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-headline {
  font-family: "GmarketSansTTFBold", sans-serif;
  font-size: 2.5rem;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: #222;
}

.cta-headline p {
  margin: 0;
}

.cta-headline .focus {
  color: #2ecc71;
}

.cta-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.cta-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: inline-block; /* 리스트를 인라인 블록으로 바꿔 너비를 콘텐츠에 맞춤 */
}

.cta-check-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
  font-weight: 500;
}

.cta-check-list li:last-child {
  margin-bottom: 0;
}

.cta-check-list svg {
  color: #2ecc71;
  margin-right: 0.8rem;
  width: 22px;
  height: 22px;
  flex-shrink: 0; /* 아이콘이 찌그러지지 않도록 설정 */
}

.cta-check-list p {
  margin: 0;
}

.apply-form-box {
  margin-top: auto; /* 버튼을 하단에 위치시키기 */
}

/* 세무컨설팅 섹션 */
.tax-consulting-section {
  background-color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.consulting-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.consulting-title {
  font-family: "GmarketSansTTFBold", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.consulting-subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 3rem;
}

.consulting-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.consulting-card {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: left;
}

.consulting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.consulting-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.consulting-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #2a8a6e;
}

.consulting-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 70px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
}

/* [수정 2] 세무컨설팅 섹션 버튼 위치 조정 */
.tax-consulting-section .btn-large-green {
  margin-top: 3rem;
}

/* 정책자금 컨설팅 섹션 */
.policy-fund-section {
  background-color: #f0f4f7;
  padding: 5rem 0;
  text-align: center;
}

.policy-fund-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.policy-fund-title {
  font-family: "GmarketSansTTFBold", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.policy-fund-subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 3rem;
}

.fund-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.fund-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: left;
}

.fund-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.fund-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.fund-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fund-list li {
  font-size: 1rem;
  color: #555;
  line-height: 2;
  position: relative;
  padding-left: 1.5rem;
}

.fund-list li::before {
  content: '✓';
  color: #2a8a6e;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.apply-btn-wrapper {
  margin-top: 3rem;
  text-align: center;
}

.apply-btn {
  display: inline-block;
  background-color: #2ecc71;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.apply-btn:hover {
  background-color: #26a869;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 오시는 길 영역 스타일 */
.contact-section {
  background: #ffffff;
  padding: 5rem;
  display: block;
}

.contact-container {
  width: 80%;
  margin: 0 auto;
}

.contact-map-wide #kakao-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.info-box {
  background: #ffffff;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-box h4 {
  font-size: 1.1rem;
  margin: 0.2rem 0;
  font-weight: bold;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.info-icon {
  font-size: 1.2rem;
  display: inline-block;
  width: 1.5rem;
}

/* 푸터 영역 스타일 */
.footer {
  background-color: #f0f4f7; /* 세련된 다크 그레이 색상으로 변경 */
  color: #000; /* 텍스트 색상을 약간 부드럽게 조정 */
  padding: 2rem 1rem; /* 상하 패딩을 재조정하여 높이 최적화 */
  font-size: 0.9rem;
  font-family: "pre", sans-serif;
}

.footer-container {
  width: 90%;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.footer-content-wrapper {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* 로고와 텍스트 사이 간격 조정 */
  /* padding-bottom과 margin-bottom 제거 */
}

.footer-logo {
  flex-shrink: 0;
}

.footer-info {
  flex-grow: 1;
  line-height: 1.6; /* 줄 간격 약간 넓혀 가독성 향상 */
  text-align: left;
}

.footer-info p {
  margin: 0;
  font-size: 1rem;
  font-family: "GmarketSansTTFLight", "Pretendard-Medium"
}

.footer-info p:first-of-type {
  margin-bottom: 0.5rem; /* 주소와 연락처 사이 간격 조정 */
}

.footer a {
  color: #cccccc; /* 링크 색상도 배경에 맞게 변경 */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff; /* 호버 시 더 밝게 */
}

/* 반응형 디자인 */
/* 모바일 */
@media (max-width: 767px) {
  body,
  html {
    font-size: 14px;
  }

  .nav-container {
    position: relative;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu a {
    font-size: 1rem;
  }

  .nav-logoimg {
    margin-left: 1rem;
  }

  .hamburger {
    all: unset;
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1001;
    font-size: 2rem;
    background: none;
    border: none;
    color: #000;
  }

  .consult-btn {
    position: absolute;
    top: 50%;
    right: 3.5rem;
    transform: translateY(-50%);
    font-size: 0.75rem;
    padding: 0.3125rem 0.625rem;
    z-index: 1000;
  }

  .section_home {
    position: relative;
    height: 80vh;
    overflow: hidden;
  }

  .text-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    padding-top: 8rem;
  }

  .text-hero p {
    font-size: 0.9rem;
  }

  .scroll-down {
    font-size: 0.8rem;
  }

  .text-hero {
    padding: 2rem 1.2rem;
  }

  .text-hero span {
    font-size: 1rem;
    color: #f9f9f9;
    padding-top: 2rem;
    font-family: "GmarketSansTTFLight", sans-serif;
  }

  .cta-button {
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
    border: 1px solid #ccc;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    margin-top: 1rem;
  }

  .marquee-track {
    font-size: 1rem;
    animation-duration: 15s;
  }

  .marquee-track span {
    margin-right: 2rem;
  }

  .map-container {
    height: 45vh;
  }

  .cta-buttons {
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    font-size: 1.0rem;
  }

  .service-section {
    padding: 5rem 0 0 0;
  }

  .swiper {
    margin-top: 5rem;
  }

  .structure-title span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
  }

  .service-process-section {
    background-color: #ffffff;
    padding: 5rem 0 5rem 0;
  }

  .tax-refund-section {
    padding: 3rem 0;
  }

  .main-content-box h1 {
    font-size: 1.8rem;
  }

  .main-content-box h4 {
    font-size: 0.9rem;
  }

  .process-images img {
    max-width: 100%;
  }

  .btn-large-green {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

  .accordion-title {
    font-size: 1rem;
  }
  

  .pricing-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
  }

  .pricing-subtitle,
  .pricing-note {
    font-size: 1rem;
  }

  .pricing-price {
    font-size: 1rem;
  }

  .pricing-cards {
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-cta {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }

  /* 세금 환급 섹션 폰트 사이즈 조정 */
  .tax-refund-section .main-content-box h1.font-bujang {
    font-size: 1.6rem; /* 기존 1.8rem에서 조정 */
    line-height: 1.4; /* 줄 간격 조정 */
  }

  .tax-refund-section .accordion-title {
    font-size: 1rem; /* 아코디언 제목 폰트 조정 */
    padding: 1rem 1.2rem; /* 내부 여백 조정 */
  }

  .tax-refund-section .accordion p {
    font-size: 0.9rem; /* 아코디언 내용 폰트 조정 */
    padding: 1rem 1.2rem;
  }

  .tax-consulting-section {
    padding: 3rem 0;
  }

  .consulting-title {
    font-size: 1.8rem;
  }

  .consulting-subtitle {
    font-size: 1rem;
  }

  .consulting-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .consulting-card {
    padding: 1.5rem;
  }

  .consulting-card-title {
    font-size: 1.3rem;
  }

  .consulting-desc {
    font-size: 0.9rem;
    min-height: auto;
  }

  .benefit-list li {
    font-size: 0.85rem;
  }

  .policy-fund-section {
    padding: 3rem 0;
  }

  .policy-fund-title {
    font-size: 1.8rem;
  }

  .policy-fund-subtitle {
    font-size: 1rem;
  }

  .fund-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fund-card {
    padding: 1.5rem;
  }

  .fund-card-title {
    font-size: 1.2rem;
  }

  .fund-list li {
    font-size: 0.9rem;
  }

  .apply-btn {
    font-size: 1rem;
    padding: 0.8rem 2.5rem;
  }

  .contact-form-section .cta-headline {
    font-size: 1.8rem;
    text-align: center; 
  }

  .contact-section {
    padding: 5rem 0;
  }

  .contact-map-wide iframe {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* 푸터 사이즈 및 폰트 조정 */
  .footer {
    padding: 2.5rem 1rem; /* 상하 여백 조정 */
  }
  
  .footer-logo img {
    width: 220px; /* 로고 이미지 크기 축소 */
  }

  .footer-info p {
    font-size: 0.8rem; /* 텍스트 폰트 크기 축소 */
    line-height: 1.5; /* 줄 간격 조정 */
  }

  .footer-content-wrapper {
    flex-direction: column;
    align-items: center; /* 로고와 텍스트를 중앙 정렬 */
    text-align: center;
    gap: 1.5rem;
  }

/* 태블릿 세로 화면 (너비가 768px 이상 991px 이하인 화면) */
@media (min-width: 768px) and (max-width: 991px) {
  body,
  html {
    font-size: 15px;
  }

  h1,
  h2 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .nav-container {
    position: relative;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu a {
    font-size: 1.05rem;
  }

  .nav-logoimg {
    margin-left: 1rem;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1001;
    font-size: 2rem;
    background: none;
    border: none;
  }

  .consult-btn {
    position: absolute;
    top: 50%;
    right: 3.5rem;
    transform: translateY(-50%);
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    z-index: 1000;
  }

  .section_home {
    position: relative;
    height: 90vh;
    overflow: hidden;
  }

  .text-hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    padding-top: 15rem;
  }

  .marquee-track {
    font-size: 1.1rem;
    animation-duration: 30s;
  }

  .map-container {
    height: 50vh;
  }

  .service-section {
    padding: 18rem 0 3rem 0;
  }

  .footer {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }

  .footer-container p {
    font-size: 0.9rem;
  }
}

/* 태블릿 가로 화면 (너비가 992px 이상 1199px 이하인 화면) */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .consult-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .footer {
    padding: 2rem 0;
    font-size: 0.95rem;
  }

  .footer-container p {
    font-size: 0.95rem;
  }
}

/* 데스크탑 화면 (너비가 1200px 이상인 화면) */
@media (min-width: 1200px) {
  .nav-menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .consult-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .footer {
    padding: 2rem 0;
    font-size: 1rem;
  }

  .footer-container p {
    font-size: 1rem;
  }
}