html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'Pretendard', sans-serif;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}




.main-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-section .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    color: white;
    width: 1640px;
}


/* .main-section .content { */
/* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 80px));
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease; */
/* } */

.main-section .content.show {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.main-section.first .content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.nav-scroll {
    position: fixed;
    bottom: 160px;
    left: 30px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.scroll-bar {
    position: relative;
    width: 3px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.5);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    height: 0%;
    transition: height 0.3s ease;
    z-index: 1;
}

.scroll-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;

}

.main-section .description {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.main-section .title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 800;
    font-size: 75px;
    color: white;
    line-height: 1.3;
    margin-bottom: 100px;
}

.main-section .search-section {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 5px;
}

.search-section input {
    padding: 10px 20px;
    font-size: 18px;
    width: 300px;
    border: none;
    outline: none;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
}

.search-section input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-section button {
    background: none;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}


@media (max-width: 1430px) {
    .main-section .content {
        width: 90%;
        padding: 0 20px;
    }

    .main-section .title {
        font-size: clamp(32px, 6vw, 60px);
        line-height: 1.2;
    }

    .main-section .description {
        font-size: clamp(16px, 2vw, 18px);
    }

    .search-section input {
        font-size: clamp(14px, 2vw, 16px);
        width: 250px;
    }

    .search-section button img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 1010px) {

    .nav-scroll {
        display: none;
    }
}


.news-header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.news-text {
    color: #00317C;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 16px);
}

.news-heading {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 58px);
}

.news-title p,
.news-title h2 {
    margin: 10px;
}

.news-title2 {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.news-title2 p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(12px, 1.2vw, 20px);
}

.news-btn {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 120px;
}

.news-more-btn {
    width: 240px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: linear-gradient(to right, #ca8554, #8B4513);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 20px;
    color: white;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    cursor: pointer;
    transition: background-size 0.5s ease, background-color 0.3s, color 0.3s;
    overflow: hidden;
}

.news-more-btn img {
    width: 20px;
    height: 20px;
}

.news-more-btn:hover {
    background-size: 100% 100%;
}

.news-tab-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tab {
    background-color: transparent;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 12px;
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 400;
    cursor: pointer;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
}

.news-tab.active {
    color: white;
}

.news-tab.active::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 2px;
    width: 6px;
    height: 6px;
    background-color: #00317C;
    border-radius: 50%;
}

.news-tab-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: -6px 0;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    overflow: hidden;
    padding: 10px 10px;
}

.news-item {
    width: calc((100% - 120px) / 4);
    min-width: 200px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: scale(1.03);
}

.news-image-container img {
    width: 100%;
}

.news-content h2 {
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 600;
}

