@import url('base.css');

html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans', sans-serif, 'SCoreDream';
    color: #222;
    word-break: keep-all;
    word-wrap: break-word;
    font-size: 18px;
}



/********** Template CSS **********/
:root {
    --primary: #355EFC;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #fff;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 500 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 400 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

ul,
ol,
li {
    list-style: none;
}

.green {
    background-color: #8ec850 !important;
}

.blue {
    background-color: #1478ce !important;
}

.pink {
    background-color: #ff6b81 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 1;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.bi-chat-square-text,
.bi-boxes,
.bi-aspect-ratio,
.bi-calendar2-minus,
.bi-emoji-smile,
.bi-columns-gap,
.bi-brightness-high,
.bi-pencil-square {
    color: #333 !important;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar {
    width: 1400px;
    margin: auto;
    font-size: 1.1rem;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #fff;
    outline: none;
    margin: 2% 0 1% 0;
    font-size: 1.3rem;
    font-family: 'SCoreDream';

}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    text-decoration: underline;
    color: #fff;
}

.container-fluid .header-inner {
    width: 100%;
    margin: 0 auto;
    background: #464646;
    color: #fff;
}

.container-fluid .header-inner .inner_wrap {
    width: 1400px;
    margin: 0 auto;
    line-height: 43px;
}

.container-fluid .header-inner .inner_wrap ul {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.container-fluid .header-inner .inner_wrap ul li {
    margin-left: 20px;
}

/** mobile **/

@media screen and (max-width: 450px) {
    .b_icon .col-lg-5 {
        margin-top: 5px !important;
    }

    .col-md-6 .row {
        display: inline;
        flex-wrap: nowrap !important;
    }

    #main_con {
        display: inline-block;
        width: 100%;
        height: fit-content;
    }

    .col-lg-8 {
        text-align: left;
        word-break: break-all;
        letter-spacing: normal;
        padding: 0 10%;
    }


    .m_con {
        height: fit-content !important;
    }

    #main_con .con_box {
        position: static;
        width: 95%;
        margin: 0 auto;
        display: block;
    }

    .con_box .con_01 {
        width: 94% !important;
        z-index: 1;
        margin: 0 auto;

    }

    #header-carousel .carousel-item img {
        width: 100% !important;
        height: 100%;
        object-fit: cover;
    }

    #header-carousel .carousel-item .main_txt_img {
        width: 130px !important;
    }

    .m_nav {
        width: calc(100%/1);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .m_nav img {
        width: 100%;
    }

    .navbar .navbar-brand {
        width: 70%;
    }

    .nav-item .nav-link {
        color: #333 !important;
        border-bottom: 2px solid rgb(42, 75, 202);
        padding-left: 10px !important;
        margin: 10px 0;
    }

    .b_icon .col-10 {
        width: 100%;
    }

    .b_icon .icon_btn {
        margin: 0;
        padding: 0 5% !important;
        position: relative;
    }

    .b_icon .icon_btn i {
        margin-bottom: 0 !important;
        position: absolute;
        top: 50%;
        display: none;
    }

    .b_icon .icon_btn h4 {
        margin-bottom: 0 !important;
        font-size: 20px;
        padding-left: 14px;
    }

    .b_icon .col-lg-6 {
        margin-top: 0 !important;
    }

    br {
        display: inline-block;

        content: " ";

        padding: 0 2px;
    }


    /** 메뉴 정렬 **/
    .feature .feature-box {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-end;
        justify-content: flex-start;
        align-items: center;
        background: var(--primary);
        border-color: var(--primary) !important;
    }

    .feature .feature-box {
        background-color: var(--primary) !important;
    }

    .feature .feature-box a {
        padding: 20px;
    }

    .feature .f_box .col-10 h4 {
        color: #fff !important;
    }

    #header-carousel .carousel-item .main_txt_img {
        width: 130px !important;
    }



    /* .navbar-nav {
        box-shadow: 0px 2px 5px #c1c1c1;;
    } */

    .navbar-light .navbar-toggler {
        color: #fff;
    }

    /*m_menu*/
    .navbar-light .navbar-toggler-icon {
        filter: invert(100%);
    }

    .m_txt {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.5;
        text-align: left;
        padding-left: 20px !important;
        font-weight: 600;
    }

    .container .col-lg-8 p {
        width: 200px !important;
        left: -10px !important;
        color: #222;
        bottom: 100px !important;
    }

    .m_txt span {
        font-size: 1.8rem !important;
        font-weight: 700;
    }


    /*sub_page*/
    .sub_layout .lnb {
        display: none;
    }

    .img_box img {
        width: 100%;
    }

    .copyright .row .text-center {
        text-align: left !important;
    }

    /*main_content_wrap*/
    .con_wrap {
        width: 100% !important;
        padding: 20px 15px !important;
    }

    .con_wrap .popup {
        flex-direction: column;
        gap: 15px;
    }

    .popup .testimonial-carousel {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .m_board {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
        margin-left: 0 !important;
        margin-top: 0;
        min-height: auto !important;
    }

    .center_info {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-around !important;
    }

    .center_info img {
        width: 48%;
        margin-bottom: 0 !important;
    }

    /*quick menu*/

    .quick_Wrap {
        display: none;
    }

    .container .col-lg-8 p.sm_txt {
        width: 170px !important;
        top: 130px !important;
    }

    .container .col-lg-8 p.sm_txt img {
        width: 100%;
    }

    .msg_sound_only,
    .sound_only {
        display: inline-block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0;
        line-height: 0;
        border: 0 !important;
        overflow: hidden !important;
    }

}

