@charset "utf-8";
@import url("fonts.css");

/*
* Saramnuri R&D Team
* Copyright 2021 SARAMNURI
* Written for - www.saramnuri.com
*/


:root {
    --accent: #000;
    --muted: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --max-width: 1280px;
}



/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Pretendard", sans-serif;
    color: #11101d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Pretendard", sans-serif;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Navi
--------------------------------------------------------------*/

.hero {
    min-height: 860px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    height: 70px;
    z-index: 50;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.active {
    background: #fff !important;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-link::after {
    content: "▼";
    float: right;
    transition: 0.3s;
    font-size: 7px;
    position: relative;
    top: 6px;
    margin-left: 10px;
}

.nav-link {
    color: #fff;
}

header.active .nav-link {
    color: #333 !important;
    transition: color 0.25s ease;
}

header.active nav a {
    color: #333 !important;
    transition: color 0.25s ease;
}

header.active .logo {
    background-image: url(../img/logo.png) !important;
}

.fix_container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 80px;
    height: 25px;
    margin-bottom: 5px;
    background-image: url(../img/footer-logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 8px 6px;
    cursor: pointer;
}

nav a:hover,
.nav-link:hover {
    color: #fff;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn {
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-block;
    animation: ok 3s 1;
    font-weight: bold;
    font-size: 14px;
}

.btn.primary {
    background: #000;
    color: #fff;
    border-color: transparent;
}

.btn.secondary {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* FULL-WIDTH MEGA MENU */
.mega {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px) saturate(120%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
    padding: 32px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 40;
}

.mega-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mega h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--accent);
}

.mega p {
    margin: 0 0 10px 0;
    color: var(--accent);
    font-size: 14px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    font-size: 13px;
    color: #374151;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 30;
}

/* 서브메뉴 박스 hover 시 파스텔톤 블루 */
.mega-grid > div {
    background: transparent;
    padding: 18px;
    border-radius: 12px;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.mega-grid > div:hover {
    background: rgba(220, 235, 255, 0.65);
    /* 파스텔 블루 */
    /*transform: translateY(-2px);*/
}

/* Hover 시 제목 컬러 블루 */
.mega-grid > div:hover h4 {
    color: #3b82f6;
    /* 블루 */
}

@media (max-width: 900px) {
    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .mega-grid {
        grid-template-columns: 1fr;
    }

    .headline {
        font-size: 30px;
    }
}

/* ============= 모바일 메뉴 반응형 ============= */
@media (max-width: 900px) {

    /* PC 메뉴 숨김 */
    .hero {
        display: inline;
    }

    nav,
    .actions {
        display: none !important;
    }

    header {
        padding: 15px;
        height: 50px;
        background-color: #333;
    }

    .logo {
        width: 65px;
        background-size: contain;
    }

    /* 햄버거 버튼 생성 */
    header .mobile-btn {
        display: block;
        width: 28px;
        height: 22px;
        cursor: pointer;
        position: relative;
    }

    header .mobile-btn span {
        position: absolute;
        left: 0;
        width: 28px;
        height: 3px;
        background: #fff;
        transition: 0.3s;
        border-radius: 4px;
    }

    header.active .mobile-btn span {
        background: #111;
    }

    /* 스크롤 내려 흰배경일 때 대비 */

    header .mobile-btn span:nth-child(1) {
        top: 0;
    }

    header .mobile-btn span:nth-child(2) {
        top: 9px;
    }

    header .mobile-btn span:nth-child(3) {
        bottom: 0;
    }

    /* 🔥 mega 메뉴가 모바일에서는 사이드바처럼 */
    .mega {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        display: block;
        overflow-y: auto;
        padding: 80px 24px;
        transition: right 0.35s ease;
        box-shadow: -3px 0 20px rgba(0, 0, 0, 0.15);
    }

    .mega.open {
        right: 0;
    }

    /* 데스크탑 4열 -> 모바일 단일열 */
    .mega-grid {
        grid-template-columns: 1fr !important;
    }

    /* overlay 활성화 */
    .overlay.show {
        display: block;
        backdrop-filter: blur(2px);
    }
}

/* 모바일 메뉴 버튼 default 숨김 */
.mobile-btn {
    display: none;
    cursor: pointer;
}

.mobile-btn span {
    width: 26px;
    height: 3px;
    background: #fff;
    display: block;
    margin: 5px 0;
    border-radius: 4px;
}

/* 모바일 슬라이드메뉴 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300%;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 60px 24px;
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* ✨ 애니메이션 효과 핵심 */
    transform: translateX(100%);
    opacity: 0;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
    z-index: 9999;
}

.mobile-menu a {
    font-size: 16px;
    padding: 5px 0;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.mobile-menu .full {
    width: 100%;
    height: 50px;
}

.mobile-menu.open {
    right: 0;
    transform: translateX(0);
    opacity: 1;
}

.m-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 30;
}

