/********** Template CSS **********/
:root {
    --primary: #2124B1;
    --secondary: #4777F5;
    --light: #F7FAFF;
    --dark: #1D1D27;
}


/*** 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 ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-dot.png),
        url(../img/bg-dot.png),
        url(../img/bg-round.png),
        url(../img/bg-tree.png),
        url(../img/bg-bottom-hero.png);
    background-position:
        10px 10px,
        bottom 190px right 10px,
        left 55% top -1px,
        left 45% bottom -1px,
        center bottom -1px;
    background-repeat: no-repeat;
}


/*** 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;
}


/*** Service ***/
.service-item {
    position: relative;
    height: 350px;
    padding: 30px 25px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/icon-shape-primary.png) center center no-repeat;
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--primary);
    background: url(../img/icon-shape-white.png);
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
}

.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: #DDDDDD;
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Testimonial ***/
.newsletter,
.testimonial {
    background:
        url(../img/bg-top.png),
        url(../img/bg-bottom.png);
    background-position:
        left top,
        right bottom;
    background-repeat: no-repeat;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--light) !important;
    border-color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #888888;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}


/*** Team ***/
.team-item {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.team-item::after {
    position: absolute;
    content: "";
    top: 3rem;
    right: 3rem;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item small {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover small {
    color: var(--light);
}


/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: .5s;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #FFFFFF;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: var(--primary);
}

.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: .5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: .5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: .15s;
}


/*** 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: var(--light);
    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: var(--light);
    font-weight: normal;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.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;
}
.head-convert {
  position: relative;
  display: inline-block;
}

.head-convert {
  position: relative;
  display: inline-block;
}

.head-convert .lang-toggle {
  display: inline-flex;
  align-items: center;
  height: 100%;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #fff;           /* 헤더 배경에 맞춰 조정 */
  cursor: pointer;
}

.head-convert .lang-toggle .bi-translate {
  font-size: 28px;       /* 아이콘 크기 */
  line-height: 1;
}

.head-convert .lang-label {
  font-size: 22px;
  font-weight: 600;
}

.head-convert .list-convert {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;

  padding: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.75);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);

  display: none;
}

.head-convert.is-open .list-convert {
  display: block;
}

.head-convert .list-convert ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.head-convert .list-convert a {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 8px;
}

.head-convert .list-convert a:hover {
  background: rgba(255,255,255,0.12);
}

.head-convert .list-convert img {
  width: 26px;     /* 기존 아이콘 이미지 크기 */
  height: 26px;
  display: block;
}
.head-convert .lang-toggle{
  gap: 5px;
  padding: 4px 6px;
}

/* 기본(PC) */
.head-convert .lang-toggle{ gap: 6px; padding: 6px 8px; }
.head-convert .lang-toggle .bi-translate{ font-size: 18px; }
.head-convert .lang-label{ font-size: 16px; }
.head-convert .lang-toggle .bi-caret-down-fill{ font-size: 12px; }

/* 모바일(좁은 폭) */
@media (max-width: 700px){
  .head-convert .lang-toggle{ gap: 5px; padding: 4px 6px; }
  .head-convert .lang-toggle .bi-translate{ font-size: 16px; }
  .head-convert .lang-label{ font-size: 14px; }
  .head-convert .lang-toggle .bi-caret-down-fill{ font-size: 10px; }
}

/* === Language switcher: final compact override === */
.head-convert .lang-toggle{
  display: inline-flex;
  align-items: center;
  gap: 6px !important;
  padding: 4px 6px !important;
  line-height: 1 !important;
}

.head-convert .lang-toggle .bi-translate{
  font-size: 16px !important;
  line-height: 1 !important;
}

