
:root {
    --primary: #154f93;
    --primary-dark: #113f74;
    --primary-light: #2f87db;
    --bg: #f6f9fc;
    --text: #1f2937;
    --sub: #667085;
    --line: #d8e3ef;
    --white: #fff;
    --service: #318bdc;
    --service-dark: #2471b7;
    --shadow: 0 12px 28px rgba(21, 79, 147, .08);
    --container: 1280px;
    --top-h: 48px;
    --nav-h: 84px;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: #fff;
    word-break: keep-all;
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

img {
    display: block;
    max-width: 100%
}

button {
    font-family: inherit
}

.container-custom {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* ��� ��ƿ */
.topbar {
    background: #f5f7fa;
    border-bottom: 1px solid #e7edf4;
}

.topbar-inner {
    min-height: var(--top-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-call {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.topbar-call i {
    color: var(--primary);
    font-size: 16px;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5b6472;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.topbar-links .divider {
    color: #b8c1cc;
}

/* ��� */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e7edf4;
    position: relative;
    z-index: 100;
}

.main-header-inner {
    min-height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.site-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 31px;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.04em;
    white-space: nowrap;
    position: relative;
    z-index: 120;
}

.site-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6fb0f4, #2c7fda);
    box-shadow: 0 8px 18px rgba(47, 135, 219, .22);
    position: relative;
    flex: 0 0 46px;
}

.site-logo-mark::before,
.site-logo-mark::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
}

.site-logo-mark::before {
    width: 24px;
    height: 6px;
    left: 11px;
    top: 14px;
    transform: rotate(-22deg);
}

.site-logo-mark::after {
    width: 18px;
    height: 6px;
    left: 14px;
    top: 24px;
    transform: rotate(18deg);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #d8e3ef;
    border-radius: 12px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 26px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 120;
    flex: 0 0 46px;
}

.main-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 0 28px;
    color: #203246;
    font-size: 18px;
    font-weight: 800;
    transition: .2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-item:hover > a {
    color: var(--primary);
}

.nav-item > a::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.nav-item:hover > a::after,
.nav-item.active > a::after {
    transform: scaleX(1);
}

.submenu-toggle {
    display: none;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(17, 63, 116, .12);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .22s ease;
    z-index: 50;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.submenu a {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #445366;
    transition: .18s ease;
    white-space: nowrap;
}

.submenu a:hover {
    background: #f3f8ff;
    color: var(--primary);
}

/* ����� */
.hero-section {
    padding: 34px 0 28px;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns:1fr 2.05fr;
    gap: 28px;
    align-items: stretch;
}

.hero-main {
    position: relative;
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #dceeff;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 33, 63, .50) 0%, rgba(10, 33, 63, .18) 50%, rgba(10, 33, 63, .08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .18));
    z-index: 2;
}

.hero-content {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    max-width: 58%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
    font-size: 14px;
    font-weight: 800;
}

.hero-content h1 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-content p {
    margin: 0;
    font-size: 19px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .95);
    font-weight: 500;
}

.hero-controls {
    position: absolute;
    left: 48px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-btn {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #203246;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    cursor: pointer;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .52);
    cursor: pointer;
    transition: .2s ease;
}

.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #fff;
}

/* ���� ī�� */

.video-card {
    border: 1px solid #d9e6f2;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
}

.video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid #e7edf5;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
}

.video-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: #173a68;
    letter-spacing: -0.03em;
}

.video-more {
    font-size: 14px;
    font-weight: 700;
    color: #4a78ad;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame iframe,
.video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-caption {
    padding: 18px 20px 20px;
    border-top: 1px solid #eef3f8;
}

.video-caption strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.video-caption p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #667085;
}

.video-links {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    background: #f8fbff;
    border-top: 1px solid #dbe7f2;
    margin-top: auto;
}

.video-links a {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #374151;
    border-right: 1px solid #e1eaf2;
    padding: 12px 8px;
}

.video-links a:last-child {
    border-right: 0;
}

.video-links i {
    font-size: 30px;
    color: #4b5f75;
}


/* ���� */
.service-section {
    background: linear-gradient(180deg, var(--service), var(--service-dark));
    padding: 34px 0 42px;
    margin-top: 10px;
}

.service-list {
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    gap: 14px;
}

.service-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    min-height: 116px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transition: .2s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    background: #2f87db;
}

.service-item:hover .service-icon {
    background: #fff;
    color: #2f87db;
}

