/* --- DESKTOP & TABLET STYLING --- */
.kacy-nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 40px 20px !important;
    max-width: 100% !important;
    font-family: 'Ojuju', sans-serif !important;
    gap: 10px;
}

.kacy-nav-item {
    display: flex !important;
    align-items: center !important;
    color: rgb(16, 66, 53) !important;
    text-decoration: none !important;
    flex: 1;
    transition: opacity 0.3s ease;
}

.kacy-nav-item:hover { opacity: 0.7; }

.nav-text-content { display: flex; flex-direction: column; }

.label {
    font-size: 22px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
}

.page-title {
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-top: 2px;
}

.nav-divider {
    width: 1px !important;
    height: 40px !important;
    background-color: rgba(16, 66, 53, 0.15) !important;
    margin: 0 15px !important;
}

.prev { text-align: left; justify-content: flex-start; }
.next { text-align: right; justify-content: flex-end; }
.nav-arrow { font-size: 20px; color: #ccc; padding: 0 15px; }

/* --- MOBILE RESPONSIVE (Side-by-Side Row) --- */
@media (max-width: 767px) {
    .kacy-nav-container {
        flex-direction: row !important; /* Force side-by-side */
        padding: 20px 5px !important;
        gap: 5px !important;
    }

    .nav-divider {
        height: 30px !important;
        margin: 0 5px !important;
        display: block !important;
    }

    /* Mobile labels size reduction */
    .label {
        font-size: 18px !important; 
        letter-spacing: 0.5px !important;
    }

    /* Page titles ko chota aur clean rakhne ke liye */
    .page-title {
        font-size: 14px !important;
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-arrow {
        font-size: 14px !important;
        padding: 0 9px !important;
    }

    .kacy-nav-item {
        flex: 1 !important;
    }
}