#mainNav {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background-color: #fff;
  transition: background-color 0.2s ease;
}

#mainNav .navbar-brand {
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  color: #212529;
}

#mainNav .navbar-brand img {
  height: auto;
  max-height: 40px;
}

@media (max-width: 767px) {
	#mainNav .navbar-brand img {
		max-width: 90px;
	}
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #6c757d;
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 1.4rem 0;
}


#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active {
  color: #f4623a;
}

#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #f4623a !important;
}

@media (min-width: 992px) {
  #mainNav {
    box-shadow: none;
    background-color: transparent;
	backdrop-filter: blur(22px);
  }

  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }

  #mainNav .navbar-brand:hover {
    color: #f4623a;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    color: #ffffff;
    padding: 0 32px;
  }

  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #f4623a;
  }

  #mainNav .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
  }

  #mainNav.navbar-shrink {
    background-color: transparent;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  #mainNav.navbar-shrink-two {
    background-color: rgba(255, 255, 255, 0.9);
  }

  #mainNav.navbar-shrink .navbar-brand {
    color: #212529;
  }

  #mainNav.navbar-shrink .navbar-brand:hover {
    color: #f4623a;
  }

  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
    color: #212529;
  }

  #mainNav.navbar-shrink-two .navbar-nav .nav-item .nav-link {
    color: #212121;
  }

  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
    color: #f4623a;
  }
}


/* 모바일 드롭다운 메뉴 스타일 */
@media (max-width: 991.98px) {
   #mainNav {
    box-shadow: none;
    background-color: transparent;
	backdrop-filter: blur(22px);
  }

  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }

  #mainNav .navbar-brand:hover {
    color: #f4623a;
  }
  
  #mainNav .navbar-nav .nav-item .nav-link{
   color: #fff;
  }
  
  .navbar-shrink-two #navbarResponsive .navbar-nav .nav-item .nav-link{
   color: #212529;
  }
  
  

  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #f4623a;
  }

  #mainNav.navbar-shrink {
    background-color: transparent;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  #mainNav.navbar-shrink-two {
    background-color: rgba(255, 255, 255, 0.9);
  }
  
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .navbar-nav .dropdown-item {
    color: #fff;
    padding: 0.5rem 1rem;
	font-size: 18px;
  }
  
  .navbar-shrink-two #navbarResponsive .navbar-nav .dropdown-item {
    color: #6c757d;
    padding: 0.5rem 1rem;
	font-size: 18px;
  }

  .navbar-nav .dropdown-item:hover,
  .navbar-nav .dropdown-item:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: #f4623a;
  }

  .navbar-nav .dropdown-toggle::after {
  content: "▼";
  float: right;
  margin-top: 0.5rem;
  margin-right: 18px;
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

/* 드롭다운이 열릴 때 (위 화살표) */
.navbar-nav .dropdown-toggle.show::after,
.navbar-nav .show > .dropdown-toggle::after {
  content: "▲";
}
  
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;            /* 터치 영역: 모바일 권장 최소 40~48px */
    height: 48px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  /* SVG 크기 */
  .menu-btn svg {
    width: 32px;   /* 아이콘 실제 크기 (원하면 24/32 등으로 조정) */
    height: 32px;
    display: block;
  }

  /* 공통 선 스타일 */
  .menu-line {
    fill: currentColor;      /* 색은 currentColor로 버튼의 color로 결정(유연성) */
    transition: transform 300ms cubic-bezier(.2,.8,.25,1), opacity 200ms ease;
    transform-box: fill-box; /* transform-origin을 SVG 박스 기준으로 사용 */
    transform-origin: center;
  }

  /* 개별 라인 초기 위치 (rect y값으로 배치) */
  /* .line-top at y=7, .line-mid at y=14, .line-bot at y=21 (viewBox 기준) */
  /* 토글 상태에서 어떤 transform이 일어나는지 아래에 정의 */

  /* 닫힌 상태(햄버거) - 기본값(특별히 적지 않아도 됨) */

  /* 열린 상태: .open 클래스가 버튼에 붙었을 때 (X 모양) */
  .menu-btn.open .line-top {
    transform: translateY(7px) rotate(45deg); /* 위 선을 중앙으로 이동 후 45deg 회전 */
  }
  .menu-btn.open .line-mid {
    transform: scaleX(0);   /* 가운데 선을 가늘게(사라지게) */
    opacity: 0;
  }
  .menu-btn.open .line-bot {
    transform: translateY(-7px) rotate(-45deg); /* 아래 선을 중앙으로 이동 후 -45deg 회전 */
  }

  /* 예시: 버튼 color/배경을 바꾼다 (white version) */
  .menu-btn { color: #fff; }
  .menu-btn.dark  { color: rgba(0,0,0,0.85); }
  
  .navbar-shrink-two menu-btn { color: rgba(0,0,0,0.85); }
  .navbar-shrink-two .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;            /* 터치 영역: 모바일 권장 최소 40~48px */
    height: 48px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  /* SVG 크기 */
  .navbar-shrink-two .menu-btn svg {
    width: 32px;   /* 아이콘 실제 크기 (원하면 24/32 등으로 조정) */
    height: 32px;
    display: block;
  }

  /* 포커스 스타일 (접근성) */
  .menu-btn:focus {
    outline: 2px solid Highlight; 
    outline-offset: 2px;
    border-radius: 6px;
  }
}

/* PC 드롭다운 메뉴 스타일 유지 */
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }

  .navbar-nav .dropdown-item {
    color: #212529;
  }

  .navbar-nav .dropdown-item:hover,
  .navbar-nav .dropdown-item:focus {
    background-color: #e9ecef;
    color: #f4623a;
  }
}


/* 상담신청 팝업*/
/* 팝업 오버레이 */
.consultation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.consultation-overlay.active {
    display: flex;
}