.service-item:hover span {
    color: #fff;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #edf4fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #5f8fc9;
    transition: .2s ease;
}

.service-item span {
    font-size: 14px;
    font-weight: 700;
    color: #2f3b4a;
    line-height: 1.35;
    transition: .2s ease;
}

.service-item:nth-child(1) .service-icon {
    background: #e8f2ff;
    color: #2f87db;
}

.service-item:nth-child(2) .service-icon {
    background: #e9fbf5;
    color: #27b37e;
}

.service-item:nth-child(3) .service-icon {
    background: #fff3e6;
    color: #ff8c3a;
}

.service-item:nth-child(4) .service-icon {
    background: #f2ecff;
    color: #7d57d8;
}

.service-item:nth-child(5) .service-icon {
    background: #eef9ff;
    color: #1e8bb8;
}

.service-item:nth-child(6) .service-icon {
    background: #fff0f0;
    color: #e05a5a;
}

.service-item:nth-child(7) .service-icon {
    background: #f3f7ea;
    color: #6f9b2c;
}

.service-item:nth-child(8) .service-icon {
    background: #fff7e8;
    color: #d98a15;
}

/* �ϴ� */
.bottom-section {
    padding: 42px 0 60px;
    background: #fff;
}

/*.bottom-grid{
   display:grid;
   grid-template-columns:1.2fr .9fr .9fr;
   gap:24px;
 }*/


.bottom-grid {
    display: grid;
    grid-template-columns:1.6fr 1fr;
    gap: 24px;
    width: 100%;
}

.board-box,
.banner-box {
    width: 100%;
}


.board-box, .popup-box, .banner-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
}

.box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #e7edf5;
}

.box-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #173a68;
    letter-spacing: -0.03em;
}

.more-link {
    font-size: 14px;
    font-weight: 700;
    color: #4a78ad;
}

.board-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 22px 0;
    flex-wrap: wrap;
}

.board-tabs button {
    border: 1px solid #d8e4f1;
    background: #f7faff;
    color: #4f5f73;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.board-tabs button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.board-list {
    display: none;
    padding: 14px 22px 22px;
}

.board-list li {
    border-bottom: 1px dashed #dde7f2;
}

.board-list li:last-child {
    border-bottom: 0;
}

.board-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.board-list .title {
    display: block;
    flex: 1;
    min-width: 0;
    font-size: 16px;
    color: #233041;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-list .date {
    flex: 0 0 auto;
    font-size: 14px;
    color: #7b8796;
}

.board-panels {
    position: relative;
}

.board-list.active {
    display: block;
}


.popup-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
}

.popup-slide {
    padding: 20px;
}

.popup-thumb {
    min-height: 380px;
    border-radius: 22px;
    background: #dfeaf6;
    padding: 0;
    display: flex;
    align-items: stretch;
}


.popup-thumb {
    background: #dfeaf6;
    border-radius: 22px;
    padding: 20px;
}

.popup-inner {
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed #9bbce0;
    border-radius: 16px;
    padding: 18px;
}

.popup-thumb h4 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 900;
    color: #123f78;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-align: center;
    word-break: keep-all;
}

.popup-thumb p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #4b5d73;
    text-align: left;
    word-break: keep-all;
}


