/* 폰트수정 */
@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'SUIT-Regular';
 }
 h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'SUIT-Regular';
    font-weight: 700;
    line-height: 1.2;
    color: #14183e;
}

:root {
    --primary: #1363C6;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
    --navbar-dark: #2d2d2d;
    --navbar-black: #000000;
}

/********** Template CSS **********/


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Dark gray navbar style */
.bg-navbar-dark {
    background-color: var(--navbar-dark) !important;
}

/* Black navbar style */
.bg-navbar-black {
    background-color: var(--navbar-black) !important;
}

.navbar {
    padding: 11px 0 !important;
    height: 70px;
}



.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255);
}

.menu-top.on-bright-background .navbar .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .7);
    font-weight: 600;
}

.menu-top.on-bright-background .navbar .navbar-nav .nav-link:hover,
.menu-top.on-bright-background .navbar .navbar-nav .nav-link.active {
    color: rgba(0, 0, 0, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -70px;
    background: url(../img/main/banner1.jpg) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.mb-lg-5 h1{padding-top: 3rem;}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
    width: 90%;
}

.about-img img {
    border-radius: 10%;
}

/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }

    #imageCarousel section{
        min-height: 800px;
    }

    #homeCarousel{
        position: absolute;
        top:0;
        left:0;
        width: 100vw;
    }

    #homeCarouselShadow{
        position: relative;
        width: 100vw;
        height: 900px;
        background-color: rgba(0, 0, 0, 0);
    }

    #homeCarousel .carousel-item{
        align-items: center;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item{
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    overflow: hidden;
    position: relative;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.case-item-img{
    padding: 30px;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.case-item-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.1) 70%);
    pointer-events: none;
}

  
.case-item-img:hover {
    transition: .5s;
    transform: scale(1.1);
}

.case-item-img img{
    transition: all .5s ease;
    animation: floating 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    mix-blend-mode: normal;
    border-radius: 10px;
    /* 4방향 페이드 효과를 위한 마스크 - 약하게 */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
                        linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-size: 100% 100%, 100% 100%;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-size: 100% 100%, 100% 100%;
    mask-position: center center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), rgba(45, 96, 126, 0.7));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.case-item.coming-soon {
    opacity: 0.7;
}

.case-item a{
    font-weight: bold;
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.5);
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
}

.case-item small {
    color: #ffffff;
    background-color: var(--secondary);
}

/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}

/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {

    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 10px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.custom-nav-link {
    font-size: 24px; /* 폰트 사이즈를 원하는 대로 조정하세요 */
    font-weight: bold;
}


/* vision recognition */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.home-contact .input-group{
    display: block;
}

.home-content .input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 65%;
    margin-bottom: 0;
    height: 60px;
}

.home-contact .input-group-2{
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content .input-group-2 .form-control-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 60%;
    margin-bottom: 0;
    height: 20px;
}

.home-content .home-contact input[type="text"]{
    color:#82ca9c;
}

.home-content .home-contact input[type="submit"]{
    display:inline-block;
    width:35%;
    background:#82ca9c;
    color:#fff;
    border: 0px;
}

.home-content .home-contact-2 input[type="submit"]{
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    background:#82ca9c;
    color:#fff;
    border: 0px;
    margin-bottom: 15px;  /* 이 줄을 추가하세요. */
}

.home-content .home-contact-2 input[type="submit"]:hover{
    background-color: rgba(0, 173, 62, 0.75);
}

.home-content .home-contact input[type="submit"]:hover{
    background-color: rgba(0, 173, 62, 0.75);
}

/* 미디어 쿼리 추가 */
@media (max-width: 767px) {
    .home-content .home-contact-2 input[type="submit"],
    .home-content .input-group-2 .form-control-2 {
        width: 100%;
    }
}

/* capture_recognition recognition */

.center-content {
    text-align: center;
    width: 100%;
    max-width: 600px; /* or whatever maximum width you want */
    margin: 0 auto;
}

.result-item {
    margin-bottom: 20px;
}

.result-image {
    width: 100%;
    max-width: 300px;
}

@media (max-width: 600px) {
    /* You can adjust styles for smaller devices here if needed */
    .result-image {
        width: 100%;
    }
}

/* logo */
.logo-path {
    content: url(../img/HeaderLogo-white.svg);
}

.menu-top.on-bright-background .logo-path {
    content: url(../img/HeaderLogo-blue.svg);
}

/* family site */
.family-site-btn {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    min-width: 160px;
    font-family: 'SUIT-Regular';
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.family-site-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    color: #1363C6;
}

.family-site-menu {
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    min-width: 160px;
    padding: 0.3rem 0;
    margin-top: 0.5rem;
}

.family-site-menu .dropdown-item {
    font-family: 'SUIT-Regular';
    font-size: 0.9rem;
    padding: 0.5rem 1.0rem;
    color: #14183e;
    transition: all 0.2s ease;
}

.family-site-menu .dropdown-item:hover {
    background: #f4f7fe;
    color: #1363C6;
}

/* swiper */
.banner-big {
    font-size: 60px;
    font-family: 'Roboto', sans-serif;
}

.banner-small {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
}

.page-title {
    font-size: 36px;
    font-family: 'Roboto', sans-serif;
}

.page-subtitle {
    font-size: 21px;
    font-family: 'Open Sans', sans-serif;
}

.card-subtitle {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

/* 5등분을 위한 스타일 */
.row .col-lg-div-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