@media (min-width: 768px) {
    .dropdown-menu-md-start {
        --bs-position: start
    }

    .dropdown-menu-md-start[data-bs-popper] {
        right: auto
            /* rtl:ignore */
        ;
        left: 0
            /* rtl:ignore */
    }

    .dropdown-menu-md-end {
        --bs-position: end
    }

    .dropdown-menu-md-end[data-bs-popper] {
        right: 0
            /* rtl:ignore */
        ;
        left: auto
            /* rtl:ignore */
    }
}

/***tablet***/
@media screen and (min-width:650px) and (max-width: 1023px) {
    .copyright .row .text-center {
        text-align: left !important;
    }

    .b_icon .col-lg-5 {
        margin-top: 5px !important;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 100%;
        padding: 0;
    }

    .col-md-6 .row {
        display: inline;
        flex-wrap: nowrap !important;
    }

    #main_con {
        display: inline-block;
        width: 100%;
        height: fit-content !important;
    }

    .col-lg-8 {
        text-align: left;
        word-break: break-all;
        letter-spacing: normal;
        padding: 0 10%;
    }


    .m_con {
        height: fit-content !important;
        visibility: visible;
        animation-delay: 0.1s;
        animation-name: fadeIn;
    }

    #main_con .con_box {
        position: static;
        width: 95%;
        margin: 0 auto;
        display: block;
    }

    .con_box .con_01 {
        width: 94% !important;
        z-index: 1;
        margin: 0 auto;

    }

    .m_nav {
        width: calc(100%/1);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .m_nav img {
        width: 60%;
    }

    .navbar .navbar-brand {
        width: 70%;
    }

    .nav-item .nav-link {
        color: #333 !important;
        border-bottom: 2px solid rgb(42, 75, 202);
        padding-left: 10px !important;
        margin: 10px 0;
    }

    .b_icon .col-10 {
        width: calc(100%/2);
        float: right;
    }

    .b_icon .icon_btn {
        margin: 0;
        padding: 0 5% !important;
    }

    .b_icon .icon_btn i {
        margin-bottom: 0 !important;
    }

    .b_icon .icon_btn h4 {
        margin-bottom: 0 !important;
        font-size: 20px;
        padding-left: 45px;
    }

    .b_icon .col-lg-6 {
        margin-top: 0 !important;
    }

    .b_icon .col-md-4 {
        width: 100% !important;
        padding: 0;
    }

    /** 메뉴 정렬 **/
    .navbar-light .navbar-toggler-icon {
        border-color: white;
    }

    .feature .feature-box {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-end;
        justify-content: flex-start;
        align-items: center;
        background: var(--primary);
        border-color: var(--primary) !important;
    }

    .feature .feature-box {
        background-color: var(--primary) !important;
    }

    .con_box .popup {
        justify-content: center !important;
        margin-top: -50%;
    }

    .bi-chat-square-text,
    .bi-boxes,
    .bi-aspect-ratio,
    .bi-calendar2-minus,
    .bi-emoji-smile,
    .bi-columns-gap,
    .bi-brightness-high,
    .bi-pencil-square {
        color: #fff !important;
    }

    .feature .f_box .col-10 h4 {
        color: #fff !important;
    }


    /* .navbar-nav {
        box-shadow: 0px 2px 5px #c1c1c1;;
    } */

    .navbar-light .navbar-toggler {
        color: #fff;
    }

    /*m_menu*/

    .m_txt {
        font-size: 3.5rem !important;
        margin-bottom: 40% !important;
        line-height: 1.5;
        text-align: left;
        padding-left: 20px !important;
        font-weight: 600;
    }

    .m_txt span {
        font-size: 3.8rem !important;
        font-weight: 700;
    }


    /*sub_page*/
    .sub_layout .lnb {
        display: none;
    }

    .img_box img {
        width: 100%;
    }

    #header-carousel .carousel-item {
        position: relative;
        height: 100vh;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /*main_content_wrap*/
    .con_wrap {
        width: 95% !important;
        margin: 0 auto;
        padding: 30px 20px;
    }

    .con_wrap .popup {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px;
    }

    .popup .testimonial-carousel {
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }

    .m_board {
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        margin-left: 0;
        margin-top: 0;
        min-height: auto !important;
    }

    .center_info {
        padding-left: 0 !important;
        flex-direction: row !important;
        width: 100% !important;
        justify-content: space-around !important;
    }

    .center_info img {
        margin-bottom: 0 !important;
    }

    /*quick menu*/

    .quick_Wrap {
        display: none;
    }

    .container .col-lg-8 p.sm_txt {
        width: 280px !important;
    }

    .container .col-lg-8 p.sm_txt img {
        display: none;
    }

    .container .col-lg-8 p.m_txt {
        width: 320px;
        font-size: 1.4rem !important;
        left: 0;
        bottom: -60px;
    }

    .b_icon .col-10 {
        width: calc(100%/2);
        display: inline-block;
    }


    /*척도지*/
    .self_test .nav {
        flex-wrap: wrap;
    }

    .self_test .nav li {
        width: calc(98%/2);
        margin-bottom: 10px;
    }

    .self_test .nav li.active .nav-link {
        color: #fff !important;
    }

    .self_test .nav li.nav-item .nav-link {
        border-bottom: none;
    }

    .mission_list .m_list ul li:last-child {
        margin-top: 70px;
    }

    .container-fluid .navbar {
        padding-bottom: 0;
    }
}