.news-content h3,
.news-date {
    font-size: clamp(12px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

@media (max-width: 1200px) {

    .news-list {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .news-item {
        flex: 1 1 25%;
        box-sizing: border-box;
        min-width: 0;
    }

    .news-tab-menu {

        gap: 0;
    }

    .news-tab {
        font-size: 3vw;
        padding: 6px 8px;
    }

    .news-tab.active::after {
        content: none;
    }


    .news-btn {
        height: 10vw;
    }

    .news-more-btn {
        width: 32vw;
        height: 7vw;
        padding: 0 3vw;
        font-size: 2.1vw;
    }

    .news-more-btn img {
        width: 3vw;
        height: 3vw;
    }

    .news-heading {
        font-size: 3vw;
    }
}

@media (max-width: 600px) {
    .news-item {
        width: calc((100% - 80px) / 4);
        min-width: 30px;
        flex: 0 0 calc(50% - 20px);
    }

    .news-list {
        display: flex;
        flex-wrap: wrap;
        padding: 0 20px;
        max-width: 700px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}


.main-footer {
    width: 100%;
    background-color: #19284E;
    display: flex;
    justify-content: space-between;
    padding: 60px;
    box-sizing: border-box;

}

.footer-content-first {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.footer-content-first strong {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;

}


.footer-content-second {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-address {
    display: flex;
    align-items: center;

}

.footer-address span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    padding: 0;
}

.footer-address p {
    margin: 0;
    padding: 0;
    margin-left: 8px;
    margin-right: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);

}

.footer-email {
    display: flex;
    align-items: center;

}

.footer-email span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    padding: 0;
}

.footer-email p {
    margin: 0;
    padding: 0;
    margin-left: 8px;
    margin-right: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: flex-end;
}

.footer-right span {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.footer-right p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1100px) {
    .main-footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;


        padding: clamp(20px, 5vw, 40px);
    }

    .footer-right {
        align-items: center;
        text-align: center;
    }

    .footer-content-second {
        align-items: start;
        text-align: center;
        margin:40px 0;
    }

    .footer-address,
    .footer-email {
        justify-content: center;
    }

    .footer-address {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 4px;
    }

    .footer-address span {
        margin: 0 0 5px;
    }

    .footer-address p {
        margin: 0 0 015px;
    }
}

.main-section.third .content .news-header .news-text {
    color: #D9B176;
}

.main-section.third .news-more-btn {
    background-image: linear-gradient(to right, #3b82f6, #1e40af);
    background-size: 0% 100%;
}

.main-section.third .news-more-btn:hover {
    background-size: 100% 100%;
}



.main-section.third .section-content {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(217, 177, 118, 0.6);
    width: 100%;
}



.main-section.third .content-left img {
    border-radius: 10px;
}

.main-section.third .content-left {
    display: flex;
    width: 100%;
    padding: 60px 70px;
    padding-bottom: 0;
}

.main-section.third .content-left {
    justify-content: center;
    align-items: center;
    gap: 70px;
}

.main-book {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
}

.book-title h2 {
    font-size: 58px;
    font-weight: 400;
    font-family: 'Nanum Myeongjo', serif;
}

.book-title p {
    font-size: 22px;
    font-weight: 300;
    font-family: 'Nanum Myeongjo', serif;
}


.book-desc span {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Nanum Myeongjo', serif;
    line-height: 1.6;
}

.main-section.third .content-left img {
    width: clamp(200px, 30vw, 280px);
    height: clamp(300px, 40vw, 380px);
}

.main-section.third .content-right img {
    width: clamp(180px, 25vw, 240px);
    height: clamp(300px, 40vw, 380px);
}

.main-section.third .content-right p {
    font-size: clamp(12px, 1.5vw, 14px);
    color: white;
    padding-left: 12px;
    margin: 0;
}


.main-section.third .content-right .sub-book {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1350px) {

    .main-section.third .section-content {
        flex-direction: column;
    }

    .book-desc span {
        font-size:13px;
    }

    .main-section.third .content-left img {
        width: clamp(160px, 25vw, 220px);
        height: clamp(240px, 35vw, 300px);
    }

    .main-section.third .content-right img {
        width: clamp(140px, 22vw, 200px);
        height: clamp(240px, 35vw, 300px);
    }

    .main-section.third .content-left {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-book {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
    }

    .book-title h2 {
        margin: 0;
        margin-bottom: 4px;
        font-size: 24px;
    }

    .book-title p {
        margin: 0;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .book-desc p {
        margin: 0;
        margin-bottom: 6px;
    }

    .main-section.third .content-right {
        border-left: none;
        gap: 10px;
        padding: 0;
    }

    .main-section.third .content-left {
        text-align: center;
    }
    .main-section.third .content-left img {
        width: 50%;
        height: auto;
    }

    .main-section.third .content-right img {
        width: clamp(60px, 25vw, 160px);
        height: clamp(100px, 25vw, 240px);
    }
}

.main-section.fourth .content .news-header .news-text {
    color: #D9B176;
}


.main-section.fourth .news-more-btn {
    background-image: linear-gradient(to right, #998f7d, #61583d);
    background-size: 0% 100%;
}

.main-section.fourth .news-more-btn:hover {
    background-size: 100% 100%;
}


.main-section.fourth .content {
    align-items: center;
}

.main-section.fourth .news-title-text {
    font-size: 32px;
}

.main-section.fourth .news-des-text {
    font-size: 20px;
}



.swap-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 80%;
    gap: 20px;
    align-items: center;
}

.swap-list::-webkit-scrollbar {
    display: none;
}



.learn-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.learn-btn:hover {
    transform: scale(1.1);
}


.learn-item img {
    width: 700px;
    height: 320px;
}

.main-section.fifth .content .news-header .news-text {
    color: #D9B176;
}

.main-section.fifth .content .news-title2 .news-description {
    margin-bottom: 20px;
    line-height: 28px;
}

.seminar-content {
    width: 100%;
    background: #fff;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    gap: 50px;
}

.seminar-content img {
    width: 100%;
    border-radius: 10px;
}

.seminar-content .desc {
    width: 100%;
}

.seminar-content .desc ul {
    border-top: 1px solid rgba(34, 34, 34, 0.6);
    border-bottom: 1px solid rgba(34, 34, 34, 0.6);
}

.seminar-content .desc ul li {
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
    display: flex;
    gap: 30px;
    padding: 14px 0;
    font-size: 16px;
}

.seminar-content .desc ul li strong {
    color: rgba(34, 34, 34, 0.6);
    font-weight: 400;
    display: inline-block;
    width: 80px;
    letter-spacing: 22px;
}
.seminar-content .desc ul li:last-child strong {
    letter-spacing: 0;
}

.seminar-content .desc ul li span {
    color: #222;
    width: 100%;
}

.seminar-list {
    width: 100%;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
}


@media(max-width:900px) {
    .main-section.fifth {
        max-height: 800px;
    }
    .seminar-content {
        padding: 20px;
        gap: 0;
    }

    .seminar-content img {
        display: none;
    }

    .seminar-content .desc ul li strong {letter-spacing:-1px;}
}


.seminar-list::-webkit-scrollbar {
    display: none;
}

.scroll-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(217, 177, 118, 0.2);
    border-radius: 4px;
    width: 100%;

}

.scroll-thumb {
    height: 100%;
    width: 80px;
    background: #D9B176;
    border-radius: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transition: left 0.2s ease;
}


.seminar-item {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 264px;
    height: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.seminar-item p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3);
    margin: 0;
}

.seminar-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.seminar-date {
    display: flex;
    gap: 4px;
}

.seminar-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 80px;
}

.seminar-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}

.seminar-bottom span {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}

.seminar-item h2 {
    font-size: 24px;
    font-weight: 500;
    color: black;
    margin: 0;
}


.seminar-item:hover {
    background-color: #00317C;

}

.seminar-item:hover p {
    color: rgba(255, 255, 255, 0.4);
}

.seminar-item:hover h2 {
    color: white;
}

.seminar-item:hover .seminar-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

.seminar-item:hover .seminar-bottom span {
    color: rgba(255, 255, 255, 0.6);
}

.main-section.sixth .content .news-header .news-heading {
    color: black;
}

.main-section.sixth .content .news-header .news-description {
    color: rgba(0, 0, 0, 0.6);
}

.main-section.sixth .news-more-btn {
    background-color: #00317C;
    background-image: none;
    transition: background-color 0.3s ease;
}

.main-section.sixth .news-more-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.meeting-content {
    border-radius: 10px;
    width: 100%;
}

.meeting-content img {
    width: 100%;
}

.main-section.seventh .content .news-header .news-heading {
    color: black;
}

.main-section.seventh .content .news-header .news-description {
    color: rgba(0, 0, 0, 0.6);
}

.main-section.seventh .content .news-header .news-text {
    color: #D9B176;
}

.main-section.seventh .news-more-btn {
    background-color: #00317C;
    background-image: none;
    transition: background-color 0.3s ease;
}

.main-section.seventh .news-more-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.report-content {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 20px;
}

.report-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.report-item {
    flex: 1 1 20%;
    min-width: 180px;
    transition: all 0.5s ease;
}

.report-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.report-item.active {
    width: 460px;
}

.seventh-btns {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}


.seventh-btns button {
    border: none;
}


.main-section.eighth .content .news-header .news-text {
    color: #D9B176;
}

.main-section.eighth .news-more-btn {
    background-image: linear-gradient(to right, #3b82f6, #1e40af);
    background-size: 0% 100%;
}

.main-section.eighth .news-more-btn:hover {
    background-size: 100% 100%;
}


.research-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    width: 100%;
}

.research-content img {
    width: 100%;
    height: 260px;
    display: block;
    border-radius: 10px;
}

.main-section.ninth .content .news-header .news-heading {
    color: black;
}

.main-section.ninth .content .news-header .news-description {
    color: rgba(0, 0, 0, 0.6);
}


.main-section.ninth .news-more-btn {
    background-color: #00317C;
    background-image: none;
    transition: background-color 0.3s ease;
}

.main-section.ninth .news-more-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.intro-research {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    margin-top: 40px;
}

.intro-research img {
    width: 100%;
    height: 300px;
    display: block;
    border-radius: 10px;
}

.main-section.tenth .content .news-header .news-text {
    color: #D9B176;
}

.main-section.tenth .content .news-title2 .news-description {
    margin-bottom: 20px;
    line-height: 28px;
}

.main-section.tenth {
    height: 600px;
}


.member-content {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.member-list {
    display: flex;
    gap: 20px;
    animation: slide 20s linear infinite;
    width: max-content;
}

.member-list img {
    transition: all 0.5s ease;
    width: 240px;
    height: 160px;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.main-section.eleventh {
    height: 480px;
}

.final-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.final-desc {
    background-color: #D9B176;
    height: 200px;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 30px;
    padding: 0 40px;
}

.left-final {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.final-btn {
    display: flex;
    align-items: center;
    justify-content: pace-between;
    gap: 8px;
    border: none;
    background: none;
    color: white;
    margin-top: 30px;
    margin-bottom: 20px;
    cursor: pointer;
}

.final-btn:hover span {
    text-decoration: underline;
}

.final-btn:hover img {
    transform: scale(1.05);
}


.left-final h2 {
    font-size: 20px;
    font-weight: 500;
}

.left-final p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}


.final-desc img {
    height: 110px;
}

.left-final img {
    height: 20px;
}

@media(max-width:1640px) {
    .main-section .content {width:100%;padding:20px;box-sizing:border-box;}
    .main-section .content .swiper-slide img {width:100%;}
}
@media(max-width:900px) {
    .news-heading {font-size:24px;word-break:keep-all;}
    .main-section.seventh .news-header, .main-section.tenth .news-header {margin-bottom:15px !important;}
}
@media(max-width:768px) {
    .main-section.seventh {height:500px;}
    .main-section.seventh .content {top:45%;}
    .main-section.seventh .swiper-button-prev, .main-section.seventh .swiper-button-next {bottom:-20px !important;}
    .main-section.seventh .swiper-button-prev img, .main-section.seventh .swiper-button-next img {width:40px !important;height:40px !important;}
    .main-section.seventh .swiper-button-prev {left:20px !important;right:auto !important;}
    .main-section.seventh .swiper-button-next {right:20px !important;left:auto !important;}
    .news-list {gap:0;}
    .main-section.fourth .news-content h2 {font-size:16px;}
    .main-section.fourth .news-content h3, .news-date {font-size:12px;}
}
@media(max-width:480px) {
    .main-section.fifth .content .news-title2 .news-description {flex-wrap:wrap;word-break:keep-all;}
    .main-section.fifth .content .news-title2 .news-description br {display:none;}
}