.cont-container{
    width: 95%;
    margin: 0 auto;
    padding-top: 150px;
    overflow: hidden;
}

.tabs-container {
    width: 100%;
    max-width: 600px;
    padding: 10px;
}

.tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.tab {
    flex-grow: 1;
    text-align: center;
    padding: 0;
    cursor: pointer;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.tab > a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 15px;
}

.tab:hover {
    background-color: rgba(165, 216, 255, 0.1);
    color: #000;
}

.tab > a.active {
    color: #000;
    font-weight: 600;
}

.tab> a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #A5D8FF;
    border-radius: 2px;
}

.detail-container{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

/* 시설 */
.facility_wrap{
    width: 95%;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.facility_wrap > div{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.showcase-header, .staff-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.showcase-header h2, .staff-header h2 {
    color: #0A2463;
    font-size: 35rem;
    margin-bottom: 12rem;
    font-weight: bold;
}

.showcase-header p, .staff-header p {
    color: #666666;
    max-width: 1140px;
    margin: 0 auto 30rem;
    font-size: 16px;
    line-height: 1.2;
}

/* 카테고리 내비게이션 */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10rem;
    margin-bottom: 40rem;
}

.category-btn {
    background-color: transparent;
    color: #0A2463;
    border: 1px solid #3E92CC;
    border-radius: 30px;
    padding: 10px 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn:hover {
    background-color: rgba(62, 146, 204, 0.1);
}

.category-btn.active {
    background-color: #0A2463;
    color: #ffffff
}

.category-banners {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.category-banner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.facility_img_wrap, .facility_text_wrap{
    width: 50%;
}

.instructor_detail_area, .instructor_banner_area{
    width: 90%;
    margin: 0 auto;
}

.banner-container {
    width: 400px;
    height: 280px;
    position: relative;
    overflow: hidden;
    user-select: none;
}
.banner-slides {
    display: flex;
    transition: transform 0.3s ease;
    cursor: grab;
}
.banner-slides.grabbing {
    cursor: grabbing;
}
.banner-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.banner-slide img{
    width: 100%;
    transition: transform 3s ease;
}
.banner-slide:hover img {
    transform: scale(1.05);
}
.banner-container:hover .banner-controls {
    opacity: 1;
}
.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50rem;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.9), transparent);
    color: #ffffff;
    text-align: left;
}

.banner-content h3 {
    font-size: 30rem;
    margin-bottom: 15rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 20rem;
    opacity: 0.9;
}

/* 시설 그리드 */
.facility-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12rem;
    position: relative;
    z-index: 1;
}

/* 시설 카드 */
.facility-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.facility-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.8), transparent);
    transition: opacity 0.3s;
}

.facility-card:hover .card-overlay {
    opacity: 0.9;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12% 12% 3%;
    color: #ffffff;
    z-index: 2;
}

.card-title {
    font-size: 20rem;
    font-weight: 600;
    margin-bottom: 5rem;
    transition: transform 0.3s;
}

.facility-card:hover .card-title, .facility-card:hover .card-description {
    transform: translateY(-5px);
}

