/********** Template CSS **********/
/* 기본 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: #a0b7c1;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #608493;
    border: 3px solid #ffffff;
}

::-webkit-scrollbar-track {
    background-color: #eee;
}

:root {
    --primary: #00d084;
    --secondary: #525368;
    --light: #FDF5EB;
    --dark: #0F4229;
	--bs-secondary-rgb : 255, 176, 53
}

:root, [data-bs-theme=light] {
    --bs-primary: #00d084;
	--bs-tertiary-bg: #fff;
	--bs-primary-rgb: 0, 208, 132
}

.text-primary {
    color: #00d084 !important;
}


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

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

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

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

/** bg **/
.bg-primary-rgb {
	background-color: rgba(var(--bs-primary-rgb)) !important;
}

ul{
   list-style:none;
   }


/*** 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;
}


/*** 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;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00d084;
    --bs-btn-border-color: #00d084;
    --bs-btn-hover-color: #000; /* 글자 검정 */
    --bs-btn-hover-bg: #fff; /* 배경 흰색 */
    --bs-btn-hover-border-color: #000; /* 윤곽선 검정 */
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00d084;
    --bs-btn-active-border-color: #00d084;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #00d084;
    --bs-btn-disabled-border-color: #00d084;
    /* 추가 스타일 */
    display: inline-block;
    padding: 0.5rem 1rem; /* 버튼 크기 조정 */
    font-size: 1rem; /* 글자 크기 */
    border-radius: 5px; /* 모서리 둥글게 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 기본 그림자 */
    text-align: center;
    transition: all 0.3s ease; /* 부드러운 변환 효과 */
}
.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgb(240 190 110 / 80%) !important;
}

.bg-primary {
    background-color: #00d084 !important;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .1s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.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 .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .1s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .1s;
        opacity: 1;
    }
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 20px 0px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .1s;
}

.navbar-light .navbar-nav .nav-link.hover {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .1s;
}

.dropdown-menu {
    --bs-dropdown-zindex: 1000;
    --bs-dropdown-min-width: 10rem;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 0.5rem;
    --bs-dropdown-spacer: 0.125rem;
    --bs-dropdown-font-size: 1rem;
    --bs-dropdown-color: var(--bs-body-color);
    --bs-dropdown-bg: var(--bs-body-bg);
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-border-radius: 0px !important;
    --bs-dropdown-border-width:: 0px !important;
}
.dropdown-item:hover {
    background-color: #f0f0f0; /* 회색 배경색 */
    color: var(--dark); /* 텍스트 색상 (필요시 변경 가능) */
    transition: background-color 0s; /* 부드러운 전환 효과 */
}

/** 로고 */
.responsive-logo {
    max-width: 100%;
    width: 300px;
}

@media (max-width: 768px) {
    .responsive-logo {
        width: 220px;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(84, 197, 48, .2);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
	background-color: #fff;
    border: 10px solid #fff;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}





/*** Feature Start ***/
.feature .feature-item {
    position: relative;
    display: flex;
    border: 1px solid var(--bs-primary) !important;
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;

}

.feature .feature-item::before {
    width: 0;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover::before {
    width: 100%;
    background: #d5f9d5;
}

.feature .feature-item .feature-icon {
    display: inline-flex;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    position: relative;
    z-index: 2;
}

.feature .feature-item:hover .feature-content {
    position: relative;
    color: #000;
    z-index: 2;
}

.feature .feature-item:hover .feature-content h5 {
    color: var(--bs-dark);
}
/*** Feature End ***/


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}



/*** About Start ***/
.about .about-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 10px;
}

.about .about-img .about-img-inner {
    position: absolute;
    left: 0; 
    bottom: 0; 
    border: 10px solid; 
    border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
    border-radius: 50%;

}

.about .about-img .about-experience {
    position: absolute;
    top: 125px; 
    left: -125px; 
    transform: rotate(-90deg);
    background: transparent;
    color: var(--bs-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

/*** About End ***/



/*** Product ***/
.product-item {
   background-color: #3d6aa3 !important;
   transition: .5s;
   color: var(--light);
}

.product-item:hover {
    background-color: #fff !important;
}

.product-item:hover * {
    color: #000;
}

.product-item:hover .border-primary {
    border-color: var(--light) !important;
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .2);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    height: 100%;
    opacity: 1;
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

/* 중증 about */
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
	background-color: rgb(240 190 110 / 80%) !important;
    border: 25px solid var(--light);
    border-radius: 6px;
    z-index: 1;
}


.bg-appointment {
    background: linear-gradient(rgba(35, 118, 194, .70), rgba(35, 118, 194, .70)), url(../img/contact_bg.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}




/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/


/** 갤러리 **/
.gallery .gallery-item .gallery-img {
    position: relative; /* 내부 요소 절대 위치 가능하도록 */
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

/* 버튼을 이미지 안 왼쪽 아래에 위치 */
.gallery .gallery-item .gallery-img a {
    position: absolute;
    bottom: 20px; /* 필요에 따라 조절 */
    left: 20px;   /* 필요에 따라 조절 */
    z-index: 10;  /* 이미지 위에 보이도록 */
    opacity: 1;   /* 항상 보이도록 설정 */
    transition: none; /* 부드러운 효과 제거 */
}



/** // 갤러리 *//

