
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.btn.btn-light2 {
    color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.3);
    border: none;
}

.btn.btn-light2:hover {
    color: rgba(42, 152, 255, 0.5);
    background: rgba(42, 152, 255, 0.3);
}

.btn.btn-light3 {
    color: rgba(42, 152, 255, 0.5);
	background: rgba(255, 255, 255, 0.3);
    border: none;
}

.btn.btn-light3:hover {
    color: rgba(255, 255, 255, 0.5);
	background: rgba(42, 152, 255, 0.3);
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 980px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

/* 모바일 화면에서 로고 크기 2배로 확대 */
@media (max-width: 980px) {
    /* 980px 이하: 푸터 업무시간 텍스트만 1.2배 */
    .footer .business-hours-text {
        font-size: calc(1em * 1.0) !important;
        line-height: 1.4 !important;
    }

    /* 980px 이하: 푸터 연락처 텍스트만 1.2배 */
    .footer .contact-info-text1 {
        font-size: calc(1em * 0.8) !important;
        line-height: 1.6 !important;
        color: lch(45.94% 11.96 284.59) !important;
    }

    .footer .contact-info-text3, .footer .contact-info-text2 {
        font-size: calc(1em * 1.0) !important;
        line-height: 1.6 !important;
    }

    /* 980px 이하: 푸터 다운로드 라벨 글자 작게 */
    .footer .footer-item .d-flex a small {
        font-size: calc(1em * 0.65) !important;
        line-height: 1.2 !important;
        margin-left: -25% !important;
    }
    /* 980px 이하: 푸터 텍스트 전부 1.5배 (푸터 한정) */
    .footer, .footer * {
        font-size: calc(1em * 1.1) !important;
        line-height: 1.6 !important;
    }
    
    /* 980px 이하: pricing 섹션 제목 30% 더 확대 */
    #pricing .section-title h2 {
        font-size: calc(1em * 2.5) !important;
    }

    #pricing .section-title p {
        font-size: calc(1em * 1.8) !important;
    }

    /* 980px 이하: pricing 카드 내부 텍스트 20% 축소 */
    #pricing .pricing-item ul li span {
        font-size: calc(1em * 1.8) !important;
    }

    #pricing .pricing-item h3,
    #pricing .pricing-item h4 {
        font-size: calc(1em * 2.8) !important;
    }

    #pricing .pricing-item h4 span {
        font-size: calc(1em * 0.7) !important;
    }

    #pricing .pricing-item h5 {
        color: #0084ff !important;
        font-size: calc(1em * 2.0) !important;
        margin-top: 5% !important;
        margin-bottom: 2% !important;
        margin-left: 2% !important;
    }

    /* 980px 이하: pricing 아이콘 2배 확대 */
    #pricing .pricing-item .icon {
        transform: scale(2) !important;
        margin-top: 10% !important;
        margin-bottom: 10% !important;
    }

    /* 980px 이하: pricing 아이콘 이미지 비율 유지 */
    #pricing .pricing-item .icon img {
        width: 60px !important;
        height: 60px !important;
        object-fit: contain !important;
        aspect-ratio: 1/1 !important;
    }

    /* 980px 이하: pricing na 클래스 텍스트 줄바꿈 시 겹침 방지 */
    #pricing .pricing-item ul li.na,
    #pricing .pricing-item ul li span {
        line-height: 1.2 !important;
    }

    #pricing .pricing-item ul li.na span,
    #pricing .pricing-item ul li span {
        display: block !important;
        line-height: 1.2 !important;
    }

    /* 980px 이하: pricing 시작하기 버튼 2배 확대 */
    #pricing .pricing-item .buy-btn {
        transform: scale(2) !important;
        font-size: calc(1em * 0.9) !important;
        margin-top: 5% !important;
    }
    .brand img {
        width: 260px !important;
        height: 90px !important;
        max-height: 90px !important;
    }
    
    /* service.jsp만 980px 이하에서 로고 크기 절반으로 */
    #service-logo img {
        width: 90px !important;
        height: 30px !important;
        max-height: 30px !important;
    }
    
    /* 캐러셀 좌우 화살표 숨기기 */
    .owl-nav {
        display: none !important;
    }
    
    /* 서비스 카드들을 980px 이하에서 세로 정렬 */
    .row.g-4 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .row.g-4 .col-md-6,
    .row.g-4 .col-lg-4 {
        flex: none !important;
        width: 95% !important;
        max-width: 95% !important;
        margin-bottom: 2rem !important;
    }
    
    /* 980px 이하에서 전체 컨데이너 가로 최대 활용 */
    .container,
    .container-fluid {
        width: 95% !important;
        max-width: 95% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* 콜럼 레이아웃 가로 최대 활용 */
    .col-xl-5,
    .col-xl-7,
    .col-md-5,
    .col-md-7 {
        width: 95% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* 네비게이션 영역 가운데 정렬 */
    .nav-pills.bg-light {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        padding: 10px !important;
    }
    
    /* 탭 콘텐츠 섹션 정렬 수정 */
    .row.g-5.align-items-center {
        justify-content: center !important;
        margin: 0 auto !important;
    }
    
    /* nav-pills 가로사이즈 전부 사용 */
    .nav.nav-pills {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-top: 30px !important;
        padding-top: 20px !important;
    }
    
    .nav.nav-pills .btn {
        flex: 1 !important;
        min-width: 130px !important;
        max-width: 130px !important;
        font-size: 2.0rem !important;
    }
    
    .nav.nav-pills .mx-2 {
        flex-shrink: 0 !important;
        margin: 0 5px !important;
    }
    
    /* 탭 콘텐츠 텍스트 고정 너비 */
    .tab-pane p.mb-4 {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
    
    .tab-pane {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* about 섹션 제목 중앙정렬 */
    .about .col-xl-7 h4.text-primary,
    .about .col-xl-7 h1.display-5 {
        text-align: center !important;
        margin-bottom: 7% !important;
    }
    
    /* 권한별 좋은점 콘텐츠 가로사이즈 최대 활용 */
    .about .tab-pane .row.g-4 {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .about .tab-pane .col-md-6,
    .about .tab-pane .col-lg-6,
    .about .tab-pane .col-xl-6 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .about .tab-pane .ms-4 {
        text-align: center !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
        font-size: 1.5rem !important;
        width: 100% !important;
    }
    
    .about .tab-pane h4 {
        text-align: center !important;
        margin-bottom: 20px !important;
        font-size: 2.5rem !important;
    }
    
    .about .tab-pane p {
        text-align: left !important;
        margin: 10px auto !important;
        max-width: 95% !important;
        font-size: 2rem !important;
    }
    
    .about .tab-pane img {
        height: 80px !important;
    }

    .blog-title a {
        font-size: 1.5rem !important;
    }

    .ms-3 h6 {
        font-size: 1.8rem !important;
        color: #0084ff !important;
    }
    
    .ms-3 p {
        font-size: 1.8rem !important;
        color: #0084ff !important;
    }

    .h4.d-inline-block.mb-3 {
        font-weight: bold !important;
    }

    
    /* 헤더 캐러셀 정렬 복원 - HTML 구조에 맞게 수정 */
    /* 첫 번째 캐러셀 아이템 (col-xl-7) - 우측 정렬 */
    .header-carousel .header-carousel-item:first-child .col-xl-7 .text-center {
        text-align: right !important;
    }
    
    .header-carousel .header-carousel-item:first-child .col-xl-7 .d-flex {
        justify-content: flex-end !important;
    }
    
    /* 두 번째 캐러셀 아이템 (col-12) - 중앙 정렬 */
    .header-carousel .header-carousel-item:nth-child(2) .col-12 .text-center {
        text-align: center !important;
    }
    
    .header-carousel .header-carousel-item:nth-child(2) .col-12 .d-flex {
        justify-content: center !important;
    }
    
    .tab-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .tab-pane .row.g-4 {
        justify-content: center !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    /* 탭 컨텐츠 가로 최대 활용 */
    .tab-content .row.g-4 {
        width: 95% !important;
        margin: 0 !important;
    }
    
    .tab-content .row.g-4 .col-md-5,
    .tab-content .row.g-4 .col-md-7 {
        width: 95% !important;
        max-width: 95% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* 네비게이션 페이 다른 방법으로 키우기 */
    .nav-pills a.accordion-link {
        font-size: 2rem !important;
        font-size: 32px !important;
        line-height: 1.5 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        border: 2px solid #0084ff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0, 132, 255, 0.2) !important;
    }
    
    .nav-pills a.accordion-link:hover {
        background-color: #0084ff !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0, 132, 255, 0.4) !important;
    }
    
    .nav-pills a.accordion-link.active {
        background-color: #0084ff !important;
        color: white !important;
        box-shadow: 0 4px 8px rgba(0, 132, 255, 0.6) !important;
        position: relative !important;
    }
    
    /* 단계별 클릭 안내 메시지 */
    .nav-pills, .about .nav-pills {
        position: relative !important;
    }
    
    .nav-pills::before, .about .nav-pills::before {
        content: "권한별로 클릭하세요 ↓" !important;
        position: absolute !important;
        top: -30px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 22px !important;
        color: #0084ff !important;
        font-weight: bold !important;
        background: rgba(255, 255, 255, 0.9) !important;
        padding: 4px 8px !important;
        border-radius: 4px !important;
        border: 1px solid #0084ff !important;
        text-align: center !important;
        z-index: 10 !important;
        animation: pulse-message 2s infinite !important;
    }

    .nav-pills::before {
        content: "단계별로 클릭하세요 ↓" !important;
    }
    
    @keyframes pulse-message {
        0%, 100% {
            opacity: 1 !important;
            transform: translateX(-50%) scale(1) !important;
        }
        50% {
            opacity: 0.7 !important;
            transform: translateX(-50%) scale(1.05) !important;
        }
    }
    
    .nav-pills a.accordion-link h5 {
        font-size: inherit !important;
        font-size: 2rem !important;
        font-size: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 스팸(화살표) 크기도 키우기 */
    .nav-pills .mx-2 i.fa-arrow-right {
        font-size: 2rem !important;
        font-size: 32px !important;
    }
    
    /* service 영역 좌우 여백 줄이기 */
    .container-fluid.service {
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
    }
    
    .container-fluid.service .container {
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
    }
    
    /* 서비스 아이템 폰트 크기 통일 */
    .service-item h4 {
        font-size: 28px !important;
        font-weight: bold !important;
        margin-bottom: 15px !important;
    }
    
    .service-item p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    
    .service-item {
        padding: 20px !important;
    }
    
    /* 특정 영역만 타겟팅 - "노노봇이 진짜인 이유" 섹션만 */
    .container.pb-5 .text-center .text-primary,
    .container.pb-5 .text-center .display-5 {
        font-size: calc(1em * 2) !important;
    }

    /* 선택한 정확한 요소들 강제 적용 */
    h4.text-primary {
        font-size: 84px !important;
        font-size: calc(1em * 4) !important;
        margin-top: 3rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.8 !important;
    }
    
    h1.display-5.mb-4 {
        font-size: 168px !important;
        font-size: calc(1em * 6) !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.6 !important;
    }
    
    /* 최강 우선순위로 재시도 */
    html body h4.text-primary,
    html body h1.display-5.mb-4 {
        font-size: 120px !important;
        font-size: calc(1em * 5) !important;
    }
    
    /* 모든 방법으로 강제 적용 */
    #main h4.text-primary,
    #main h1.display-5 h4.text-primary,
    .container h4.text-primary,
    .container .text-center h4.text-primary,
    .container .text-center h1.display-5.mb-4 {
        font-size: 150px !important;
        font-size: calc(50px) !important;
    }
    
    /* 정확히 노노봇이 진짜인 이유 부분만 키우기 */
    .container.pb-5 .text-center.mx-auto.pb-5.wow.fadeInUp h4.text-primary {
        font-size: 50px !important;
        margin-bottom: 0.5rem !important;
    }
    
    .container.pb-5 .text-center.mx-auto.pb-5.wow.fadeInUp h1.display-5.mb-4 {
        font-size: 50px !important;
        margin-top: 0.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* 문단 간격도 넓히기 */
    .container.pb-5 p {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.8 !important;
    }
    
    /* .mb-0 클래스가 있는 p 태크들을 2배로 키우기 */
    p.mb-0 {
        font-size: 2rem !important;
        font-size: calc(16px * 2) !important;
    }
    
    /* .mb-4 클래스가 있는 p 태그들도 2배로 키우기 */
    p.mb-4 {
        font-size: 2rem !important;
        font-size: calc(16px * 2) !important;
    }
    
    /* 모든 p 태그의 기본 폰트 크기를 2배로 키우기 */
    p {
        font-size: 2rem !important;
        line-height: 1.6 !important;
    }
    
    /* 작은 텍스트들도 2배로 키우기 */
    .text-muted, .small, small {
        font-size: 1.5rem !important;
    }
    
    /* 모바일 화면에서 메뉴 글자 크기만 3배로 확대 */
    .navbar-nav .nav-link {
        font-size: calc(17px * 3) !important;
    }
    
    /* service.jsp 전용 - 980px 이하에서 메뉴 글자 크기 30% 줄이기 */
    body:has(#service-logo) .navbar-nav .nav-link {
        font-size: 1.5em !important;
    }
    
    /* service.jsp 전용 - 980px 이하에서 메뉴 버튼 크기 30% 줄이기 */
    body:has(#service-logo) #menu-toggle-btn {
        transform: scale(0.6);
        transform-origin: center;
        margin-right: -20px;
    }
    
    body:has(#service-logo) #menu-toggle-btn .fa-bars {
        font-size: 0.7em;
    }
    
    /* service.jsp 전용 - 980px 이하에서 다운로드 버튼 글자 크기 30% 줄이기 */
    body:has(#service-logo) .btn.btn-primary.rounded-pill.py-2.px-4.my-3.my-lg-0.flex-shrink-0 {
        width: scale(0.1) !important;
        font-size: 1.3em !important;
    }
    
    /* service.jsp 전용 - 980px 이하에서 breadcrumb 영역 세로 크기 30% 줄이기 */
    body:has(#service-logo) .container-fluid.bg-breadcrumb {
        padding: 0 !important; /* 기존 60px 0 60px 0에서 30% 줄임 */
        min-height: 170px !important; /* 최소 높이 설정 */
        overflow: hidden !important;
    }
    
    /* service.jsp 전용 - 980px 이하에서 팝업 글자 크기 반으로 줄이기 */
    body:has(#service-logo) #serviceDetailPopup .service-detail-header h3 {
        font-size: 23px !important; /* 기존 53px의 50% */
    }
    
    body:has(#service-logo) #serviceDetailPopup .service-description h4 {
        font-size: 22px !important; /* 기존 44px의 50% */
    }
    
    body:has(#service-logo) #serviceDetailPopup .feature-section h5 {
        font-size: 20px !important; /* 기존 40px의 50% */
    }
    
    body:has(#service-logo) #serviceDetailPopup .feature-content h6 {
        font-size: 17.5px !important; /* 기존 35px의 50% */
    }
    
    body:has(#service-logo) #serviceDetailPopup .feature-content p {
        font-size: 15px !important; /* 기존 31px의 50% */
    }
    
    body:has(#service-logo) #serviceDetailPopup .service-detail-close {
        font-size: 40px !important; /* 기존 100px의 50% */
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
    }
    
    body:has(#service-logo) #serviceDetailPopup .service-detail-footer .btn {
        font-size: 18px !important; /* 기존 36px의 50% */
        padding: 7.2px 30px !important; /* 기존 12px 30px에서 세로 40% 줄임 */
    }
    
    body:has(#service-logo) #serviceDetailPopup .service-detail-header {
        padding: 13px 10px !important; /* 기존 20px 20px에서 세로 20% 줄임 */
    }
    
    /* service.jsp 전용 - 980px 이하에서 서비스 아이템 버튼 크기 2배로 */
    body:has(#service-logo) .container-xxl.py-5 .container .row.g-4 .col-lg-4 .service-item.bg-light.rounded a.btn.btn-lg.btn-primary.rounded {
        transform: scale(1) !important;
        transform-origin: center !important;
    }
    
    /* 모바일 화면에서 다운로드 버튼만 크기 키우기 */
    a.btn.btn-primary.rounded-pill.py-2.px-4.my-3.my-lg-0.flex-shrink-0 {
        font-size: calc(1rem * 2.0) !important;
        padding: calc(0.5rem * 2.0) calc(1.5rem * 2.0) !important;
    }

    /* 모바일 화면에서 특정 2개 버튼만 크기 키우기 */
    a.btn.btn-light.rounded-pill.py-3.px-4.px-md-5.me-2 {
        font-size: calc(1rem * 1.7) !important;
        padding: calc(0.5rem * 1.7) calc(1.5rem * 1.7) !important;
        min-width: 420px !important;
    }
    a.btn.btn-primary.rounded-pill.py-3.px-4.px-md-5.ms-2 {
        font-size: calc(1rem * 1.7) !important;
        padding: calc(0.5rem * 1.7) calc(1.5rem * 1.7) !important;
        min-width: 320px !important;
    }
    
    /* 모바일 화면에서 특정 문구 글자 크기 2배로 키우기 */
    p.mb-5.fs-5 {
        font-size: calc(1.25rem * 1.5) !important;
    }
    
    /* 모바일 화면에서 h4 요소 글자 크기 1.5배로 키우기 */
    h4.text-primary.text-uppercase.fw-bold.mb-4 {
        font-size: calc(1.5rem * 1.3) !important;
    }
    
    /* FAQ 아코디언 텍스트 2배 확대 */
    .accordion-button {
        font-size: 1.7rem !important;
    }

    .accordion-body {
        font-size: 1.5rem !important;
    }

    /* Contact: php-email-form 영역만 2배 (980px 이하) */
    .php-email-form .form-control,
    .php-email-form textarea,
    .php-email-form small {
        font-size: calc(1em * 1.3) !important;
    }

    .php-email-form .button {
        font-size: calc(1em * 1.7) !important;
    }

    .php-email-form .form-control::placeholder,
    .php-email-form textarea::placeholder {
        font-size: calc(1em * 1.2) !important;
    }

    /* 980px 이하: 팀 섹션 전체 40% 축소 */
    .team .team-item {
        transform: scale(0.6) !important;
        transform-origin: center !important;
        margin-top: -25% !important;
        margin-bottom: -20% !important;
    }

    .team .team-item .team-img {
        transform: scale(0.8) !important;
        margin-top: -20% !important;

    }

    .team .team-item .team-title {
        transform: scale(2) !important;
        margin-top: 50% !important;
    }

}

@media (min-width: 981px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }
    
    /* service.jsp 페이지의 메뉴바 배경색과 호버/액티브 색상 조정 */
    .navbar-light {
        background-color: #1a5f99 !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
        color: white !important;
    }
    
    .navbar-light .navbar-nav .nav-item .nav-link {
        color: white !important;
    }
    
    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-item .nav-link:hover,
    .navbar-light .navbar-nav .nav-item .nav-link.active {
        color: #2a98ff !important;
    }
    
    .navbar-light .navbar-nav .nav-link::before {
        background: #2a98ff !important;
    }
    
    .navbar-light .navbar-nav .nav-link::after {
        background: #2a98ff !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 700px;
}


/*.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}*/


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
}

@media (max-width: 980px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
}

@media (max-width: 980px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}



@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 981px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }

    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .4);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.05);
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 20%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(42, 152, 255, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: -50px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 60px;
    height: 60px;
	left: 70px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
	left: 0;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/


/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

/* 데스크탑: pricing 아이콘 이미지 비율 유지 */
#pricing .pricing-item .icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    aspect-ratio: 1/1 !important;
}

/* pricing 영역의 h5 태그만 981px 이상에서 스타일 적용 */
@media (min-width: 981px) {
    #pricing h5 {
        margin-top: 2rem !important;
        margin-left: 10px !important;
        color: #007bff !important;
        font-weight: bold !important;
    }

    /* 이미지 팝업 스타일 */
    .image-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        cursor: default;
        padding: 50px;
        box-sizing: border-box;
        pointer-events: none;
    }
    
    .image-popup-overlay * {
        pointer-events: auto;
    }

    .image-popup-content {
        position: relative;
        max-width: 40%;
        max-height: calc(100vh + 150px);
        transform: scale(0.6);
        transition: transform 0.3s ease;
        margin: 0 auto;
    }

    .image-popup-content img {
        width: auto;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .image-popup-close {
        position: absolute;
        top: -50px;
        right: 0;
        color: white;
        font-size: 40px;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid white;
        border-radius: 50%;
        padding: 10px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100000;
        pointer-events: auto !important;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    /* feature-image 클릭 가능하도록 스타일 */
    .feature-image {
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .feature-image:hover {
        transform: scale(1.05);
    }
    
    /* 980px 이하에서만 feature-section 내부 이미지 클릭 비활성화 */
    @media (max-width: 980px) {
        .feature-section img {
            pointer-events: none;
            cursor: default;
        }
    }
}



/* 데스크탑: offer 섹션 단계별 클릭 안내 및 디자인 (981px 이상) */
@media (min-width: 981px) {
    /* 단계별 클릭 안내 메시지 */
    .nav-pills, .about .nav-pills {
        position: relative !important;
    }
    
    .nav-pills::before, .about .nav-pills::before {
        content: "단계별로 클릭하세요 ↓" !important;
        position: absolute !important;
        top: -25px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 16px !important;
        color: #0084ff !important;
        font-weight: bold !important;
        background: rgba(255, 255, 255, 0.9) !important;
        padding: 3px 6px !important;
        border-radius: 3px !important;
        border: 1px solid #0084ff !important;
        text-align: center !important;
        z-index: 10 !important;
        animation: pulse-message 2s infinite !important;
    }

    /* 안내 문구 아래 여백 추가 */
    .offer-section .nav-pills {
        padding-top: 24px !important; /* before 가상요소 아래 여백 확보 */
    }
    
    @keyframes pulse-message {
        0%, 100% {
            opacity: 1 !important;
            transform: translateX(-50%) scale(1) !important;
        }
        50% {
            opacity: 0.7 !important;
            transform: translateX(-50%) scale(1.05) !important;
        }
    }
    
    /* 데스크탑용 nav-pills 스타일 - 한줄로 표시 */
    .offer-section .nav-pills {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 800px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .offer-section .nav-pills a.accordion-link {
        background-color: #f8f9fa !important;
        color: #333 !important;
        border: 2px solid #0084ff !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 3px rgba(0, 132, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    
    .offer-section .nav-pills a.accordion-link:hover {
        background-color: #0084ff !important;
        color: white !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 2px 6px rgba(0, 132, 255, 0.4) !important;
    }
    
    .offer-section .nav-pills a.accordion-link.active {
        background-color: #0084ff !important;
        color: white !important;
        box-shadow: 0 2px 6px rgba(0, 132, 255, 0.6) !important;
        position: relative !important;
    }
    
    /* 데스크탑용 화살표 크기 */
    .offer-section .nav-pills .mx-2 i.fa-arrow-right {
        font-size: 1.2rem !important;
    }

    /* 손님도착(입실안내) 제목 아래 여백 조금 추가 */
    .offer-section #collapseFour .col-md-5 h1 {
        margin-bottom: 10% !important;
    }

    /* 손님도착 첫 단계 이미지 상단 여백 추가로 간격 확보 */
    .offer-section #collapseFour1 img {
        margin-top: 8px !important;
    }

    /* 데스크탑: 단계 문구 컨테이너를 버튼과 같은 폭으로 중앙 정렬 */
    .offer-section #collapseFour .col-md-5 #descFourTabs {
        display: block !important;
        width: 800px !important;
        max-width: 100% !important;
        margin: 6px auto 0 auto !important;
        text-align: center !important;
    }

    /* 데스크탑: About 섹션 전체 가운데 정렬 */
    .about .row.g-5.align-items-center {
        justify-content: center !important;
    }
    .about .col-xl-7 {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }

    /* 데스크탑: About 섹션 역할 탭(nav-pills) 중앙 정렬 (JSP 인라인 마진 무시) */
    .about .nav.nav-pills {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 12px !important;
    }
    .about .nav.nav-pills a.accordion-link {
        margin: 0 !important;            /* mb-4, margin-left, margin-top 무시 */
        padding: 0.75rem 1rem !important; /* 보기 자연스럽게 간격 유지 */
    }
    .about .nav.nav-pills a.accordion-link h5 {
        margin: 0 !important;
    }

    /* 데스크탑: About 섹션 텍스트 가운데 정렬 */
    .about .col-xl-7 {
        text-align: center !important;
    }
    .about .col-xl-7 h4,
    .about .col-xl-7 h1 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* 탭 컨텐츠 내부 텍스트와 레이아웃 가운데 정렬 */
    .about .tab-content .d-flex {
        justify-content: center !important;
    }
    .about .tab-content .ms-4 {
        text-align: center !important;
    }
    
    /* 데스크탑: About 탭 컨텐츠 내부 모든 요소 가운데 정렬 */
    .about .tab-content .row.g-4 {
        justify-content: center !important;
    }
    .about .tab-content .col-md-6,
    .about .tab-content .col-lg-6,
    .about .tab-content .col-xl-6 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .about .tab-content h4,
    .about .tab-content p {
        text-align: center !important;
    }
    .about .tab-content .d-flex {
        justify-content: center !important;
    }
}


/* 데스크탑: 요금안내 col-lg-4 카드 간 여백 보강 (해당 영역만) */
@media (min-width: 981px) {
    #pricing .col-lg-4 {
        padding-left: 3% !important;
        padding-right: 3% !important;
        margin-bottom: 3% !important;
        margin-top: 8% !important;
        box-sizing: border-box !important;
    }
    #pricing .pricing-item {
        height: 100% !important;
    }
}

/* 데스크탑: About 섹션 제목 아래 여백 강화 및 안내 문구 텍스트 교체 */
@media (min-width: 981px) {
    .about .col-xl-7 h1.display-5 {
        margin-bottom: 7% !important;
    }
    .about .nav-pills::before {
        content: "권한별로 클릭하세요 ↓" !important;
    }
}

/* 데스크탑: About 섹션 역할 탭 버튼을 모바일 스타일로 적용 (해당 영역 한정) */
@media (min-width: 981px) {
    .about .nav.nav-pills a.accordion-link {
        background-color: #f8f9fa !important;
        color: #333 !important;
        border: 2px solid #0084ff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0, 132, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    .about .nav.nav-pills a.accordion-link:hover {
        background-color: #0084ff !important;
        color: #fff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0, 132, 255, 0.4) !important;
    }
    .about .nav.nav-pills a.accordion-link.active {
        background-color: #0084ff !important;
        color: #fff !important;
        box-shadow: 0 4px 8px rgba(0, 132, 255, 0.6) !important;
        position: relative !important;
    }
}

/* 데스크탑: 요금안내 카드 2열 배치 (최소 가로폭 유지) */
@media (min-width: 981px) {
    #pricing .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 24px !important; /* 카드 간격 */
        justify-content: center !important;
    }
    #pricing .row > [class*="col-"] {
        flex: 0 1 calc(50% - 24px) !important; /* 한 줄에 2개 */
        max-width: calc(50% - 24px) !important;
        min-width: 420px !important; /* 최소 가로 사이즈 */
    }
}

