@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

/*========== Colors ==========*/
    --first-color: #bbb;
    --button-color: hsl(274, 28%, 59%);
    --button-color-alt: hsl(0, 0%, 21%);
    --title-color: #fff;
    --text-color: #000;
    --text-color-light: hsl(0, 0%, 55%);
    --body-color: hsl(0, 0%, 99%);
    --container-color: #fff;
    --border-color: hsl(0, 0%, 94%);
    --bd-color: #ededed;

/*========== Font and typography ==========*/
    --body-font: 'Roboto', sans-serif;
    --biggest-font-size: 2rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 2rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

/*========== Font weight ==========*/
    --font-medium: 500;
    --font-bold: 700;

/*========== Margenes Bottom ==========*/
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

/*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    /* font-family: 'Lato', sans-serif; */
    font-family: 'Noto Sans KR', sans-serif;
}

pre {
    font-family: 'Noto Sans KR', sans-serif;
    white-space: pre-line;
}

body {
    margin: 0;
    /* background-color: var(--body-color); */
    color: var(--text-color);
    /*For animation dark mode*/
    transition: .4s;
    top:0 !important;
}

h1, h2, h3, h4 {
    font-weight: var(--font-medium);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.swiper-button-next {
    color: #fff !important;
}

.swiper-button-prev {
    color: #fff !important;
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1170px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

.grid {
    display: grid;
}

.main {
    overflow: hidden;
}

.section {
    padding: 3.5rem 0 1rem;
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -30%;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, .1);
    display: inline-flex;
    padding: .25rem;
    z-index: var(--z-tooltip);
    opacity: .8;
    transition: .4s;
}

.scrollup:hover {
    opacity: 1;
}

.scrollup_icon {
    font-size: 1.5rem;
    color: var(--first-color);
}

/* Show Scroll Up*/
.show-scroll {
    bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .6rem;
    background: hsl(0, 0%, 74%);
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 17%);
}
/*=============== HEADER & NAV ===============*/

.bac {
    position: relative;
}

.body_bac {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

.nav {
    width: 370px;
    max-height: 1030px;
    background-color: #5077fb;
}

.nav_logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    border-bottom: 1px solid rgb(255, 255, 255, .2);
}

.flex_box {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.nav_list_box {
    width: 100%;
    border: 1px solid rgb(255, 255, 255, .2);
}

.nav_list {
    padding: 20px;
}

.nav_item {
    margin-bottom: 5px;
    color: #fff;
    cursor: pointer;
    position: relative;
}

.on {
    color: #ffe000;
}

.nav_item.on::before {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 0;
    width: 30px;
    height: 3px;
    background-color: #ffe000;
}

.nav_item:hover {
    color: #ffe000;
}

.mav_search {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255, 255, 255, .2);
    width: 285px;
    height: 45px;
    margin: 20px auto;
    border-radius: 10px;
}

.mav_search input {
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
}

.mav_search input::placeholder {
    color: #fff;
}

.mav_search button {
    background-color: transparent;
    color: #fff;
    font-size: 20px;
}

.shots_box {
    padding: 10px 20px;
    color: #fff;
}

.shots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    justify-content: space-between;
}

.social_div {
    padding: 20px;
    color: #fff;
}

.social {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.social_box {
    width: 44px;
    height: 44px;
    border: 1px solid rgb(255, 255, 255, .2);
    border-radius: 10px;
    color: #fff;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_img {
    position: relative;
}

.main_text_box {
    max-width: 500px;
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.main_text_box h1 {
    color: #3c586d;
}

.main_text_box p {
    color: #92a4b1;
}

.btn_num {
    width: 60px;
    height: 60px;
    border: 1px solid #cbd8f7;
    text-align: center;
    line-height: 60px;
}

.main_btn_box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn_grid {
    row-gap: 4px;
}

.btn_grid button {
    width: 60px;
    height: 28px;
    background-color: transparent;
    border: 1px solid #ddd;
}

.btn_grid button:hover {
    color: #5077fb;
}

.our {
    width: 100%;
    height: 90px;
    background-color: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.our i {
    font-size: 35px;
    color: #5077fb;
}

.port {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
}

.port_box {
    position: relative;
}

.port_icon {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.port_icon div {
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #5077fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.port_text {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.blog_icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog_icon i {
    color: #5077fb;
}

.blog_box {
    display: flex;
    background-color: #fff;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.blog_box p {
    font-size: 13px;
    color: #3c586d;
}

.blog_img {
    width: 100%;
    height: 340px;
}

.blog_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog_icon_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.blog_text {
    padding: 30px;
}

.blog_btn {
    width: 120px;
    height: 40px;
    background-color: transparent;
    border: 1px solid #5077fb;
    color: #5077fb;
    margin-top: 30px;
}

.blog_box:hover .blog_text {
    background-color: #5077fb;
    color: #fff;
}

.blog_box:hover .blog_text p {
    color: #fff;
}

.blog_box:hover .blog_text i {
    color: #fff;
}

.blog_box:hover .blog_text .blog_btn {
    border: 1px solid #fff;
    color: #fff;
}


.offer_title_box {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.offer_title p {
    color: #3c586d;
    font-size: 13px;
}

.offer_icon {
    width: 65px;
    height: 65px;
    border-radius: 50px;
    background-color: #5077fb;
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team_btn {
    font-weight: bold;
    background-color: transparent;
}

.team_name h3 {
    margin: 20px 0;
}

.team_name p {
    font-size: 13px;
    color: #3c586d;
}

.team_text {
    background-color: #e2e2e2;
    min-height: 463px;
    padding: 40px;
}

.team_img {
    height: 463px;
}

.team_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team_icon_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team_icon {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team {
    margin-bottom: 5px;
}

.team_icon:hover {
    background-color: #5077fb;
    color: #fff;
}

.map_text {
    background-color: #5077fb;
    padding: 40px;
    height: 455px;
    color: #fff;
}

.map_text input {
    width: 100%;
    margin: 10px 0;
    height: 50px;
    padding: 0 10px;
    background-color: transparent;
    border: 1px solid #eee;
    outline: none;
}

.map_text input::placeholder {
    color: #fff;
}

.map_text textarea {
    width: 100%;
    height: 95px;
    background-color: transparent;
    border: 1px solid #eee;
    outline: none;
    padding: 10px;
    resize: none;
    margin-top: 10px;
}

.map_text textarea::placeholder {
    color: #fff;
}

.map_img {
    width: 100%;
    height: 455px;
}

.map_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map_btn {
    width: 90px;
    height: 30px;
    float: right;
    background-color: #7392fc;
    color: #fff;
}

.footer {
    width: 100%;
    height: 100px;
    background-color: rgb(0, 0, 0, .6);
    color: #fff;
    text-align: center;
    line-height: 100px;
}

@media screen and (min-width: 767px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    .section {
        padding: 5.5rem 0 1rem;
    }

    .flex_box {
        flex-wrap: nowrap;
    }
    .main_btn_box {
        margin: 20px 0;
    }

    .blog_img {
        min-width: 460px;
        height: 340px;
    }

    .blog_box {
        flex-wrap: nowrap;
    }

    .offer {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 5px;
        row-gap: 5px;
    }

    .team_box {
        grid-template-columns: repeat(2, 1fr);
    }

    .map {
        grid-template-columns: repeat(2, 1fr);
    }
}