/*******************************************************
*/
/* common
 *******************************************************/
.sub-content{min-height: 60vh;}
.sub-content.sub-04 {
   transition: height 0.5s ease-out, min-height 0.5s ease-out;
}

.dark-theme h3{color: white;}
.dark-theme h4{color: white;}
.dark-theme h6{color:var(--variant-dark);}


/* sub background */
.sub-content.sub-01{background:#fff;}
.sub-content.sub-05{background:#fff;}

.star-bg {position: absolute;width: 100%;overflow: hidden;bottom: 0;height: 100%;opacity: 0.2;}
.star-layer { position: absolute; width: 100%; height: 200vh; background: transparent; }
.star { position: absolute; background: #FFF; border-radius: 50%; }
.stars-small { animation: moveStars 50s linear infinite; }
.stars-small .star { width: 3px; height: 3px; opacity: 0.8; }
.stars-medium { animation: moveStars 100s linear infinite; }
.stars-medium .star { width: 4px; height: 4px; opacity: 0.6; }
.stars-large { animation: moveStars 150s linear infinite; }
.stars-large .star { width: 5px; height: 5px; opacity: 0.4; }
#title { position: absolute; top: 50%; left: 0; right: 0; color: #FFF; text-align: center; font-weight: 300; font-size: 50px; letter-spacing: 10px; margin-top: -30px; padding-left: 10px; z-index: 10; }
#title span { background: linear-gradient(white, #38495a); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@keyframes moveStars { from { transform: translateY(0); } to { transform: translateY(-100vh); } }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.star:nth-child(3n) { animation-name: moveStars, twinkle; animation-duration: inherit, 3s; animation-iteration-count: infinite, infinite; }

.card-body{padding:2rem 1.5rem;}

@media screen and (max-width: 1200px) {
   .card-body {padding: 2.2rem 1.8rem;}
}

@media screen and (max-width: 768px) {
   .card-body {padding: 1.8rem 1.4rem;}
}

@media screen and (max-width: 480px) {
   .card-body {padding: 1.2rem 1rem;}
}

.custom-table{width:100%;}
.custom-table th{background-color: #f8f9fa;font-weight: bold;font-size:14px; color: #4a5568; padding:12px; text-align: center;border: 1px solid #e2e8f0; white-space: nowrap; }
.custom-table td {text-align:center;font-size:14px; border: 1px solid #e2e8f0; vertical-align:middle; height:auto;padding:8px; transition: background-color 0.2s; }
.custom-table td:hover { background-color: #f7fafc; }

.custom-table td .status-tag{font-size:14px;max-width:calc(70px - 0.5rem);padding:4px;font-weight: bold;text-align: center;white-space: nowrap;}
.custom-table td .status-cancell{background:#FFF7D6;color:#974f0c;}
.custom-table td .status-apply{background:#E9F2FF;color:#0055CC;}
.custom-table td .status-completed{background:#DCFFF1;color:#216E4E;}
.custom-table td .status-closed{background:#f1f2f4;color:#44546F;}

@media (max-width:1200px) {
   .custom-table th { font-size: 13px; padding: 10px 6px; }
   .custom-table td { font-size: 13px; padding: 6px 4px; }
   .custom-table td .status-tag { font-size: 12px;padding: 2px 6px; }
   .custom-table .listBtn .btn { font-size: 12px; padding: 4px 8px; }
   .custom-table .apply-cancel-btn { font-size: 12px !important; padding: 4px 8px !important; height:38px !important;}
}

@media (max-width: 768px) {
   .custom-table, .custom-table thead, .custom-table tbody, .custom-table th, .custom-table td, .custom-table tr { display: block; }
   .custom-table thead tr { position: absolute; top: -9999px; left: -9999px; }
   .custom-table tr { border: 1px solid #ddd; margin-bottom: 15px; padding: 15px; border-radius: 8px; background: #fff; }
   .custom-table td { border: none; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; text-align: left; }
   .custom-table td:last-child { border-bottom: none; }
   .custom-table td:before { content: attr(data-label); font-weight: bold; color: #555; flex: 0 0 auto; margin-right: 15px; min-width: 80px; }
   .custom-table td > * { flex: 1 1 auto; text-align: right; }
   .custom-table td .status-tag {padding:6px 8px;}
   .custom-table .apply-cancel-btn{text-align:center;}
}

.grid-title h4{color:var(--variant);font-weight:400;}


.btn-default{width: 100%;display: inline-flex;align-items: center;justify-content: center;height: 42px;padding: 0 16px;font-size: 14px;font-weight: 500;border-radius: 6px;text-decoration: none;transition: all 0.6s ease-in-out;background-color: #f8f9fa;color: #666;border: 1px solid #e2e8f0;}
.btn-default:hover{background-color: #edf2f7;border-color: #cbd5e0;}

.contents{margin-bottom:70px;}
.contents:last-child{margin-bottom: 0;}
.contents h6{font-weight:400;}

@media (max-width:768px) {
   .contents{margin-bottom:40px;}
}

/*******************************************************
*/
/* tab style
 *******************************************************/

.tab_wrap { border: 1px solid #333; border-radius: 9999px; box-shadow: none; position: relative; z-index: 10 }
.tab_wrap:after { background: linear-gradient(to left, #333 20%, #333 44%, #999 50%, #444 60%, #333 63%, #333 100%); background-size: 200% auto; border-radius: inherit; bottom: -1px; content: ""; height: 100%; left: 0; position: absolute; transition: background-position-x .6s ease; width: 100%; z-index: -1; background-position-x: 87% }
.tab_wrap_root { background:rgb(0, 15, 24); display: flex; overflow: hidden; padding: 4px; border-radius: inherit; position: relative }
.tab_pill { pointer-events: none; position: absolute; -webkit-user-select: none; -moz-user-select: none; user-select: none; border-radius: inherit; top: 4px; background:linear-gradient(to top right, #1D2333 50%, #21283B 50%); height: 36px; opacity: .8; transition: left .2s ease-in-out, width .2s ease-in-out; z-index: 1 }
.tab_glow { pointer-events: none; position: absolute; -webkit-user-select: none; -moz-user-select: none; user-select: none; border-radius: inherit; top: 4px; background: #fff; bottom: -52px; filter: blur(32px); height: 50px; transition: left .2s ease-in-out; width: 39.5px; z-index: 0 }

.sub_tab { background: transparent; border: 0; color: #888; cursor: pointer;font-size:1.25rem; font-weight: 500; height: 36px; padding:10px 20px; position: relative; text-transform: capitalize; transition: color .15s ease; z-index: 50; border-radius: inherit; flex: 1; display: flex; align-items: center; justify-content: center }
.sub_tab.active, .sub_tab:hover { color: #fafafa; text-shadow: 1px 1px 12px hsla(0, 0%, 100%, .4) }
.sub_tab:focus-visible { box-shadow: 0 0 0 1px #666 }
.sub_tabcon_wrap {position: relative; min-height: 300px }

.sub_tabcon {display: none; animation: fadeIn 0.3s ease-in-out;}
.sub_tabcon.active { display: block }

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

@media (max-width: 768px) {
   .sub_tab{font-size:1rem;}
}
@media (max-width: 480px) {
   .sub_tab{font-size:14px;}
}


/*******************************************************
*/
/* spotlight-card
 *******************************************************/

.light-theme .spotlight-container {position: relative;}
.light-theme .spotlight-card {color:#333; position: relative; height: 100%; min-height:200px; background: rgb(226, 232, 240); border-radius:var(--border-radius); padding: 1px; overflow: hidden; --mouse-x: 0px; --mouse-y: 0px;}
.light-theme .spotlight-card:before {content: ''; position: absolute; width: 20rem; height: 20rem; background: rgb(209, 213, 219); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity 300ms; left: calc(var(--mouse-x) - 10rem); top: calc(var(--mouse-y) - 10rem); z-index: 10; filter: blur(100px);}
.light-theme .spotlight-card:after {content: ''; position: absolute; width: 24rem; height: 24rem; background: rgb(128, 175, 255); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity 300ms; left: calc(var(--mouse-x) - 12rem); top: calc(var(--mouse-y) - 12rem); z-index: 30; filter: blur(100px);}
.light-theme .spotlight-container:hover .spotlight-card:before {opacity: 1;}
.light-theme .spotlight-card:hover:after {opacity: 0.1;}
.light-theme .card-content {position: relative; height: 100%; background:transparent; border-radius: inherit; z-index: 20; overflow: hidden;}
.light-theme .card-gradient {position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) translateY(50%); pointer-events: none; z-index: 1; width: 50%; aspect-ratio: 1;}
.light-theme .card-gradient > div {position: absolute; inset: 0; background: rgb(243, 244, 246); border-radius: 50%; filter: blur(80px);}
.light-theme .content-wrapper {display: flex; flex-direction: column; height: 100%;}
.light-theme .spotlight-card p {color:var(--variant-light);}

.spotlight-container {position: relative; }
.spotlight-card {color:#fff; position: relative; height: 100%; min-height:200px; background: rgb(31, 41, 55); border-radius:var(--border-radius); padding: 1px; overflow: hidden; --mouse-x: 0px; --mouse-y: 0px; }
.spotlight-card:before { content: ''; position: absolute; width: 20rem; height: 20rem; background: rgb(156, 163, 175); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity 300ms; left: calc(var(--mouse-x) - 10rem); top: calc(var(--mouse-y) - 10rem); z-index: 10; filter: blur(100px); }
.spotlight-card:after { content: ''; position: absolute; width: 24rem; height: 24rem; background: rgb(0, 89, 255); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity 300ms; left: calc(var(--mouse-x) - 12rem); top: calc(var(--mouse-y) - 12rem); z-index: 30; filter: blur(100px); }
.spotlight-container:hover .spotlight-card:before { opacity: 1; }
.spotlight-card:hover:after { opacity: 0.1; }
.spotlight-card .content-area{position: relative;z-index: 2;}
.card-content { position: relative; height: 100%;background: rgb(31, 41, 55); z-index: 20; overflow: hidden; }
.card-gradient { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) translateY(50%); pointer-events: none; z-index: 1; width: 50%; aspect-ratio: 1; }
.card-gradient > div { position: absolute; inset: 0; background: rgb(31, 41, 55); border-radius: 50%; filter: blur(80px); }
.content-wrapper { display: flex; flex-direction: column; height: 100%; position: relative;z-index:2;}
.spotlight-card p{color:var(--variant-dark);}


/*******************************************************
*/
/* gradient-card
*******************************************************/
.gradient-card {position: relative;border:1px solid;border-radius:var(--border-radius);flex: 1 1;transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;box-shadow: 0 0 0 1px transparent, 0 2px 4px transparent, 0 12px 24px transparent;height: 100%;z-index: 1;}
.gradient-card .shimmer { background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, .1) 40%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .1) 60%, transparent 80%); position: absolute; inset: 0; z-index: 20; pointer-events: none; border-radius: inherit; background-size: 200% auto; background-position: 0; animation: shimmer 18s cubic-bezier(.8, 0, .05, 1) infinite; animation-delay: var(--delay); }
.gradient-card .icon { position: relative; display: inline-flex; padding: 0.75rem; border-radius:12px; }
.gradient-card .icon span{color:var(--variant-dark);font-size:24px;font-weight: 400;}
.gradient-card p {color:var(--variant-dark);line-height: 1.6; }
.gradient-card:before {content: "";position: absolute;inset:-1px;border-radius: inherit;padding: 1px;background: radial-gradient(75% 75% at 25% 15%, #fff 0, rgba(255, 255, 255, 0.3) 100%);-webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);-webkit-mask-composite: xor;mask-composite: subtract;opacity: 0.5;pointer-events: none;}
.gradient-card .icon:before { content: ""; position: absolute; inset:0px; border-radius:inherit; padding: 1px; background: radial-gradient(75% 75% at 25% 15%, #fff 0, hsla(0, 0%, 100%, .3) 100%); -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000); mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none; }

@keyframes shimmer { 0% { opacity: 0 } 5% { opacity: 0; background-position: -50% } 10% { opacity: .7 } 15% { opacity: 0; background-position: 150% } 20% { opacity: 0 } to { opacity: 0 } }


/*******************************************************
*/
/* about
 *******************************************************/
.business-area .tit h6{font-family:'Paperlogy';}

.about-area-01 h3{color:black;}
.about-area-01 h6{color:var(--variant-light);font-weight:400;}

.about-area-01 .about-item-image{width:100px;}
.about-item-image img{width:100%;height:100%;object-fit: cover;}

.about-area-02 {gap: 20px;}
.about-area-02 .about-item {position:relative;border-radius: 16px;text-align: center;transition: transform 0.3s ease, box-shadow 0.3s ease;min-height:320px;display: flex;flex-direction: column;justify-content: space-between;border: 1px solid transparent;background-clip: padding-box;}


.about-area-02 .about-item-title {text-align: left;font-weight:600;}
.about-area-02 .about-item-description {text-align: left;font-weight:300;word-break:break-all;}


@media (max-width: 1400px) {
   .about-area-02 {gap: 18px;}
   .about-area-02 .about-item {min-height:300px;}
}

@media (max-width: 1200px) {
   .about-area-02 {grid-template-columns: repeat(2, 1fr);gap: 20px;}
   .about-area-02 .about-item {min-height:350px;}
}

@media (max-width: 768px) {
   .about-area-02 {grid-template-columns: 1fr;gap: 15px;}
   .about-area-02 .about-item {min-height:300px;}
}

@media (max-width: 480px) {
   .about-area-02 {gap: 12px;}
   .about-area-02 .about-item {min-height:280px;}
}

/*******************************************************
*/
/* business
*******************************************************/
.spotlight-card.gradient-card{border: none;}

.business-area.area-01 .group{gap: 20px;}

.business-area.area-02 .grid-cols-4{gap: 20px;}
.business-area.area-02 h4{color:white;}
.business-area.area-02 h5{color:white;}
.business-area.area-02 .tit{display:flex;align-items:center;justify-content:center;}
.business-area.area-02 .tit i{color:var(--variant-dark);}

.business-area.area-03 {gap: 20px;}
.business-area.area-03 h5{color:white;}
.business-area.area-03 .tit{display:flex;align-items:center;justify-content: space-between;}
.business-area.area-03 .tit i{color:var(--variant-dark);}


/*******************************************************
*/
/* service
 *******************************************************/
.process-area img{width: fit-content !important;height: auto;object-fit: cover;margin: 0 auto;}
.introduce-area .group{gap:20px;}
.introduce-area.area-02{gap:20px;}

.adjustment-area .tag{width: fit-content;padding:4px 10px;font-size:16px;color:#fff;border-radius:4px;display:inline-block;font-weight: bold;}


/*******************************************************
*/
/* contact
*******************************************************/
@media (max-width: 768px) {
   #contact-form .btn.btn-primary{max-width:100% !important;}
}



/*******************************************************
*/
/* program
*******************************************************/


/* 검색 */
.board_top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.board_top .total-count { font-size: 15px; color: #555; }
.board_top .total-count strong { font-weight: 600; color: #000; }
.board_top .search_wrap { width: 100%; max-width:300px;display: flex; justify-content: center; align-items: center; border-bottom: 1px solid #333; padding: 0 8px 8px; transition: 0.6s; }
.board_top .search_wrap form { position: relative; width: 100%; display: flex; align-items: center; }
.board_top .search_wrap select#s1 { width:30%; margin-right: 8px; height: 35px; font-size: 15px; border: none; cursor: pointer;}
.board_top .search_wrap input#s2 {width: calc(100% - 35px);height: 35px; padding: 0 8px; border: none; }
.board_top .search_wrap input#s2::placeholder { color: #b7b7b7; font-size: 15px; }
.board_top .search_wrap label { display: none; }
.board_top .search_container { display: flex; position: relative; width: 100%; }

.board_top .search-con { width:35px;background: transparent; border: none;border-radius:100px; position: absolute; top: 0; right: 0; height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s;}
.board_top .search-con .material-icons { font-size: 25px; color:#000; transition: 0.3s;}
.board_top .search-con:hover{background:#000;}
.board_top .search-con:hover .material-icons{color:#fff;}

@media screen and (max-width:480px) {
   .board_top { flex-direction: column; align-items: center; }
   .board_top .total-count {display: none;}
   .board_top .search_wrap { max-width: 100%; padding-left: 0;padding-right: 0;padding-bottom:6px;}
}

/* Pagination */
.board_list_foot {overflow: hidden; }
.board_list_foot .btn_wrap { width:30%; float: left; padding: 20px 0; display: inline-flex; justify-content: flex-start; }
.board_list_foot .btn_wrap.text-right { padding: 20px 0 20px 10px; justify-content: flex-end; }
.board_list_foot .paging_wrap { width:40%; float: left; text-align: center; padding: 20px 10px; }
.board_list_foot .paging_wrap .pagination { display: inline-block; margin: 0; padding: 0; }
.board_list_foot .paging_wrap .pagination li { margin: 0 2px; width:26px;height:26px;display: inline-flex;align-items: center;justify-content: center;}
.board_list_foot .paging_wrap .pagination li a {width: 100%;height: 100%; color: #666; padding:7px 10px; font-size:12px; border: none; border-radius:200px; text-decoration: none; transition: 0.3s all; }
.board_list_foot .paging_wrap .pagination li.active a, .board_list_foot .paging_wrap .pagination li a:hover { background: #000; color: #fff;}

.board_list_foot .search_wrap{text-align:Center;clear:both;}

/* 버튼 정의 */

.program-wrap .btn_wrap {margin-top: 20px;display: flex;justify-content: center;flex-flow: row wrap;}
.program-wrap .btn{margin:3px; transition: 0.3s all;width: 100%;max-width: 140px;border-radius:8px;height:46px;border: 1px solid #494949;background:#494949;color:#fff;display: flex;justify-content: center;align-items: center;}
.program-wrap .btn.btn-primary{background:#000;color:#fff;border:1px solid #000;}
.program-wrap .btn.btn-secondary{border: 1px solid #494949;background:#494949;color:#fff;}
.program-wrap .btn.btn-default{max-width:68px;padding:8px;}
.program-wrap .btn.btn-danger{background:#dc3545;color:#fff;border:1px solid #dc3545;}
.program-wrap .btn:hover{background:var(--primary) !important;color:#fff;border:1px solid var(--primary);}

@media(max-width: 768px) {
   .program-wrap .btn{max-width:120px;height:46px;line-height:46px;font-size:13px;}
   .program-wrap .btn.btn-default{height:44px;line-height:44px;}
}

/* 작성 */
.program-wrap .board_write{width:100%;border-top:2px solid #000;}
.program-wrap .board_write tbody tr th{background:#f9f9f9;text-align:left;}
.program-wrap .board_write tbody tr th,.program-wrap .board_write tbody tr td{border-bottom:1px solid #ddd;padding:10px;}
.program-wrap .board_write tbody tr td input.wfull,.program-wrap .board_write tbody tr td textarea.wfull{width:100% !important;}
.program-wrap .board_write tbody tr td textarea{width:100%;height:200px;}
.program-wrap .board_write .form-control{width:auto;}

@media(max-width:550px){
   .program-wrap .board_write tbody tr th{display:none;}
   .program-wrap .board_write tbody tr td {width: 100%;}
   .program-wrap .board_write tbody tr td input{width: 100%;}
   .program-wrap .board_write input#bod_secret {width: auto;margin-right:5px;}
}

.sub-sec .program-item .program-content{border: 1px solid var(--variant-dark);}
.sub-sec .program-list{gap: 20px;margin-bottom: 20px;}
.sub-sec .program-list:before{display:none;}
.sub-sec .program-list:after{display:none;}

.program-modal .modal-content ul li{display:flex;}
.program-modal .modal-content ul li span{font-size:14px;position: relative;top:5px;color:var(--variant);}
.program-modal .modal-content ul li p{text-align: left;padding-left:3px;}
.program-modal .cd-popup-confirm{background:var(--primary) !important;color:#fff !important;}


.program-detail .title{text-align:center;margin-bottom: 30px;}
.program-detail .program-item .apply-status{display: inline-block;width: auto;font-size:1rem;font-weight: 700;line-height: 35px;padding: 0 25px;border-radius: 10px;margin-bottom: 10px;}

.program-detail .specs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 0; list-style: none; }
.program-detail .specs-list-item { display: flex; align-items: center; padding:20px; background:var(--secondary); border-radius:10px;border: 1px solid #e2e8f0;transition: transform 0.3s ease; }

.program-detail .spec-icon { flex: 0 0 50px; height: 50px; background: #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; color: white; font-size:22px; }
.program-detail .spec-icon span{font-weight:300;}
.program-detail .spec-content { flex: 1; }
.program-detail .spec-label { display: block; font-size:1rem;color:var(--variant); }
.program-detail .spec-value { display: block; font-size:20px; font-weight: 600; color: #333; margin-top: 5px;}

.program-detail .program-detail-body{width: 100%;border-top: 1px solid #e2e8f0;border-bottom: 1px solid #e2e8f0;padding: 3rem 0;}

@media (max-width: 1024px) {
   .program-detail .specs-list { grid-template-columns: 1fr; gap:10px; }
}

@media (max-width: 768px) {
   .program-detail .specs-list-item{padding:1rem;}
   .program-detail .spec-icon { flex: 0 0 40px; height: 40px; }
   .program-detail .spec-icon span{ font-size:22px; }
   .program-detail .spec-label { font-size:14px; }
   .program-detail .spec-value { font-size:18px; }
}
@media (max-width: 768px) {
   .program-detail .spec-value { font-size: 16px; }
}