.head-convert .lang-label{
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

.head-convert .lang-toggle .bi-caret-down-fill{
  font-size: 10px !important;
  line-height: 1 !important;
}

@media (min-width: 992px){
  /* 데스크탑에서 살짝만 키우고 싶으면 여기서 조절 */
  .head-convert .lang-toggle{ padding: 6px 8px !important; }
  .head-convert .lang-toggle .bi-translate{ font-size: 18px !important; }
  .head-convert .lang-label{ font-size: 16px !important; }
  .head-convert .lang-toggle .bi-caret-down-fill{ font-size: 12px !important; }
}

/* Language 버튼 색상: 연세 딥블루 톤 */
:root{
  --yonsei-blue: #0B2F6A; /* 필요하면 #0A2A5E 등으로 미세조정 */
}

.head-convert .lang-toggle{
  color: var(--yonsei-blue) !important; /* 텍스트/아이콘 색 */
}

.head-convert .lang-toggle .bi{
  color: var(--yonsei-blue) !important;
}

.head-convert .lang-toggle:hover{
  opacity: .85;
}

/* 체크표시를 넣을 공간 확보 */
.head-convert .lang-list a{
  position: relative;
  padding-left: 28px; /* ✓ 자리 */
}

/* 공통 체크 마크(기본은 숨김) */
.head-convert .lang-list a::before{
  content: "✓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  font-weight: 700;
}

/* 현재 문서 언어(html lang=...)에 따라 해당 항목만 표시 */
html[lang="ko"] .head-convert .lang-list a#lang_ko::before{ opacity: 1; }
html[lang="en"] .head-convert .lang-list a#lang_en::before{ opacity: 1; }
html[lang="ja"] .head-convert .lang-list a#lang_ja::before{ opacity: 1; }
html[lang="zh-CN"] .head-convert .lang-list a#lang_zh-CN::before{ opacity: 1; }

/* 선택된 항목 강조(선택) */
html[lang="ko"] .head-convert .lang-list a#lang_ko,
html[lang="en"] .head-convert .lang-list a#lang_en,
html[lang="ja"] .head-convert .lang-list a#lang_ja,
html[lang="zh-CN"] .head-convert .lang-list a#lang_zh-CN{
  background: rgba(255,255,255,0.12);
}

/* 구글 기본 UI 숨김 */
.goog-te-gadget,
.goog-te-gadget *{
  font-size: 0 !important;
}

/* 콤보박스 숨김 */
.goog-te-combo{
  display: none !important;
}

/* "Google 번역에서 제공" 텍스트 숨김 */
.goog-logo-link,
.goog-te-gadget span{
  display: none !important;
}

/* 공통 배지(필 형태) */
.subway-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color:#fff;
  vertical-align: middle;
  margin-right: 10px;
}

/* 역명 텍스트 */
.station-name{
  font-weight: 600;
  vertical-align: middle;
}

/* 아이콘(선택) */
.subway-icon{
  font-size: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

/* 노선별 색상 (필요한 것만 쓰세요) */
.line-1 { background:#0052A4; color:#fff; }   /* 1호선 */
.line-2 { background:#00A84D; color:#fff; }   /* 2호선 */
.line-3 { background:#EF7C1C; color:#fff; }   /* 3호선 */
.line-4 { background:#00A5DE; color:#fff; }   /* 4호선 */
.line-5 { background:#996CAC; color:#fff; }   /* 5호선 */
.line-6 { background:#CD7C2F; color:#fff; }   /* 6호선 */
.line-7 { background:#747F00; color:#fff; }   /* 7호선 */
.line-8 { background:#E6186C; color:#fff; }   /* 8호선 */
.line-9 { background:#BDB092; color:#fff; }   /* 9호선 */
.line-k3 { background:#73C7A6; color:#fff; }   /* 중앙선 */
.line-redbus { background:#FF0000; color:#fff; }   /* 광역버스 */
.line-airportbus { background:#3d5bab; color:#fff; }   /* 광역버스 */

/* 아이콘 색은 글자색을 따라가게(배경 없이 컬러만 주고 싶을 때) */
.subway-icon.line-2{ color:#00A84D; } /* 예: 2호선 아이콘만 녹색 */


.bi-camera2{
  display:inline-flex;
  width:100px; height:100px;
  align-items:center; justify-content:center;
  border-radius: 16px;
  background: #0b2e63; /* 원하는 컬러 */
}
.bi-camera2 > .bi{ font-size:80px; color:#fff; }

/* 드롭다운 전체(여백/리스트 기본값 정리) */
.navbar .dropdown-menu{
  padding: .35rem 0;   /* 필요시 .25~.5rem 사이로 조절 */
}

.navbar .dropdown-menu li{
  margin: 0;
  padding: 0;
}

/* 핵심: 모든 dropdown-item 줄간격/패딩 통일 */
.navbar .dropdown-menu .dropdown-item{
  display: flex;
  align-items: center;
  padding: .50rem 1rem !important; /* 혹시 HTML에 py-* 있으면 덮기 위해 !important */
  line-height: 1.2 !important;
  margin: 0;
  white-space: nowrap;             /* 한 줄 유지(원치 않으면 제거) */
}

/* 마지막 항목 하단 여백 방어 */
.navbar .dropdown-menu li:last-child > .dropdown-item{
  padding-bottom: .50rem !important;
}

