.form-group {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-group label {
  min-width: 80px;
  font-weight: 500;
}

.form-group input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.privacy-wrapper {
  margin-top: 30px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-bottom: none;
}

.privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #3617ce;
}

.privacy-checkbox label {
  font-size: 15px;
  cursor: pointer;
  color: #333;
}

.detail-toggle {
  padding: 8px 20px;
  background-color: #3617ce;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.detail-toggle:hover {
  opacity: 0.9;
}

.privacy-content {
  display: none;
  padding: 0 20px 20px 20px;
  background: #fff;
  color: #666;
}

.privacy-content.active {
  display: block;
}

.privacy-content p {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 14px;
  color: #666;
}

.submit {
  margin-top: 20px;
}

.submit input[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: #3617ce;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-group label {
    min-width: auto;
  }

  .form-group input {
    width: 100%;
  }

  .privacy-wrapper {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .privacy-wrapper {
    margin-top: 20px;
    border-radius: 6px;
  }

  .privacy-header {
    padding: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .privacy-checkbox {
    gap: 8px;
  }

  .privacy-checkbox label {
    font-size: 14px;
    flex: 1;
  }

  .detail-toggle {
    padding: 6px 12px;
    font-size: 13px;
    margin-left: auto;
  }

  .privacy-content {
    padding: 0 15px 15px 15px;
  }

  .privacy-content p {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .privacy-header {
    padding: 12px;
  }

  .privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .privacy-checkbox label {
    font-size: 13px;
  }

  .detail-toggle {
    padding: 5px 10px;
    font-size: 12px;
  }

  .privacy-content {
    padding: 0 12px 12px 12px;
  }

  .privacy-content p {
    font-size: 12px;
    line-height: 1.5;
  }
}

header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px; /* 60px에서 축소 */
}

header h1 svg {
  height: 30px; /* 40px에서 축소 */
  width: auto;
}

header h1 span {
  font-size: 16px; /* 18px에서 축소 */
  white-space: nowrap;
  color: #fff;
}
/* ... existing code ... */

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 0;
  background: #fff;
}

.social-links a {
  color: #666;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #3617ce;
}
/* QNA 페이지 헤더 스타일 */
header {
  background: #3617ce;
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .cont {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
}

header h1 svg {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
}

header nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* 전화번호 버튼 */
.telbtn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.telbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 모바일 햄버거 메뉴 */
.mbar,
.mclose {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mbar:hover,
.mclose:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 푸터 스타일 */
footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  margin-top: 50px;
}

footer .cont {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer h4 {
  color: #3617ce;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 700;
}

footer p {
  margin-bottom: 20px;
  color: #bdc3c7;
  line-height: 1.6;
}

.boxbtn {
  display: inline-block;
  background: linear-gradient(135deg, #3617ce 0%, #2b10b0 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 15px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(54, 23, 206, 0.3);
}

.boxbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 23, 206, 0.4);
}

.boxbtn i {
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom ul li {
  color: #95a5a6;
  font-size: 0.9rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  /* 헤더 모바일 최적화 */
  header .cont {
    padding: 0 15px;
  }

  header h1 {
    font-size: 1.2rem;
  }

  header h1 svg {
    width: 30px;
  }

  header nav {
    display: none;
  }

  .telbtn {
    display: none;
  }

  .mbar {
    display: block;
  }

  /* 푸터 모바일 최적화 */
  footer .cont {
    padding: 0 15px;
  }

  footer h4 {
    font-size: 1.3rem;
  }

  .boxbtn,
  .kakaomobile {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  .footer-bottom ul {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  /* 작은 모바일 최적화 */
  header .cont {
    padding: 0 10px;
  }

  header h1 {
    font-size: 1.1rem;
  }

  header h1 span {
    display: none;
  }

  footer .cont {
    padding: 0 10px;
  }

  footer h4 {
    font-size: 1.2rem;
  }

  .boxbtn,




/* 서브페이지 여백 조정 */
.subpage {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
  }

  /* 모바일 메뉴 (필요시 추가) */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #3617ce;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .mobile-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
  }
  /* 페이지 네비게이션 스타일 */
  .page-navigation {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
    margin-top: 70px;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .nav-link:hover {
    background: #3617ce;
    color: white;
    transform: translateY(-2px);
  }

  .nav-link.active {
    background: #3617ce;
    color: white;
  }

  .nav-link i {
    font-size: 1.1rem;
  }

  /* 모바일 반응형 */
  @media (max-width: 768px) {
    .nav-links {
      gap: 15px;
      flex-wrap: wrap;
    }

    .nav-link {
      padding: 8px 15px;
      font-size: 0.9rem;
    }

    .nav-link span {
      display: none;
    }

    .nav-link i {
      font-size: 1.2rem;
    }
  }
  /* 페이지 네비게이션 스타일 */
  .page-navigation {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
    margin-top: 70px;
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, sans-serif;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, sans-serif;
  }

  .nav-link:hover {
    background: #3617ce;
    color: white;
    transform: translateY(-2px);
  }

  .nav-link.active {
    background: #3617ce;
    color: white;
  }

  .nav-link i {
    font-size: 1.1rem;
  }

  /* 모바일 반응형 - 텍스트 유지 */
  @media (max-width: 768px) {
    .nav-links {
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-link {
      padding: 8px 12px;
      font-size: 0.85rem;
      gap: 5px;
    }

    .nav-link span {
      display: block; /* 텍스트 표시 */
      font-size: 0.8rem;
    }

    .nav-link i {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    .nav-links {
      gap: 8px;
    }

    .nav-link {
      padding: 6px 10px;
      font-size: 0.75rem;
      gap: 4px;
    }

    .nav-link span {
      font-size: 0.7rem;
    }

    .nav-link i {
      font-size: 0.9rem;
    }
  }

  /* 전체 페이지 폰트 설정 */
  body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, sans-serif;
  }

  /* 모바일 플로팅 버튼 스타일 */
  .mobile-floating-buttons {
    position: fixed;
    right: 15px;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  /* 모바일에서만 표시 */
  @media (max-width: 768px) {
    .mobile-floating-buttons {
      opacity: 1;
      visibility: visible;
    }
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .floating-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
  }

  .floating-btn:hover::before {
    transform: scale(1);
  }

  .floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  /* 각 버튼별 색상 */
  .call-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    animation: pulse-green 2s infinite;
  }

  .kakao-btn {
    background: linear-gradient(135deg, #fee500 0%, #f5d800 100%);
    color: #3c1e1e;
  }

  .service-btn {
    background: linear-gradient(135deg, #3617ce 0%, #2b10b0 100%);
  }

  .contact-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  }

  .top-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f4def 100%);
  }

  /* 전화 버튼 맥박 애니메이션 */
  @keyframes pulse-green {
    0% {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(76, 175, 80, 0);
    }
  }

  /* 작은 모바일 화면에서 크기 조정 */
  @media (max-width: 480px) {
    .mobile-floating-buttons {
      right: 10px;
    }

    .floating-btn {
      width: 45px;
      height: 45px;
      font-size: 1.1rem;
    }
  }

  /* 매우 작은 화면 */
  @media (max-width: 360px) {
    .floating-btn {
      width: 42px;
      height: 42px;
      font-size: 1rem;
    }
  }
}
