@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0; /* 위쪽에 뜨는 현상 방지용(필요시 조정) */
    }
  }
/* 서브 헤더*/
#upper img{
  height: 400px;
  object-fit: cover;

}

/* 서브 상단 영역 */
.sub-page-header {
padding: 3rem 0 2rem;
border-bottom: 1px solid #e5e5e5;
background-color: #f8f9fa;
}

.sub-title {
font-size: 1.8rem;
font-weight: 700;
}

.sub-kicker {
font-size: 0.9rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #6c757d;
}

/* 서브 탭 메뉴 (인사말/연혁/주요고객/오시는길/인증현황) */
.sub-tab-nav {
border-bottom: 1px solid #e5e5e5;
background-color: #ffffff;
}

.sub-tab-nav .nav {
gap: 0.5rem;
}

.sub-tab-nav .nav-link {
position: relative;
padding: 0.9rem 1.4rem;
font-size: 0.95rem;
color: #444;
border-radius: 0;
border: none;
background: transparent;
transition: color 0.2s ease, background-color 0.2s ease;
}

.sub-tab-nav .nav-link::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 3px;
background-color: transparent;
transform: scaleX(0);
transform-origin: center;
transition: transform 0.2s ease, background-color 0.2s ease;
}

.sub-tab-nav .nav-link:hover {
color: #0d6efd;
background-color: #f8f9fa;
}

.sub-tab-nav .nav-link:hover::after {
background-color: rgba(13, 110, 253, 0.6);
transform: scaleX(1);
}

.sub-tab-nav .nav-link.active {
color: #0d6efd;
font-weight: 600;
background-color: #ffffff;
}

.sub-tab-nav .nav-link.active::after {
background-color: #0d6efd;
transform: scaleX(1);
}

/* 본문 텍스트 */
.page-heading {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1.5rem;
}

.lead-copy {
margin-bottom: 2rem;
line-height: 1.7;
}

/* 주요 고객사 로고 영역 (예시용) */
.client-logo-card {
border: 1px solid #e5e5e5;
border-radius: 0.75rem;
padding: 1.5rem;
text-align: center;
height: 100%;
}

.client-logo-card img {
max-width: 100%;
height: 60px;
object-fit: contain;
margin-bottom: 0.75rem;
}

.client-logo-card .client-name {
font-weight: 500;
margin-bottom: 0.25rem;
}

.client-logo-card .client-desc {
font-size: 0.85rem;
color: #6c757d;
}


.equipment-img {
  width: 100%;
  height: 350px;         /* 세로 자동 → 비율 유지 */
  object-fit: cover;    /* cover, unset, fill 등이 있다면 제거됨 */
  display: block;       /* 여백 제거 */
}


/****************************************연혁*******************************/

/* ========== 연혁 타임라인 ========== */

.timeline-wrapper {
  position: relative;
}

/* 전체 세로 라인 */
.timeline {
  position: relative;
  margin: 0;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;            /* 세로 라인 x 위치 */
  width: 2px;
  height: 100%;
  background: #dee2e6;   /* Bootstrap 테두리 색 느낌 */
}

/* 개별 아이템 */
.timeline-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* 동그라미 마커 영역 */
.timeline-marker {
  position: relative;
  flex: 0 0 32px;        /* 고정 폭 */
}

/* 동그라미 자체 */
.timeline-marker::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0d6efd; /* Bootstrap primary 색 */
}

/* 오른쪽 내용 카드 */
.timeline-content {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
  flex: 1;
}

.timeline-date {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 0.15rem;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-text {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #6c757d;
}

/* 화면이 커졌을 때 약간 위치 보정 */
@media (min-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-marker::before {
    left: 8px;
  }
}