/* 팝업 컨테이너 */
.consultation-popup {
    background-color: #fff;
    border-radius: 20px;
    width: 540px;
    max-width: 100%;
    max-height: 736px;
    position: relative;
    padding: 44px 40px 81px;
}

/* 닫기 버튼 */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
}

.popup-close::before,
.popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #9E9E9E;
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-close:hover::before,
.popup-close:hover::after {
    background-color: #212121;
}

/* 로고 */
.popup-logo {
    text-align: center;
    margin-bottom: 24px;
}

/* 제목 */
.popup-title {
        font-weight: 800;
    font-size: 46px;
    line-height: 100%;
    color: #212121;
    text-align: center;
    margin-bottom: 16px;
}

/* 부제목 */
.popup-subtitle {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #616161;
    text-align: center;
    margin-bottom: 20px;
}

/* 폼 그룹 */
.popup-form-group {
    margin-bottom: 35px;
}

.popup-form-label {
    font-weight: 500;
    font-size: 22px;
    color: #58616A;
    margin-bottom: 12px;
    display: block;
}

.popup-form-input {
        width: 100%;
    padding: 17.5px 15px;
    border: 1px solid #B3B3B3;
    border-radius: 4px;
    font-size: 22px;
    color: #212121;
}

.popup-form-input::placeholder {
    color: #BDBDBD;
}

.popup-form-input:focus {
    outline: none;
    border-color: #FF6B35;
}

/* 체크박스 */
.popup-checkbox-group {
	margin-bottom: 26px;
	margin-top: 82px;
}

.popup-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.popup-checkbox input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.popup-checkbox-label {
    font-weight: 500;
    font-size: 21px;
    line-height: 100%;
    color: #6F6F6F;
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-checkbox-link {
    text-decoration: unset;
    cursor: pointer;
    margin-left: 8px;
    background: #585858;
    color: #fff;
    font-size: 10px;
    padding: 3.5px 10px;
    border-radius: 3px;
}

/* 구분선 */
.popup-divider {
    height: 1px;
    background-color: #E0E0E0;
    margin: 24px 0;
}

/* 제출 버튼 */
.popup-submit-btn {
    width: 100%;
    padding: 20px;
    background-color: #FD6C01;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    font-size: 27px;
    color: #fff;
    cursor: pointer;
}

.popup-submit-btn:hover {
    background-color: #E5612F;
}

.popup-submit-btn:disabled {
    background-color: #BDBDBD;
    cursor: not-allowed;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .consultation-popup {
        width: 324px;
        padding: 40px 24px 24px;
    }
    
    .popup-logo {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .popup-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .popup-subtitle {
        font-size: 14px;
        margin-bottom: 32px;
    }
    
    .popup-form-group {
        margin-bottom: 20px;
    }
    
    .popup-form-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .popup-form-input {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .popup-checkbox-label {
        font-size: 11px;
    }
    
    .popup-submit-btn {
        padding: 16px;
        font-size: 16px;
    }
}


/* 플로팅 버튼 */
.floating-buttons {
    position: fixed;
    right: 40px;
    bottom: 76px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn-kakao {
    background-color: #FEE500;
}

.floating-btn-phone {
    background-color: #FF6B35;
}

.floating-btn svg {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

.floating-btn-text {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.floating-btn-phone .floating-btn-text {
    color: #fff;
}

@media (max-width: 768px) {
    .floating-buttons {
        right: 3%;
        bottom: 3%;
        gap: 4vw;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
    }
	.floating-btn img {
        width: 48px;
        height: 48px;
    }
    
    .floating-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .floating-btn-text {
        font-size: 10px;
    }
}



/* --- 개인정보처리방침 팝업 스타일 --- */

.privacy-overlay {
    display: none; /* 기본 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    /* 상담 팝업(z-index: 1000)보다 위에 표시 */
    z-index: 99999; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.privacy-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.privacy-popup {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px; /* 이미지와 유사한 너비 */
    padding: 24px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-height: 85vh; /* 화면 높이의 85% */
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.privacy-overlay.active .privacy-popup {
    transform: scale(1);
}

.privacy-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.privacy-popup-title {
    font-size: 22px;
    font-weight: 700; /* Bold */
    color: #111;
    margin: 10px 0 24px 0; /* 위쪽 마진 추가 (X버튼 고려) */
    padding-right: 30px; /* X 버튼 공간 확보 */
}

.privacy-popup-content {
    overflow-y: auto; /* 내용 길어지면 스크롤 */
    flex-grow: 1; /* 남은 공간 차지 */
    /* 스크롤바 스타일링 (선택사항) */
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

.privacy-popup-content::-webkit-scrollbar {
    width: 6px;
}
.privacy-popup-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}
.privacy-popup-content::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

.privacy-popup-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.privacy-popup-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-popup-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

.privacy-popup-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-left: 22px; /* 아이콘 공간 */
}

.privacy-popup-list li::before {
    content: '▣';
    position: absolute;
    left: 0;
    top: 2px; /* 폰트와 수직 정렬 */
    color: #555;
    font-size: 14px;
}

.privacy-popup-list li strong {
    font-weight: 600;
    color: #222;
}

.privacy-popup-notes {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.privacy-popup-notes p {
    margin-top: 0;
    margin-bottom: 10px;
}

.privacy-popup-notes p:last-child {
    margin-bottom: 0;
}

.privacy-popup-footer {
    margin-top: 24px;
    flex-shrink: 0; /* 팝업 크기가 줄어들 때 버튼이 찌그러지지 않도록 */
}

.privacy-popup-confirm {
    width: 100%;
    background-color: #222222; /* 이미지의 진한 색상 */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.privacy-popup-confirm:hover {
    background-color: #444;
}