/* service.jsp 전용 CSS */
/* 서비스 아이템 통일된 크기 설정 */
body:has(#service-logo) .service-item {
    min-height: 300px !important;
    height: 300px !important;
    padding: 30px 20px !important;
}

body:has(#service-logo) .service-item h4 {
    font-size: 28px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body:has(#service-logo) .service-item p {
    font-size: 20px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

body:has(#service-logo) .service-item .btn {
    margin-top: auto !important;
}

/* 요금안내 추천 라벨 스타일 */
.recommend-badge {
    display: inline-block;
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    white-space: nowrap;
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

.recommend-badge:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.recommend-badge-bronze {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.recommend-badge-silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #333;
}

.recommend-badge-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
}

.recommend-badge-diamond {
    background: linear-gradient(135deg, #B9F2FF 0%, #00CED1 100%);
    color: #333;
}

.recommend-badge-vip {
    background: linear-gradient(135deg, #FF1493 0%, #DC143C 100%);
}

#pricing .pricing-item {
    position: relative;
    overflow: visible;
}

@media screen and (max-width: 1880px) and (min-width: 1790px) {
    .recommend-badge {
        font-size: 13px;
        padding: 8px 16px;
        top: -10px;
        right: -10px;
    }
}

@media screen and (max-width: 1789px) and (min-width: 1371px) {
    .recommend-badge {
        font-size: 12px;
        padding: 7px 14px;
        top: -8px;
        right: -8px;
    }
}

@media screen and (max-width: 1370px) and (min-width: 981px) {
    .recommend-badge {
        font-size: 11px;
        padding: 6px 12px;
        top: -8px;
        right: -8px;
    }
}

@media screen and (max-width: 980px) {
    .recommend-badge {
        font-size: 30px;
        padding: 5px 10px;
        top: -5px;
        right: -5px;
        transform: rotate(3deg);
    }
}

@media (min-width: 900px) and (orientation: landscape)
       and (min-aspect-ratio: 4/3) and (max-aspect-ratio: 16/10) {
  /* 좌측 내비 + 우측 콘텐츠, 3~4컬럼 그리드 */

    .nav-pills, .about .nav-pills {
        border: 1px solid red;
    }
}

/* service.jsp 전용 모바일 반응형 설정 */
@media (max-width: 980px) {

    .service-page #service-section .container .row .col-lg-4 .service-item {
        margin-bottom: -1rem !important;
    }

    .service-page #service-section .container .row .col-lg-4 .service-item .service-icon {
        margin-top: 2rem !important;
        margin-bottom: 0rem !important;
    }

    .service-page #service-section .btn {
        margin-bottom: 2rem !important;
    }

    .service-page #service-section .container .row .col-lg-4 .service-item {
        min-height: 240px !important;
        height: 240px !important;
        padding: 25px 15px !important;
    }
    
    .service-page #service-section .container .row .col-lg-4 .service-item h4 {
        font-size: 22px !important;
        min-height: 50px !important;
    }
    
    .service-page #service-section .container .row .col-lg-4 .service-item p {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }
}

