/* ================================
   교육과정 페이지 CSS
   ================================ */

@import url('./common.css');

html {
    scroll-behavior: smooth;
}

/* ================================
   탭 메뉴 스타일
   ================================ */
.tab-wrap {
    margin-top: 0;
    padding: 0 86px;
    margin-top: -90px;
    margin-bottom: 90px;
    box-sizing: border-box;
    position: relative;
}

.tab-list-box {
    border-bottom: 0;
    margin-bottom: 50px;
    position: sticky;
    top: calc(var(--header-offset, 90px) + 36px);
    z-index: 10;
    background: #fff;
    padding: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-list-box.tab-hidden {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
}

.tab-list li {
    position: relative;
}

.tab-list a {
    display: inline-block;
    background: transparent;
    border: 1px solid transparent;
    padding: 16px 43px;
    font-size: 18px;
    font-weight: 600;
    color: #b7bfce;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 999px;
    text-decoration: none;
}

.tab-list li.on a {
    color: #ffffff;
    border-color: #0b2f66;
    background-color: #0b2f66;
    box-shadow: 0 6px 16px rgba(11, 47, 102, 0.22);
}

.tab-list li:not(.on) a:hover {
    color: #7b8798;
    background-color: #f2f4f7;
}

.tab-contents {
    position: relative;
    padding-top: 8px;
}

.tab-panel {
    display: block;
    margin-bottom: 300px;
}


.tit-area.ac {
    text-align: center;
    margin-bottom: 40px;
}

.tit-h3.extra {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.txt-xlg {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.img-area {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.img-area img {
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    width: 100%;
}

.bounce-text span {
    display: inline-block;
    animation: bounceText 1.1s ease-in-out infinite;
}

.bounce-text span:nth-child(1) {
    animation-delay: 0s;
}

.bounce-text span:nth-child(2) {
    animation-delay: 0.08s;
}

.bounce-text span:nth-child(3) {
    animation-delay: 0.16s;
}

.bounce-text span:nth-child(4) {
    animation-delay: 0.24s;
}

.bounce-text span:nth-child(5) {
    animation-delay: 0.32s;
}

.bounce-text span:nth-child(6) {
    animation-delay: 0.4s;
}

.bounce-text span:nth-child(7) {
    animation-delay: 0.48s;
}

.bounce-text span:nth-child(8) {
    animation-delay: 0.56s;
}

.bounce-text span:nth-child(9) {
    animation-delay: 0.64s;
}

.bounce-text span:nth-child(10) {
    animation-delay: 0.72s;
}


@keyframes bounceText {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ================================
   반응형 디자인 - 태블릿 (1024px 이하)
   ================================ */
@media (max-width: 1024px) {}

/* ================================
   반응형 디자인 - 모바일 (768px 이하)
   ================================ */
@media (max-width: 768px) {
    .tab-wrap {
        padding: 0 32px;
    }
}

/* ================================
   반응형 디자인 - 작은 모바일 (480px 이하)
   ================================ */
@media (max-width: 480px) {
    .tab-wrap {
        padding: 0 24px;
        margin-top: 0;
    }
}