/* 기본 설정 */
.dc_navi {
    position: fixed !important;
    bottom: 0; /* 기본값으로 설정 */
    left: 0;
    width: 100%;
    height: 60px; /* 하단 메뉴의 높이를 고정 */
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 10px 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navi-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto; /* 가운데 정렬 */
}

.navi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #015C71;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px;
    flex-grow: 1; /* 아이템이 균등하게 배치되도록 */
}

.navi-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.navi-item span {
    font-size: 12px;
    font-weight: bold;
}

.navi-item:hover {
    color: #3949ab;
    transform: translateY(-3px);
}

/* 반응형 스타일 */
@media (min-width: 769px) {
    .dc_navi {
        display: none; /* 데스크톱에서는 숨김 */
    }
}

/* 모바일 전용: 높이를 조정하여 스크롤 시 문제 방지 */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* 네비게이션 높이만큼 패딩 추가 */
    }
}