.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none; /* Hidden by default */
}

/* Show the sub-menu on hover */
/* .dropdown-submenu:hover > .dropdown-menu {
    display: block;
} */
 

/* Optional: Add an arrow to indicate a sub-menu exists */
/* .dropdown-submenu > .dropdown-toggle::after {
    border-top: 0.3em solid transparent;
    border-left: 0.3em solid;
    border-bottom: 0.3em solid transparent;
    border-right: 0;
    vertical-align: middle;
    float: right;
    margin-top: 7px;
} */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.25rem;
    display: none;
}

.dropdown-submenu.show > .dropdown-menu {
    display: block;
}

.dropdown-submenu > .submenu-toggle {
    padding-right: 1.75rem;
    position: relative;
}

.dropdown-submenu > .submenu-toggle::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border-left: 0.35em solid currentColor;
    border-top: 0.35em solid transparent;
    border-bottom: 0.35em solid transparent;
}
/* Desktop hover only */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}
.dept-title {
    display: block;
    padding: 12px 20px;
    margin: 0;
    background: rgba(235, 0, 0, 0.33);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}



/* Sidebar Animation */
.link-animated a {
    transition: 0.3s;
}

.link-animated a:hover {
    padding-left: 20px !important;
    background: var(--bs-primary) !important;
    color: #ffffff !important;
}
.team-description {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.6;
    /* This ensures a baseline height for the text block */
    min-height: 100px; 
}
.dept-nav-sidebar {
    background-color: #091E3E; /* Dark Blue from your theme */
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dept-nav-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.dept-nav-item i {
    width: 25px;
    font-size: 0.8rem;
    color: var(--primary); /* Uses your bootstrap primary blue */
}

.dept-nav-item:hover, 
.dept-nav-item.active {
    background-color: var(--secondary); /* Bootstrap Primary Blue */
    color: white !important;
}

.dept-nav-item.active i {
    color: white;
}

/* =========================
   CONTENT AREA STYLING
========================= */
.content-detail-section {
    line-height: 1.8;
    color: #444;
}

.dept-main-content h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.dept-main-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.procedure-highlight {
    background: #ffffff;
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.status-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    background: #e7f1ff;
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}