@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .container .col-lg-8 p.m_txt {
        font-size: 1.4rem;
        left: 0;
        bottom: -60px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar .nav-item .dropdown-menu {
        display: flex;
        flex-direction: row;
    }

    .navbar .nav-item:last-child .dropdown-menu {
        right: 0;
    }

    .navbar .nav-item:last-child .dropdown-menu {
        width: fit-content;
        left: -1014px !important;
    }
}

@media screen and (min-width:900px) and (max-width: 1100px) {

    .navbar {
        width: 1000px;
        position: relative;
        display: flex;
        align-items: center;
        margin-top: 1%;
        flex-direction: column;
    }

    #header-carousel .carousel-item {
        position: relative;
        height: 100vh;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .icon_btn .mb-3 {
        font-size: calc(1.1rem + 0.1vw);
        margin-top: 5%;
    }

    .con_box .container-xxl {
        margin-bottom: -6%;
    }

    .con_box .con_01 {
        width: 1000px;
        margin: 0 auto;
    }

    .con_box .popup {
        justify-content: end;
        padding-right: 3%;
    }

    .m_txt {
        width: 550px;
        font-size: 2.5em;
        margin-bottom: 0;
    }

    @media screen and (min-width:1700px) {

        /* 데스크탑 */
        .m_con .main_bg {
            height: 100%;
        }

        .navbar .nav-item .dropdown-menu {
            display: flex;
            flex-direction: row;
        }
    }
}

/************** main ****************/

/** main btn **/
.col-md-6 {
    width: 100%;
}

.col-md-6 .row {
    flex-wrap: nowrap;
    flex-direction: row;
}

#main_con {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container .col-lg-8 p {
    text-align: left;
    /* text-shadow: 3px 5px 10px #4e4e4e; */
    padding-top: 8rem;
    font-size: 0.8rem;
    width: 380px;
    position: absolute;
    left: -50px;
    color: #222;
    bottom: -138px;
}

/*.container .col-lg-8 p {
    text-align: left;
    padding-top: 8rem;
    font-size: 1.4rem;
    width: 380px;
    position: absolute;
    left: -50px;
    color: #222;
    bottom: -250px;
}*/

.container .col-lg-8 p.sm_txt {
    text-align: left;
    /* text-shadow: 3px 5px 10px #4e4e4e; */
    padding-top: 2rem;
    font-size: 1.4rem;
    width: 380px;
    position: absolute;
    left: -50px;
    color: #222;
    top: 270px;
}

/*
.container .col-lg-8 p.sm_txt img {
    display: none;
}*/