/* 힐러북 카드만 특별한 이벤트 스타일 */
#healerbook-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}

#healerbook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100% !important;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.6s !important;
}

#healerbook-card:hover::before {
    left: 100% !important;
}

#healerbook-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4) !important;
}

#healerbook-card .service-icon i {
    color: #ffffff !important;
    font-size: 4rem !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)) !important;
    transition: all 0.3s ease !important;
}

#healerbook-card:hover .service-icon i {
    transform: scale(1.3) rotate(10deg) !important;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3)) !important;
}

#healerbook-card h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    font-size: 2rem !important;
}

#healerbook-card p {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

#healerbook-card .btn {
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    color: white !important;
    border-radius: 30px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

#healerbook-card .btn:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.8) !important;
    transform: scale(1.1) !important;
}

/* 다른 서비스 카드들도 동일한 애니메이션 효과 적용 (색상은 유지) */
.service-page #service-section .container .row .col-lg-4 .service-item {
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100% !important;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent) !important;
    transition: left 0.6s !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item:hover::before {
    left: 100% !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item .service-icon i {
    transition: all 0.3s ease !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item:hover .service-icon i {
    transform: scale(1.15) !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item .btn {
    transition: all 0.3s ease !important;
}

.service-page #service-section .container .row .col-lg-4 .service-item .btn:hover {
    transform: translateY(-2px) !important;
}


/* service.jsp 전용 팝업 스타일 */
body:has(#service-logo) .service-detail-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
}

body:has(#service-logo) .service-detail-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body:has(#service-logo) .service-detail-header {
    background: #2a98ff;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body:has(#service-logo) .service-detail-header h3 {
    margin: 0;
    font-size: 24px;
}

body:has(#service-logo) .service-detail-close {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:has(#service-logo) .service-detail-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

body:has(#service-logo) .service-description {
    margin-bottom: 30px;
    text-align: center;
}

body:has(#service-logo) .service-description h4 {
    color: #2a98ff;
    font-size: 20px;
    margin-bottom: 10px;
}

body:has(#service-logo) .feature-section h5 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #2a98ff;
    padding-bottom: 10px;
}

body:has(#service-logo) .feature-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

body:has(#service-logo) .feature-image {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

body:has(#service-logo) .feature-content {
    flex: 1;
}

body:has(#service-logo) .feature-content h6 {
    color: #2a98ff;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

body:has(#service-logo) .feature-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

body:has(#service-logo) .service-detail-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: center;
}

body:has(#service-logo) .service-detail-footer .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

body:has(#service-logo) .service-detail-footer .btn-primary {
    background: #2a98ff;
    color: white;
}

body:has(#service-logo) .service-detail-footer .btn-primary:hover {
    background: #1e7ce8;
    transform: translateY(-2px);
}

body:has(#service-logo) .service-detail-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

body:has(#service-logo) .service-detail-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* service.jsp 전용 모바일 팝업 스타일 */
@media (max-width: 980px) {
    body:has(#service-logo) .service-detail-content {
        width: 95%;
        max-height: 95%;
    }
    
    body:has(#service-logo) .fs-4 {
        font-size: 2.5rem !important;
    }
    
    body:has(#service-logo) .service-detail-popup .service-detail-header h3 {
        font-size: 53px !important;
    }
    
    body:has(#service-logo) .service-detail-popup .service-description h4 {
        font-size: 44px !important;
    }
    
    body:has(#service-logo) .service-detail-popup .feature-section h5 {
        font-size: 40px !important;
    }
    
    body:has(#service-logo) .service-detail-popup .feature-content h6 {
        font-size: 35px !important;
    }
    
    body:has(#service-logo) .service-detail-popup .feature-content p {
        font-size: 31px !important;
        line-height: 1.8 !important;
    }
    
    body:has(#service-logo) .service-detail-popup .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    body:has(#service-logo) .service-detail-popup .feature-image {
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto 20px auto !important;
        display: block !important;
    }
    
    body:has(#service-logo) .service-detail-popup .feature-content {
        text-align: center !important;
        width: 100% !important;
    }
    
    body:has(#service-logo) .service-detail-popup .service-detail-body {
        padding: 20px;
    }
    
    body:has(#service-logo) .service-detail-popup .service-detail-footer {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    body:has(#service-logo) .service-detail-popup .service-detail-footer .btn {
        font-size: 36px !important;
        padding: 24px 60px !important;
        font-weight: bold !important;
    }
    
    body:has(#service-logo) .service-detail-popup .service-detail-close {
        font-size: 100px !important;
        width: 100px !important;
        height: 100px !important;
        line-height: 100px !important;
    }
}


/* 980px 이하에서 버튼 간격 조정 */
@media screen and (max-width: 980px) {
    .pricing .text-center .buy-btn + .buy-btn {
        margin-left: 150px !important;
    }
    
    /* service.jsp에서 스크롤 최상단 버튼 0.7배로 줄이기 */
    .service-page .back-to-top {
        transform: scale(0.7) !important;
        margin-right: -25px !important;
        margin-bottom: -15px !important;
    }
    
    /* index.jsp에서 스크롤 최상단 버튼 2배로 키우기 */
    .index-page .back-to-top {
        transform: scale(2) !important;
        bottom: 100px !important;
        right: 60px !important;
        transition: 0.2s !important;
    }

    /* service.jsp에서 reCAPTCHA 아이콘 크기 조정 */
    .service-page .grecaptcha-badge {
        transform: scale(0.45) !important;
        margin-right: 30px !important;
        margin-bottom: -30px !important;
    }
    
    /* index.jsp에서 reCAPTCHA 아이콘 크기 조정 */
    .index-page .grecaptcha-badge {
        transform: scale(1.2) !important;
        margin-right: -10px !important;
        margin-bottom: -5px !important;
    }
    
    /* index.jsp에서 메뉴 버튼 크기 30% 키우기 */
    .index-page .navbar-toggler {
        transform: scale(1.3) !important;
    }
    
    /* service.jsp에서 로고와 메뉴 영역 위아래 여백 줄이기 */
    .service-page .navbar {
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
        padding-left: 0.7rem !important;
    }
    
    .service-page .navbar .brand {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}