/* ------ 모바일 전환 ------ */
@media (max-width: 900px) {

    nav,
    .actions {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .mega {
        display: none !important;
    }

    /* PC mega 제거 */

    .mobile-menu.open {
        right: 0;
    }

    .overlay.show {
        display: block;
    }
}

/* 🔥 모바일 드롭다운 기본 숨김 */
.m-sub {
    display: none;
    flex-direction: column;
    padding-left: 10px;
    margin-top: 8px;
    list-style: none;
}

.m-sub li {
    padding: 6px 0;
    font-size: 16px;
}

.m-sub li a {
    padding: 8px 0;
    font-size: 16px;
}

/* 펼쳐졌을 때 */
.has-sub.open .m-sub {
    display: flex;
}

.has-sub.open .m-link::after {
    transform: rotate(180deg);
}

.m-link {
    display: block;
    font-size: 16px;
    padding: 10px 0;
}

.m-link::after {
    content: "▼";
    float: right;
    transition: 0.3s;
    font-size: 10px;
    position: relative;
    top: 4px;
}

.mobile-menu .has-sub.active .m-sub {
    display: block;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer {
    padding: 70px 80px 40px;
    background: #1f1f1f;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-left {
    width: 50%;
    line-height: 1.5;
    color: #d0d0d0;
    font-size: 14px;
}

.footer-left .logo {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-right {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: #bbb;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    font-size: 14px;
    margin-bottom: 9px;
    cursor: pointer;
    transition: 0.2s;
    color: #d0d0d0;
}

.footer-col ul li:hover {
    color: #fff;
}

.footer-col ul li a {
    color: #d0d0d0;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: #333;
    margin: 50px 0 25px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    color: #aaa;
    gap: 20px;
}

.footer-links a {
    margin-right: 18px;
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 640px) {
    .footer-wrap {
        flex-direction: column;
    }

    .footer-left {
        width: 100%;
    }

    .footer-right {
        gap: 40px;
    }

    footer {
        padding: 60px 30px;
    }
}
/*--------------------------------------------------------------
# Sub comm
--------------------------------------------------------------*/

.container {
    display: block;
}

.inner-top {
    width: 100%;
    padding-top: 70px;
    background: #fff;
    height: 450px;
    /* margin-bottom: 70px; */
}

.inner-title {
    padding: 60px 0 60px;
    text-align: left;
    height: 300px;
}

.inner-title h1 {
    font-size: 60px;
    font-weight: 600;
    color: #11101d;
    margin-bottom: 60px;
    text-align: center;
    word-break: keep-all;
    margin: 15px 0px 40px;
}

.inner-title h2 {
    font-size: 40px;
    line-height: 1.5;
    color: #11101d;
    text-align: center;
    word-break: keep-all;
    font-weight: 400;
    margin: 15px 0px;
}

.inner-title p {
    font-size: 18px;
    font-weight: 300;
    color: #11101d;
}

.inner-button {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .inner-top {
        padding: 10px 10px 0px;
        height: 220px;
    }

    .inner-title {
        padding: 60px 0 40px;
        height: auto;
    }

    .inner-title h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .inner-title h2 {
        font-size: 18px;
    }

    .inner-title p {
        font-size: 14px;
    }
}



/*--------------------------------------------------------------
# Sub Title
--------------------------------------------------------------*/
.sub-title {
    text-align: left;
    padding: 0px 0px 40px;
    border-bottom: 1px solid #d6dce2;
}

.sub-title h1 {
    font-size: 40px;
    color: #11101d;
}

.sub-title h2 {
    font-size: 28px;
    color: #11101d;
}

@media (max-width: 900px) {

    .sub-title {
        padding: 40px 0px;
    }

    .sub-title h1 {
        font-size: 32px;
    }

    .sub-title h2 {
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
# rootHR
--------------------------------------------------------------*/
.item-area {
    margin: 40px 2px 0px;
    padding: 20px;
}


/*--------------------------------------------------------------
# UIUX
--------------------------------------------------------------*/
.text-area {
    text-align: left;
    padding: 60px 0;
}

.text-area h3 {
    font-size: 22px;
    color: #11101d;
    font-weight: 400;
    line-height: 1.5;
}

.text-area h3 strong {
    color: #3366ff;
}

.content h2 {
    color: #3366ff;
    font-size: 20px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .text-area {
        padding: 40px 0;
    }

    .text-area h3 {
        font-size: 16px;
        line-height: 1.8;
    }

    .content h2 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .content p {
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Module
--------------------------------------------------------------*/
.module .container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.module .module-item {
    margin-bottom: 30px;
}

.module .module-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.module .module-wrap .module-info {
    display: block;
    text-align: center;
    z-index: 3;
    transition: all 0.5s ease 0s;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
}

.module .module-wrap .module-info img {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
    border-radius: 10px;
}

.module .module-wrap .module-info h1 {
    color: #11101d;
    font-size: 36px;
    text-transform: uppercase;
    padding: 0;
    margin: 0px 0px 20px;
}

.module .module-wrap .module-info h2 {
    color: #b2b8be;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0;
    line-height: 1.5;
    margin: 0px 0px 15px;
}

.module .module-wrap .module-info p {
    color: #11101d;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 1.5;
    padding: 0;
    margin: 0px 0px 40px;
    word-break: keep-all;
}


@media (max-width: 430px) {
    .module .module-wrap .module-info h1 {
        font-size: 28px;
    }

    .module .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 414px) {
    .module .module-wrap .module-info h1 {
        font-size: 28px;
    }

    .module .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/

.module.container {
    padding: 100px 0px;
}

.content h3 {
    font-weight: 600;
    font-size: 36px;
    color: #222222;
    margin-top: 0px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.content.black h3 {
    color: #fff;
}

.content p {
    font-size: 22px;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #333;
}

.content.black p {
    color: #fff;
}

.w150px {
    width: 150px !important;
}

.bottom-box {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .container {
        width: 100%;
    }

    .module.container {
        padding: 50px 20px;
    }

    .module.container .row {
        margin: 0 auto;
        justify-content: center;
    }

    .content h3 {
        font-size: 22px;
    }

    .content p {
        font-size: 16px;
    }


}

@media (max-width: 1024px) {
    #hero .container {
        padding: 0px;
    }

    .container .right {
        float: none !important;
    }
}

@media (max-width: 860px) {
    .md-my-10px {
        margin: 10px 0px;
    }
}

@media screen and (max-width: 768px) {
    .module.container .right {
        float: none !important;
    }

}

@media screen and (max-width: 640px) {
    .module.container .right {
        float: none !important;
    }

    .col-xs-12.col-lg-4 {
        padding: 0px;
    }

    .w150px {
        width: auto !important;
    }
}


@media (max-width: 540px) {
    .xs-display-none {
        display: none !important;
    }

}


@media (max-width: 800px) {
    .img-my-tb-5px {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

.d-flex {
    display: flex !important;
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

.opa-70p {
    opacity: 0.7;
}

.shadow {
    box-shadow: 0px 0px 10px #73767e;
}

/*--------------------------------------------------------------
# Button
--------------------------------------------------------------*/

.btn-black {
    background: #11101d !important;
    color: #fff !important;
}

.btn-black:hover {
    background: #31374a !important;
}

.btn-white {
    background: #fff !important;
    color: #3366ff !important;
}

.btn-primary {
    background: #fff !important;
    color: #4546a5 !important;
}

/*--------------------------------------------------------------
# Text
--------------------------------------------------------------*/

.text-white {
    color: #fff !important;
}

.text-red {
    color: #ed3c0d !important;
}

.text-grey {
    color: #bfc1c9 !important;
}

.text-yellow {
    color: #f1d900 !important;
}

.text-purple {
    color: #603de3 !important;
}

.text-blue {
    color: #428dfc !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.vertical-text-bottom {
    vertical-align: text-bottom !important;
}

.right {
    float: right !important;
}

.left {
    float: left !important;
}

/*--------------------------------------------------------------
# Backgrond
--------------------------------------------------------------*/

.bg-none {
    background: transparent !important;
}

.bg-kakao {
    background: #3a1c1d !important;
}

.bg-primary {
    background: #428dfc !important;
}

.bg-purple {
    background: #603de3 !important;
}

.bg-purple2 {
    background: #decdfa !important;
}

.bg-purple3 {
    background: #f7f2ff !important;
}

.bg-black {
    background: #1a1e29 !important;
}

.bg-green {
    background: #13bd7e !important;
}

.bg-blue {
    background: #0085ff !important;
}

.bg-gray {
    background: #f1f4f8 !important;
}

.bg-gray-lt {
    background: #787878 !important;
}

.bg-green-light {
    background: #ebffea !important;
}

.bg-blue-light {
    background: #f2f8fd !important;
}


/*--------------------------------------------------------------
# Border
--------------------------------------------------------------*/

.border-none {
    border: none !important;
}

.border-radius10 {
    border-radius: 10px !important;
}

/*--------------------------------------------------------------
# Margin / Padding
--------------------------------------------------------------*/

.px-0px {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.py-0px {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.py-20p {
    padding: 20% 0px !important;
}

.pt-0px {
    padding-top: 0px !important;
}

.pt-5p {
    padding-top: 5% !important;
}

.pt-10p {
    padding-top: 10% !important;
}

.pb-0px {
    padding-bottom: 0px !important;
}

.pb-100px {
    padding-bottom: 100px !important;
}

.mg-5px {
    margin: 5px !important;
}

.mx-0px {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.my-10px {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.mt-0px {
    margin-top: 0px !important;
}

.mt-20px {
    margin-top: 20px !important;
}

.mt-50px {
    margin-top: 50px !important;
}

.mt-80px {
    margin-top: 80px !important;
}

.mb-20px {
    margin-bottom: 20px !important;
}

.mb-40px {
    margin-bottom: 40px !important;
}

.mb-100px {
    margin-bottom: 100px !important;
}

.mb-150px {
    margin-bottom: 150px !important;
}

.max-w100p {
    max-width: 100% !important;
}