/* Block: Departments Section */
.department-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.department-card:hover .department-icon i {
    transform: scale(1.2) rotate(5deg);
    color: var(--highlight-color);
}

.department-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
}

.department-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Clickable card */
.department-card--linked {
    cursor: pointer;
    position: relative;
}

/* Remove button transform inside linked cards (prevents flicker) */
.department-card--linked .btn-outline-primary:hover {
    transform: none;
}

/* Show button hover state when card is hovered */
.department-card--linked:hover .btn-outline-primary {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-color: var(--primary-color);
}
