body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('bg.png');
  background-size: cover;
  background-position: center;
  padding: 3rem 1rem;
  color: white;
  text-align: center;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.primary-button {
  background-color: #1e40af;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.primary-button:hover {
  background-color: #1e3a8a;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-icon {
  width: 3rem;
  height: 3rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.language-toggle {
  background-color: #f1f5f9;
  border-radius: 0.375rem;
  overflow: hidden;
  display: inline-flex;
}

.language-toggle a {
  padding: 0.5rem 1rem;
  color: #1e293b;
  font-weight: 500;
}

.language-toggle a.active {
  background-color: #1e40af;
  color: white;
}

.step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #1e40af;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.logo_img{
  padding-left:2px;
}

/* 모바일 메뉴 스타일 */
.mobile-menu-button {
  display: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-content {
  padding: 1rem;
}

.mobile-menu-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #1e293b;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-item:hover {
  background-color: #f1f5f9;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* 방문절차안내 모바일 스타일 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.step-card span {
    font-size: 1rem; /* 더 작은 글씨 크기 */
    text-align: center;
}

.custom-underline:hover {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: rgba(0, 50, 119, 0.2); /* 진한 파랑색, 투명도 30% */
}


/* 방문신청약관 스타일 */
.agreement-box {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.agreement-box h3 {
  font-size: 1.15rem;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 1rem;
}

.agreement-box textarea {
  width: 100%;
  height: 145px;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  font-size: 0.8rem;
  resize: none;
  background-color: #f9fafb;
}

.checkbox-area {
  margin-top: 1rem;
}

.checkbox-area label {
  font-size: 1rem;
  color: #1e293b;
}

.submit-btn {
  margin-top: 1.5rem;
  text-align: center;
}

.submit-btn .btn {
  background-color: #1e40af;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn .btn:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

.submit-btn .btn:hover {
  background-color: #1e3a8a;
}

.text-menu{
  font-size: 13px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
  }
  
  /* 방문절차안내 모바일 스타일 */
  .steps-container {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
  
  .step-card {
    padding: 0.75rem;
  }
  
  .step-icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .step-card span {
    font-size: 0.72rem; /* 더 작은 글씨 크기 */
    text-align: center;
  }
}

/* 더 작은 모바일 화면용 스타일 */
@media (max-width: 480px) {
  .steps-container {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
  }
  
  .step-card {
    padding: 0.5rem;
  }
  
  .step-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .step-card span {
    font-size: 0.6rem; /* 더 작은 글씨 크기 */
  }
}