.banner-list {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.banner-item {
    border-radius: 14px;
    padding: 20px 18px;
    color: #fff;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.banner-item:nth-child(1) {
    background: linear-gradient(135deg, #1d71c1, #4ca0ee);
}

.banner-item:nth-child(2) {
    background: linear-gradient(135deg, #2460a0, #1d4d81);
}

.banner-item:nth-child(3) {
    background: linear-gradient(135deg, #3e9dc8, #5bb9d4);
}

.banner-item small {
    opacity: .9;
    font-size: 13px;
    font-weight: 700;
}

.banner-item strong {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.banner-item span {
    font-size: 14px;
    opacity: .92;
}


.banner-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ������ */
.banner-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* �ؽ�Ʈ */
.banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.banner-icon {
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
}


.banner-icon {
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
}

/* Ǫ�� */
.site-footer {
    background: #183a68;
    color: rgba(255, 255, 255, .82);
    padding: 28px 0 34px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
}

.footer-links a {
    color: #dce8f6;
}

@media (max-width: 1400px) {
    .nav-item > a {
        padding: 0 20px
    }

    .hero-content h1 {
        font-size: 46px
    }

    .service-list {
        grid-template-columns:repeat(4, 1fr)
    }
}

/*@media (max-width: 1199px){
  .hero-grid,
  .bottom-grid{
    grid-template-columns:1fr;
  }
  .hero-content{
    max-width:68%;
  }
}*/


@media (max-width: 1199px) {
    .hero-grid {
        grid-template-columns:1fr;
    }

    .bottom-grid {
        grid-template-columns:minmax(0, 1.4fr) minmax(340px, .9fr);
    }
}

@media (max-width: 767px) {
    .bottom-grid {
        grid-template-columns:1fr;
    }
}

@media (max-width: 991px) {
    .container-custom {
        width: min(var(--container), calc(100% - 24px));
    }

    .topbar-inner {
        min-height: auto;
        padding: 10px 0;
    }

    .topbar-call {
        font-size: 13px;
    }

    .topbar-links {
        font-size: 13px;
        gap: 8px;
    }

    .main-header-inner {
        min-height: 68px;
    }

    .site-logo {
        font-size: 20px;
        gap: 8px;
    }

    .site-logo-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e7edf4;
        box-shadow: 0 18px 30px rgba(15, 23, 42, .08);
        display: none;
        z-index: 110;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 8px 0 14px;
    }

    .nav-item {
        display: block;
        border-bottom: 1px solid #edf2f7;
    }

    .nav-item > a {
        min-height: auto;
        padding: 16px 18px;
        font-size: 16px;
        justify-content: flex-start;
    }

    .nav-item > a::after {
        display: none;
    }

    .has-submenu {
        position: relative;
    }

    .submenu-toggle {
        display: flex;
        position: absolute;
        right: 12px;
        top: 10px;
        width: 40px;
        height: 40px;
        border: 0;
        background: none;
        color: #5b6472;
        font-size: 18px;
        align-items: center;
        justify-content: center;
    }

    .submenu-toggle i {
        transition: transform .2s ease;
    }

    .submenu {
        position: static;
        transform: none;
        min-width: 100%;
        border: 0;
        border-top: 1px solid #eef3f8;
        border-radius: 0;
        box-shadow: none;
        padding: 6px 0 10px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        background: #f8fbff;
    }

    .nav-item:hover .submenu {
        display: none;
    }

    .nav-item.open .submenu {
        display: block;
    }

    .nav-item.open .submenu-toggle i {
        transform: rotate(180deg);
    }

    .submenu a {
        padding: 11px 22px;
        font-size: 14px;
    }

    .hero-section {
        padding-top: 22px;
    }

    .hero-main {
        min-height: 420px;
    }

    .hero-content {
        left: 28px;
        right: 28px;
        max-width: 72%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-controls {
        left: 28px;
        bottom: 22px;
    }
}

@media (max-width: 767px) {
    .topbar-call {
        font-size: 12px;
    }

    .topbar-links {
        font-size: 12px;
    }

    .main-header-inner {
        min-height: 64px;
    }

    .site-logo {
        font-size: 18px;
    }

    .site-logo-mark {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 22px;
        flex-basis: 40px;
    }

    .hero-main {
        min-height: 360px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        max-width: 78%;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-controls {
        left: 20px;
        bottom: 18px;
    }

    .hero-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }


    .service-list {
        grid-template-columns:repeat(4, 1fr);
        gap: 12px;
    }

    .service-item {
        min-height: 96px;
        padding: 14px 8px;
        gap: 8px;
    }

    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .service-item span {
        font-size: 13px;
    }

    .board-list .title {
        white-space: normal;
        line-height: 1.5;
    }

    .board-list a {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .service-list {
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .video-card {
        display: none !important;
    }

    .hero-grid {
        grid-template-columns:1fr;
    }


    .contact-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        flex: 0 0 56px;
    }
}


@media (max-width: 767px) {
    .popup-slide {
        padding: 16px;
    }

    .popup-thumb {
        min-height: auto;
        border-radius: 18px;
    }

    .popup-thumb .popup-inner {
        padding: 24px 20px 22px;
        border-radius: 18px;
    }

    .popup-thumb h4 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .popup-thumb p {
        font-size: 15px;
        line-height: 1.8;
    }

    .popup-inner {
        width: 100%;
        box-sizing: border-box; /* �� �ʼ� */
        padding: 20px 16px; /* �¿� ���̱� */
        border-radius: 14px;
    }
}


form[name='notice_form'] {
    display: none !important;
}