.dropdown-item {
    padding: 0.7rem 1rem !important;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #fff0;
    color: #1e2125;
}

.navbar .nav-item .dropdown-menu {
    top: 113%;
    border-radius: 0;
    font-size: 1rem;
    font-family: 'SCoreDream';
    background: #ffffffc9;
    border-radius: 8px;
}

.m_con {
    /* height: 100vh; */
    width: 100%;
}

.con_box {
    width: 100%;
    display: inline-block;
    position: absolute;
    z-index: 1;
    bottom: 4.2rem;
    left: 0;
}

.con_box .con_01 {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;

}


.con_box .popup {
    display: flex;
    flex-direction: column;
    float: right;
    margin-right: 0;
}

.b_icon {
    z-index: 1;
}

.b_icon .border {
    border: 1px solid #ffffff !important;
}

.icon_btn h4 {
    letter-spacing: -2px !important;
}

.b_icon .col-10:nth-child(1) .icon_btn {
    background: #ffffff69;
    /* background: #ffae24ad; */
}

.b_icon .col-10:nth-child(2) .icon_btn {
    /* background: #16a970ad; */
    background: #ffffff69;
}

.b_icon .col-10:nth-child(3) .icon_btn {
    /* background: #4d6ad1ad; */
    background: #ffffff69;
}

.b_icon .col-10:nth-child(4) .icon_btn {
    background: #ffffff69;
    /* background: #ed7070ad; */
}

.b_icon .col-10:nth-child(5) .icon_btn {
    background: #ffffff69;
    /* background: #213154ad; */
}

.b_icon .col-10:nth-child(6) .icon_btn {
    background: #ffffff69;
    /* background: #8370edad; */
}

.carousel-inner .carousel-caption .container {
    max-width: 1400px;
}


.con_box .container-xxl {
    max-width: 900px;
    text-align: center;
    margin-bottom: 2px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    margin-left: 0;

}

.m_txt {
    font-size: 3.6rem;
    margin-bottom: 30%;
    line-height: 1.5;
    text-align: left;
    padding-left: 80px;
    font-family: 'SCoreDream';
    letter-spacing: 0.05rem;
    font-weight: 500;
}

.m_txt span {
    font-size: 2.5rem;
    letter-spacing: 0.05rem;
    font-family: 'SCoreDream';
    font-weight: 500;
}

.popup .testimonial-carousel {
    flex: 1 1 350px;
    max-width: 420px;
    background-color: rgb(255 255 255 / 76%);
    border-radius: 8px;
    height: 432px;
    border: 1px solid #dbdbdb;
}

.popup .testimonial-carousel .testimonial-item {
    height: 394px;
    overflow: hidden;
    background: #fff;
    margin-top: 10px;
}

.popup .testimonial-carousel .testimonial-item img {
    padding-top: 0;
}

/*quick menu*/

.quick_Wrap {
    position: absolute;
    bottom: calc(72% - 365px);
    right: 55px;
    width: 120px;
    height: 420px;
    background: #ffffffd4;
    z-index: 2;
    border-top: 3px solid orange;
    box-sizing: border-box;
    transition: all 0.3s ease-out;
    border-radius: 4px;
}

.quick_Wrap .q_logo {
    text-align: center;
    margin: 15px auto 0;
}

.quick_Wrap ul.nav {
    font-size: 0.7rem;
    border-top: 1px solid #ccc;
    text-align: center;
    /* border-bottom: 3px solid orange; */
}

.quick_Wrap ul.nav li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.quick_Wrap ul.nav li:last-child .accordion-body a {
    background: #f1f1f1;
    border-bottom: 1px solid #d9d9d9
}

.quick_Wrap ul.nav a {
    color: #333;
    line-height: 25px;
    padding: 10px 5px;
    background: none;

}

.quick_Wrap ul.nav button {
    padding: 0;
    font-size: 0.7rem;
    display: inline-block;
    text-align: center;
    border: 0;
    outline: 0;
    box-shadow: none;
    color: #777;
}

.accordion-item {
    background: #ffffff00;
}

.accordion-button {
    background: none;
}

.accordion-button:not(.collapsed) {
    color: #777;
    background-color: white;
    box-shadow: none;
}

.accordion-body {
    padding: 0;
}

.quick_Wrap ul.nav button:hover,
.quick_Wrap ul.nav button:visited,
.quick_Wrap ul.nav button:active,
.quick_Wrap ul.nav button:focus {
    border: none;
    background: none;
    color: #333;
    box-shadow: none;
}