.card-description {
    font-size: 14rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.facility-card:hover .card-description {
    -webkit-line-clamp: unset;
    opacity: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.facility-card:hover .feature-tags {
    opacity: 1;
    transform: translateY(0);
}

.feature-tag {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 10rem 12rem;
    font-size: 10rem;
}

/* 더 보기 버튼 */
.load-more-container {
    text-align: center;
    margin-top: 15rem;
    position: relative;
    z-index: 1;
}

.load-more-btn {
    background-color: transparent;
    color: #0A2463;
    border: 1px solid #0A2463;
    border-radius: 30px;
    padding: 12rem 30rem;
    font-size: 14rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5rem;
}

.load-more-btn:hover {
    background-color: #0A2463;
    color: #ffffff;
}


/*강사*/
/* 스태프 그리드 컨테이너 */
.staff-main-carousel {
    max-width: 1140px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.main-carousel-container {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
}

.main-carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.slide-image-container {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.slide-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content-inner{
    padding: 3em;
}

.slide-name {
    font-size: 2.5em;
    color: #0A2463;
    margin-bottom: 0.5em;
}

.slide-title {
    font-size: 1.3em;
    color: #FF8552;
    margin-bottom: 1.5em;
}

.slide-bio {
    font-size: 1em;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 2em;
}

.slide-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7em;
    margin-bottom: 2em;
}

.slide-certification {
    background-color: rgba(62, 146, 204, 0.1);
    color: #0A2463;
    border-radius: 20px;
    padding: 0.5em 1em;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.slide-certification i {
    color: #1CA3EC;
}

.see-more-btn {
    margin-top: 2em;
    display: inline-block;
    background-color: #0A2463;
    color: #ffffff;
    padding: 0.7em 1.5em;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1em;
    transition: all .3s;
    cursor: pointer;
}

.see-more-btn:hover {
    background-color: #3E92CC;
    transform: translateY(-2px);
}

/* 스와이퍼 네비게이션 버튼 커스텀 스타일 */
.swiper-button-next,
.swiper-button-prev {
    color: #0A2463;
    background-color: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 17rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 스태프 썸네일 리스트 */
.staff-thumbnails {
    display: grid;
    max-width: 1140px;
    margin: 3em auto;
    gap: 1.5em;
    place-items: center;
    grid-template-columns: repeat(4, 1fr);
}

.staff-thumbnail {
    width: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all .3s;
    opacity: 0.7;
}

.staff-thumbnail.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    opacity: 1;
}

.staff-thumbnail:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.thumbnail-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.thumbnail-info {
    background-color: #ffffff;
    padding: 0.8em;
    text-align: center;
}

.thumbnail-name {
    font-size: 1em;
    color: #0A2463;
    font-weight: 600;
    margin-bottom: 0.2em;
}

.thumbnail-title {
    font-size: 0.8em;
    color: #666666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 1em;
}

/* 물방울 효과 */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rise 5s infinite ease-in;
    bottom: -10%;
    opacity: 0;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* 모달 스타일 */
.staff-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.staff-detail-modal.active {
    display: flex;
    animation: modalFadeIn 0.5s forwards;
}

.point-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.point-detail-modal.active {
    display: flex;
    animation: modalFadeIn 0.5s forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.point-detail-modal .modal-content{max-width: 90%;}
.point-detail-modal .modal-info{padding: 3% 0;}
.point-detail-modal .modal-info > div{display: flex; flex-direction: column; gap: 10rem;}
.point-detail-modal .modal-bio{line-height: 1.4; font-size: 1.1em}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;
}

.staff-detail-modal.active .modal-content, .point-detail-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 1.5em;
    color: #333333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.modal-info h3 {
    font-size: 2.5em;
    color: #0A2463;
    margin-bottom: 0.5em;
}

.modal-info h4 {
    font-size: 1.3em;
    color: #FF8552;
    margin-bottom: 1.5em;
}

.modal-bio {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

.modal-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7em;
    margin-top: 1em;
}

.modal-certification {
    background-color: rgba(62, 146, 204, 0.1);
    color: #0A2463;
    border-radius: 20px;
    padding: 0.5em 1em;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.modal-certification i {
    color: #1CA3EC;
}

/* 푸터 웨이브 애니메이션 */
.footer {
    position: relative;
}

.wave-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-repeat: repeat-x;
    background-size: 50px 20px;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%233E92CC' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,224C672,213,768,171,864,149.3C960,128,1056,128,1152,149.3C1248,171,1344,213,1392,234.7L1440,256L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    transform: rotate(180deg);
    animation: wave 15s linear infinite reverse;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .main-carousel-slide {
        flex-direction: column;
        height: auto;
    }

    .slide-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .main-carousel-container {
        height: auto;
    }

    .staff-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .staff-showcase {
        padding: 3rem 1rem;
    }

    .staff-header {
        margin-bottom: 2rem;
    }

    .staff-thumbnail {
        width: 130px;
    }

    .thumbnail-image {
        height: 150px;
    }
}



/* 요금 */
.charge_container{
    display: flex;
    flex-direction: column;
    max-width: 1140px;
    margin: 20px auto;
}

.charge_container img{
    object-fit: contain;
    width: 100%;
}

.modify-wrap{
    display: flex;
    flex-flow: row-reverse;
    max-width: 1140px;
    margin: 20px auto 0;
}

/* 모바일 및 태블릿 대응 */
@media screen and (max-width: 768px) {
    .tabs-container {
        padding: 5px;
    }
    .tab {
        padding: 10px;
        font-size: 14px;
    }
    .category-nav{display: grid; grid-template-columns: repeat(2, 1fr)}
    .category-btn{display: block;}
    .facility-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 10rem;
    }

    .facility-card:nth-child(odd) {
        transform: translateY(0);
    }

    .facility-card:nth-child(odd):hover {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 480px) {
    .tab {
        padding: 8px;
        font-size: 12px;
    }

    .showcase-header h2{
        margin-bottom:40rem;
    }
    .showcase-header p{
        font-size: 14px;
        line-height: 1.5;
    }
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .category-nav {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        justify-content: center;
    }
}

.point-container {position: relative; margin: 20px auto; display: flex; flex-direction: column; max-width: 1440px;}
#target-image {
    width: 100%;
}
#result {
    margin-top: 10px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}
.marker {position: absolute; cursor: pointer;}
.marker-label {position: absolute; background-color: rgba(0, 0, 0, 0.7); color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; transform: translateX(-50%); white-space: nowrap; z-index: 999; cursor: pointer;}
.marker-label:after {content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid rgba(0, 0, 0, 0.7); cursor: pointer;}

