/********** Template CSS **********/
:root {
    --primary: #007eca;
    --light: #F8F8F8;
    --dark: #252525;
}

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

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

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}


a:link      { color: #414141; text-decoration:none; }
a:visited   { color: #414141; text-decoration:none; }
a:hover     { color: #007eca; text-decoration:none;}
a:active    { color: #007eca; text-decoration:none;}


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


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.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 {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-size: 18px; 
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@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;
        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;
    }
}


/* ✅ 모바일에서 항상 보이도록 보완 */
@media (max-width: 991.98px){
  .navbar .btn { display: inline-flex; align-items: center; }
  .navbar .navbar-toggler { padding: .25rem .5rem; }
}

/* ✅ 토글 아이콘이 안 보일 때를 위한 fallback (부트스트랩 CSS 미로딩 대비) */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* (선택) sticky nav가 다른 요소에 가려지면 */
.navbar.sticky-top { z-index: 1030; }



/* 드롭다운 기본값 */
.dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  left: -15px;                 /* 원하는 고정 오프셋 */
  transform: none !important;  /* Popper의 translate 제거 */
}

/* 열렸을 때도 동일하게 고정 */
.dropdown-menu.show {
  left: -15px !important;
  transform: none !important;
}

/* 항목 스타일 (변화 없음) */
.dropdown-menu .dropdown-item {
  background-color: #efefef; 
  border-bottom: 1px solid #ddd;
  padding: 10px 16px;
  color: #333;
  line-height: 1.4;
  transition: background-color .25s ease, color .25s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus {
  background-color: #007eca;
  color: #fff;
}




/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

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

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/subimg.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}



/*** Section Title ***/
.section-title {
  display: inline-block;
  background-color: #fff;        /* ✅ 흰색 배경 */
  color: #333;                   /* ✅ 검정 글씨 */
  border: 1px solid #333;        /* ✅ 1px 검은색 테두리 */
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 1.0rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title1 {
  display: inline-block;          /* 글자 길이에 맞는 박스 */
  background-color:  var(--primary); /* 사이트 메인 파란색 */
  color: #fff;                    /* 흰색 글자 */
  padding: 8px 20px;              /* 내부 여백 */
  border-radius: 25px;            /* 라운드형 모서리 */
  font-size: 1.0rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title2 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

.fact-item .btn {
	margin-top:20px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.fact-item:hover .btn {
    width: 140px;
}



/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
    width: 100%;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .5);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

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


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

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


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/


.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    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;
    color: var(--primary);
    margin-right: 10px;
}

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

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

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

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




.section-title-bar {
  background:#333;
  text-align:center;
  padding:12px 0;
  border-radius:6px;
  margin-top:-40px;
  margin-bottom:20px;
}

/* 제목 색 강제 적용 */
.section-title-bar h1,
.section-title-bar h2,
.section-title-bar h3,
.section-title-bar h4,
.section-title-bar .h1,
.section-title-bar .h2,
.section-title-bar .h3,
.section-title-bar .h4 {
  color:#fff !important;
  margin:0;
}

/* 링크가 있을 경우 */
.section-title-bar a { color:#fff !important; text-decoration:none; }


.table-gray {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table-gray th,
.table-gray td {
  border: 1px solid #e8e8e8;         /* 회색 라인 */
  padding: 8px 10px;
  text-align: center;
}

.table-gray th {
  background-color: #007eca;      /* 헤더 하늘색 */
  font-weight: 600;
  color: #ffffff;
}

.table-gray tr:nth-child(even) td {
  background-color: #fafafa;      /* 줄무늬 효과 (선택사항) */
}


.step-title {
  font-size: 25px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 30px;              /* ← 검정 텍스트 오른쪽 여백 넓게 */
  margin-bottom: 16px;
}

.step-label {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #005bb5 0%, #2196f3 100%);
  color: #fff;
  padding: 8px 20px;
  font-weight: 700;
  border-radius: 4px 0 0 4px;
  line-height: 1.4;
  height: 38px;           /* 화살표 높이 기준 통일 */
  display: flex;
  align-items: center;
}

/* ▶ 자연스러운 화살표 (높이 정확히 일치) */
.step-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -19px; /* 화살표가 자연스럽게 이어지도록 */
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 19px solid #2196f3; /* 화살표 색상: 그라데이션 끝부분 */
}




/* 공통 본문 텍스트 */
.container p {
  font-size: 1.1rem;      /* 기본보다 약간 큼 (약 18.4px) */
  line-height: 1.5;        /* 줄 간격 넉넉하게 */
  color: #222;             /* 조금 진한 회색 톤 */
  margin-bottom: 1.4rem;   /* 단락 간 여백 */
}

/* 리스트 항목 (불릿 설명 부분) */
.container ul {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
  padding-left: 1.2rem;
  margin-bottom: 1.8rem;
}

/* 소제목 h5 (이미지 하단 타이틀) */
h5 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111;
}

/* 섹션 제목 바 안의 h3 */
.section-title-bar h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* 모바일 반응형 폰트 조정 */
@media (max-width: 768px) {
  .container p {
    font-size: 1rem;        /* 모바일에서는 조금 줄임 */
    line-height: 1.8;
  }

  h5 {
    font-size: 1.05rem;
  }

  .section-title-bar h3 {
    font-size: 1.2rem;
  }
}