/**main_bg**/
@keyframes main_fig {
    from {
        transform: translate(400px, 0px);
    }

    to {
        transform: translate(400px, 80px);
    }
}

.main_fig {
    position: absolute;
    animation-name: main_fig;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.main_fig img {
    width: 450px;
}

/*** Header ***/
#header-carousel {
    width: 100%;
    overflow: hidden;
}

#header-carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#header-carousel .carousel-item img.main_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary); */
    width: 3rem;
    height: 3rem;
    /* background-color: #ffffff; */
    border: 10px solid #ffffff00;

}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
}

.header_bg_01 {
    background: url(../img/header_01.jpg) top left no-repeat;
    background-size: cover;
}

.header_bg_02 {
    background: url(../img/header_02.jpg) top left no-repeat;
    background-size: cover;
}

.header_bg_03 {
    background: url(../img/header_03.jpg) top left no-repeat;
    background-size: cover;
}

.header_bg_04 {
    background: url(../img/header_04.jpg) top left no-repeat;
    background-size: cover;
}

.header_bg_05 {
    background: url(../img/header_05.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #ccc;
}

/** header **/
.m_nav .b_btn {
    border-color: rgba(255, 255, 255, 0.5);
}

.inner_wrap .inner_con li {
    display: inline-block;
}

.inner_wrap .inner_con li .search_form {
    float: right;
    margin-left: 12px;
}

.search {
    position: relative;
}

.search input {
    border-radius: 5px;
    height: 28px;
    border: 0;
    width: 180px;
    margin-bottom: 7px;
    font-size: 0.9rem;
    padding-left: 6px;
    padding-right: 27px;
}

.search .s_btn {
    display: contents;
    border: 0;
    width: 0;
    height: 0;
}

.search .s_btn i {
    position: absolute;
    right: 5px;
    display: inline-block;
    color: #5d5e5e;
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition-duration: .5s, .5s;
}

/* .feature .feature-box {
    background-color: #ffffff40;
} */

.feature .f_box .col-10 .feature-box:hover .bi {
    color: rgb(255, 255, 255) !important;
    transition: all 0.01s ease-in 0.01s;
}

.feature .f_box .col-10 .feature-box:hover .fw-semi-bold h4 {
    color: rgb(255, 255, 255) !important;
}

.feature .f_box .col-10:nth-child(1) .feature-box:hover {
    /* background: #fcb439; */
    background: #ffa500;
    border-color: #ffa500 !important;
}

.feature .f_box .col-10:nth-child(2) .feature-box:hover {
    background: #01a363;
    border-color: #01a363 !important;
}

.feature .f_box .col-10:nth-child(3) .feature-box:hover {
    background: #4d6ad1;
    border-color: #4d6ad1 !important;
}

.feature .f_box .col-10:nth-child(4) .feature-box:hover {
    background: #ed7070;
    border-color: #ed7070 !important;
}

.feature .f_box .col-10:nth-child(5) .feature-box:hover {
    background: #213154;
    border-color: #213154 !important;
}

.feature .f_box .col-10:nth-child(6) .feature-box:hover {
    background: #8370ed;
    border-color: #8370ed !important;
}

.feature .f_box .col-10 .feature-box:hover i::before {
    transform: translateY(-20px);
    transition: .8s;

}

.feature .f_box .col-10 h4 {
    font-family: 'SCoreDream';
    font-size: 1.25rem;
    color: #222;
    font-weight: 500 !important;
}

/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}

/*main_content_wrap*/
.con_wrap {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.con_wrap .popup {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: stretch;
    margin: 0 !important;
    --bs-gutter-x: 0;
}

.con_wrap .popup>* {
    padding-left: 0;
    padding-right: 0;
}

/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.c_wrapper {
    width: 430px;
    border: 1px solid red;
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    /* padding-top: 10px;  */
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item {
    width: 406px;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin: 8px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    /* margin: 0 5px; */
    width: 14px;
    height: 14px;
    /* border: 1px solid #d1d1d1; */
    /* border-radius: 30px; */
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    top: 2px;
    left: 2px;
    border-radius: 16px;
    background: #ccc;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}


/*****************main_board******************/
.m_board {
    flex: 1 1 300px;
    max-width: 470px;
    font-family: 'SCoreDream';
    position: relative;
    min-height: 312px;
}

/**center_info**/
.center_info {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    flex: 0 0 auto;
    width: 300px;
    justify-content: flex-start;
}

.center_info img {
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}


/**MAIN_BOARD**/
.con_box .popup .m_board {
    background: #fff;
}